Function at 0x10054f62
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ee4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10055d00
mov dword [ebp - 0x24], 0xfd3df75d
mov dword [ebp - 0x58], 0x26ed4bca
mov dword [ebp - 0xd4], 0x1ae9c7d4
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x24], 8
jmp 0x10054fbc
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffe2
jg 0x10055369
mov dword [ebp - 0x10], 0x35f394a2
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x70], 0xc12a7b09
mov dword [ebp - 0x68], 0
jmp 0x10054fee
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x10055004
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x2e4], 0x9f3923bf
jmp 0x10054fe7
mov dword [ebp - 0x10], 0xa
jmp 0x10055014
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe9
jle 0x1005533a
mov dword [ebp - 0x38], 0x78c0
mov dword [ebp - 0xdc], 0xf157
mov dword [ebp - 0x90], 0x8ce324e8
mov dword [ebp - 0x1fc], 0x1ed5297f
mov dword [ebp - 0x1a8], 0xfffffff8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x38], 0
jne 0x100551a9
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jne 0x10055074
mov dword [ebp - 0x114], 1
jmp 0x1005507b
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x1005509c
cmp dword [ebp - 0x10], 0
je 0x1005509c
mov dword [ebp - 0x1a0], 1
jmp 0x100550a3
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x1a0], eax
je 0x100550ba
mov dword [ebp - 0x1dc], 1
jmp 0x100550c1
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1dc], eax
jne 0x100550de
cmp dword [ebp - 0x24], 0
je 0x100550de
mov dword [ebp - 0x1f0], 1
jmp 0x100550e5
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x1372
add ecx, 0xfffffff7
add eax, ecx
jne 0x10055115
cmp dword [ebp - 0x38], 0
jne 0x10055115
and dword [ebp - 0x23c], 0
jmp 0x1005511f
mov dword [ebp - 0x23c], 1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2f4], eax
imul eax, dword [ebp - 0x70], 0xffffffff
cmp eax, 0x6f4ed832
jge 0x1005513f
mov dword [ebp - 0xf0], 1
jmp 0x10055146
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xdc]
dec eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xf0]
jge 0x1005516d
mov dword [ebp - 0x168], 1
jmp 0x10055174
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x168], eax
jg 0x1005518b
mov dword [ebp - 0xf8], 1
jmp 0x10055192
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xf8]
jge 0x100551a9
and dword [ebp - 0x1c0], 0
jmp 0x100551b3
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1c0], eax
je 0x100551ca
mov dword [ebp - 0x234], 1
jmp 0x100551d1
and dword [ebp - 0x234], 0
mov dword [ebp - 0x70], 8
cmp dword [ebp - 0x70], 0x2a05008d
jle 0x100551ed
mov dword [ebp - 0x100], 1
jmp 0x100551f4
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x1005521b
mov eax, 0xa87187d7
test eax, eax
jne 0x1005521b
and dword [ebp - 0x170], 0
jmp 0x10055225
mov dword [ebp - 0x170], 1
mov eax, dword [ebp - 0x1fc]
cmp dword [ebp - 0x170], eax
jle 0x1005523f
mov dword [ebp - 0x108], 1
jmp 0x10055246
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x1a8], eax
jge 0x10055269
mov dword [ebp - 0x110], 1
jmp 0x10055270
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xd4], eax
jle 0x10055293
mov dword [ebp - 0x178], 1
jmp 0x1005529a
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x100552c0
mov dword [ebp - 0x1e0], 1
cmp dword [ebp - 0x1e0], 0
je 0x100552be
jmp 0x1005533a
jmp 0x10055335
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0xc4], 0
je 0x100552f1
mov dword [ebp - 0x90], 0xfa62
mov eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x38]
cmp eax, 0xca07
jle 0x1005530d
mov dword [ebp - 0x118], 1
jmp 0x10055314
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xa0]
imul eax, dword [ebp - 0x118]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xa0], 0
je 0x10055335
jmp 0x1005500d
jmp 0x1005500d
mov dword [ebp - 0x10], 0
jmp 0x1005534a
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10055364
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10055362
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x10055343
jmp 0x10054fb5
mov dword [ebp - 0x200], 0xfffffffd
mov dword [ebp - 0xb8], 0xfffffff7
mov dword [ebp - 0x2fc], 0x7289
mov dword [ebp - 0x50], 0x9ba87a5
mov dword [ebp - 0x228], 0xde8aff65
mov dword [ebp - 0x80], 0
jmp 0x100553a8
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jge 0x100553be
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0xb0], 0xe0648261
jmp 0x100553a1
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xb0], 0
jmp 0x100553ec
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xb0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb0], 0xffffffef
jge 0x10055661
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x60], 0x1cb6a7f4
mov dword [ebp - 0x1f8], 0xa0a9
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0x98], 0
jmp 0x1005543e
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1005545a
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x238], 3
jmp 0x10055431
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x50]
je 0x10055487
mov dword [ebp - 0x220], 1
jmp 0x1005548e
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x1f8], 0xfffffff8
mov eax, 0xf9034e10
test eax, eax
je 0x1005562a
cmp dword [ebp - 0x50], 0
je 0x100554ff
mov eax, 0x83f7
sub eax, dword [ebp - 0xb8]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xb0]
jl 0x100554dd
mov dword [ebp - 0x1d0], 1
jmp 0x100554e4
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x100554ff
mov dword [ebp - 0x120], 1
jmp 0x10055506
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
sub ecx, dword [ebp + eax - 0xb0]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0xb0]
jg 0x10055534
mov dword [ebp - 0xcc], 1
jmp 0x1005553b
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x238], ecx
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xcc]
jge 0x10055568
mov dword [ebp - 0x180], 1
jmp 0x1005556f
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 5
jge 0x10055584
mov dword [ebp - 0x128], 1
jmp 0x1005558b
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x1b0], eax
jge 0x100555b1
mov dword [ebp - 0x130], 1
jmp 0x100555b8
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 7
jne 0x100555cd
mov dword [ebp - 0x188], 1
jmp 0x100555d4
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 0xfffffffb
jl 0x100555e9
mov dword [ebp - 0x138], 1
jmp 0x100555f0
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0x67d3d8e1
je 0x10055608
mov dword [ebp - 0x1c8], 1
jmp 0x1005560f
and dword [ebp - 0x1c8], 0
imul eax, dword [ebp - 0x1c8], 0xffffffff
cmp eax, dword [ebp - 0x200]
jg 0x1005562a
mov dword [ebp - 0x140], 1
jmp 0x10055631
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xffffffff
jge 0x10055646
mov dword [ebp - 0x190], 1
jmp 0x1005564d
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
sub eax, dword [ebp - 0xc0]
mov dword [ebp - 0x50], eax
jmp 0x100553d1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x48], 0xc75b57fd
mov dword [ebp - 0x1d8], 0xa4e86524
mov dword [ebp - 0x148], 0xffffffff
mov dword [ebp - 0x1b8], 0xe49a2f38
mov dword [ebp - 0x48], 0
jmp 0x100556b1
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xfffffffa
jle 0x100557e2
mov dword [ebp - 0x40], 0xfffffff7
mov dword [ebp - 0x208], 0x63a74adf
mov dword [ebp - 0x240], 0xe779066
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1b8], eax
mov eax, 0xf377
sub eax, dword [ebp - 0x1b8]
sub eax, 0x47f8306
jne 0x10055721
cmp dword [ebp - 0x40], 0
jne 0x10055721
and dword [ebp - 0x150], 0
jmp 0x1005572b
mov dword [ebp - 0x150], 1
cmp dword [ebp - 0x150], 0x81f3403c
jb 0x10055743
mov dword [ebp - 0x198], 1
jmp 0x1005574a
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x198]
jle 0x10055761
mov dword [ebp - 0x158], 1
jmp 0x10055768
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x208], eax
mov eax, 0xffff
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1d8]
jge 0x10055790
mov dword [ebp - 0x160], 1
jmp 0x10055797
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x160], eax
jg 0x100557ae
mov dword [ebp - 0xe8], 1
jmp 0x100557b5
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
je 0x100557ca
mov dword [ebp - 0xec], 1
jmp 0x100557d1
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x240], eax
jmp 0x100556aa
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x44], eax
and dword [ebp - 0x2a4], 0
and dword [ebp - 0x2a0], 0
and dword [ebp - 0x29c], 0
and dword [ebp - 0x298], 0
lea ecx, [ebp - 0xdd]
call fcn.10009103
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x36c]
call fcn.10016c6b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x268]
call fcn.10016c31
and dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x358], 0xfffffffe
mov dword [ebp - 0x74], 0xe623b26d
mov dword [ebp - 0x230], 0xfffffffc
mov dword [ebp - 0x1f4], 0xe2caeaba
push 2
lea ecx, [ebp - 0x25c]
call fcn.10016bef
mov byte [ebp - 4], 1
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0x1ec], 0xfffffffc
mov dword [ebp - 0x64], 0
jmp 0x100558a8
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x100558c1
push dword [ebp - 0x64]
lea ecx, [ebp - 0x25c]
call fcn.10016c5c
or dword [eax], 0xffffffff
jmp 0x100558a1
push 0
lea ecx, [ebp - 0x268]
call fcn.10016c5c
mov dword [eax], 1
jmp 0x100558fa
push 0
lea ecx, [ebp - 0x268]
call fcn.10016c5c
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xf4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x268]
call fcn.10016c5c
cmp dword [eax], 0xfffffff0
jle 0x10055c9b
mov dword [ebp - 0x20], 0xe29ea414
mov dword [ebp - 0x250], 0xc2e607d1
mov dword [ebp - 0x24c], 0xc2e607d1
mov dword [ebp - 0x248], 0xc2e607d1
mov dword [ebp - 0x244], 0xc2e607d1
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1005596b
push 0
push 0x1a50
push 0x1f7a
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]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], eax
jne 0x10055991
mov dword [ebp - 0xfc], 1
jmp 0x10055998
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2cc], eax
mov eax, 0x22db785b
add eax, 0x3267
sub eax, dword [ebp - 0x20]
cmp eax, 0x8e486aeb
jb 0x100559c7
mov dword [ebp - 0x104], 1
jmp 0x100559ce
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x104]
jne 0x100559e8
mov dword [ebp - 0x10c], 1
jmp 0x100559ef
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0x4292
jl 0x10055b0f
mov dword [ebp - 0x2d8], 0xffffffff
mov dword [ebp - 0x310], 0xfffffffe
mov dword [ebp - 0x124], 1
mov dword [ebp - 0xe4], 0x74d4b4b2
mov dword [ebp - 0x6c], 0
jmp 0x10055a37
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10055a4d
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x390], 0xc328129e
jmp 0x10055a30
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xe4]
je 0x10055a7b
mov dword [ebp - 0x11c], 1
jmp 0x10055a82
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x230]
jg 0x10055a9f
mov dword [ebp - 0x134], 1
jmp 0x10055aa6
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x12c], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x12c]
mov dword [ebp + eax - 0x250], ecx
mov esi, dword [ebp - 0x124]
add esi, dword [ebp - 0x12c]
neg esi
sub esi, dword [ebp - 0x134]
push 0
lea ecx, [ebp - 0x25c]
call fcn.10016c5c
mov dword [eax], esi
mov eax, dword [ebp - 0xc8]
dec eax
mov dword [ebp - 0xc8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x250], 0
je 0x10055b0a
jmp 0x10055c9b
jmp 0x10055c96
mov dword [ebp - 0x14c], 0x2cf2
mov dword [ebp - 0x74], 1
jmp 0x10055b29
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x10055c96
mov dword [ebp - 0x1e8], 1
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x10055b5b
push 0x19b0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x3c], 1
jmp 0x10055b6b
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10055c91
push 3
lea ecx, [ebp - 0x2b0]
call fcn.10016bef
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], 0
jmp 0x10055b96
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x10055bb2
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2b0]
call fcn.10016c5c
mov dword [eax], 3
jmp 0x10055b8f
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2c], 0
je 0x10055bcd
mov dword [ebp - 0x218], 1
jmp 0x10055bd4
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x344], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1e8]
cmp dword [ebp + eax - 0x250], ecx
jge 0x10055c00
mov dword [ebp - 0x13c], 1
jmp 0x10055c07
and dword [ebp - 0x13c], 0
imul eax, dword [ebp - 0x13c], 0xfffd
add eax, dword [ebp - 0x1ec]
sub eax, dword [ebp - 0x1f4]
neg eax
cmp eax, dword [ebp - 0x2c]
jl 0x10055c30
mov dword [ebp - 0x144], 1
jmp 0x10055c37
and dword [ebp - 0x144], 0
push 2
lea ecx, [ebp - 0x2b0]
call fcn.10016c5c
mov eax, dword [eax]
sub eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x14c]
je 0x10055c60
mov dword [ebp - 0x154], 1
jmp 0x10055c67
and dword [ebp - 0x154], 0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x25c]
call fcn.10016c5c
mov ecx, dword [ebp - 0x154]
mov dword [eax], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.10016c57
jmp 0x10055b64
jmp 0x10055b22
jmp 0x100558d6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.10016c57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.10016c57
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
jmp 0x10055cdb
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 3
jge 0x10055cfb
mov eax, dword [ebp - 0x44]
push dword [eax]
mov ecx, dword [ebp - 0x204]
call fcn.10016c5c
mov dword [eax], 0xfffffff6
jmp 0x10055cd0
jmp 0x10056487
push 2
lea ecx, [ebp - 0x32c]
call fcn.10016bef
mov dword [ebp - 4], 3
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x2e8], 9
mov dword [ebp - 0x9c], 0x7c7be0
mov dword [ebp - 0x320], 0x5f4e26c1
or dword [ebp - 0x290], 0xffffffff
or dword [ebp - 0x28c], 0xffffffff
or dword [ebp - 0x288], 0xffffffff
or dword [ebp - 0x284], 0xffffffff
lea ecx, [ebp - 0xb1]
call fcn.10009103
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x384]
call fcn.10016c6b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x364]
call fcn.10016c31
mov byte [ebp - 4], 4
mov dword [ebp - 0x84], 0
jmp 0x10055da7
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x10055dc9
push dword [ebp - 0x84]
lea ecx, [ebp - 0x32c]
call fcn.10016c5c
mov dword [eax], 0xd3df
jmp 0x10055d9a
mov dword [ebp - 0x5c], 1
jmp 0x10055dd9
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x10055f7c
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x2f0], 1
mov dword [ebp - 0x348], 0xd7d711e7
mov dword [ebp - 0xa4], 0xacff8ee1
mov dword [ebp - 0x2f8], 0xffffffff
push 1
lea ecx, [ebp - 0x31c]
call fcn.10016bef
mov byte [ebp - 4], 5
mov dword [ebp - 0x330], 0x7a912e75
mov dword [ebp - 0x8c], 0
jmp 0x10055e49
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x10055e6b
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x31c]
call fcn.10016c5c
mov dword [eax], 0x60ed
jmp 0x10055e3c
mov dword [ebp - 0x94], 1
jmp 0x10055e84
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jl 0x10055f09
mov dword [ebp - 0x300], 0xc157
mov dword [ebp - 0x34c], 0xffffffff
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x10055ebb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10055ed1
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x374], 1
jmp 0x10055eb4
mov dword [ebp - 0x1c], 0
jmp 0x10055ee1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10055ef7
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x308], 0x498e
jmp 0x10055eda
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
jmp 0x10055e77
mov dword [ebp - 0x9c], 0
jmp 0x10055f22
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jg 0x10055f68
mov dword [ebp - 0x164], 3
mov dword [ebp - 0xa4], 0
jmp 0x10055f4e
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 1
jg 0x10055f66
mov eax, dword [ebp - 0x164]
dec eax
mov dword [ebp - 0x164], eax
jmp 0x10055f41
jmp 0x10055f15
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x31c]
call fcn.10016c57
jmp 0x10055dd2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x364]
call fcn.10016c57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.10016c57
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x18], 0x38ecf54c
mov dword [ebp - 0x14], 0xfffffff8
mov dword [ebp - 0x2d0], 0x3ea3a722
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jne 0x10055fdc
mov dword [ebp - 0x16c], 1
jmp 0x10055fe3
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
jle 0x10055ffe
mov dword [ebp - 0x174], 1
jmp 0x10056005
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x174], eax
jge 0x1005601c
mov dword [ebp - 0x17c], 1
jmp 0x10056023
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x17c], eax
jl 0x1005603a
mov dword [ebp - 0x184], 1
jmp 0x10056041
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
neg eax
cmp eax, dword [ebp - 0x18]
jge 0x1005605a
mov dword [ebp - 0x18c], 1
jmp 0x10056061
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18c]
cmp dword [ebp - 0x18], eax
je 0x100562fb
push 3
lea ecx, [ebp - 0x2c8]
call fcn.10016bef
mov dword [ebp - 4], 6
mov dword [ebp - 0xd8], 0xffff
mov dword [ebp - 0x20c], 0xfffffff7
mov dword [ebp - 0xa8], 0
jmp 0x100560b5
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 3
jge 0x100560d7
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x2c8]
call fcn.10016c5c
mov dword [eax], 1
jmp 0x100560a8
mov dword [ebp - 0x14], 0
jmp 0x100560e7
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff1
jge 0x100562d6
mov dword [ebp - 0x1bc], 0xffffffff
mov dword [ebp - 0x1a4], 0xffffffff
mov dword [ebp - 0x27c], 9
mov dword [ebp - 0x278], 9
mov dword [ebp - 0x274], 9
mov dword [ebp - 0x270], 9
lea ecx, [ebp - 0xb9]
call fcn.10009103
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x37c]
call fcn.10016c6b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x33c]
call fcn.10016c31
mov byte [ebp - 4], 7
mov dword [ebp - 0x1d4], 8
cmp dword [ebp - 0x18], 0xfff7
jne 0x10056185
mov dword [ebp - 0xd0], 1
jmp 0x1005618c
and dword [ebp - 0xd0], 0
push 1
lea ecx, [ebp - 0x33c]
call fcn.10016c5c
mov ecx, dword [ebp - 0xd0]
mov dword [eax], ecx
cmp dword [ebp - 0xd0], 0
jne 0x100561e2
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xd8], eax
je 0x100561c4
mov dword [ebp - 0x194], 1
jmp 0x100561cb
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0x194]
jne 0x100561e2
and dword [ebp - 0x19c], 0
jmp 0x100561ec
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x19c]
add eax, 0x477ae271
cmp eax, dword [ebp - 0x18]
jge 0x10056208
mov dword [ebp - 0x1b4], 1
jmp 0x1005620f
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
neg eax
mov dword [ebp - 0x1ac], eax
push 2
lea ecx, [ebp - 0x2c8]
call fcn.10016c5c
mov ecx, dword [ebp - 0x1ac]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0x1b4]
je 0x10056258
mov dword [ebp - 0x1c4], 1
jmp 0x1005625f
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1bc]
cmp dword [ebp - 0x1c4], eax
je 0x10056279
mov dword [ebp - 0x1cc], 1
jmp 0x10056280
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x20c], eax
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x100562c2
push 0x96e
push 0x156
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_LineTo]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x33c]
call fcn.10016c57
jmp 0x100560e0
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x100562ea
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call fcn.10016c57
jmp 0x1005635b
mov dword [ebp - 0x14], 0
jmp 0x1005630b
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe3
jge 0x1005635b
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10056338
push 0
push 0
push 0xfdd
push 0x413
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x10056359
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
jmp 0x10056304
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2d4], 0xffffffff
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10056381
push 0
push 0
call dword [sym.imp.GDI32.dll_GetRgnBox]
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1005639a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x54], eax
push 4
lea ecx, [ebp - 0x2bc]
call fcn.10016bef
mov dword [ebp - 4], 8
mov dword [ebp - 0x4c], 0x29000d4e
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x88], 0
jmp 0x100563e1
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 4
jge 0x10056403
push dword [ebp - 0x88]
lea ecx, [ebp - 0x2bc]
call fcn.10016c5c
mov dword [eax], 0x3b910207
jmp 0x100563d4
mov dword [ebp - 0x4c], 0
jmp 0x10056413
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jg 0x10056439
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x2bc]
call fcn.10016c5c
mov dword [eax], 0xe7e55059
mov dword [ebp - 0x21c], 0xe7e55059
jmp 0x1005640c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.10016c57
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x54]
mov dword [eax], 0
jmp 0x1005646a
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax], 1
jge 0x10056487
mov eax, dword [ebp - 0x54]
push dword [eax]
mov ecx, dword [ebp - 0x22c]
call fcn.10016c5c
and dword [eax], 0
jmp 0x1005645f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret