Function at 0x40b369
Capabilities:
Enumerate gui resources
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
push esi
mov dword [ebp - 0xc], 0x596960f5
mov dword [ebp - 0xf0], 0
jmp 0x40b393
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 3
jge 0x40b3af
mov eax, dword [ebp - 0xf0]
mov dword [ebp + eax*4 - 0x2e0], 1
jmp 0x40b386
mov dword [ebp - 0xc], 2
jmp 0x40b3bf
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x40b857
mov dword [ebp - 0x1c], 0xfffffffd
push 1
lea ecx, [ebp - 0x420]
call fcn.004011bf
mov dword [ebp - 0xf4], 0
jmp 0x40b3f6
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 1
jge 0x40b418
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x420]
call fcn.004012ad
mov dword [eax], 0x98c245e3
jmp 0x40b3e9
cmp dword [ebp - 0xc], 0xf823
jle 0x40b42d
mov dword [ebp - 0x18c], 1
jmp 0x40b434
and dword [ebp - 0x18c], 0
imul eax, dword [ebp - 0x18c], 0xbfb6
test eax, eax
jge 0x40b44e
mov dword [ebp - 0x2ec], 1
jmp 0x40b455
and dword [ebp - 0x2ec], 0
cmp dword [ebp - 0x2ec], 1
jne 0x40b46a
mov dword [ebp - 0x2a4], 1
jmp 0x40b471
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x2e0]
cmp eax, dword [ebp - 0x2a4]
je 0x40b48f
mov dword [ebp - 0x12c], 1
jmp 0x40b496
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x12c], eax
je 0x40b4ad
mov dword [ebp - 0x2ac], 1
jmp 0x40b4b4
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x2e0]
sub eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0
jmp 0x40b4d7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x40b7f0
mov dword [ebp - 0x100], 0
jmp 0x40b4fa
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 2
jge 0x40b516
mov eax, dword [ebp - 0x100]
mov dword [ebp + eax*4 - 0x300], 0xffffffff
jmp 0x40b4ed
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x300], 2
jmp 0x40b544
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x300]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x300], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x300], 0
jl 0x40b7d9
mov dword [ebp - 0x54], 0x996a5308
mov dword [ebp - 0x88], 0xffffffff
mov byte [ebp - 0x71], 0
movzx eax, byte [ebp - 0x71]
test eax, eax
je 0x40b58b
push 0
push 0
push 0x11df
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov dword [ebp - 0x54], 2
jmp 0x40b59b
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x40b7d4
mov dword [ebp - 0xb8], 0
jmp 0x40b5be
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jge 0x40b5d7
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x58], 0xdbf4df7b
jmp 0x40b5b1
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x58], 0
jmp 0x40b5fc
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x58], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 2
jg 0x40b7cf
mov dword [ebp - 0xec], 0
jmp 0x40b626
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 3
jge 0x40b642
mov eax, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x51c], 0xbfeb
jmp 0x40b619
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0xffffd7a1
jle 0x40b65e
mov dword [ebp - 0x134], 1
jmp 0x40b665
and dword [ebp - 0x134], 0
push 0
lea ecx, [ebp - 0x420]
call fcn.004012ad
mov eax, dword [eax]
inc eax
inc eax
cmp dword [ebp - 0x134], eax
jle 0x40b68a
mov dword [ebp - 0x2b4], 1
jmp 0x40b691
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x2b4], 0x7a2e
jle 0x40b6a9
mov dword [ebp - 0x13c], 1
jmp 0x40b6b0
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x13c], eax
jge 0x40b6c7
mov dword [ebp - 0x2bc], 1
jmp 0x40b6ce
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x2e0]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x58]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x2bc]
cmp eax, ecx
je 0x40b6fb
mov dword [ebp - 0x144], 1
jmp 0x40b702
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x144], eax
je 0x40b719
mov dword [ebp - 0x2c4], 1
jmp 0x40b720
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x2e0]
cmp dword [ebp - 0x2c4], eax
jne 0x40b73e
mov dword [ebp - 0x310], 1
jmp 0x40b745
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x2e0]
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ebp + ecx*4 - 0x2e0]
cmp eax, dword [ebp - 0xc]
jg 0x40b77c
mov dword [ebp - 0x14c], 1
jmp 0x40b783
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x88], 0
jmp 0x40b7a8
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jg 0x40b7ca
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp + ecx - 0x51c], eax
jmp 0x40b79b
jmp 0x40b5e7
jmp 0x40b594
jmp 0x40b529
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x2e0], 0
je 0x40b7eb
jmp 0x40b4d0
jmp 0x40b4d0
mov dword [ebp - 0x1c], 0
jmp 0x40b800
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x40b847
mov dword [ebp - 0x9c], 0xfffffffd
mov dword [ebp - 0x9c], 0
jmp 0x40b829
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x40b845
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x2e0], 0xfffffff6
jmp 0x40b81c
jmp 0x40b7f9
lea ecx, [ebp - 0x420]
call fcn.00401291
jmp 0x40b3b8
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40d68e
mov dword [ebp - 0x48], 1
mov dword [ebp - 0xc0], 0
jmp 0x40b883
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 3
jge 0x40b89f
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x408], 5
jmp 0x40b876
mov dword [ebp - 0x48], 0
jmp 0x40b8af
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x40ba17
mov dword [ebp - 0x38], 0x69aed23b
mov dword [ebp - 0x3a4], 0xdcda7209
mov dword [ebp - 0x38], 2
jmp 0x40b8da
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x40ba12
mov dword [ebp - 0x2e4], 9
mov dword [ebp - 0x368], 0x42ff18c9
mov eax, 0xbbd0
test eax, eax
je 0x40b91a
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x408], 0
je 0x40b91a
mov dword [ebp - 0x15c], 1
jmp 0x40b921
and dword [ebp - 0x15c], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x408], 0xffffffff
jg 0x40b93d
mov dword [ebp - 0x2cc], 1
jmp 0x40b944
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x2cc], eax
je 0x40b95b
mov dword [ebp - 0x154], 1
jmp 0x40b962
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x408]
cmp eax, dword [ebp - 0x154]
je 0x40b980
mov dword [ebp - 0x2d4], 1
jmp 0x40b987
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 1
jbe 0x40b9a8
mov dword [ebp - 0x164], 1
jmp 0x40b9af
and dword [ebp - 0x164], 0
imul eax, dword [ebp - 0x15c], 0xbc9c
cmp eax, dword [ebp - 0x164]
jge 0x40b9cd
mov dword [ebp - 0x168], 1
jmp 0x40b9d4
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x168]
cmp eax, 0x28d9ba5f
jg 0x40b9f1
mov dword [ebp - 0x228], 1
jmp 0x40b9f8
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x228]
sub eax, dword [ebp - 0x368]
mov dword [ebp - 0x3a4], eax
jmp 0x40b8d3
jmp 0x40b8a8
mov dword [ebp - 0x48], 2
jmp 0x40ba27
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x40ba71
mov dword [ebp - 0xfc], 4
mov dword [ebp - 0xfc], 2
jmp 0x40ba50
mov eax, dword [ebp - 0xfc]
dec eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jl 0x40ba6f
mov byte [ebp - 0x61], 0
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x40ba6d
push 0
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x40ba43
jmp 0x40ba20
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x4c], 0x8a87013d
mov dword [ebp - 0x1a8], 0x70783db4
mov dword [ebp - 0x31c], 0xb1ed3090
mov dword [ebp - 0x4cc], 0xffffffff
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x248], 0x5b90cb93
mov dword [ebp - 0xc8], 0
jmp 0x40bacc
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 4
jge 0x40bae8
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x394], 0x40d7f825
jmp 0x40babf
mov dword [ebp - 0x4c], 3
jmp 0x40baf8
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40bf35
push 1
lea ecx, [ebp - 0xa8]
call fcn.004011bf
push 2
lea ecx, [ebp - 0x498]
call fcn.004011bf
mov dword [ebp - 0x3c], 0
jmp 0x40bb2c
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x40bb48
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov dword [eax], 0x5b3b9da4
jmp 0x40bb25
mov dword [ebp - 0x3c], 0
jmp 0x40bb58
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x40bb71
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x498]
call fcn.004012ad
and dword [eax], 0
jmp 0x40bb51
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov dword [eax], 3
jmp 0x40bbaa
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x170]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
cmp dword [eax], 0
jl 0x40bf0d
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0xe4], 0xfffffffc
mov dword [ebp - 0x14], 3
jmp 0x40bbe1
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x40bd55
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp + eax*4 - 0x394]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xe4], eax
jl 0x40bc31
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x394], 0
jne 0x40bc31
and dword [ebp - 0x288], 0
jmp 0x40bc3b
mov dword [ebp - 0x288], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x288], eax
jg 0x40bc52
mov dword [ebp - 0x178], 1
jmp 0x40bc59
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0x2bb2
jne 0x40bc71
mov dword [ebp - 0x230], 1
jmp 0x40bc78
and dword [ebp - 0x230], 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov esi, dword [ebp - 0x230]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
cmp esi, dword [eax]
jne 0x40bcaa
mov dword [ebp - 0x180], 1
jmp 0x40bcb1
and dword [ebp - 0x180], 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov eax, dword [eax]
add eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x4c]
jne 0x40bcd7
mov dword [ebp - 0x2b8], 1
jmp 0x40bcde
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2b8], eax
jne 0x40bcf5
mov dword [ebp - 0x188], 1
jmp 0x40bcfc
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x188], eax
jle 0x40bd13
mov dword [ebp - 0x238], 1
jmp 0x40bd1a
and dword [ebp - 0x238], 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x394]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x394]
imul ecx, dword [ebp - 0x238]
sub eax, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + ecx*4 - 0x394], eax
jmp 0x40bbda
mov eax, 0xfffa
test eax, eax
je 0x40be67
cmp dword [ebp - 0x14], 0xfff7
je 0x40bd77
mov dword [ebp - 0x190], 1
jmp 0x40bd7e
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0x259c42fa
jge 0x40bd96
mov dword [ebp - 0x290], 1
jmp 0x40bd9d
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x290]
jge 0x40bdbd
mov eax, 0x6ee3
test eax, eax
je 0x40bdbd
mov dword [ebp - 0x198], 1
jmp 0x40bdc4
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 0xf6f4
jge 0x40bddc
mov dword [ebp - 0x3ac], 1
jmp 0x40bde3
and dword [ebp - 0x3ac], 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x394]
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
cmp esi, dword [eax]
jl 0x40be19
mov dword [ebp - 0x3c4], 1
jmp 0x40be20
and dword [ebp - 0x3c4], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x14]
cmp dword [ebp + eax - 0x394], ecx
jne 0x40be3e
mov dword [ebp - 0x3c0], 1
jmp 0x40be45
and dword [ebp - 0x3c0], 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov eax, 0x4615
test eax, eax
je 0x40be67
mov dword [ebp - 0x240], 1
jmp 0x40be6e
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x240], 0x5aba9a98
jg 0x40be86
mov dword [ebp - 0x360], 1
jmp 0x40be8d
and dword [ebp - 0x360], 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
push 0
lea ecx, [ebp - 0xa8]
call fcn.004012ad
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x656e2e31
jne 0x40bec7
mov dword [ebp - 0x1a0], 1
jmp 0x40bece
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1a0], eax
je 0x40bee5
mov dword [ebp - 0x2d0], 1
jmp 0x40beec
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x31c], eax
jmp 0x40bb86
mov eax, dword [ebp - 0x248]
inc eax
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x498]
call fcn.00401291
lea ecx, [ebp - 0xa8]
call fcn.00401291
jmp 0x40baf1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x20], 0xffff
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0x12
jmp 0x40bf5c
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10
jge 0x40c14e
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0x60], 0xfffffff7
cmp dword [ebp - 0x20], 0x71dfd947
jle 0x40bf8c
mov dword [ebp - 0x1b0], 1
jmp 0x40bf93
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0xd0]
cmp dword [ebp - 0x1b0], eax
jle 0x40bfad
mov dword [ebp - 0x298], 1
jmp 0x40bfb4
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0xd0]
cmp dword [ebp - 0x298], eax
jg 0x40bfce
mov dword [ebp - 0x1b8], 1
jmp 0x40bfd5
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1b8], eax
je 0x40bfec
mov dword [ebp - 0x250], 1
jmp 0x40bff3
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x250]
jg 0x40c00a
mov dword [ebp - 0x1c0], 1
jmp 0x40c011
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0xd0], eax
jl 0x40c03f
mov byte [ebp - 0x79], 0
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x40c03a
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x40c149
push 2
lea ecx, [ebp - 0x30c]
call fcn.004011bf
push 1
lea ecx, [ebp - 0x3e8]
call fcn.004011bf
mov dword [ebp - 0x30], 0
jmp 0x40c069
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x40c085
push dword [ebp - 0x30]
lea ecx, [ebp - 0x30c]
call fcn.004012ad
mov dword [eax], 0xaf7f3e76
jmp 0x40c062
mov dword [ebp - 0x30], 0
jmp 0x40c095
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x40c0ae
push dword [ebp - 0x30]
lea ecx, [ebp - 0x3e8]
call fcn.004012ad
and dword [eax], 0
jmp 0x40c08e
push 0
lea ecx, [ebp - 0x30c]
call fcn.004012ad
cmp dword [eax], 0
je 0x40c0d8
lea ecx, [ebp - 0x3e8]
call fcn.00401291
lea ecx, [ebp - 0x30c]
call fcn.00401291
jmp 0x40c14e
mov dword [ebp - 0x60], 1
jmp 0x40c0e8
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x40c133
push dword [ebp - 0x60]
lea ecx, [ebp - 0x30c]
call fcn.004012ad
mov dword [ebp - 0x2c0], eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x30c]
call fcn.004012ad
mov ecx, dword [ebp - 0x2c0]
mov eax, dword [eax]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x3e8]
call fcn.004012ad
mov ecx, dword [ebp - 0x2c0]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x40c0e1
lea ecx, [ebp - 0x3e8]
call fcn.00401291
lea ecx, [ebp - 0x30c]
call fcn.00401291
jmp 0x40bf55
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x11c], 0x4d8a94b2
mov dword [ebp - 0x104], 1
mov dword [ebp - 0xe8], 0
jmp 0x40c18b
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 3
jge 0x40c1a7
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x4a8], 0xfffffffe
jmp 0x40c17e
mov dword [ebp - 0x18], 0
jmp 0x40c1b7
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff5
jg 0x40c44e
mov dword [ebp - 0x2c], 0xd97a888a
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x2c], 2
jmp 0x40c1e2
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x40c3aa
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x18]
sub eax, 0x446cd5fe
cmp eax, dword [ebp - 0x18]
je 0x40c20f
mov dword [ebp - 0x1c8], 1
jmp 0x40c216
and dword [ebp - 0x1c8], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0x1c8]
cmp dword [ebp - 0xd8], eax
jne 0x40c233
mov dword [ebp - 0x258], 1
jmp 0x40c23a
and dword [ebp - 0x258], 0
cmp dword [ebp - 0x258], 0x451d
jge 0x40c252
mov dword [ebp - 0x1d0], 1
jmp 0x40c259
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d0], 0xfffd
jne 0x40c277
mov eax, 0x1031
test eax, eax
jne 0x40c277
and dword [ebp - 0x2a0], 0
jmp 0x40c281
mov dword [ebp - 0x2a0], 1
mov eax, dword [ebp - 0x2a0]
inc eax
jne 0x40c29c
cmp dword [ebp - 0xd8], 0
jne 0x40c29c
and dword [ebp - 0x1d8], 0
jmp 0x40c2a6
mov dword [ebp - 0x1d8], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1d8]
je 0x40c2bd
mov dword [ebp - 0x260], 1
jmp 0x40c2c4
and dword [ebp - 0x260], 0
cmp dword [ebp - 0x260], 0xfa4b
jle 0x40c2dc
mov dword [ebp - 0x1e0], 1
jmp 0x40c2e3
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1e0], eax
je 0x40c2fa
mov dword [ebp - 0x2e8], 1
jmp 0x40c301
and dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x2e8]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0xd8], eax
jne 0x40c324
mov eax, 0xba92
test eax, eax
jne 0x40c324
and dword [ebp - 0x1e8], 0
jmp 0x40c32e
mov dword [ebp - 0x1e8], 1
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
je 0x40c354
mov dword [ebp - 0x39c], 1
jmp 0x40c35b
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x4a8], 0x35c
mov dword [ebp - 0x11c], 0x35c
mov eax, dword [ebp - 0x11c]
sub eax, 0x151c
mov dword [ebp - 0x268], eax
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x40c3a5
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x40c1db
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x18], 0
je 0x40c3fb
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0x2c], eax
jge 0x40c3d3
mov dword [ebp - 0x324], 1
jmp 0x40c3da
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x448], eax
mov eax, 0x92279191
test eax, eax
je 0x40c3fb
mov dword [ebp - 0x1f0], 1
jmp 0x40c402
and dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 0xfffffffe
jb 0x40c417
mov dword [ebp - 0x2a8], 1
jmp 0x40c41e
and dword [ebp - 0x2a8], 0
cmp dword [ebp - 0x2a8], 0
jbe 0x40c433
mov dword [ebp - 0x384], 1
jmp 0x40c43a
and dword [ebp - 0x384], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x4a8]
mov dword [ebp - 0x2c], eax
jmp 0x40c1b0
lea eax, [ebp + 0x14]
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x450], 0x198a
mov dword [ebp - 0x458], 0xfffffff6
mov dword [ebp - 0x460], 0x8885c6f1
mov dword [ebp - 0x468], 0x60b0ceaf
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x510], 0x3034d006
mov dword [ebp - 0x50c], 0x3034d006
mov dword [ebp - 0x508], 0x3034d006
mov dword [ebp - 0x504], 0x3034d006
mov dword [ebp - 0xac], 0
jmp 0x40c4ca
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jge 0x40c4e6
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x3fc], 0xaad9
jmp 0x40c4bd
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3fc]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x3fc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3bc], 0xa2fc53d8
mov dword [ebp - 0x40], 0
jmp 0x40c534
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x40c54a
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x4f0], 0xfffffff6
jmp 0x40c52d
mov dword [ebp - 0x40], 0
jmp 0x40c55a
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x40c570
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x3dc], 0xffffffff
jmp 0x40c553
cmp dword [ebp - 0x44], 0
je 0x40c689
mov dword [ebp - 0x70], 0x86d6
mov dword [ebp - 0x32c], 0xc7ba
mov dword [ebp - 0x44], 0
jmp 0x40c59b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jg 0x40c687
mov dword [ebp - 0x68], 0x9ea9831
mov dword [ebp - 0x68], 3
jmp 0x40c5bc
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x40c656
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x4f0], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x68], 1
jle 0x40c5f4
cmp dword [ebp - 0x70], 0
je 0x40c5f4
mov dword [ebp - 0x1f8], 1
jmp 0x40c5fb
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1f8], eax
jg 0x40c618
cmp dword [ebp - 0x32c], 0
jne 0x40c618
and dword [ebp - 0x270], 0
jmp 0x40c622
mov dword [ebp - 0x270], 1
cmp dword [ebp - 0x270], 0xfffffffc
je 0x40c637
mov dword [ebp - 0x200], 1
jmp 0x40c63e
and dword [ebp - 0x200], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x200]
mov dword [ebp + eax - 0x4f0], ecx
jmp 0x40c5b5
mov dword [ebp - 0x70], 2
jmp 0x40c666
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jl 0x40c682
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp + eax*4 - 0x3dc]
mov dword [ebp + ecx*4 - 0x3dc], eax
jmp 0x40c65f
jmp 0x40c594
jmp 0x40c6ae
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x40c6ae
push 1
push 0x4c8
push 0x1195
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3dc]
mov dword [ebp - 0x480], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3dc], 0xdda5659c
ja 0x40c6e0
mov dword [ebp - 0x2c8], 1
jmp 0x40c6e7
and dword [ebp - 0x2c8], 0
cmp dword [ebp - 0x2c8], 0xd786
jne 0x40c6ff
mov dword [ebp - 0x208], 1
jmp 0x40c706
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x208]
neg eax
mov dword [ebp - 0x278], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x278]
mov dword [ebp + eax - 0x4f0], ecx
cmp dword [ebp - 0x278], 0xe2e
jg 0x40c73e
mov dword [ebp - 0x210], 1
jmp 0x40c745
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x210]
jne 0x40c75c
mov dword [ebp - 0x2b0], 1
jmp 0x40c763
and dword [ebp - 0x2b0], 0
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x334]
movzx eax, byte [eax]
test eax, eax
je 0x40d63a
mov dword [ebp - 4], 0x324ec2e0
mov dword [ebp - 0x33c], 0x29cbc21b
mov dword [ebp - 0xe0], 0
jmp 0x40c7aa
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 1
jge 0x40c7c6
mov eax, dword [ebp - 0xe0]
mov dword [ebp + eax*4 - 0x84], 0xfffffffe
jmp 0x40c79d
mov dword [ebp - 4], 0xfffffff1
jmp 0x40c7d6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40c7f5
mov dword [ebp - 0x218], 0xfffffff6
mov eax, dword [ebp - 0x218]
inc eax
mov dword [ebp - 0x218], eax
jmp 0x40c7cf
mov dword [ebp - 4], 0
jmp 0x40c805
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40c9c7
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x80], 0
jmp 0x40c826
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jg 0x40c866
mov dword [ebp - 0x280], 0x8b9dbea5
mov byte [ebp - 0x7a], 0
movzx eax, byte [ebp - 0x7a]
test eax, eax
je 0x40c857
push 0x9d0
push 0xe2
push 0xba6
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov eax, dword [ebp - 0x280]
inc eax
mov dword [ebp - 0x280], eax
jmp 0x40c81f
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x84], 0
jne 0x40c987
cmp dword [ebp - 4], 0
je 0x40c89f
mov dword [ebp - 0x80], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x84]
cmp dword [ebp - 0x80], eax
jge 0x40c89f
mov dword [ebp - 0x220], 1
jmp 0x40c8a6
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x220], eax
jl 0x40c8bd
mov dword [ebp - 0x160], 1
jmp 0x40c8c4
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x84]
cmp eax, dword [ebp - 0x160]
jne 0x40c8e2
mov dword [ebp - 0x158], 1
jmp 0x40c8e9
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x84]
cmp dword [ebp - 0x158], eax
jne 0x40c907
mov dword [ebp - 0x16c], 1
jmp 0x40c90e
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x84]
cmp dword [ebp - 0x16c], eax
jge 0x40c92c
mov dword [ebp - 0x174], 1
jmp 0x40c933
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x174], eax
jg 0x40c94a
mov dword [ebp - 0x17c], 1
jmp 0x40c951
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x17c], eax
jg 0x40c968
mov dword [ebp - 0x398], 1
jmp 0x40c96f
and dword [ebp - 0x398], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 4], 0
jne 0x40c987
and dword [ebp - 0x184], 0
jmp 0x40c991
mov dword [ebp - 0x184], 1
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x84]
cmp eax, dword [ebp - 0x184]
jne 0x40c9af
mov dword [ebp - 0x120], 1
jmp 0x40c9b6
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x33c], eax
jmp 0x40c7fe
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x344], 0x7dcc
mov dword [ebp - 0xf8], 0
jmp 0x40ca0a
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 2
jge 0x40ca26
mov eax, dword [ebp - 0xf8]
mov dword [ebp + eax*4 - 0x374], 0x6917ab6d
jmp 0x40c9fd
mov dword [ebp - 0x94], 0
jmp 0x40ca3f
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xfffffff6
jne 0x40cd64
mov dword [ebp - 0x4fc], 0xffffffff
mov dword [ebp - 0x4f8], 6
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x43c], 0xde1fc657
mov dword [ebp - 0x48c], 0xb0cf5aa0
cmp dword [ebp - 0x94], 0
je 0x40cc14
mov dword [ebp - 0xb4], 0xac70c309
mov dword [ebp - 0xb0], 0
jmp 0x40caae
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x40caca
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x528], 0xecf7921e
jmp 0x40caa1
mov dword [ebp - 0xb4], 0
jmp 0x40cae3
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x16
jl 0x40cc02
mov dword [ebp - 0xc4], 0xfffffff7
push 1
lea ecx, [ebp - 0x4b8]
call fcn.004011bf
mov dword [ebp - 0xbc], 0
jmp 0x40cb20
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 1
jge 0x40cb42
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x4b8]
call fcn.004012ad
mov dword [eax], 0xfc39
jmp 0x40cb13
mov dword [ebp - 0xc4], 0
jmp 0x40cb5b
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xa
jl 0x40cbf2
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x8c], 0
jmp 0x40cb8b
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x40cbe2
mov dword [ebp - 0xcc], 0xb0d193e0
mov dword [ebp - 0xcc], 0
jmp 0x40cbb7
mov eax, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jl 0x40cbe0
mov byte [ebp - 0x69], 0
movzx eax, byte [ebp - 0x69]
test eax, eax
je 0x40cbde
push 1
push 0x1b83
push 0x13e2
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x40cbaa
jmp 0x40cb7e
cmp dword [ebp - 0x8c], 0
je 0x40cbed
jmp 0x40cbf2
jmp 0x40cb4e
lea ecx, [ebp - 0x4b8]
call fcn.00401291
jmp 0x40cad6
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
jmp 0x40cd5f
mov dword [ebp - 0x118], 0xffffffff
mov dword [ebp - 0x3a0], 0x5cf455db
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x374]
cmp dword [ebp + eax - 0x374], ecx
jl 0x40cc50
mov dword [ebp - 0x194], 1
jmp 0x40cc57
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x118], 2
jae 0x40cc6c
mov dword [ebp - 0x19c], 1
jmp 0x40cc73
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x19c]
cmp eax, 0xfffffffc
jle 0x40cc90
mov dword [ebp - 0x1a4], 1
jmp 0x40cc97
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x1a4], eax
jge 0x40ccb1
mov dword [ebp - 0x1ac], 1
jmp 0x40ccb8
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
add eax, 0xfffd
cmp eax, dword [ebp - 0x344]
jle 0x40ccd7
mov dword [ebp - 0x1b4], 1
jmp 0x40ccde
and dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x1b4], 0
je 0x40ccf3
mov dword [ebp - 0x1bc], 1
jmp 0x40ccfa
and dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c4], 0xf7c2f5a2
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1bc]
sub ecx, dword [ebp + eax - 0x374]
cmp dword [ebp - 0x1c4], ecx
jl 0x40cd2b
mov dword [ebp - 0x1cc], 1
jmp 0x40cd32
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x1cc], eax
jne 0x40cd4c
mov dword [ebp - 0x1d4], 1
jmp 0x40cd53
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x3a0], eax
jmp 0x40ca32
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x444], 0xac8b13ec
mov dword [ebp - 0x4dc], 0xfcb50bf3
mov dword [ebp - 0x44c], 0x60f951fe
mov dword [ebp - 0x49c], 5
push 1
lea ecx, [ebp - 0x414]
call fcn.004011bf
push 1
lea ecx, [ebp - 0x4c8]
call fcn.004011bf
push 2
lea ecx, [ebp - 0x3f4]
call fcn.004011bf
mov dword [ebp - 0x10], 0
jmp 0x40cdcf
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x40cde8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x414]
call fcn.004012ad
or dword [eax], 0xffffffff
jmp 0x40cdc8
mov dword [ebp - 0x10], 0
jmp 0x40cdf8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x40ce14
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c8]
call fcn.004012ad
mov dword [eax], 0xe164caf1
jmp 0x40cdf1
mov dword [ebp - 0x10], 0
jmp 0x40ce24
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x40ce3d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3f4]
call fcn.004012ad
and dword [eax], 0
jmp 0x40ce1d
push 1
lea ecx, [ebp - 0x3f4]
call fcn.004012ad
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x3f4]
call fcn.004012ad
mov esi, eax
push 0
lea ecx, [ebp - 0x414]
call fcn.004012ad
mov ecx, dword [esi]
mov dword [eax], ecx
lea ecx, [ebp - 0x3f4]
call fcn.00401291
lea ecx, [ebp - 0x4c8]
call fcn.00401291
lea ecx, [ebp - 0x414]
call fcn.00401291
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 0x36c], eax
push 3
lea ecx, [ebp - 0x2f8]
call fcn.004011bf
push 1
lea ecx, [ebp - 0x3d0]
call fcn.004011bf
mov dword [ebp - 0x108], 0xfffffffd
mov dword [ebp - 0x354], 6
mov dword [ebp - 0x3a8], 0x8319b885
mov dword [ebp - 8], 0
jmp 0x40cef6
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x40cf0f
push dword [ebp - 8]
lea ecx, [ebp - 0x2f8]
call fcn.004012ad
and dword [eax], 0
jmp 0x40ceef
mov dword [ebp - 8], 0
jmp 0x40cf1f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x40cf35
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], 0x48cc3837
jmp 0x40cf18
mov dword [ebp - 8], 0
jmp 0x40cf45
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x40cf5e
push dword [ebp - 8]
lea ecx, [ebp - 0x3d0]
call fcn.004012ad
or dword [eax], 0xffffffff
jmp 0x40cf3e
mov dword [ebp - 8], 0
jmp 0x40cf6e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x40cf84
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x10c], 0xffffffff
jmp 0x40cf67
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x454], eax
push 2
lea ecx, [ebp - 0x2f8]
call fcn.004012ad
push 0
lea ecx, [ebp - 0x2f8]
call fcn.004012ad
mov esi, eax
push 2
lea ecx, [ebp - 0x2f8]
call fcn.004012ad
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x40cfd2
mov dword [ebp - 0x1e4], 1
jmp 0x40cfd9
and dword [ebp - 0x1e4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp eax, dword [ebp - 0x1e4]
je 0x40cffa
mov dword [ebp - 0x1ec], 1
jmp 0x40d001
and dword [ebp - 0x1ec], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1ec]
add ecx, dword [ebp + eax - 0x90]
mov dword [ebp - 0x1f4], ecx
push 0
lea ecx, [ebp - 0x3d0]
call fcn.004012ad
mov ecx, dword [ebp - 0x1f4]
mov dword [eax], ecx
cmp dword [ebp - 0x1f4], 0
jne 0x40d044
mov dword [ebp - 0x1fc], 1
jmp 0x40d04b
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x108], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x108], eax
jl 0x40d078
mov dword [ebp - 0x204], 1
jmp 0x40d07f
and dword [ebp - 0x204], 0
imul eax, dword [ebp - 0x204], 0xd1c
cmp eax, 3
jg 0x40d0c5
push 0
lea ecx, [ebp - 0x3d0]
call fcn.004012ad
cmp dword [eax], 0
je 0x40d0c5
cmp dword [ebp - 0x108], 0
je 0x40d0c5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10c], 0
je 0x40d0c5
mov dword [ebp - 0x20c], 1
jmp 0x40d0cc
and dword [ebp - 0x20c], 0
push 2
lea ecx, [ebp - 0x2f8]
call fcn.004012ad
mov ecx, dword [ebp - 0x20c]
cmp ecx, dword [eax]
jne 0x40d0ef
mov dword [ebp - 0x214], 1
jmp 0x40d0f6
and dword [ebp - 0x214], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x214], eax
jne 0x40d117
mov dword [ebp - 0x21c], 1
jmp 0x40d11e
and dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0x2a90
jne 0x40d136
mov dword [ebp - 0x224], 1
jmp 0x40d13d
and dword [ebp - 0x224], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
imul eax, dword [ebp - 0x224]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x90]
jge 0x40d16c
mov dword [ebp - 0x22c], 1
jmp 0x40d173
and dword [ebp - 0x22c], 0
push 2
lea ecx, [ebp - 0x2f8]
call fcn.004012ad
mov eax, dword [eax]
cmp eax, dword [ebp - 0x22c]
jg 0x40d196
mov dword [ebp - 0x234], 1
jmp 0x40d19d
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x354]
mov dword [ebp - 0x3a8], eax
lea ecx, [ebp - 0x3d0]
call fcn.00401291
lea ecx, [ebp - 0x2f8]
call fcn.00401291
mov dword [ebp - 0x78], 0x9aa810d2
mov dword [ebp - 0x24], 0x1d2250db
mov dword [ebp - 0x98], 0x3809d01
mov dword [ebp - 0x28], 0x9689
mov dword [ebp - 0x28c], 0x12ce33a9
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4e0], eax
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x78]
cmp eax, 9
je 0x40d20f
mov dword [ebp - 0x23c], 1
jmp 0x40d216
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
ja 0x40d231
mov dword [ebp - 0x244], 1
jmp 0x40d238
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x24], 0x61fc
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x98]
cmp dword [ebp - 0x24], eax
jl 0x40d265
mov dword [ebp - 0x35c], 1
jmp 0x40d26c
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x28]
dec eax
imul eax, eax, 0x1c58
cmp eax, dword [ebp - 0x98]
jle 0x40d28a
mov dword [ebp - 0x24c], 1
jmp 0x40d291
and dword [ebp - 0x24c], 0
cmp dword [ebp - 0x24c], 0x41b6
jl 0x40d2a9
mov dword [ebp - 0x254], 1
jmp 0x40d2b0
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
add eax, 0xb6fb96f
cmp eax, 0x7f1b
jl 0x40d2d4
cmp dword [ebp - 0x24], 0
je 0x40d2d4
mov dword [ebp - 0x25c], 1
jmp 0x40d2db
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
neg eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x28]
jne 0x40d304
mov dword [ebp - 0x264], 1
jmp 0x40d30b
and dword [ebp - 0x264], 0
cmp dword [ebp - 0x264], 0x64d9248e
je 0x40d323
mov dword [ebp - 0x26c], 1
jmp 0x40d32a
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x26c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x78]
jle 0x40d353
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40d419
mov dword [ebp - 0xd4], 6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x78], 0
je 0x40d396
cmp dword [ebp - 0x28c], 0
je 0x40d396
mov dword [ebp - 0x274], 1
jmp 0x40d39d
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x274], eax
jne 0x40d3b7
mov dword [ebp - 0x27c], 1
jmp 0x40d3be
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x27c], eax
jg 0x40d3d8
mov dword [ebp - 0x3b4], 1
jmp 0x40d3df
and dword [ebp - 0x3b4], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0xd4]
inc eax
inc eax
cmp eax, 0x1c5a
jge 0x40d403
mov dword [ebp - 0x284], 1
jmp 0x40d40a
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x284]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x314], eax
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0x114], 3
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x128], 0x2687
push 1
lea ecx, [ebp - 0x42c]
call fcn.004011bf
mov dword [ebp - 0x34], 0
jmp 0x40d46a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x40d480
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x4d8], 0
jmp 0x40d463
mov dword [ebp - 0x34], 0
jmp 0x40d490
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x40d4ac
push dword [ebp - 0x34]
lea ecx, [ebp - 0x42c]
call fcn.004012ad
mov dword [eax], 0x6a47cded
jmp 0x40d489
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x500], eax
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x114], eax
je 0x40d4fc
cmp dword [ebp - 0x114], 0
jne 0x40d4fc
and dword [ebp - 0x294], 0
jmp 0x40d506
mov dword [ebp - 0x294], 1
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x29c], eax
jge 0x40d52c
mov dword [ebp - 0x124], 1
jmp 0x40d533
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0
jl 0x40d548
mov dword [ebp - 0x130], 1
jmp 0x40d54f
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x130], eax
je 0x40d569
mov dword [ebp - 0x138], 1
jmp 0x40d570
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xe486
jl 0x40d588
mov dword [ebp - 0x140], 1
jmp 0x40d58f
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0
je 0x40d5a4
mov dword [ebp - 0x148], 1
jmp 0x40d5ab
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4d8]
cmp dword [ebp - 0x148], eax
jge 0x40d5cc
mov dword [ebp - 0x150], 1
jmp 0x40d5d3
and dword [ebp - 0x150], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x4d8]
imul esi, dword [ebp - 0x150]
push 0
lea ecx, [ebp - 0x42c]
call fcn.004012ad
mov dword [eax], esi
lea ecx, [ebp - 0x42c]
call fcn.00401291
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x380]
mov eax, dword [eax]
shl eax, 1
mov ecx, dword [ebp - 0x378]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x314]
mov eax, dword [eax]
mov dword [eax + 0x24], ecx
jmp 0x40d68c
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x338], eax
call fcn.00467027
mov esi, eax
mov ecx, dword [ebp - 0x338]
call fcn.0041209a
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
mov eax, dword [ebp - 0x340]
mov dword [eax], edx
jmp 0x40d6ce
lea eax, [ebp + 8]
mov dword [ebp - 0x358], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x348], eax
push dword [ebp - 0x348]
push 0
push 0xece
mov eax, dword [ebp - 0x350]
push dword [eax]
mov eax, dword [ebp - 0x358]
push dword [eax]
call fcn.0040dac3
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret