Function at 0x100281fc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008206e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push esi
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10028237
call dword [sym.imp.USER32.dll_DestroyCaret]
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10028255
push 0x227
push 0x604
push 0x79
call dword [sym.imp.KERNEL32.dll_HeapCreate]
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100289cb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0xc7979b38
mov dword [ebp - 0x60], 0xc34f1d4b
mov dword [ebp - 0x50], 0
jmp 0x10028298
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x100282ae
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x148], 1
jmp 0x10028291
or eax, 0xffffffff
je 0x10028319
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x30]
sub eax, 0x66762ddf
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x30]
jne 0x100282de
mov dword [ebp - 0x11c], 1
jmp 0x100282e5
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x148]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x30]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x148]
test eax, eax
je 0x10028319
mov dword [ebp - 0xb0], 1
jmp 0x10028320
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, 0x495231fb
imul eax, eax, 0x177e
test eax, eax
je 0x1002835e
mov dword [ebp - 0x70], 0xab1d6a56
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10028359
push 0
push 0
call dword [sym.imp.USER32.dll_UnregisterClassA]
jmp 0x10028415
mov dword [ebp - 0x5c], 1
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10028377
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp dword [ebp - 0x5c], 0
je 0x100283ef
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x24], eax
jl 0x100283a5
cmp dword [ebp - 0x60], 0
je 0x100283a5
mov dword [ebp - 0xd4], 1
jmp 0x100283ac
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x148]
cmp eax, dword [ebp - 0xd4]
je 0x100283ca
mov dword [ebp - 0x78], 1
jmp 0x100283ce
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100283e3
mov eax, 0xabff1eb7
test eax, eax
je 0x100283ef
mov dword [ebp - 0xdc], 1
jmp 0x100283f6
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0xb99bf0bb
jb 0x1002840b
mov dword [ebp - 0x80], 1
jmp 0x1002840f
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0xc3ec3d4e
push 3
lea ecx, [ebp - 0x118]
call fcn.100188f1
and dword [ebp - 4], 0
mov dword [ebp - 0x88], 5
mov dword [ebp - 0x2c], 0xfffffffb
mov dword [ebp - 0x48], 0
jmp 0x1002844e
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x10028467
push dword [ebp - 0x48]
lea ecx, [ebp - 0x118]
call fcn.1001898f
or dword [eax], 0xffffffff
jmp 0x10028447
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x184], eax
push 1
lea ecx, [ebp - 0x118]
call fcn.1001898f
cmp dword [eax], 0xa4e66596
jb 0x10028491
mov dword [ebp - 0xe4], 1
jmp 0x10028498
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 6
jne 0x100284b9
mov dword [ebp - 0xec], 1
jmp 0x100284c0
and dword [ebp - 0xec], 0
push 1
lea ecx, [ebp - 0x118]
call fcn.1001898f
mov ecx, dword [ebp - 0xec]
sub ecx, dword [eax]
sub ecx, 0x8ec3
cmp ecx, dword [ebp - 0x54]
jne 0x100284ec
mov dword [ebp - 0x90], 1
jmp 0x100284f3
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0x38e486ae
je 0x10028511
cmp dword [ebp - 0x54], 0
je 0x10028511
mov dword [ebp - 0xf8], 1
jmp 0x10028518
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xf8], eax
jne 0x1002852f
mov dword [ebp - 0x100], 1
jmp 0x10028536
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 8
jbe 0x1002854b
mov dword [ebp - 0x9c], 1
jmp 0x10028552
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
add eax, 0x72710f98
cmp eax, 0x493876a4
jl 0x10028582
push 1
lea ecx, [ebp - 0x118]
call fcn.1001898f
cmp dword [eax], 0
je 0x10028582
mov dword [ebp - 0xa0], 1
jmp 0x10028589
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x118]
call fcn.1001898f
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [eax]
je 0x100285ac
mov dword [ebp - 0xd0], 1
jmp 0x100285b3
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 0
jmp 0x100285cc
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x100285e5
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x118]
call fcn.1001898f
or dword [eax], 0xffffffff
jmp 0x100285c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.10018973
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x180], 0xddae974c
mov dword [ebp - 0x17c], 0xddae974c
mov dword [ebp - 0x178], 0xddae974c
mov dword [ebp - 0x174], 0xddae974c
lea ecx, [ebp - 0x55]
call fcn.10008d28
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.1001899e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x15c]
call fcn.1001894d
mov dword [ebp - 4], 1
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x68], 0xbf5bf816
mov dword [ebp - 0x3c], 0
jmp 0x1002868b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100286a1
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xf4], 0xffffffff
jmp 0x10028684
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xf4], 0
je 0x100286e9
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x100286cb
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x100286e4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x1002896d
mov dword [ebp - 0x18], 0x647dc4b4
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10028714
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1002896d
mov dword [ebp - 0x14], 0x4cdb8faa
mov dword [ebp - 0x16c], 0xfffffffb
mov dword [ebp - 0x168], 0xfffffffb
mov dword [ebp - 0x164], 0xfffffffb
mov dword [ebp - 0x160], 0xfffffffb
mov dword [ebp - 0x14], 1
jmp 0x1002875d
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1002893f
mov dword [ebp - 0x40], 0x32f3f608
mov dword [ebp - 0xc0], 0x3f8de905
mov dword [ebp - 0x128], 7
mov dword [ebp - 0x40], 0xbc383c67
cmp dword [ebp - 0x40], 0
jne 0x1002884e
mov dword [ebp - 0x130], 0x91ee4cff
mov dword [ebp - 0x40], 2
cmp dword [ebp - 0x40], 0
je 0x100287c6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xf4], 0
je 0x100287c6
mov dword [ebp - 0x134], 1
jmp 0x100287cd
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xf4]
mov dword [ebp - 0x188], eax
push 1
lea ecx, [ebp - 0x15c]
call fcn.1001898f
mov dword [eax], 4
push 4
pop eax
cmp eax, 1
jl 0x10028801
mov dword [ebp - 0x64], 1
jmp 0x10028805
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0x16c], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x64]
jne 0x1002882f
mov eax, 0xd2da
test eax, eax
jne 0x1002882f
and dword [ebp - 0xa8], 0
jmp 0x10028839
mov dword [ebp - 0xa8], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0xa8], eax
jle 0x10028860
push 1
lea ecx, [ebp - 0x15c]
call fcn.1001898f
cmp dword [eax], 0
jne 0x1002887f
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x16c], 0
jne 0x1002887f
push 9
pop eax
test eax, eax
jne 0x1002887f
and dword [ebp - 0xe8], 0
jmp 0x10028889
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jne 0x100288a4
mov dword [ebp - 0xd8], 1
jmp 0x100288ab
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xd8], eax
jl 0x100288c2
mov dword [ebp - 0xb8], 1
jmp 0x100288c9
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0xb8], eax
jge 0x100288e3
mov dword [ebp - 0xfc], 1
jmp 0x100288ea
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xf4]
sub eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
neg eax
cmp eax, 0x2097
je 0x10028927
mov dword [ebp - 0xc8], 1
jmp 0x1002892e
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x128], eax
jmp 0x10028756
mov dword [ebp - 0x14], 0
jmp 0x1002894f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x10028968
push dword [ebp - 0x14]
lea ecx, [ebp - 0x15c]
call fcn.1001898f
or dword [eax], 0xffffffff
jmp 0x10028948
jmp 0x1002870d
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10028981
push 0
call dword [sym.imp.USER32.dll_GetMenuItemCount]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.10018973
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
jmp 0x100289a6
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 2
jge 0x100289c6
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0x12c]
call fcn.1001898f
mov dword [eax], 0xfffffffc
jmp 0x1002899b
jmp 0x10028d55
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x140], eax
push 2
lea ecx, [ebp - 0x10c]
call fcn.100188f1
mov dword [ebp - 4], 2
mov dword [ebp - 0x190], 0x8c66f5a9
mov dword [ebp - 0x44], 0
jmp 0x10028a02
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10028a1e
push dword [ebp - 0x44]
lea ecx, [ebp - 0x10c]
call fcn.1001898f
mov dword [eax], 0xfffffffc
jmp 0x100289fb
push 0
lea ecx, [ebp - 0x10c]
call fcn.1001898f
and dword [eax], 0
jmp 0x10028a54
push 0
lea ecx, [ebp - 0x10c]
call fcn.1001898f
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x10c]
call fcn.1001898f
cmp dword [eax], 0xfffffff7
jl 0x10028a94
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10028a92
push 0
push 0xd92
push 0x975
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x10028a30
push 0
lea ecx, [ebp - 0x10c]
call fcn.1001898f
mov esi, eax
push 1
lea ecx, [ebp - 0x10c]
call fcn.1001898f
mov ecx, dword [esi]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.10018973
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x10028d55
mov dword [ebp - 0xa4], 0x1342f3d4
mov dword [ebp - 0x6c], 0xe3cb5af9
mov dword [ebp - 0x120], 9
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x4c], 0
jmp 0x10028b12
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x10028b25
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x10], 0x7d21
jmp 0x10028b0b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x198], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x10]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x10]
jle 0x10028b61
mov dword [ebp - 0x94], 1
jmp 0x10028b68
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x10], 7
cmp eax, 0xf49c23ed
jb 0x10028b9b
mov dword [ebp - 0xac], 1
jmp 0x10028ba2
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
sub eax, 0x23dd972c
jne 0x10028bbb
mov dword [ebp - 0xb4], 1
jmp 0x10028bc2
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0xb4], eax
jle 0x10028be0
mov dword [ebp - 0xbc], 1
jmp 0x10028be7
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
add eax, dword [ebp - 0xbc]
jne 0x10028c05
mov dword [ebp - 0xc4], 1
jmp 0x10028c0c
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x10]
add ecx, dword [ebp - 0xc4]
cmp dword [ebp + eax - 0x10], ecx
je 0x10028c34
mov dword [ebp - 0xcc], 1
jmp 0x10028c3b
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
add eax, dword [ebp - 0xcc]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x10]
jge 0x10028c70
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
je 0x10028c70
mov dword [ebp - 0x14c], 1
jmp 0x10028c77
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp + eax - 0x10], ecx
jle 0x10028c8f
mov dword [ebp - 0x74], 1
jmp 0x10028c93
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x74], eax
je 0x10028ca7
mov dword [ebp - 0x7c], 1
jmp 0x10028cab
and dword [ebp - 0x7c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x7c], eax
jl 0x10028cc6
mov dword [ebp - 0x84], 1
jmp 0x10028ccd
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 6
jle 0x10028ce2
mov dword [ebp - 0x8c], 1
jmp 0x10028ce9
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x10028d02
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x12
jg 0x10028d27
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10028d25
push 0
push 0x82c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
jmp 0x10028cfb
push 0
push 0x1abb
push 0
push 0
push 0x1578
push 0x2425
push 0x1c8b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret