Function at 0x1004d48a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d365
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x320
push esi
push edi
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x58], 0
jmp 0x1004d4c1
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1004d4d7
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x1a4], 0x3342eb9
jmp 0x1004d4ba
mov dword [ebp - 0x24], 0
jmp 0x1004d4e7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x1004d56c
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], 1
jmp 0x1004d504
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004d52f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x1a4]
mov dword [ebp + ecx*4 - 0x1a4], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x1a4], 0
je 0x1004d52d
jmp 0x1004d52f
jmp 0x1004d4fd
mov dword [ebp - 0x14], 0
jmp 0x1004d53f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1004d567
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004d565
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
jmp 0x1004d538
jmp 0x1004d4e0
mov dword [ebp - 0x24], 0x1a
jmp 0x1004d57c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1b
jg 0x1004d595
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x1a4], 0
jmp 0x1004d575
push 1
lea eax, [ebp - 0x32c]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004943a
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x2f4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2f4]
lea edi, [ebp - 0x200]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0x1ec], 0xfffffffd
mov dword [ebp - 0x80], 0
jmp 0x1004d5e8
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jge 0x1004d5fe
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x94], 0xf23b1a95
jmp 0x1004d5e1
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x94], 0xcddd
test eax, eax
jne 0x1004d623
push 5
pop eax
test eax, eax
jne 0x1004d623
and dword [ebp - 0xb8], 0
jmp 0x1004d62d
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0xb8], 0x576c5165
je 0x1004d645
mov dword [ebp - 0xc8], 1
jmp 0x1004d64c
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x94]
cmp dword [ebp + eax - 0x94], ecx
jg 0x1004d674
mov dword [ebp - 0x11c], 1
jmp 0x1004d67b
and dword [ebp - 0x11c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x11c], eax
jge 0x1004d69c
mov dword [ebp - 0x178], 1
jmp 0x1004d6a3
and dword [ebp - 0x178], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
add eax, dword [ebp - 0x178]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x94]
mov ecx, dword [ebp - 0xc8]
sub ecx, eax
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xc4], 0xe80d
jl 0x1004d6e9
mov dword [ebp - 0x14c], 1
jmp 0x1004d6f0
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x14c], eax
jle 0x1004d711
mov dword [ebp - 0xcc], 1
jmp 0x1004d718
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x1004d750
push 0
push 0x1f0
push 0x1729
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 2
lea ecx, [ebp - 0x184]
call fcn.10013e31
and dword [ebp - 4], 0
push 2
lea ecx, [ebp - 0x19c]
call fcn.10013e31
mov byte [ebp - 4], 1
mov dword [ebp - 0x2d4], 1
mov dword [ebp - 0xfc], 0x5faafe30
mov dword [ebp - 0x234], 0xe1c97412
mov dword [ebp - 0x230], 0xe1c97412
mov dword [ebp - 0x22c], 0xe1c97412
mov dword [ebp - 0x228], 0xe1c97412
lea ecx, [ebp - 0xad]
call fcn.10006dcf
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x308]
call fcn.10013ee1
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x27c]
call fcn.10013e90
mov byte [ebp - 4], 2
push 2
lea ecx, [ebp - 0x190]
call fcn.10013e31
mov byte [ebp - 4], 3
mov dword [ebp - 0xf4], 0xb364
mov dword [ebp - 0x13c], 0x3d8e
mov dword [ebp - 0x10], 0
jmp 0x1004d81c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1004d838
push dword [ebp - 0x10]
lea ecx, [ebp - 0x184]
call fcn.10013ed2
mov dword [eax], 0x6482
jmp 0x1004d815
mov dword [ebp - 0x10], 0
jmp 0x1004d848
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1004d864
push dword [ebp - 0x10]
lea ecx, [ebp - 0x19c]
call fcn.10013ed2
mov dword [eax], 0xde19d29b
jmp 0x1004d841
mov dword [ebp - 0x10], 0
jmp 0x1004d874
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1004d890
push dword [ebp - 0x10]
lea ecx, [ebp - 0x190]
call fcn.10013ed2
mov dword [eax], 0xf390f3bd
jmp 0x1004d86d
push 0
lea ecx, [ebp - 0x19c]
call fcn.10013ed2
mov dword [eax], 1
jmp 0x1004d8c9
push 0
lea ecx, [ebp - 0x19c]
call fcn.10013ed2
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x19c]
call fcn.10013ed2
cmp dword [eax], 0
jl 0x1004d943
push 1
lea ecx, [ebp - 0x298]
call fcn.10013e31
mov byte [ebp - 4], 4
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x60], 0
jmp 0x1004d906
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1004d922
push dword [ebp - 0x60]
lea ecx, [ebp - 0x298]
call fcn.10013ed2
mov dword [eax], 0x4dc9ed9b
jmp 0x1004d8ff
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.10013eb6
jmp 0x1004d8a5
push 0
lea ecx, [ebp - 0x184]
call fcn.10013ed2
push 1
lea ecx, [ebp - 0x184]
call fcn.10013ed2
cmp dword [eax], 0
je 0x1004da71
push 1
lea ecx, [ebp - 0x190]
call fcn.10013ed2
cmp dword [eax], 0
je 0x1004da0a
push 0
lea ecx, [ebp - 0x184]
call fcn.10013ed2
cmp dword [eax], 1
jle 0x1004d99a
mov dword [ebp - 0x164], 1
jmp 0x1004d9a1
and dword [ebp - 0x164], 0
push 1
lea ecx, [ebp - 0x19c]
call fcn.10013ed2
mov ecx, dword [ebp - 0x164]
cmp ecx, dword [eax]
jg 0x1004d9c4
mov dword [ebp - 0xdc], 1
jmp 0x1004d9cb
and dword [ebp - 0xdc], 0
push 0
lea ecx, [ebp - 0x190]
call fcn.10013ed2
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jg 0x1004d9ee
mov dword [ebp - 0x1ac], 1
jmp 0x1004d9f5
and dword [ebp - 0x1ac], 0
mov eax, 0xa1033631
test eax, eax
je 0x1004da0a
mov dword [ebp - 0x12c], 1
jmp 0x1004da11
and dword [ebp - 0x12c], 0
push 1
lea ecx, [ebp - 0x190]
call fcn.10013ed2
mov ecx, dword [ebp - 0x12c]
cmp ecx, dword [eax]
jg 0x1004da34
mov dword [ebp - 0xe4], 1
jmp 0x1004da3b
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xfffffffa
jge 0x1004da50
mov dword [ebp - 0x154], 1
jmp 0x1004da57
and dword [ebp - 0x154], 0
imul eax, dword [ebp - 0x154], 0x5c7d
test eax, eax
je 0x1004da71
mov dword [ebp - 0x88], 1
jmp 0x1004da78
and dword [ebp - 0x88], 0
push 1
lea ecx, [ebp - 0x27c]
call fcn.10013ed2
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov eax, dword [ebp - 0x88]
sub eax, 0xdbc4
jne 0x1004dab5
push 0
lea ecx, [ebp - 0x184]
call fcn.10013ed2
cmp dword [eax], 0
jne 0x1004dab5
and dword [ebp - 0xec], 0
jmp 0x1004dabf
mov dword [ebp - 0xec], 1
push 1
lea ecx, [ebp - 0x190]
call fcn.10013ed2
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [eax]
je 0x1004daeb
cmp dword [ebp - 0xfc], 0
je 0x1004daeb
mov dword [ebp - 0x134], 1
jmp 0x1004daf2
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xf4], eax
mov esi, dword [ebp - 0xf4]
push 1
lea ecx, [ebp - 0x190]
call fcn.10013ed2
cmp esi, dword [eax]
jne 0x1004db21
mov dword [ebp - 0x174], 1
jmp 0x1004db28
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 3
jg 0x1004db3d
mov dword [ebp - 0x1d4], 1
jmp 0x1004db44
and dword [ebp - 0x1d4], 0
push 1
lea ecx, [ebp - 0x184]
call fcn.10013ed2
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0xfc]
add eax, dword [ebp - 0x13c]
jne 0x1004db86
push 1
lea ecx, [ebp - 0x27c]
call fcn.10013ed2
cmp dword [eax], 0
jne 0x1004db86
and dword [ebp - 0x104], 0
jmp 0x1004db90
mov dword [ebp - 0x104], 1
mov esi, dword [ebp - 0x104]
sub esi, 0xa
push 0
lea ecx, [ebp - 0x19c]
call fcn.10013ed2
mov dword [eax], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.10013eb6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.10013eb6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.10013eb6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.10013eb6
push 4
lea ecx, [ebp - 0x270]
call fcn.10013e31
mov dword [ebp - 4], 5
mov dword [ebp - 0x40], 0xfffffff8
push 1
lea ecx, [ebp - 0x258]
call fcn.10013e31
mov byte [ebp - 4], 6
mov dword [ebp - 0x15c], 7
mov dword [ebp - 0x1f4], 1
mov dword [ebp - 0x18], 0
jmp 0x1004dc34
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1004dc4d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x270]
call fcn.10013ed2
and dword [eax], 0
jmp 0x1004dc2d
mov dword [ebp - 0x18], 0
jmp 0x1004dc5d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004dc79
push dword [ebp - 0x18]
lea ecx, [ebp - 0x258]
call fcn.10013ed2
mov dword [eax], 9
jmp 0x1004dc56
mov dword [ebp - 0x40], 3
jmp 0x1004dc89
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1004dd43
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004dcb6
push 0x1ff0
push 0x476
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x270]
call fcn.10013ed2
cmp dword [eax], 0
jne 0x1004dd03
mov dword [ebp - 0x15c], 1
cmp dword [ebp - 0x15c], 1
jg 0x1004dce8
mov dword [ebp - 0x10c], 1
jmp 0x1004dcef
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x10c], eax
je 0x1004dd03
and dword [ebp - 0x1a8], 0
jmp 0x1004dd0d
mov dword [ebp - 0x1a8], 1
push 0
lea ecx, [ebp - 0x258]
call fcn.10013ed2
cmp dword [eax], 1
jl 0x1004dd2b
mov dword [ebp - 0x144], 1
jmp 0x1004dd32
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1f4], eax
jmp 0x1004dc82
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.10013eb6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.10013eb6
mov dword [ebp - 0x28], 0
push 1
lea ecx, [ebp - 0x264]
call fcn.10013e31
mov dword [ebp - 4], 7
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x44], 0xcfb6318d
push 4
lea ecx, [ebp - 0x240]
call fcn.10013e31
mov byte [ebp - 4], 8
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x74], 0
jmp 0x1004ddc2
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jge 0x1004dddb
push dword [ebp - 0x74]
lea ecx, [ebp - 0x240]
call fcn.10013ed2
or dword [eax], 0xffffffff
jmp 0x1004ddbb
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
je 0x1004ddf9
cmp dword [ebp - 0x9c], 0
je 0x1004ddf9
mov dword [ebp - 0x1e8], 1
jmp 0x1004de00
and dword [ebp - 0x1e8], 0
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x114], eax
push 3
lea ecx, [ebp - 0x240]
call fcn.10013ed2
mov ecx, dword [ebp - 0x114]
mov dword [eax], ecx
cmp dword [ebp - 0x114], 0xffffffff
jbe 0x1004de40
mov dword [ebp - 0x16c], 1
jmp 0x1004de47
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x16c]
cmp eax, 1
je 0x1004de65
mov dword [ebp - 0xbc], 1
jmp 0x1004de6c
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xbc], eax
jl 0x1004de83
mov dword [ebp - 0x1e4], 1
jmp 0x1004de8a
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x9c], eax
jle 0x1004dea1
mov dword [ebp - 0xc0], 1
jmp 0x1004dea8
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x1cc]
cmp dword [ebp - 0xc0], eax
jne 0x1004ded8
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1004ded6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
jmp 0x1004df04
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1dc], 0xfffffff6
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x240]
call fcn.10013eb6
mov dword [ebp - 0x68], 0
jmp 0x1004df23
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1004df3f
push dword [ebp - 0x68]
lea ecx, [ebp - 0x264]
call fcn.10013ed2
mov dword [eax], 0x7013dce9
jmp 0x1004df1c
mov dword [ebp - 0x28], 0x1b
jmp 0x1004df4f
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 5
jg 0x1004e6d8
mov dword [ebp - 0x48], 0x2304b25b
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10049bde
pop ecx
pop ecx
mov dword [ebp - 0x48], 0
jmp 0x1004df82
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1004e6d3
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x1c0], 0xf6d4a0d4
mov dword [ebp - 0x2e8], 0xeb4c
mov dword [ebp - 0x2e4], 0xeb4c
mov dword [ebp - 0x2e0], 0xeb4c
mov dword [ebp - 0x2dc], 0xeb4c
mov dword [ebp - 0x7c], 0
jmp 0x1004dfd5
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x1004dfeb
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x300], 0xe08974b6
jmp 0x1004dfce
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2b8], eax
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x300], 5
cmp dword [ebp - 0x70], 5
jl 0x1004e016
mov dword [ebp - 0xd0], 1
jmp 0x1004e01d
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x70]
neg eax
cmp eax, 0xb95
jg 0x1004e035
mov dword [ebp - 0xb4], 1
jmp 0x1004e03c
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0xb4]
je 0x1004e053
mov dword [ebp - 0xd8], 1
jmp 0x1004e05a
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd0]
imul eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x1004e095
push 0x10c7
push 0x1f46
push 0xde1
push 0xac5
push 0
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x8c], 0xbe135e1f
mov dword [ebp - 0x1f0], 0x8a52b4b5
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x1d8], 0xffffffff
mov dword [ebp - 0x1b0], 0x69919c44
push 1
lea ecx, [ebp - 0x20c]
call fcn.10013e31
mov byte [ebp - 4], 9
mov dword [ebp - 0x2c8], 0x28e4
mov dword [ebp - 0xf8], 2
mov dword [ebp - 0x1c], 0
jmp 0x1004e107
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1004e11d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x24c], 0x141a9c21
jmp 0x1004e100
mov dword [ebp - 0x1c], 0
jmp 0x1004e12d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004e149
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.10013ed2
mov dword [eax], 0x79dc8669
jmp 0x1004e126
mov dword [ebp - 0x30], 0x1a
jmp 0x1004e159
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xfffffff8
jl 0x1004e1f5
mov dword [ebp - 0x84], 5
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0x84], 0xfffffff6
jmp 0x1004e190
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xfffffff4
je 0x1004e1f0
mov dword [ebp - 0xf0], 0x3d4e
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0xe0], eax
jg 0x1004e1bd
mov dword [ebp - 0xe8], 1
jmp 0x1004e1c4
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x8c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24c], 0
je 0x1004e1ee
jmp 0x1004e183
jmp 0x1004e183
jmp 0x1004e152
mov dword [ebp - 0x30], 0xfffffff8
jmp 0x1004e205
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x11
jg 0x1004e407
mov dword [ebp - 0x1e0], 0xfff6
mov dword [ebp - 0x120], 0xbcf5
mov dword [ebp - 0x98], 0x1a770aac
mov dword [ebp - 0x78], 0
jmp 0x1004e23d
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x1004e253
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x2a4], 0xec5ec62b
jmp 0x1004e236
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x1004e38c
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x100], 0x16037280
cmp dword [ebp - 0x100], 0
jne 0x1004e2a4
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
jne 0x1004e2a4
and dword [ebp - 0x110], 0
jmp 0x1004e2ae
mov dword [ebp - 0x110], 1
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2a4], 0
je 0x1004e304
cmp dword [ebp - 0x120], 0xbb6a
je 0x1004e2e3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24c], 0
jne 0x1004e2e3
and dword [ebp - 0x108], 0
jmp 0x1004e2ed
mov dword [ebp - 0x108], 1
mov eax, dword [ebp - 0x108]
add eax, 7
je 0x1004e304
mov dword [ebp - 0x118], 1
jmp 0x1004e30b
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x118]
jge 0x1004e325
mov dword [ebp - 0x1c8], 1
jmp 0x1004e32c
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x2cc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1f0]
cmp dword [ebp + eax - 0x24c], ecx
jg 0x1004e359
mov dword [ebp - 0x128], 1
jmp 0x1004e360
and dword [ebp - 0x128], 0
push 0
lea ecx, [ebp - 0x20c]
call fcn.10013ed2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x128]
lea eax, [ecx + eax + 0x1eb1ed30]
test eax, eax
je 0x1004e38c
mov dword [ebp - 0xa0], 1
jmp 0x1004e393
and dword [ebp - 0xa0], 0
push 0
lea ecx, [ebp - 0x20c]
call fcn.10013ed2
mov ecx, dword [ebp - 0xa0]
mov dword [eax], ecx
cmp dword [ebp - 0xa0], 0xb915
jne 0x1004e3c0
mov dword [ebp - 0x130], 1
jmp 0x1004e3c7
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 4
je 0x1004e3dc
mov dword [ebp - 0x1d0], 1
jmp 0x1004e3e3
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x2a8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp + eax - 0x2a4], ecx
jmp 0x1004e1fe
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20c]
call fcn.10013eb6
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004e6ce
mov dword [ebp - 0x20], 0x743d837b
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x4c], 0
jmp 0x1004e440
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1004e456
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x2c4], 0x20624039
jmp 0x1004e439
mov dword [ebp - 0x20], 0
jmp 0x1004e466
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1004e500
mov dword [ebp - 0x50], 0xe1ca2961
mov dword [ebp - 0x2d8], 0x1860ec01
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x2c4], 0
je 0x1004e490
jmp 0x1004e500
mov dword [ebp - 0x50], 2
jmp 0x1004e4a0
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1004e4fb
push 3
lea ecx, [ebp - 0x2b4]
call fcn.10013e31
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x54], 0
jmp 0x1004e4c7
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x1004e4e3
push dword [ebp - 0x54]
lea ecx, [ebp - 0x2b4]
call fcn.10013ed2
mov dword [eax], 1
jmp 0x1004e4c0
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2b4]
call fcn.10013eb6
jmp 0x1004e499
jmp 0x1004e45f
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2c4], 0
xor eax, eax
jne 0x1004e521
mov dword [ebp - 0x138], 1
jmp 0x1004e528
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xfffffff6
jbe 0x1004e53d
mov dword [ebp - 0x140], 1
jmp 0x1004e544
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 1
je 0x1004e559
mov dword [ebp - 0x148], 1
jmp 0x1004e560
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x148], eax
jle 0x1004e577
mov dword [ebp - 0x150], 1
jmp 0x1004e57e
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0xfffd
jne 0x1004e596
mov dword [ebp - 0x158], 1
jmp 0x1004e59d
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x158], eax
je 0x1004e5b4
mov dword [ebp - 0x160], 1
jmp 0x1004e5bb
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x160], eax
jne 0x1004e5d2
mov dword [ebp - 0x168], 1
jmp 0x1004e5d9
and dword [ebp - 0x168], 0
xor eax, eax
sub eax, dword [ebp - 0x168]
add eax, 0x1f4d0986
je 0x1004e62d
mov eax, 0x12c0
test eax, eax
je 0x1004e62d
mov dword [ebp - 0x5c], 0
jmp 0x1004e601
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x1004e617
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x320], 0x300c
jmp 0x1004e5fa
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x320], 1
jmp 0x1004e6c6
mov dword [ebp - 0x170], 0x108f
mov dword [ebp - 0x20], 0xfffffff0
jmp 0x1004e647
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffff5
jle 0x1004e6c6
mov dword [ebp - 0x1b4], 0x97ab83de
mov dword [ebp - 0x2c], 0xfffffffd
jmp 0x1004e667
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x38
jge 0x1004e6c1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x64], 0
jmp 0x1004e684
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jg 0x1004e6b4
mov eax, dword [ebp - 0x170]
dec eax
mov dword [ebp - 0x170], eax
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004e6b2
push 0x7d5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x1004e67d
cmp dword [ebp - 0x1b4], 0
je 0x1004e6bf
jmp 0x1004e660
jmp 0x1004e660
jmp 0x1004e640
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
jmp 0x1004df7b
jmp 0x1004df48
mov dword [ebp - 0x28], 0
jmp 0x1004e6e8
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1004e887
mov dword [ebp - 0xa8], 0x84217059
mov dword [ebp - 0x220], 0x5252
mov dword [ebp - 0x21c], 0x5252
mov dword [ebp - 0x218], 0x5252
mov dword [ebp - 0x214], 0x5252
lea ecx, [ebp - 0xa1]
call fcn.10006dcf
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x310]
call fcn.10013ee1
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x288]
call fcn.10013e90
mov byte [ebp - 4], 0xb
push 2
lea ecx, [ebp - 0x288]
call fcn.10013ed2
mov esi, eax
push 0
lea ecx, [ebp - 0x288]
call fcn.10013ed2
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x1004e7c6
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x6c], 0
jmp 0x1004e796
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xfffffff1
je 0x1004e7b2
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1004e7b0
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1004e78f
mov byte [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x1004e7c4
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x1004e80d
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x1004e7e1
push 0
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004e80d
push 0
push 0x2268
push 0x161f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x288]
call fcn.10013eb6
mov dword [ebp - 0x1bc], 0x4c3f4f88
push 0
push 0x2177
push 0x546c
lea eax, [ebp - 0xa8]
push eax
call fcn.1004c6f9
add esp, 0x10
push 0xfffffffffffffffb
pop eax
sub eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x28], eax
je 0x1004e85b
mov dword [ebp - 0x1bc], 0xea0d018d
jmp 0x1004e882
mov dword [ebp - 0x1c4], 0xfffffff7
push 1
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 0x2c98
call fcn.1004c6f9
add esp, 0x10
jmp 0x1004e6e1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10013eb6
cmp dword [ebp - 0x200], 0
je 0x1004e8b3
push 1
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
call dword [ebp - 0x200]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret