Function at 0x1004aa22
Capabilities:
Create pipe
Get file size
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082da4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x584
push esi
push edi
mov dword [ebp - 0x54], 0xfffffff8
mov dword [ebp - 0x94], 0
jmp 0x1004aa62
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
jge 0x1004aa7e
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x528], 0xfffffffd
jmp 0x1004aa55
mov dword [ebp - 0x54], 0
jmp 0x1004aa8e
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1004aab3
mov byte [ebp - 0x67], 0
movzx eax, byte [ebp - 0x67]
test eax, eax
je 0x1004aab1
push 0x1f04
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x1004aa87
mov dword [ebp - 0x54], 0xfffffffb
jmp 0x1004aac3
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jge 0x1004aae0
mov dword [ebp - 0x314], 0xae77ab39
cmp dword [ebp - 0x314], 0
je 0x1004aade
jmp 0x1004aae0
jmp 0x1004aabc
push 1
lea eax, [ebp - 0x590]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.100492ec
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x540]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x540]
lea edi, [ebp - 0x3b0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 2
lea ecx, [ebp - 0x3d4]
call fcn.100177e6
and dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0xd4], 0xfffffff8
mov dword [ebp - 0x354], 0xfffffff9
mov dword [ebp - 0xc0], 0
jmp 0x1004ab54
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 2
jge 0x1004ab73
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x3d4]
call fcn.10017853
and dword [eax], 0
jmp 0x1004ab47
mov dword [ebp - 0x3c], 0
jmp 0x1004ab83
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jg 0x1004ac5e
mov dword [ebp - 0x35c], 6
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x3d4]
call fcn.10017853
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x3d4]
call fcn.10017853
cmp dword [ebp - 0x3c], 1
jge 0x1004abc5
mov dword [ebp - 0x32c], 1
jmp 0x1004abcc
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0x3c]
cmp eax, 0x89a6
jle 0x1004abf9
mov dword [ebp - 0x1c0], 1
jmp 0x1004ac00
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 5
jne 0x1004ac15
mov dword [ebp - 0x2e8], 1
jmp 0x1004ac1c
and dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0x2e8]
cmp eax, 0x19ac196a
jge 0x1004ac3c
mov dword [ebp - 0x334], 1
jmp 0x1004ac43
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x35c], 1
jmp 0x1004ab7c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d4]
call fcn.1001784e
mov dword [ebp - 0x364], 1
mov dword [ebp - 0xac], 0
jmp 0x1004ac90
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jge 0x1004acac
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x2fc], 0xfffffff8
jmp 0x1004ac83
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2fc], 0
jmp 0x1004acda
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2fc]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2fc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2fc], 0xffffffe5
jle 0x1004ad6e
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x9c], 0
jmp 0x1004ad0e
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jge 0x1004ad2a
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x340], 0x124f84b8
jmp 0x1004ad01
mov dword [ebp - 0x6c], 0
jmp 0x1004ad3a
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jg 0x1004ad69
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp + eax*4 - 0x340]
mov dword [ebp + ecx*4 - 0x340], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x340]
mov dword [ebp - 0x364], eax
jmp 0x1004ad33
jmp 0x1004acbf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0x10], 0
je 0x1004adf2
mov dword [ebp - 0x454], 0x5052061f
mov dword [ebp - 0x45c], 0xc8fc558b
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x400], 0xffff
mov dword [ebp - 0x3fc], 0xffff
mov dword [ebp - 0x3f8], 0xffff
mov dword [ebp - 0x3f4], 0xffff
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x400]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x400], eax
jmp 0x1004ae93
mov dword [ebp - 0x5c], 0xfffffffc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x5c], 0
jne 0x1004ae29
cmp dword [ebp - 0x10], 0
jne 0x1004ae29
and dword [ebp - 0x28c], 0
jmp 0x1004ae33
mov dword [ebp - 0x28c], 1
cmp dword [ebp - 0x28c], 0x2e3c
jge 0x1004ae4b
mov dword [ebp - 0x2d0], 1
jmp 0x1004ae52
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x5c]
imul ecx, dword [ebp - 0x2d0], 0x3edb
imul ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x972c
imul eax, ecx
add eax, dword [ebp - 0x5c]
jne 0x1004ae80
cmp dword [ebp - 0x5c], 0
jne 0x1004ae80
and dword [ebp - 0x120], 0
jmp 0x1004ae8a
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jle 0x1004aea5
mov dword [ebp - 0x2d8], 1
jmp 0x1004aeac
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x2d8]
cmp eax, dword [ebp - 0x10]
jne 0x1004aec7
mov dword [ebp - 0x2e0], 1
jmp 0x1004aece
and dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2e0], eax
je 0x1004aee5
mov dword [ebp - 0x12c], 1
jmp 0x1004aeec
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x12c], eax
jl 0x1004af03
mov dword [ebp - 0x36c], 1
jmp 0x1004af0a
and dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp eax, 1
je 0x1004af2b
cmp dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x72ce3c48
jl 0x1004af40
mov dword [ebp - 0x214], 1
jmp 0x1004af47
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x214]
jne 0x1004af5e
mov dword [ebp - 0x134], 1
jmp 0x1004af65
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x10]
je 0x1004af82
cmp dword [ebp - 0x10], 0
je 0x1004af82
mov dword [ebp - 0x284], 1
jmp 0x1004af89
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x284], eax
je 0x1004afa0
mov dword [ebp - 0x13c], 1
jmp 0x1004afa7
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x10]
jne 0x1004afc1
mov dword [ebp - 0x21c], 1
jmp 0x1004afc8
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x10]
je 0x1004afe5
cmp dword [ebp - 0x10], 0
je 0x1004afe5
mov dword [ebp - 0x144], 1
jmp 0x1004afec
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x144]
cmp dword [ebp - 0x10], eax
jg 0x1004b006
mov dword [ebp - 0x290], 1
jmp 0x1004b00d
and dword [ebp - 0x290], 0
imul eax, dword [ebp - 0x290], 0xffffffff
test eax, eax
jne 0x1004b027
cmp dword [ebp - 0x10], 0
jne 0x1004b027
and dword [ebp - 0x14c], 0
jmp 0x1004b031
mov dword [ebp - 0x14c], 1
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x10], eax
jge 0x1004b057
cmp dword [ebp - 0x10], 0
je 0x1004b057
mov dword [ebp - 0x224], 1
jmp 0x1004b05e
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0xa0c2
jge 0x1004b076
mov dword [ebp - 0x324], 1
jmp 0x1004b07d
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x494], eax
mov dword [ebp - 0xc4], 0xa1aea078
mov dword [ebp - 0x200], 0xffffffff
mov dword [ebp - 0x24], 0x647f1a96
mov dword [ebp - 0x74], 0xe52509e7
push 3
lea ecx, [ebp - 0x3bc]
call fcn.100177e6
mov dword [ebp - 4], 1
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xbc], 0
jmp 0x1004b0e2
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 3
jge 0x1004b104
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x3bc]
call fcn.10017853
mov dword [eax], 0xfffffff6
jmp 0x1004b0d5
mov dword [ebp - 0x84], 0
jmp 0x1004b11d
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jg 0x1004b298
mov dword [ebp - 0x70], 0xfffffff6
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x320], 0xdbbe5689
mov dword [ebp - 0x294], 0xfffffff9
push 4
lea ecx, [ebp - 0x430]
call fcn.100177e6
mov byte [ebp - 4], 2
mov dword [ebp - 0xa4], 0
jmp 0x1004b179
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 4
jge 0x1004b19b
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x430]
call fcn.10017853
mov dword [eax], 0xfffffffc
jmp 0x1004b16c
mov dword [ebp - 0x70], 2
jmp 0x1004b1ab
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jl 0x1004b284
push 1
lea ecx, [ebp - 0x3bc]
call fcn.10017853
mov ecx, dword [ebp - 0x70]
cmp dword [eax], ecx
jge 0x1004b1d9
xor eax, eax
je 0x1004b1d9
mov dword [ebp - 0x154], 1
jmp 0x1004b1e0
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x154]
jge 0x1004b1f7
mov dword [ebp - 0x2bc], 1
jmp 0x1004b1fe
and dword [ebp - 0x2bc], 0
mov esi, dword [ebp - 0x320]
push 0
lea ecx, [ebp - 0x3bc]
call fcn.10017853
cmp esi, dword [eax]
jge 0x1004b221
mov dword [ebp - 0x22c], 1
jmp 0x1004b228
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x22c]
jge 0x1004b254
cmp dword [ebp - 0x84], 0
jne 0x1004b254
and dword [ebp - 0x164], 0
jmp 0x1004b25e
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x294], eax
mov esi, dword [ebp - 0x294]
push 1
lea ecx, [ebp - 0x430]
call fcn.10017853
mov dword [eax], esi
jmp 0x1004b1a4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x430]
call fcn.1001784e
jmp 0x1004b110
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3bc]
call fcn.1001784e
push 3
lea ecx, [ebp - 0x2f4]
call fcn.100177e6
mov dword [ebp - 4], 3
mov dword [ebp - 0x50], 0xe7a6
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x254], 0x67a3d58e
mov dword [ebp - 0x2c], 0
jmp 0x1004b2e3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004b2f9
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x304], 0
jmp 0x1004b2dc
mov dword [ebp - 0x2c], 0
jmp 0x1004b309
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1004b31f
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x564], 0xffffffff
jmp 0x1004b302
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], 0
jmp 0x1004b335
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffe3
jle 0x1004b706
mov dword [ebp - 0x1c], 0xe135e1f6
mov dword [ebp - 0x328], 5
cmp dword [ebp - 0x50], 0
jne 0x1004b366
push 4
pop eax
test eax, eax
jne 0x1004b366
and dword [ebp - 0x16c], 0
jmp 0x1004b370
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x16c], 0x60e7
jg 0x1004b388
mov dword [ebp - 0x234], 1
jmp 0x1004b38f
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x1c], eax
jle 0x1004b3a3
mov dword [ebp - 0x174], 1
jmp 0x1004b3aa
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x174]
jle 0x1004b3c4
mov dword [ebp - 0x2d4], 1
jmp 0x1004b3cb
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x2d4]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
jmp 0x1004b3e7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1004b701
mov dword [ebp - 0xb4], 0x91f433c8
mov dword [ebp - 0x18], 1
jmp 0x1004b40b
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1004b6fc
mov dword [ebp - 0x18c], 0xe85fcb44
mov dword [ebp - 0x1c4], 0x35a60c43
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x304]
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1004b483
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x4ac], eax
xor eax, eax
inc eax
cmp eax, 0xfffffffa
jae 0x1004b468
mov dword [ebp - 0x17c], 1
jmp 0x1004b46f
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x17c], eax
jl 0x1004b483
and dword [ebp - 0x23c], 0
jmp 0x1004b48d
mov dword [ebp - 0x23c], 1
mov eax, dword [ebp - 0x1c4]
imul eax, dword [ebp - 0x23c]
test eax, eax
je 0x1004b4b3
cmp dword [ebp - 0xb4], 0
je 0x1004b4b3
mov dword [ebp - 0x184], 1
jmp 0x1004b4ba
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xffffffff
jne 0x1004b4cf
mov dword [ebp - 0x29c], 1
jmp 0x1004b4d6
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x29c], eax
jle 0x1004b4ed
mov dword [ebp - 0x244], 1
jmp 0x1004b4f4
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x244]
jg 0x1004b517
mov dword [ebp - 0x194], 1
jmp 0x1004b51e
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x304]
cmp eax, dword [ebp - 0x194]
jle 0x1004b53c
mov dword [ebp - 0x388], 1
jmp 0x1004b543
and dword [ebp - 0x388], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x50], 0xfffffff6
jb 0x1004b561
mov dword [ebp - 0x2c4], 1
jmp 0x1004b568
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x2c4], eax
jle 0x1004b57f
mov dword [ebp - 0x19c], 1
jmp 0x1004b586
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x304]
cmp dword [ebp - 0x19c], eax
jle 0x1004b5a4
mov dword [ebp - 0x24c], 1
jmp 0x1004b5ab
and dword [ebp - 0x24c], 0
cmp dword [ebp - 0x24c], 0xfffffffd
jb 0x1004b5c0
mov dword [ebp - 0x1a4], 1
jmp 0x1004b5c7
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x254]
cmp dword [ebp - 0x1a4], eax
jg 0x1004b5e1
mov dword [ebp - 0x2a4], 1
jmp 0x1004b5e8
and dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x2a4], 0x8be776e9
je 0x1004b600
mov dword [ebp - 0x1ac], 1
jmp 0x1004b607
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x1ac], eax
je 0x1004b621
mov dword [ebp - 0x1b4], 1
jmp 0x1004b628
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x254]
imul eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x1c]
jle 0x1004b646
mov dword [ebp - 0x2e4], 1
jmp 0x1004b64d
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x304]
imul eax, dword [ebp - 0x2e4]
test eax, eax
jne 0x1004b674
mov eax, 0xe9d2
test eax, eax
jne 0x1004b674
and dword [ebp - 0x1bc], 0
jmp 0x1004b67e
mov dword [ebp - 0x1bc], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1bc], eax
jge 0x1004b695
mov dword [ebp - 0x25c], 1
jmp 0x1004b69c
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x25c], eax
jg 0x1004b6b3
mov dword [ebp - 0x2ac], 1
jmp 0x1004b6ba
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x1c4]
cmp dword [ebp - 0x2ac], eax
je 0x1004b6da
cmp dword [ebp - 0x328], 0
jne 0x1004b6da
and dword [ebp - 0x1cc], 0
jmp 0x1004b6e4
mov dword [ebp - 0x1cc], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp + eax - 0x564], ecx
jmp 0x1004b404
jmp 0x1004b3e0
jmp 0x1004b32e
mov dword [ebp - 0x4bc], 0xffffffff
mov dword [ebp - 0x4c4], 0x6e30f4ae
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x4cc], 0xffffffff
mov dword [ebp - 0x4d4], 0xd47ebdcf
push 2
lea ecx, [ebp - 0x110]
call fcn.100177e6
mov byte [ebp - 4], 4
mov dword [ebp - 0x90], 0xfffffffc
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xd0], 0x3631e19e
mov dword [ebp - 0xcc], 0x8bdfadf6
mov dword [ebp - 0x1e4], 0xa68fab8d
mov dword [ebp - 0x398], 0xef874ac
mov dword [ebp - 0x40], 0
jmp 0x1004b795
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1004b7b1
push dword [ebp - 0x40]
lea ecx, [ebp - 0x110]
call fcn.10017853
mov dword [eax], 0x2faf
jmp 0x1004b78e
mov dword [ebp - 0x40], 0
jmp 0x1004b7c1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1004b7d7
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x54c], 0xf85a
jmp 0x1004b7ba
push 1
lea ecx, [ebp - 0x110]
call fcn.10017853
cmp dword [eax], 0
je 0x1004b7fe
mov eax, 0xee6d058a
test eax, eax
je 0x1004b7fe
mov dword [ebp - 0x264], 1
jmp 0x1004b805
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x1004b935
mov eax, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xf4], 0xc4b7c700
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
cmp dword [ebp - 0x90], eax
jne 0x1004b867
mov dword [ebp - 0x394], 1
jmp 0x1004b86e
and dword [ebp - 0x394], 0
push 1
lea ecx, [ebp - 0x110]
call fcn.10017853
cmp dword [eax], 6
jb 0x1004b88c
mov dword [ebp - 0x1d4], 1
jmp 0x1004b893
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 0xffffffff
jle 0x1004b8ae
mov eax, 0x53ffd03b
test eax, eax
jne 0x1004b8ae
and dword [ebp - 0x2cc], 0
jmp 0x1004b8b8
mov dword [ebp - 0x2cc], 1
push 1
lea ecx, [ebp - 0x110]
call fcn.10017853
mov eax, dword [eax]
imul eax, dword [ebp - 0x2cc]
cmp eax, 0x8df0
jne 0x1004b8f0
push 1
lea ecx, [ebp - 0x110]
call fcn.10017853
cmp dword [eax], 0
jne 0x1004b8f0
and dword [ebp - 0x1dc], 0
jmp 0x1004b8fa
mov dword [ebp - 0x1dc], 1
push 1
lea ecx, [ebp - 0x110]
call fcn.10017853
mov ecx, dword [ebp - 0x1dc]
cmp ecx, dword [eax]
jl 0x1004b91d
mov dword [ebp - 0x330], 1
jmp 0x1004b924
and dword [ebp - 0x330], 0
push 1
lea ecx, [ebp - 0x110]
call fcn.10017853
xor eax, eax
jne 0x1004b947
cmp dword [ebp - 0xd0], 0
jne 0x1004b947
and dword [ebp - 0x26c], 0
jmp 0x1004b951
mov dword [ebp - 0x26c], 1
push 1
lea ecx, [ebp - 0x110]
call fcn.10017853
mov ecx, dword [ebp - 0x26c]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x1e4]
jge 0x1004b97b
mov dword [ebp - 0x2b4], 1
jmp 0x1004b982
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x1e4]
cmp dword [ebp - 0x2b4], eax
je 0x1004b99c
mov dword [ebp - 0x1ec], 1
jmp 0x1004b9a3
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x398], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x54c], 0x50e8
jl 0x1004b9cd
mov dword [ebp - 0x274], 1
jmp 0x1004b9d4
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x110]
call fcn.1001784e
mov dword [ebp - 0xe8], 0xa597
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], 0x54dbbe5
mov dword [ebp - 0xdc], 0xffff
push 4
lea ecx, [ebp - 0x104]
call fcn.100177e6
mov byte [ebp - 4], 5
mov dword [ebp - 0x38], 0
jmp 0x1004ba32
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x1004ba4e
push dword [ebp - 0x38]
lea ecx, [ebp - 0x104]
call fcn.10017853
mov dword [eax], 0xfffffff8
jmp 0x1004ba2b
mov dword [ebp - 0x38], 0
jmp 0x1004ba5e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1004ba74
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x34c], 0xf0451807
jmp 0x1004ba57
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc4888999
jbe 0x1004ba8f
mov dword [ebp - 0x124], 1
jmp 0x1004ba96
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x14], 0
je 0x1004baae
cmp dword [ebp - 0x14], 0
je 0x1004baae
mov dword [ebp - 0x338], 1
jmp 0x1004bab5
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x1004bad2
mov eax, 0xbbd4
test eax, eax
je 0x1004bad2
mov dword [ebp - 0x1f4], 1
jmp 0x1004bad9
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x1f4]
imul eax, eax, 0x9896
imul eax, dword [ebp - 0xdc]
cmp eax, 0xcee24b2e
jae 0x1004bb03
mov dword [ebp - 0x2dc], 1
jmp 0x1004bb0a
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2dc]
jg 0x1004bb21
mov dword [ebp - 0x1fc], 1
jmp 0x1004bb28
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0x1fc], eax
jge 0x1004bb48
mov eax, 0xbdd48407
test eax, eax
jne 0x1004bb48
and dword [ebp - 0x27c], 0
jmp 0x1004bb52
mov dword [ebp - 0x27c], 1
cmp dword [ebp - 0x27c], 0xd5228033
jae 0x1004bb6a
mov dword [ebp - 0x204], 1
jmp 0x1004bb71
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0x204], eax
jge 0x1004bb8b
mov dword [ebp - 0x288], 1
jmp 0x1004bb92
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x288], eax
jl 0x1004bba9
mov dword [ebp - 0x20c], 1
jmp 0x1004bbb0
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x20c], 0x8846b51f
je 0x1004bbc8
mov dword [ebp - 0x128], 1
jmp 0x1004bbcf
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x128]
je 0x1004bbe9
mov dword [ebp - 0x130], 1
jmp 0x1004bbf0
and dword [ebp - 0x130], 0
push 3
lea ecx, [ebp - 0x104]
call fcn.10017853
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [eax]
jg 0x1004bc13
mov dword [ebp - 0x390], 1
jmp 0x1004bc1a
and dword [ebp - 0x390], 0
push 1
lea ecx, [ebp - 0x104]
call fcn.10017853
cmp dword [eax], 0xa6b2
jle 0x1004bc3b
mov dword [ebp - 0x138], 1
jmp 0x1004bc42
and dword [ebp - 0x138], 0
push 3
lea ecx, [ebp - 0x104]
call fcn.10017853
mov ecx, dword [ebp - 0x138]
imul ecx, dword [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x1004bc77
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1004bc75
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x1004bce7
mov dword [ebp - 0x344], 1
mov dword [ebp - 0x14], 0
jmp 0x1004bc91
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffa
jl 0x1004bcad
mov byte [ebp - 0x66], 0
movzx eax, byte [ebp - 0x66]
test eax, eax
je 0x1004bcab
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x1004bc8a
mov dword [ebp - 0x28], 0
jmp 0x1004bcbd
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffe
je 0x1004bce7
mov dword [ebp - 0x140], 0xffffffff
cmp dword [ebp - 0x344], 0
je 0x1004bcd8
jmp 0x1004bce7
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
jmp 0x1004bcb6
mov dword [ebp - 0x14], 0
jmp 0x1004bcf7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x1004bfee
mov dword [ebp - 0x52c], 0x600ac80e
mov dword [ebp - 0x384], 8
mov dword [ebp - 0x534], 0xffffffff
mov dword [ebp - 0x448], 0x642ee1e3
mov dword [ebp - 0x4c0], 0xac77acae
mov dword [ebp - 0xec], 0
push 3
lea ecx, [ebp - 0x37c]
call fcn.100177e6
mov byte [ebp - 4], 6
mov dword [ebp - 0x3a0], 0x3efbb05d
mov dword [ebp - 0x34], 0
jmp 0x1004bd68
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x1004bd7e
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x574], 0x8140a971
jmp 0x1004bd61
mov dword [ebp - 0x34], 0
jmp 0x1004bd8e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1004bdaa
push dword [ebp - 0x34]
lea ecx, [ebp - 0x37c]
call fcn.10017853
mov dword [eax], 0x3f8c
jmp 0x1004bd87
mov dword [ebp - 0x28], 0x2a6add33
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x148], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax - 0x574], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax - 0x34c], ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017853
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xec]
inc ecx
mov dword [ebp - 0xec], ecx
test eax, eax
je 0x1004be16
xor eax, eax
inc eax
je 0x1004be16
mov dword [ebp - 0x150], 1
jmp 0x1004be1d
and dword [ebp - 0x150], 0
push 3
lea ecx, [ebp - 0x104]
call fcn.10017853
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [eax]
jg 0x1004be40
mov dword [ebp - 0x158], 1
jmp 0x1004be47
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
sub eax, 0xfffd
jne 0x1004be60
mov dword [ebp - 0x160], 1
jmp 0x1004be67
and dword [ebp - 0x160], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017853
mov esi, dword [ebp - 0x160]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x37c]
call fcn.10017853
sub esi, dword [eax]
jmp 0x1004be9a
and dword [ebp - 0x168], 0
push 0
lea ecx, [ebp - 0x37c]
call fcn.10017853
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [eax]
jl 0x1004bec4
mov dword [ebp - 0x170], 1
jmp 0x1004becb
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x3a0]
cmp dword [ebp - 0x170], eax
je 0x1004bee5
mov dword [ebp - 0x178], 1
jmp 0x1004beec
and dword [ebp - 0x178], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x34c]
cmp dword [ebp - 0x178], eax
jle 0x1004bf0d
mov dword [ebp - 0x350], 1
jmp 0x1004bf14
and dword [ebp - 0x350], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017853
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x34c]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x14]
sub eax, 0xc2888a0
jne 0x1004bf5a
push 1
lea ecx, [ebp - 0x37c]
call fcn.10017853
cmp dword [eax], 0
jne 0x1004bf5a
and dword [ebp - 0x180], 0
jmp 0x1004bf64
mov dword [ebp - 0x180], 1
cmp dword [ebp - 0x180], 0
jne 0x1004bf79
mov dword [ebp - 0x188], 1
jmp 0x1004bf80
and dword [ebp - 0x188], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017853
mov eax, dword [eax]
cmp eax, dword [ebp - 0x188]
je 0x1004bfa4
mov dword [ebp - 0x190], 1
jmp 0x1004bfab
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
sub eax, dword [ebp - 0x384]
cmp eax, 0x7f1a9f13
je 0x1004bfca
mov dword [ebp - 0x198], 1
jmp 0x1004bfd1
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x37c]
call fcn.1001784e
jmp 0x1004bcf0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.1001784e
mov dword [ebp - 0x318], 0xac691c6c
mov dword [ebp - 0x20], 7
mov dword [ebp - 0xe4], 3
cmp dword [ebp - 0x20], 0
je 0x1004c192
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x358], 0
cmp dword [ebp - 0x88], 0
jne 0x1004c0ce
cmp dword [ebp - 0x20], 1
jg 0x1004c055
mov dword [ebp - 0x1a0], 1
jmp 0x1004c05c
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1a0], eax
jne 0x1004c073
mov dword [ebp - 0x1a8], 1
jmp 0x1004c07a
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1a8], eax
je 0x1004c091
mov dword [ebp - 0x1b0], 1
jmp 0x1004c098
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x1b0], eax
jne 0x1004c0b2
mov dword [ebp - 0x1b8], 1
jmp 0x1004c0b9
and dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1b8], 0xfe5a
jle 0x1004c0ce
and dword [ebp - 0x114], 0
jmp 0x1004c0d8
mov dword [ebp - 0x114], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x114], eax
jle 0x1004c0ef
mov dword [ebp - 0x1c8], 1
jmp 0x1004c0f6
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x1c8], eax
jl 0x1004c110
mov dword [ebp - 0x1d0], 1
jmp 0x1004c117
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1d0]
jle 0x1004c12e
mov dword [ebp - 0x1d8], 1
jmp 0x1004c135
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x88]
xor ecx, ecx
sub ecx, dword [ebp - 0x1d8]
imul eax, ecx
test eax, eax
je 0x1004c15c
cmp dword [ebp - 0x20], 0
je 0x1004c15c
mov dword [ebp - 0x1e0], 1
jmp 0x1004c163
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x1e0], eax
jle 0x1004c17d
mov dword [ebp - 0x1e8], 1
jmp 0x1004c184
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x358], eax
jmp 0x1004c209
mov dword [ebp - 0x20], 0xe
jmp 0x1004c1a2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x25
jl 0x1004c1f2
mov dword [ebp - 0x98], 0
jmp 0x1004c1c1
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1004c1dd
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x38c], 0x74b6
jmp 0x1004c1b4
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38c]
mov dword [ebp - 0xe4], eax
jmp 0x1004c19b
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x1004c209
push 0x9dc
call dword [sym.imp.USER32.dll_GetKeyState]
imul eax, dword [ebp - 0xe4], 0xa88a
mov dword [ebp - 0xe4], 8
mov dword [ebp - 0x30], 0
jmp 0x1004c22d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004c249
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2f4]
call fcn.10017853
mov dword [eax], 0xd5feaf86
jmp 0x1004c226
mov dword [ebp - 0x30], 0
jmp 0x1004c259
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004c26f
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x558], 0xdb06862e
jmp 0x1004c252
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50c], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x48], eax
jge 0x1004c28c
mov dword [ebp - 0x1f0], 1
jmp 0x1004c293
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1f0]
jge 0x1004c2aa
mov dword [ebp - 0x360], 1
jmp 0x1004c2b1
and dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x458], eax
mov eax, 0xf5d870a3
test eax, eax
jb 0x1004c2cf
mov dword [ebp - 0x1f8], 1
jmp 0x1004c2d6
and dword [ebp - 0x1f8], 0
cmp dword [ebp - 0x1f8], 0x2a3b3f36
jg 0x1004c2ee
mov dword [ebp - 0x208], 1
jmp 0x1004c2f5
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 0x208]
je 0x1004c318
mov dword [ebp - 0x210], 1
jmp 0x1004c31f
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x48], eax
jge 0x1004c345
mov eax, 0xb3e7
test eax, eax
je 0x1004c345
mov dword [ebp - 0x218], 1
jmp 0x1004c34c
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], 0xc07e17f7
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x228], 0xfffffffa
mov dword [ebp - 0x240], 8
push 2
lea ecx, [ebp - 0x43c]
call fcn.100177e6
mov byte [ebp - 4], 7
mov dword [ebp - 0x4c8], 0xfffa
mov dword [ebp - 0x44], 0
jmp 0x1004c3a2
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1004c3b8
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x3c8], 0
jmp 0x1004c39b
mov dword [ebp - 0x44], 0
jmp 0x1004c3c8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1004c3e4
push dword [ebp - 0x44]
lea ecx, [ebp - 0x43c]
call fcn.10017853
mov dword [eax], 0x3147f59e
jmp 0x1004c3c1
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x440], eax
mov eax, 0x5927
test eax, eax
je 0x1004c411
cmp dword [ebp - 0x64], 0
je 0x1004c411
mov dword [ebp - 0x220], 1
jmp 0x1004c418
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x220]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x64], eax
jge 0x1004c43e
mov dword [ebp - 0xc8], 1
jmp 0x1004c445
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x3c8], ecx
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x78]
jne 0x1004c472
mov dword [ebp - 0x230], 1
jmp 0x1004c479
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x230], eax
jne 0x1004c490
mov dword [ebp - 0x238], 1
jmp 0x1004c497
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0x4255ebda
jle 0x1004c4bb
mov dword [ebp - 0x380], 1
jmp 0x1004c4c2
and dword [ebp - 0x380], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x468], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c8]
add eax, dword [ebp - 0x64]
cmp eax, 0xffffffff
ja 0x1004c4ec
mov dword [ebp - 0xd8], 1
jmp 0x1004c4f3
and dword [ebp - 0xd8], 0
push 0
lea ecx, [ebp - 0x43c]
call fcn.10017853
mov ecx, dword [ebp - 0xd8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xd8]
jge 0x1004c51f
mov dword [ebp - 0x248], 1
jmp 0x1004c526
and dword [ebp - 0x248], 0
imul eax, dword [ebp - 0x248], 3
add eax, 0x73598422
mov dword [ebp - 0x64], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x3c8]
mov dword [ebp + ecx - 0x3c8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x43c]
call fcn.1001784e
mov dword [ebp - 0x74], 0
jmp 0x1004c56e
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xfffffff7
jg 0x1004cd66
push 2
lea ecx, [ebp - 0x424]
call fcn.100177e6
mov byte [ebp - 4], 8
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x4d0], 0xffffffff
mov dword [ebp - 0x470], 0xfffffffb
mov dword [ebp - 0x4fc], 0x69576881
mov dword [ebp - 0x520], 9
mov dword [ebp - 0x51c], 9
mov dword [ebp - 0x518], 9
mov dword [ebp - 0x514], 9
mov dword [ebp - 0x478], 0x9b46
mov dword [ebp - 0xa0], 0xfffffff0
jmp 0x1004c5fc
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 8
jl 0x1004c72f
mov dword [ebp - 0xa8], 0xa12b57e8
mov dword [ebp - 0x4d8], 1
mov dword [ebp - 0x480], 0xb64b5c6f
mov dword [ebp - 0x500], 0xfffffffd
mov dword [ebp - 0x488], 0xa75a592c
mov dword [ebp - 0x4e8], 0xbae0fc36
mov dword [ebp - 0x490], 0x678e045d
mov dword [ebp - 0x508], 0xffffffff
mov dword [ebp - 0xa8], 0xffffffed
jmp 0x1004c672
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xfffffff4
jl 0x1004c72a
mov dword [ebp - 0x498], 0x2c9cc141
mov dword [ebp - 0x4f8], 0xfa5f9c71
mov dword [ebp - 0x4a0], 0x3f0d3ecf
push 2
lea ecx, [ebp - 0x4e4]
call fcn.100177e6
mov byte [ebp - 4], 9
mov dword [ebp - 0x250], 0xb7e2
mov dword [ebp - 0xb0], 0
jmp 0x1004c6d1
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 2
jge 0x1004c6f3
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x4e4]
call fcn.10017853
mov dword [eax], 0xfffffff8
jmp 0x1004c6c4
mov eax, dword [ebp - 0x250]
dec eax
mov dword [ebp - 0x250], eax
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x1004c716
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4e4]
call fcn.1001784e
jmp 0x1004c665
jmp 0x1004c5ef
push 3
lea ecx, [ebp - 0x418]
call fcn.100177e6
mov byte [ebp - 4], 0xa
push 1
lea ecx, [ebp - 0x310]
call fcn.100177e6
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x4c], 0
jmp 0x1004c761
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x1004c777
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x584], 0xdc85
jmp 0x1004c75a
mov dword [ebp - 0x4c], 0
jmp 0x1004c787
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x1004c7a3
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x310]
call fcn.10017853
mov dword [eax], 0xe76f5020
jmp 0x1004c780
push 0
lea ecx, [ebp - 0x310]
call fcn.10017853
mov dword [eax], 3
jmp 0x1004c7dc
push 0
lea ecx, [ebp - 0x310]
call fcn.10017853
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x310]
call fcn.10017853
cmp dword [eax], 0
jl 0x1004c832
push 0
lea ecx, [ebp - 0x310]
call fcn.10017853
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x584], 0
je 0x1004c809
jmp 0x1004c832
mov byte [ebp - 0x65], 0
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x1004c830
push 0x2131
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 0x1004c7b8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x310]
call fcn.1001784e
mov dword [ebp - 0x7c], 0
jmp 0x1004c851
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x1004c86d
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x424]
call fcn.10017853
mov dword [eax], 0x8d08f492
jmp 0x1004c84a
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x510], 0xffffffff
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x524], 0x6524f204
mov dword [ebp - 0x3f0], 1
mov dword [ebp - 0x3ec], 1
mov dword [ebp - 0x3e8], 1
mov dword [ebp - 0x3e4], 1
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0x8c], 0
jmp 0x1004c8ea
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xffffffe7
jg 0x1004ca92
mov dword [ebp - 0x368], 0xffffffff
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x4b0], 0x12af04
mov dword [ebp - 0x504], 0x368a9017
mov dword [ebp - 0x4b8], 0xfffffffe
push 3
lea ecx, [ebp - 0x3e0]
call fcn.100177e6
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x530], 0x7e318b47
mov dword [ebp - 0x39c], 0x69e8a28d
mov dword [ebp - 0xb8], 0
jmp 0x1004c967
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 3
jge 0x1004c989
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x3e0]
call fcn.10017853
mov dword [eax], 0xa63a74ad
jmp 0x1004c95a
cmp dword [ebp - 0x368], 0
jne 0x1004c9fe
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 1
jl 0x1004c9b4
mov dword [ebp - 0x260], 1
jmp 0x1004c9bb
and dword [ebp - 0x260], 0
mov esi, dword [ebp - 0x39c]
imul esi, dword [ebp - 0x260]
neg esi
push 1
lea ecx, [ebp - 0x3e0]
call fcn.10017853
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x3f0]
mov eax, dword [eax]
lea eax, [eax + ecx + 3]
imul eax, dword [ebp - 0x298]
add esi, eax
jne 0x1004c9fe
and dword [ebp - 0x268], 0
jmp 0x1004ca08
mov dword [ebp - 0x268], 1
push 1
lea ecx, [ebp - 0x3e0]
call fcn.10017853
mov ecx, dword [ebp - 0x268]
sub ecx, dword [eax]
add ecx, 0x2b29
cmp ecx, 0x2614f5c6
jl 0x1004ca37
mov dword [ebp - 0x270], 1
jmp 0x1004ca3e
and dword [ebp - 0x270], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3f0]
cmp dword [ebp - 0x270], eax
jl 0x1004ca5f
mov dword [ebp - 0x278], 1
jmp 0x1004ca66
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3e0]
call fcn.1001784e
jmp 0x1004c8dd
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0x418]
push eax
push 0x251c
push 0x419e
call fcn.10049a96
add esp, 0x14
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0
jmp 0x1004cac7
cmp dword [ebp - 0x24], 2
jg 0x1004cd43
mov dword [ebp - 0x2b0], 0xfffffffe
push 2
lea ecx, [ebp - 0x4f4]
call fcn.100177e6
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x31c], 0xef54
push 3
lea ecx, [ebp - 0x40c]
call fcn.100177e6
mov byte [ebp - 4], 0xe
push 0x4d32
push 1
push 0x4b59
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x4f4]
push eax
call fcn.10049a96
add esp, 0x14
mov dword [ebp - 0x80], 0
jmp 0x1004cb36
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1004cb52
push dword [ebp - 0x80]
lea ecx, [ebp - 0x40c]
call fcn.10017853
mov dword [eax], 0xfa7bb34e
jmp 0x1004cb2f
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2f4]
call fcn.10017853
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2f4]
call fcn.10017853
mov ecx, dword [esi]
mov dword [eax], ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2f4]
call fcn.10017853
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2f4]
call fcn.10017853
mov eax, dword [eax]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x370]
cmp eax, dword [ebp - 0x3a4]
jle 0x1004cbcb
mov dword [ebp - 0xf0], 1
jmp 0x1004cbd2
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xf0]
mov dword [ebp + eax - 0x558], ecx
cmp dword [ebp - 0xf0], 0
jne 0x1004cc1a
push 1
lea ecx, [ebp - 0x424]
call fcn.10017853
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2f4]
call fcn.10017853
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1004cc1a
and dword [ebp - 0x2a0], 0
jmp 0x1004cc24
mov dword [ebp - 0x2a0], 1
mov eax, dword [ebp - 0x2b0]
cmp dword [ebp - 0x2a0], eax
je 0x1004cc3e
mov dword [ebp - 0xf8], 1
jmp 0x1004cc45
and dword [ebp - 0xf8], 0
push 1
lea ecx, [ebp - 0x40c]
call fcn.10017853
mov ecx, dword [ebp - 0xf8]
mov dword [eax], ecx
cmp dword [ebp - 0xf8], 0
jne 0x1004cc7e
push 2
lea ecx, [ebp - 0x418]
call fcn.10017853
cmp dword [eax], 0
jne 0x1004cc7e
and dword [ebp - 0x2a8], 0
jmp 0x1004cc88
mov dword [ebp - 0x2a8], 1
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x2a8], eax
jl 0x1004ccab
cmp dword [ebp - 0x2b0], 0
je 0x1004ccab
mov dword [ebp - 0x2b8], 1
jmp 0x1004ccb2
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x2b8], eax
jge 0x1004ccc9
mov dword [ebp - 0x2c0], 1
jmp 0x1004ccd0
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x318]
cmp dword [ebp - 0x2c0], eax
jne 0x1004ccea
mov dword [ebp - 0x2c8], 1
jmp 0x1004ccf1
and dword [ebp - 0x2c8], 0
cmp dword [ebp - 0x2c8], 1
jle 0x1004cd06
mov dword [ebp - 0x118], 1
jmp 0x1004cd0d
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x31c]
imul eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40c]
call fcn.1001784e
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4f4]
call fcn.1001784e
jmp 0x1004cac0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x418]
call fcn.1001784e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x424]
call fcn.1001784e
jmp 0x1004c567
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4]
call fcn.1001784e
cmp dword [ebp - 0x3b0], 0
je 0x1004cd92
push 5
push dword [ebp - 0x3a8]
push dword [ebp - 0x3ac]
call dword [ebp - 0x3b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret