Function at 0x1004be7e
Capabilities:
Enumerate gui resources
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086467
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
push 1
lea eax, [ebp - 0x444]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10049eeb
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x428]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x428]
lea edi, [ebp - 0x2c4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 2
lea ecx, [ebp - 0x3a4]
call fcn.10015766
and dword [ebp - 4], 0
mov dword [ebp - 0x84], 0x57976326
mov dword [ebp - 0x330], 0xa485bf25
mov dword [ebp - 0x33c], 0xffffffff
mov dword [ebp - 0x5c], 0
jmp 0x1004bf0c
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1004bf28
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x3a4]
call fcn.100157d3
mov dword [eax], 0xffff
jmp 0x1004bf05
mov dword [ebp - 0x84], 1
jmp 0x1004bf41
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jl 0x1004bf63
mov dword [ebp - 0x184], 0xbeb7
mov eax, dword [ebp - 0x184]
dec eax
mov dword [ebp - 0x184], eax
jmp 0x1004bf34
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3a4]
call fcn.100157ce
push 1
lea ecx, [ebp - 0x1fc]
call fcn.10015766
mov dword [ebp - 4], 1
mov dword [ebp - 0x344], 0xfffffffa
mov dword [ebp - 0x64], 0x3e58bfc4
mov dword [ebp - 0x14], 0
jmp 0x1004bfa7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1004bfbd
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x41c], 0xc64a6847
jmp 0x1004bfa0
mov dword [ebp - 0x14], 0
jmp 0x1004bfcd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004bfe9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1fc]
call fcn.100157d3
mov dword [eax], 0xfb871c7b
jmp 0x1004bfc6
push 0
lea ecx, [ebp - 0x1fc]
call fcn.100157d3
mov dword [eax], 3
jmp 0x1004c022
push 0
lea ecx, [ebp - 0x1fc]
call fcn.100157d3
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1fc]
call fcn.100157d3
cmp dword [eax], 0
jl 0x1004c0d5
push 0
lea ecx, [ebp - 0x1fc]
call fcn.100157d3
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x41c], 0
je 0x1004c07f
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004c07d
push 0
push 0x16cb
push 0x1e59
push 0
push 0x6f6
push 0x18b3
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x1004c0b5
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x54], 0
jmp 0x1004c096
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jg 0x1004c0b5
mov dword [ebp - 0x1e4], 7
mov eax, dword [ebp - 0x1e4]
inc eax
mov dword [ebp - 0x1e4], eax
jmp 0x1004c08f
push 0
lea ecx, [ebp - 0x1fc]
call fcn.100157d3
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x41c], 0
je 0x1004c0d0
jmp 0x1004c0d5
jmp 0x1004bffe
mov dword [ebp - 0x64], 0x18
jmp 0x1004c0e5
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff3
jge 0x1004c103
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004c101
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1004c0de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.100157ce
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x44], 0xb22489af
push 3
lea ecx, [ebp - 0x2f0]
call fcn.10015766
mov dword [ebp - 4], 2
mov dword [ebp - 0x34c], 0x77405739
mov dword [ebp - 0x18], 0
jmp 0x1004c14e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004c164
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xe0], 6
jmp 0x1004c147
mov dword [ebp - 0x18], 0
jmp 0x1004c174
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004c190
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2f0]
call fcn.100157d3
mov dword [eax], 0xe0b5dae8
jmp 0x1004c16d
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x40]
cmp eax, 0x8d3c891c
ja 0x1004c1a9
mov dword [ebp - 0x170], 1
jmp 0x1004c1b0
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x40], 0x1f90ef30
je 0x1004c1c5
mov dword [ebp - 0xf0], 1
jmp 0x1004c1cc
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xf0], eax
jne 0x1004c1e3
mov dword [ebp - 0xf8], 1
jmp 0x1004c1ea
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x170]
imul eax, dword [ebp - 0xf8]
mov dword [ebp - 0x17c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + eax - 0xe0], ecx
cmp dword [ebp - 0x17c], 0
je 0x1004c3e7
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40c], 0xf758fc5
mov dword [ebp - 0x408], 0xf758fc5
mov dword [ebp - 0x404], 0xf758fc5
mov dword [ebp - 0x400], 0xf758fc5
cmp dword [ebp - 0x3c], 0x7e7c14ab
jle 0x1004c261
mov dword [ebp - 0x100], 1
jmp 0x1004c268
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
dec eax
je 0x1004c286
mov eax, 0x51fa
test eax, eax
je 0x1004c286
mov dword [ebp - 0x1b0], 1
jmp 0x1004c28d
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x1b0], eax
jl 0x1004c2a4
mov dword [ebp - 0x108], 1
jmp 0x1004c2ab
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x108]
jle 0x1004c2c2
mov dword [ebp - 0x180], 1
jmp 0x1004c2c9
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 1
jle 0x1004c2de
mov dword [ebp - 0x110], 1
jmp 0x1004c2e5
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe0]
cmp dword [ebp - 0x110], eax
jl 0x1004c306
mov dword [ebp - 0x258], 1
jmp 0x1004c30d
and dword [ebp - 0x258], 0
cmp dword [ebp - 0x3c], 0x4cd4
jl 0x1004c322
mov dword [ebp - 0x24c], 1
jmp 0x1004c329
and dword [ebp - 0x24c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xe0]
mov dword [ebp - 0x354], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xe0]
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff9
mov dword [ebp - 0x254], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x254]
mov dword [ebp + eax - 0xe0], ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x36c], eax
mov eax, 0x4132d38c
test eax, eax
je 0x1004c3a1
mov dword [ebp - 0x1d8], 0xfff7
mov eax, dword [ebp - 0x1d8]
dec eax
mov dword [ebp - 0x1d8], eax
jmp 0x1004c3e2
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1004c3e2
push 0x1bc5
push 0x22a1
push 0x11b8
push 0x13a8
push 0xa60
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x1004c7d2
mov dword [ebp - 0x218], 0xcb06a9be
mov dword [ebp - 0x214], 0xcb06a9be
mov dword [ebp - 0x210], 0xcb06a9be
mov dword [ebp - 0x20c], 0xcb06a9be
mov dword [ebp - 0x130], 0x82d77871
push 7
pop eax
test eax, eax
je 0x1004c4e6
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
dec ecx
mov dword [ebp - 0x44], ecx
test eax, eax
jne 0x1004c44b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xe0], 0xfffffffe
ja 0x1004c44b
and dword [ebp - 0x118], 0
jmp 0x1004c455
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x118]
add eax, 4
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x218]
jl 0x1004c478
mov dword [ebp - 0x25c], 1
jmp 0x1004c47f
and dword [ebp - 0x25c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x218]
mov dword [ebp - 0x374], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xe0]
mov dword [ebp - 0x37c], eax
mov eax, 0x63d4
imul eax, eax, 0x28f0
cmp eax, 0xfffffffb
jbe 0x1004c4c4
cmp dword [ebp - 0x44], 0
jne 0x1004c4c4
and dword [ebp - 0x188], 0
jmp 0x1004c4ce
mov dword [ebp - 0x188], 1
cmp dword [ebp - 0x188], 0x3d97
jg 0x1004c4e6
mov dword [ebp - 0x120], 1
jmp 0x1004c4ed
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x218]
cmp dword [ebp - 0x120], eax
jne 0x1004c50e
mov dword [ebp - 0x1b8], 1
jmp 0x1004c515
and dword [ebp - 0x1b8], 0
mov eax, 0x6d7d0454
sub eax, dword [ebp - 0x1b8]
je 0x1004c558
mov dword [ebp - 0x264], 0xa52e
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004c540
push 0
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x264]
mov dword [ebp + eax - 0x218], ecx
jmp 0x1004c7b7
mov dword [ebp - 0x1d0], 0
push 3
lea ecx, [ebp - 0x274]
call fcn.10015766
mov byte [ebp - 4], 3
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0x8c], 0
jmp 0x1004c596
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 3
jge 0x1004c5b5
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x274]
call fcn.100157d3
or dword [eax], 0xffffffff
jmp 0x1004c589
push 2
lea ecx, [ebp - 0x274]
call fcn.100157d3
cmp dword [eax], 0
jne 0x1004c5d6
cmp dword [ebp - 0x40], 0
jne 0x1004c5d6
and dword [ebp - 0x228], 0
jmp 0x1004c5e0
mov dword [ebp - 0x228], 1
cmp dword [ebp - 0x130], 1
jl 0x1004c5f5
mov dword [ebp - 0x128], 1
jmp 0x1004c5fc
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0xffff
je 0x1004c621
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x218], 0
jne 0x1004c621
and dword [ebp - 0xb8], 0
jmp 0x1004c62b
mov dword [ebp - 0xb8], 1
push 2
lea ecx, [ebp - 0x2f0]
call fcn.100157d3
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
cmp dword [ebp - 0xb8], 0
je 0x1004c65e
cmp dword [ebp - 0xc8], 0
je 0x1004c65e
mov dword [ebp - 0x190], 1
jmp 0x1004c665
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0x4ed1
jl 0x1004c67d
mov dword [ebp - 0x138], 1
jmp 0x1004c684
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
cmp eax, dword [ebp - 0x138]
jle 0x1004c6aa
mov dword [ebp - 0x198], 1
jmp 0x1004c6b1
and dword [ebp - 0x198], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x218]
add eax, dword [ebp - 0x198]
cmp eax, dword [ebp - 0x44]
jg 0x1004c6d5
mov dword [ebp - 0x244], 1
jmp 0x1004c6dc
and dword [ebp - 0x244], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xe0]
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x394], eax
mov eax, 0x26160d4a
test eax, eax
jne 0x1004c71d
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x1004c71d
and dword [ebp - 0x140], 0
jmp 0x1004c727
mov dword [ebp - 0x140], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xe0]
cmp eax, dword [ebp - 0x140]
jle 0x1004c747
mov dword [ebp - 0x1c0], 1
jmp 0x1004c74e
and dword [ebp - 0x1c0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1c0]
sub ecx, dword [ebp + eax - 0xe0]
cmp ecx, 0x11b8
je 0x1004c775
mov dword [ebp - 0x22c], 1
jmp 0x1004c77c
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x3e8], eax
push 2
lea ecx, [ebp - 0x274]
call fcn.100157d3
mov esi, eax
push 2
lea ecx, [ebp - 0x274]
call fcn.100157d3
mov ecx, dword [esi]
mov dword [eax], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.100157ce
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1004c7d2
push 0
push 1
push 0xd50
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f0]
call fcn.100157ce
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x328], 0x1e66c619
mov dword [ebp - 0x3b8], 0x3a4df6f9
mov dword [ebp - 0x300], 0xe9378f1e
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x1c], 0
jmp 0x1004c820
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004c836
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x430], 9
jmp 0x1004c819
mov dword [ebp - 0x1c], 0
jmp 0x1004c846
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1004c85c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x454], 6
jmp 0x1004c83f
mov dword [ebp - 0x70], 0
jmp 0x1004c86c
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffe3
je 0x1004ca61
mov dword [ebp - 0x90], 0x67a876e6
mov dword [ebp - 0x308], 0xcc92ea21
mov dword [ebp - 0x3e4], 0x32b96ce0
mov dword [ebp - 0x310], 0xffffffff
mov dword [ebp - 0x380], 0x395e2de4
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x1a0], 0x915bb002
mov dword [ebp - 0x90], 0
jmp 0x1004c8df
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 8
jne 0x1004ca4f
mov dword [ebp - 0x78], 0xf25cbd94
mov dword [ebp - 0x78], 0
jmp 0x1004c903
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xfffffff6
jg 0x1004ca2c
push 4
lea ecx, [ebp - 0x284]
call fcn.10015766
mov dword [ebp - 4], 4
mov dword [ebp - 0xa0], 0
jmp 0x1004c93a
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 4
jge 0x1004c95c
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x284]
call fcn.100157d3
mov dword [eax], 0x946507e
jmp 0x1004c92d
push 1
lea ecx, [ebp - 0x284]
call fcn.100157d3
and dword [eax], 0
jmp 0x1004c992
push 1
lea ecx, [ebp - 0x284]
call fcn.100157d3
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x148]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x284]
call fcn.100157d3
cmp dword [eax], 1
jg 0x1004ca18
push 3
lea ecx, [ebp - 0x2ac]
call fcn.10015766
mov byte [ebp - 4], 5
mov dword [ebp - 0x80], 0
jmp 0x1004c9c5
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1004c9e1
push dword [ebp - 0x80]
lea ecx, [ebp - 0x2ac]
call fcn.100157d3
mov dword [eax], 0xffff
jmp 0x1004c9be
push 0
lea ecx, [ebp - 0x2ac]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004ca04
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.100157ce
jmp 0x1004ca18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.100157ce
jmp 0x1004c96e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.100157ce
jmp 0x1004c8fc
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1004ca4a
push 0
push 0x8c0
push 0x59d
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
jmp 0x1004c8d2
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
jmp 0x1004c865
mov dword [ebp - 0x74], 0x13b91020
mov dword [ebp - 0x88], 0xee76f502
mov dword [ebp - 0x98], 0
jmp 0x1004ca8b
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1004caa7
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x320], 9
jmp 0x1004ca7e
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004cac4
push 0x2182
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [ebp - 0x88], 0
jmp 0x1004cadd
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jg 0x1004cb12
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1004cafa
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004cb10
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1004cad0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x260], 0xffffffff
mov dword [ebp - 0x48], 0
jmp 0x1004cb33
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffed
jl 0x1004cb5f
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004cb5d
push 0
push 0xc2f
push 0
call dword [sym.imp.GDI32.dll_GetRegionData]
jmp 0x1004cb2c
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x1e0], 0xffff
push 2
lea ecx, [ebp - 0x294]
call fcn.10015766
mov dword [ebp - 4], 6
mov dword [ebp - 0x29c], 6
mov dword [ebp - 0x174], 0x7bd55fd0
push 3
lea ecx, [ebp - 0x2b8]
call fcn.10015766
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], 0
jmp 0x1004cbb9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1004cbd5
push dword [ebp - 0x24]
lea ecx, [ebp - 0x294]
call fcn.100157d3
mov dword [eax], 0xafbd13d8
jmp 0x1004cbb2
mov dword [ebp - 0x24], 0
jmp 0x1004cbe5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1004cbfe
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2b8]
call fcn.100157d3
and dword [eax], 0
jmp 0x1004cbde
mov dword [ebp - 0x30], 0x905c
cmp dword [ebp - 0x30], 0
je 0x1004cd7f
cmp dword [ebp - 0x1e0], 0
jne 0x1004cd1d
mov esi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x30]
push 0
lea ecx, [ebp - 0x294]
call fcn.100157d3
cmp esi, dword [eax]
jg 0x1004cc3f
mov dword [ebp - 0x150], 1
jmp 0x1004cc46
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
dec eax
cmp eax, dword [ebp - 0x30]
je 0x1004cc5e
mov dword [ebp - 0x230], 1
jmp 0x1004cc65
and dword [ebp - 0x230], 0
mov esi, dword [ebp - 0x29c]
push 1
lea ecx, [ebp - 0x294]
call fcn.100157d3
add esi, dword [eax]
cmp esi, 0xffffffff
jbe 0x1004cc8b
mov dword [ebp - 0x158], 1
jmp 0x1004cc92
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x1e0]
cmp dword [ebp - 0x158], eax
jle 0x1004ccbe
push 0
lea ecx, [ebp - 0x294]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004ccbe
mov dword [ebp - 0x1a8], 1
jmp 0x1004ccc5
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x1a8]
cmp eax, 0xd4aa
jle 0x1004cce1
mov dword [ebp - 0x160], 1
jmp 0x1004cce8
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x160], eax
jl 0x1004ccff
mov dword [ebp - 0x1c8], 1
jmp 0x1004cd06
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x1c8], eax
je 0x1004cd1d
and dword [ebp - 0x238], 0
jmp 0x1004cd27
mov dword [ebp - 0x238], 1
push 0
lea ecx, [ebp - 0x2b8]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004cd4e
mov eax, 0xb275cf8
test eax, eax
je 0x1004cd4e
mov dword [ebp - 0xc0], 1
jmp 0x1004cd55
and dword [ebp - 0xc0], 0
push 0
lea ecx, [ebp - 0x2b8]
call fcn.100157d3
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
cmp dword [ebp - 0xc0], 0
je 0x1004cd7f
mov dword [ebp - 0x168], 1
jmp 0x1004cd86
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.100157ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.100157ce
push 3
lea ecx, [ebp - 0x2e4]
call fcn.10015766
mov dword [ebp - 4], 8
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x68], 1
jmp 0x1004cddb
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x1b
je 0x1004ce2a
mov dword [ebp - 0x268], 0x2fd4914d
mov dword [ebp - 0x240], 0x555b7cef
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004ce28
push 0x6bc
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]
jmp 0x1004cdd4
mov dword [ebp - 0x6c], 0
jmp 0x1004ce3a
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1004ce56
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2e4]
call fcn.100157d3
mov dword [eax], 0x751c
jmp 0x1004ce33
mov dword [ebp - 0x74], 0xf
jmp 0x1004ce66
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jl 0x1004cf11
push 2
lea ecx, [ebp - 0x3b4]
call fcn.10015766
mov byte [ebp - 4], 9
mov dword [ebp - 0x58], 0xd8e5ccc9
mov dword [ebp - 0x7c], 0
jmp 0x1004ce98
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x1004ceb4
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x3b4]
call fcn.100157d3
mov dword [eax], 0xdf75dcec
jmp 0x1004ce91
mov dword [ebp - 0x58], 1
jmp 0x1004cec4
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1004cede
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004cedc
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x1004cebd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3b4]
call fcn.100157ce
mov dword [ebp - 0x298], 0xffffffff
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.1004a695
pop ecx
pop ecx
jmp 0x1004ce5f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.100157ce
mov dword [ebp - 0x248], 0xf0b96ca2
mov dword [ebp - 0x32c], 0xad2086bd
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x124], 0xa41637c1
mov dword [ebp - 0x334], 0xec560449
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x2a0], 0xffffffff
mov dword [ebp - 0x3c8], 0
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1004cf90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x248]
sub eax, 4
je 0x1004d07a
mov dword [ebp - 0x2f4], 6
mov dword [ebp - 0x388], 0xc4ab274b
mov dword [ebp - 0x338], 1
mov dword [ebp - 0x3ec], 0xffffffff
mov dword [ebp - 0x340], 0xdaab72b2
mov dword [ebp - 0x390], 0x420452a2
mov dword [ebp - 0x348], 0xe2f9d44c
push 3
lea ecx, [ebp - 0x3c4]
call fcn.10015766
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x20], 0
jmp 0x1004d009
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1004d025
push dword [ebp - 0x20]
lea ecx, [ebp - 0x3c4]
call fcn.100157d3
mov dword [eax], 0xfffffff9
jmp 0x1004d002
mov dword [ebp - 0x20], 0
jmp 0x1004d035
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004d04b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xe8], 0xffffffff
jmp 0x1004d02e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xe8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.100157ce
jmp 0x1004d24f
mov dword [ebp - 0x278], 0xfffffffa
mov dword [ebp - 0x3d8], 0xffffffff
mov dword [ebp - 0x350], 0x8f585950
mov dword [ebp - 0x398], 6
mov dword [ebp - 0x358], 0x5ff57440
mov dword [ebp - 0x104], 0x8ef34ea8
mov dword [ebp - 0x3dc], 0xe42506ed
mov dword [ebp - 0x3fc], 0x3f908025
mov dword [ebp - 0x3f8], 0x3f908025
mov dword [ebp - 0x3f4], 0x3f908025
mov dword [ebp - 0x3f0], 0x3f908025
mov dword [ebp - 0x2d8], 0xadbefc71
mov dword [ebp - 0x2d4], 0xadbefc71
mov dword [ebp - 0x2d0], 0xadbefc71
mov dword [ebp - 0x2cc], 0xadbefc71
lea ecx, [ebp - 0xad]
call fcn.100092f3
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x438]
call fcn.100157e2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3d4]
call fcn.100157a8
mov dword [ebp - 4], 0xb
mov eax, 0x80f8
test eax, eax
je 0x1004d16a
cmp dword [ebp - 0x278], 0
je 0x1004d16a
mov dword [ebp - 0xec], 1
jmp 0x1004d171
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0x8fda
jle 0x1004d189
mov dword [ebp - 0xf4], 1
jmp 0x1004d190
and dword [ebp - 0xf4], 0
push 1
lea ecx, [ebp - 0x3d4]
call fcn.100157d3
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xd0]
mov dword [ecx], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [eax]
jne 0x1004d1d0
mov dword [ebp - 0xfc], 1
jmp 0x1004d1d7
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
imul eax, dword [ebp - 0x104], 0xae69
neg eax
cmp eax, dword [ebp - 0x11c]
jne 0x1004d20f
mov dword [ebp - 0x10c], 1
jmp 0x1004d216
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x2a0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d4]
call fcn.100157ce
mov dword [ebp - 0x10], 0xc7bf0b96
push 1
lea ecx, [ebp - 0x208]
call fcn.10015766
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x94], 0x40e708be
mov dword [ebp - 0x21c], 0xfffffffd
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x60], 0
jmp 0x1004d2c7
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1004d2e0
push dword [ebp - 0x60]
lea ecx, [ebp - 0x208]
call fcn.100157d3
and dword [eax], 0
jmp 0x1004d2c0
cmp dword [ebp - 0x10], 0
je 0x1004d463
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x368], eax
mov eax, 0xffffc4ac
sub eax, dword [ebp - 0x10]
cmp eax, 0x6d8
jl 0x1004d317
mov dword [ebp - 0x12c], 1
jmp 0x1004d31e
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x12c], eax
jl 0x1004d335
mov dword [ebp - 0x134], 1
jmp 0x1004d33c
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x134], eax
jle 0x1004d353
mov dword [ebp - 0x13c], 1
jmp 0x1004d35a
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x10]
cmp eax, 0x2240
jg 0x1004d37a
push 0xfffffffffffffff9
pop eax
test eax, eax
jne 0x1004d37a
and dword [ebp - 0x144], 0
jmp 0x1004d384
mov dword [ebp - 0x144], 1
cmp dword [ebp - 0x144], 0x9b78
je 0x1004d39c
mov dword [ebp - 0x14c], 1
jmp 0x1004d3a3
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x10]
jne 0x1004d3be
mov dword [ebp - 0xb4], 1
jmp 0x1004d3c5
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0x208]
call fcn.100157d3
mov ecx, dword [ebp - 0xb4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
neg eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x10]
cmp eax, 0xfffffffd
je 0x1004d40b
mov dword [ebp - 0x154], 1
jmp 0x1004d412
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x1004d438
xor eax, eax
jne 0x1004d438
push 0
lea ecx, [ebp - 0x208]
call fcn.100157d3
push 0
lea ecx, [ebp - 0x208]
call fcn.100157d3
push 0
lea ecx, [ebp - 0x208]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004d463
mov dword [ebp - 0x164], 1
jmp 0x1004d46a
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x10]
neg eax
cmp eax, 0x254
je 0x1004d4a6
mov dword [ebp - 0x194], 1
jmp 0x1004d4ad
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x9c], eax
jl 0x1004d4c7
mov dword [ebp - 0xe4], 1
jmp 0x1004d4ce
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
sub eax, 0xf2c9
jne 0x1004d4ea
cmp dword [ebp - 0x4c], 0
jne 0x1004d4ea
and dword [ebp - 0x18c], 0
jmp 0x1004d4f4
mov dword [ebp - 0x18c], 1
mov esi, dword [ebp - 0x94]
push 0
lea ecx, [ebp - 0x208]
call fcn.100157d3
mov ecx, dword [ebp - 0x18c]
add ecx, dword [eax]
cmp esi, ecx
jg 0x1004d51f
mov dword [ebp - 0x288], 1
jmp 0x1004d526
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x194], eax
jge 0x1004d555
mov dword [ebp - 0x220], 1
jmp 0x1004d55c
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0x4c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.100157ce
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x1ac], 0x4f84b811
mov dword [ebp - 0xcc], 0xaa39ed08
mov dword [ebp - 0xd4], 0x3859
push 1
lea ecx, [ebp - 0x1f0]
call fcn.10015766
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x23c], 9
mov dword [ebp - 0xa4], 0
jmp 0x1004d5e2
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 1
jge 0x1004d604
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x1f0]
call fcn.100157d3
mov dword [eax], 0x4fda7ef5
jmp 0x1004d5d5
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
je 0x1004d629
mov dword [ebp - 0x19c], 0x509978f3
mov eax, dword [ebp - 0x19c]
dec eax
mov dword [ebp - 0x19c], eax
jmp 0x1004d81b
mov dword [ebp - 0xac], 0xef99
mov dword [ebp - 0xa8], 0xb8b0d58e
push 0
lea ecx, [ebp - 0x1f0]
call fcn.100157d3
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc4]
cmp dword [eax], 0
jne 0x1004d7c5
push 0
lea ecx, [ebp - 0x1f0]
call fcn.100157d3
cmp dword [eax], 6
jg 0x1004d68e
mov dword [ebp - 0x1a4], 1
jmp 0x1004d695
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x1a4]
cmp dword [ebp - 0x50], eax
jl 0x1004d6b2
mov dword [ebp - 0x1b4], 1
jmp 0x1004d6b9
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x50], eax
jl 0x1004d72a
push 0
lea ecx, [ebp - 0x1f0]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004d72a
mov dword [ebp - 0x1bc], 1
jmp 0x1004d731
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0x1bc]
dec eax
dec eax
jne 0x1004d769
cmp dword [ebp - 0xa8], 0
jne 0x1004d769
push 0
lea ecx, [ebp - 0x1f0]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004d769
mov dword [ebp - 0x1c4], 1
jmp 0x1004d770
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x1c4], eax
jge 0x1004d78a
mov dword [ebp - 0x234], 1
jmp 0x1004d791
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x31c], eax
push 0
lea ecx, [ebp - 0x1f0]
call fcn.100157d3
mov eax, dword [eax]
add eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0xa8]
dec eax
dec eax
jne 0x1004d7c5
and dword [ebp - 0x1cc], 0
jmp 0x1004d7cf
mov dword [ebp - 0x1cc], 1
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x1cc], eax
jle 0x1004d7e9
mov dword [ebp - 0x1d4], 1
jmp 0x1004d7f0
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 0xf4fe10ef
jne 0x1004d808
mov dword [ebp - 0x1dc], 1
jmp 0x1004d80f
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x23c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.100157ce
cmp dword [ebp - 0x2c4], 0
je 0x1004d847
push 3
push dword [ebp - 0x2bc]
push dword [ebp - 0x2c0]
call dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret