Function at 0x459293
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
push esi
mov dword [ebp - 0x20], 0x862fd41e
mov dword [ebp - 0x20], 0xffffffef
jmp 0x4592b4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffff3
jle 0x45947b
mov dword [ebp - 0x4c], 0
jmp 0x4592ce
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x4592e4
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x180], 0x2167fa5c
jmp 0x4592c7
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x180], 0
jmp 0x45930f
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x180]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x180], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x180], 0xfffffff1
jne 0x459476
push 2
lea ecx, [ebp - 0x1a4]
call fcn.004133eb
mov dword [ebp - 0x28], 0x9ba095a9
mov dword [ebp - 0x30], 0
jmp 0x459346
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x459362
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1a4]
call fcn.004134d9
mov dword [eax], 0xc000
jmp 0x45933f
cmp dword [ebp - 0x20], 0
je 0x459378
lea ecx, [ebp - 0x1a4]
call fcn.004134bd
jmp 0x459476
mov dword [ebp - 0x28], 1
jmp 0x459388
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x459466
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x114], 0xfffffffc
mov dword [ebp - 0x1c], 0xd4a0d461
mov dword [ebp - 0x1c], 0
jmp 0x4593ba
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x459461
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x38], 0
jmp 0x4593db
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jg 0x45945c
mov dword [ebp - 0x48], 0x8f4f823a
mov dword [ebp - 0x48], 1
jmp 0x4593f8
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x459457
mov dword [ebp - 0xec], 0xbefc
mov eax, 0x3d6c
test eax, eax
je 0x459426
cmp dword [ebp - 0xec], 0
je 0x459426
mov dword [ebp - 0xf8], 1
jmp 0x45942d
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xec]
neg eax
sub eax, dword [ebp - 0xf8]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x459455
push 0
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
jmp 0x4593f1
jmp 0x4593d4
jmp 0x4593b3
jmp 0x459381
lea ecx, [ebp - 0x1a4]
call fcn.004134bd
jmp 0x4592f6
jmp 0x4592ad
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x459e16
mov dword [ebp - 0x18], 0x862f
mov dword [ebp - 0x58], 0x5300ce3
mov dword [ebp - 0x150], 0xe26b5cfd
mov dword [ebp - 0x148], 0x5c7e4ddb
mov dword [ebp - 0x160], 0x255bb5fb
mov dword [ebp - 0x1b4], 0x1b09c821
mov dword [ebp - 0x1b8], 0x2da3bb1d
mov dword [ebp - 0x1c0], 1
mov dword [ebp - 0x158], 0xfffffffb
push 3
lea ecx, [ebp - 0x1b0]
call fcn.004133eb
mov dword [ebp - 0x124], 0xfffffffa
mov dword [ebp - 0x40], 0
jmp 0x459502
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x45951e
push dword [ebp - 0x40]
lea ecx, [ebp - 0x1b0]
call fcn.004134d9
mov dword [eax], 0xfffffff9
jmp 0x4594fb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0
jmp 0x459535
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3a
jg 0x459886
mov dword [ebp - 0x24], 0x70ade21
push 3
lea ecx, [ebp - 0x94]
call fcn.004133eb
push 1
lea ecx, [ebp - 0x18c]
call fcn.004133eb
mov dword [ebp - 0x50], 0xe219
mov dword [ebp - 0xf4], 0xc710
mov dword [ebp - 4], 0
jmp 0x459581
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x45959d
push dword [ebp - 4]
lea ecx, [ebp - 0x94]
call fcn.004134d9
mov dword [eax], 0x367f
jmp 0x45957a
mov dword [ebp - 4], 0
jmp 0x4595ad
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x4595c9
push dword [ebp - 4]
lea ecx, [ebp - 0x18c]
call fcn.004134d9
mov dword [eax], 0x21b78cd9
jmp 0x4595a6
mov dword [ebp - 0x24], 0xfffffff9
jmp 0x4595d9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 5
jne 0x45972b
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 2
jmp 0x4595fa
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x459726
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x45962b
push 0x167e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c8], eax
mov eax, 0x50bb
test eax, eax
jl 0x459649
mov dword [ebp - 0x168], 1
jmp 0x459650
and dword [ebp - 0x168], 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0x94]
call fcn.004134d9
push 2
lea ecx, [ebp - 0x94]
call fcn.004134d9
mov esi, dword [eax]
neg esi
push dword [ebp - 0xc]
lea ecx, [ebp - 0x94]
call fcn.004134d9
sub esi, dword [eax]
jne 0x459699
push 1
lea ecx, [ebp - 0x94]
call fcn.004134d9
cmp dword [eax], 0
jne 0x459699
and dword [ebp - 0x7c], 0
jmp 0x4596a0
mov dword [ebp - 0x7c], 1
push dword [ebp - 0xc]
lea ecx, [ebp - 0x94]
call fcn.004134d9
mov eax, dword [eax]
add eax, dword [ebp - 0x7c]
cmp eax, 0xc75d
jge 0x4596c6
mov dword [ebp - 0x11c], 1
jmp 0x4596cd
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x58], 0
je 0x4596ef
push dword [ebp - 0xc]
lea ecx, [ebp - 0x94]
call fcn.004134d9
cmp dword [eax], 0
jne 0x4596ef
and dword [ebp - 0x100], 0
jmp 0x4596f9
mov dword [ebp - 0x100], 1
cmp dword [ebp - 0x100], 0xfffffffd
jge 0x45970e
mov dword [ebp - 0x84], 1
jmp 0x459715
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x150], eax
jmp 0x4595f3
jmp 0x4595d2
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
je 0x45976a
cmp dword [ebp - 0x124], 3
jg 0x459749
mov dword [ebp - 0x108], 1
jmp 0x459750
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0x108], eax
jl 0x45976a
mov dword [ebp - 0x110], 1
jmp 0x459771
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x24]
jg 0x45978e
mov dword [ebp - 0xd4], 1
jmp 0x459795
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xd4]
jl 0x4597ac
mov dword [ebp - 0x9c], 1
jmp 0x4597b3
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 1
jne 0x4597d4
mov dword [ebp - 0xa4], 1
jmp 0x4597db
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xa4]
jne 0x4597f2
mov dword [ebp - 0xdc], 1
jmp 0x4597f9
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0xdc], eax
jl 0x459813
mov dword [ebp - 0xac], 1
jmp 0x45981a
and dword [ebp - 0xac], 0
push 0
lea ecx, [ebp - 0x18c]
call fcn.004134d9
mov ecx, dword [ebp - 0xac]
sub ecx, dword [eax]
cmp ecx, 1
jge 0x459840
mov dword [ebp - 0x104], 1
jmp 0x459847
and dword [ebp - 0x104], 0
push 0
lea ecx, [ebp - 0x18c]
call fcn.004134d9
mov esi, dword [ebp - 0x104]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x1b0]
call fcn.004134d9
mov dword [eax], esi
lea ecx, [ebp - 0x18c]
call fcn.004134bd
lea ecx, [ebp - 0x94]
call fcn.004134bd
jmp 0x45952e
lea ecx, [ebp - 0x1b0]
call fcn.004134bd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x1bc], 0x77862fd4
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x4598d2
push 0x2471
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetROP2]
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x4598e4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x15c], eax
push 1
lea ecx, [ebp - 0x13c]
call fcn.004133eb
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x140], 0x2a28
mov dword [ebp - 0x154], 7
mov dword [ebp - 0x34], 0
jmp 0x459925
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x459941
push dword [ebp - 0x34]
lea ecx, [ebp - 0x13c]
call fcn.004134d9
mov dword [eax], 0x64a6
jmp 0x45991e
mov dword [ebp - 0x3c], 0
jmp 0x459951
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x459b17
mov dword [ebp - 0x70], 0x362daab7
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xb4], 0xffffffff
mov dword [ebp - 0x68], 0x88586fd5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x68]
je 0x459a25
push 0
lea ecx, [ebp - 0x13c]
call fcn.004134d9
mov ecx, dword [ebp - 0x68]
cmp dword [eax], ecx
je 0x4599b8
mov dword [ebp - 0xe4], 1
jmp 0x4599bf
and dword [ebp - 0xe4], 0
push 0
lea ecx, [ebp - 0x13c]
call fcn.004134d9
mov eax, dword [eax]
cmp eax, dword [ebp - 0xe4]
je 0x4599e2
mov dword [ebp - 0xbc], 1
jmp 0x4599e9
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0xfffffff6
jb 0x4599fe
mov dword [ebp - 0xfc], 1
jmp 0x459a05
and dword [ebp - 0xfc], 0
push 0
lea ecx, [ebp - 0x13c]
call fcn.004134d9
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
je 0x459a25
and dword [ebp - 0xc4], 0
jmp 0x459a2f
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0xc4], eax
jge 0x459a4a
xor eax, eax
je 0x459a4a
mov dword [ebp - 0xcc], 1
jmp 0x459a51
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0xcc]
jl 0x459a68
mov dword [ebp - 0x10c], 1
jmp 0x459a6f
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xfffffffc
jge 0x459a85
xor eax, eax
jne 0x459a85
and dword [ebp - 0x88], 0
jmp 0x459a8f
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x140]
cmp dword [ebp - 0x88], eax
jge 0x459aa9
mov dword [ebp - 0x98], 1
jmp 0x459ab0
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0
jne 0x459ac5
mov dword [ebp - 0xa0], 1
jmp 0x459acc
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 1
je 0x459ae1
mov dword [ebp - 0xa8], 1
jmp 0x459ae8
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0xa8], eax
jne 0x459aff
mov dword [ebp - 0xb0], 1
jmp 0x459b06
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x154], eax
jmp 0x45994a
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x459b2b
push 0
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x13c]
call fcn.004134bd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x54], 9
push 2
lea ecx, [ebp - 0x198]
call fcn.004133eb
push 3
lea ecx, [ebp - 0x174]
call fcn.004133eb
mov dword [ebp - 0xe8], 0
mov dword [ebp - 8], 0
jmp 0x459b7a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x459b96
push dword [ebp - 8]
lea ecx, [ebp - 0x198]
call fcn.004134d9
mov dword [eax], 0x14c405b4
jmp 0x459b73
mov dword [ebp - 8], 0
jmp 0x459ba6
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x459bc2
push dword [ebp - 8]
lea ecx, [ebp - 0x174]
call fcn.004134d9
mov dword [eax], 0xdcba
jmp 0x459b9f
cmp dword [ebp - 0x54], 0
je 0x459be1
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x459bdc
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x459d39
mov dword [ebp - 0xd0], 0x61f66568
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0xc8], 0xfffffffb
mov dword [ebp - 0x44], 0
jmp 0x459c0c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x459c1f
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x5c], 1
jmp 0x459c05
push 0
lea ecx, [ebp - 0x174]
call fcn.004134d9
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
je 0x459c9a
cmp dword [ebp - 0xd0], 0
je 0x459c7d
push 1
lea ecx, [ebp - 0x198]
call fcn.004134d9
cmp dword [eax], 0
jne 0x459c7d
and dword [ebp - 0xc0], 0
jmp 0x459c87
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
mov esi, dword [ebp - 0xd0]
push 0
lea ecx, [ebp - 0x174]
call fcn.004134d9
cmp esi, dword [eax]
jge 0x459cbd
mov dword [ebp - 0xd8], 1
jmp 0x459cc4
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0xd8]
jge 0x459cdb
mov dword [ebp - 0x144], 1
jmp 0x459ce2
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x54], 0
je 0x459cfd
mov eax, 0xa5b04204
test eax, eax
je 0x459cfd
mov dword [ebp - 0xe0], 1
jmp 0x459d04
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
cmp dword [ebp - 0xe0], eax
jge 0x459d1f
mov dword [ebp - 0x64], 1
jmp 0x459d23
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0x5c], ecx
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x174]
call fcn.004134bd
lea ecx, [ebp - 0x198]
call fcn.004134bd
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x78]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.004134d9
cmp dword [eax], 0
jne 0x459dba
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.004134d9
push 3
mov ecx, dword [ebp - 0x2c]
call fcn.004134d9
cmp dword [eax], 0xffffffff
jl 0x459dba
and dword [ebp - 0xf0], 0
jmp 0x459dc4
mov dword [ebp - 0xf0], 1
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
cmp dword [ebp - 0xf0], eax
jle 0x459ddd
mov dword [ebp - 0x74], 1
jmp 0x459de1
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x8659
je 0x459e02
mov eax, dword [ebp - 0x78]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.004134d9
cmp dword [eax], 0
jne 0x459e02
and dword [ebp - 0x80], 0
jmp 0x459e09
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
jmp 0x459e40
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
movzx eax, byte [eax]
test eax, eax
je 0x459e40
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
pop esi
mov esp, ebp
pop ebp
ret