Function at 0x10012a37
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100819a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
push esi
push edi
and dword [ebp - 0x44], 0
push 2
lea ecx, [ebp - 0x1e0]
call fcn.100177e6
and dword [ebp - 4], 0
mov dword [ebp - 0x158], 0xfffffffc
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0x174], 0x3631e19e
mov dword [ebp - 0x178], 0x8bdfadf6
mov dword [ebp - 0x188], 0xa68fab8d
mov dword [ebp - 0x190], 0xef874ac
mov dword [ebp - 0x18], 0
jmp 0x10012ab8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10012ad4
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1e0]
call fcn.10017853
mov dword [eax], 0x2faf
jmp 0x10012ab1
mov dword [ebp - 0x18], 0
jmp 0x10012ae4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10012afa
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x298], 0xf85a
jmp 0x10012add
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x1e0]
push eax
push 0x3ce7
push 0
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x174]
push eax
push 0x4bfd
lea eax, [ebp - 0x158]
push eax
call fcn.1001434b
add esp, 0x28
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x298], 0x50e8
jl 0x10012b5d
mov dword [ebp - 0x124], 1
jmp 0x10012b64
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xe8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.1001784e
mov eax, dword [0x1067504c]
and eax, 1
jne 0x10012bb6
mov eax, dword [0x1067504c]
or eax, 1
mov dword [0x1067504c], eax
mov dword [ebp - 4], 1
mov ecx, 0x10675008
call fcn.10017876
push 0x10084030
call fcn.10067e66
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x54dbbe5
mov dword [ebp - 0x64], 0xffff
push 4
lea ecx, [ebp - 0x7c]
call fcn.100177e6
mov dword [ebp - 4], 2
push 0
push 0x2cdc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1001583a
add esp, 0x10
mov dword [ebp - 0x3c], 0
jmp 0x10012c03
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10012c19
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x180], 0xf0451807
jmp 0x10012bfc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xc4888999
jbe 0x10012c34
mov dword [ebp - 0xa4], 1
jmp 0x10012c3b
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0x10], 0
je 0x10012c53
cmp dword [ebp - 0x10], 0
je 0x10012c53
mov dword [ebp - 0x18c], 1
jmp 0x10012c5a
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x10012c77
mov eax, 0xbbd4
test eax, eax
je 0x10012c77
mov dword [ebp - 0x13c], 1
jmp 0x10012c7e
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x13c]
imul eax, eax, 0x9896
imul eax, dword [ebp - 0x64]
cmp eax, 0xcee24b2e
jae 0x10012ca5
mov dword [ebp - 0x8c], 1
jmp 0x10012cac
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x8c]
jg 0x10012cc3
mov dword [ebp - 0xe4], 1
jmp 0x10012cca
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xe4], eax
jge 0x10012ce7
mov eax, 0xbdd48407
test eax, eax
jne 0x10012ce7
and dword [ebp - 0x94], 0
jmp 0x10012cf1
mov dword [ebp - 0x94], 1
cmp dword [ebp - 0x94], 0xd5228033
jae 0x10012d09
mov dword [ebp - 0x128], 1
jmp 0x10012d10
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x128], eax
jge 0x10012d27
mov dword [ebp - 0x9c], 1
jmp 0x10012d2e
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x9c], eax
jl 0x10012d45
mov dword [ebp - 0xf0], 1
jmp 0x10012d4c
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0x8846b51f
je 0x10012d64
mov dword [ebp - 0x118], 1
jmp 0x10012d6b
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x118]
je 0x10012d85
mov dword [ebp - 0xac], 1
jmp 0x10012d8c
and dword [ebp - 0xac], 0
push 3
lea ecx, [ebp - 0x7c]
call fcn.10017853
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
jg 0x10012dac
mov dword [ebp - 0x160], 1
jmp 0x10012db3
and dword [ebp - 0x160], 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.10017853
cmp dword [eax], 0xa6b2
jle 0x10012dd1
mov dword [ebp - 0xf8], 1
jmp 0x10012dd8
and dword [ebp - 0xf8], 0
push 3
lea ecx, [ebp - 0x7c]
call fcn.10017853
mov ecx, dword [ebp - 0xf8]
imul ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x10012e37
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10012e32
push 0
push 0x10c5
push 0x3da6
push 0x4632
push 0x63e8
push 0x5503
push 0x3d67
push 0x4748
push 0x2707
call fcn.1001488f
add esp, 0x24
jmp 0x10012ebd
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0x10], 0
jmp 0x10012e51
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffffa
jl 0x10012e75
mov byte [ebp - 0x25], 0
push 0x2329
push 0x5636
push 0
lea eax, [ebp - 0x25]
push eax
call fcn.10014665
add esp, 0x10
jmp 0x10012e4a
mov dword [ebp - 0x14], 0
jmp 0x10012e85
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffe
je 0x10012ebd
mov dword [ebp - 0x168], 0xffffffff
cmp dword [ebp - 0x1a8], 0
je 0x10012ea0
jmp 0x10012ebd
push 0x5581
lea eax, [ebp - 0x168]
push eax
push 0
push 0x315f
call fcn.100172ab
add esp, 0x10
jmp 0x10012e7e
mov dword [ebp - 0x10], 0
jmp 0x10012ecd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x100131a9
mov dword [ebp - 0x210], 0x600ac80e
mov dword [ebp - 0x1ac], 8
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x214], 0x642ee1e3
mov dword [ebp - 0x21c], 0xac77acae
mov dword [ebp - 0x58], 0
push 3
lea ecx, [ebp - 0x1a0]
call fcn.100177e6
mov byte [ebp - 4], 3
mov dword [ebp - 0x194], 0x3efbb05d
mov dword [ebp - 0x1c], 0
jmp 0x10012f3b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x10012f51
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2d8], 0x8140a971
jmp 0x10012f34
mov dword [ebp - 0x1c], 0
jmp 0x10012f61
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10012f7d
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1a0]
call fcn.10017853
mov dword [eax], 0x3f8c
jmp 0x10012f5a
mov dword [ebp - 0x14], 0x2a6add33
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb4], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x2d8], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x180], ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
call fcn.10017853
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
inc ecx
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x10012fdd
xor eax, eax
inc eax
je 0x10012fdd
mov dword [ebp - 0x138], 1
jmp 0x10012fe4
and dword [ebp - 0x138], 0
push 3
lea ecx, [ebp - 0x7c]
call fcn.10017853
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [eax]
jg 0x10013004
mov dword [ebp - 0xbc], 1
jmp 0x1001300b
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
sub eax, 0xfffd
jne 0x10013024
mov dword [ebp - 0x100], 1
jmp 0x1001302b
and dword [ebp - 0x100], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
call fcn.10017853
mov esi, dword [ebp - 0x100]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x1a0]
call fcn.10017853
sub esi, dword [eax]
jmp 0x1001305b
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x1a0]
call fcn.10017853
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax]
jl 0x10013085
mov dword [ebp - 0x120], 1
jmp 0x1001308c
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0x120], eax
je 0x100130a6
mov dword [ebp - 0xcc], 1
jmp 0x100130ad
and dword [ebp - 0xcc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x180]
cmp dword [ebp - 0xcc], eax
jle 0x100130ce
mov dword [ebp - 0x170], 1
jmp 0x100130d5
and dword [ebp - 0x170], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
call fcn.10017853
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x180]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x10]
sub eax, 0xc2888a0
jne 0x10013118
push 1
lea ecx, [ebp - 0x1a0]
call fcn.10017853
cmp dword [eax], 0
jne 0x10013118
and dword [ebp - 0x108], 0
jmp 0x10013122
mov dword [ebp - 0x108], 1
cmp dword [ebp - 0x108], 0
jne 0x10013137
mov dword [ebp - 0xd4], 1
jmp 0x1001313e
and dword [ebp - 0xd4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
call fcn.10017853
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
je 0x1001315f
mov dword [ebp - 0x130], 1
jmp 0x10013166
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x1ac]
cmp eax, 0x7f1a9f13
je 0x10013185
mov dword [ebp - 0xdc], 1
jmp 0x1001318c
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a0]
call fcn.1001784e
jmp 0x10012ec6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.1001784e
mov ecx, dword [ebp + 0xc]
call fcn.100121d6
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jae 0x10013334
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x22c]
push eax
mov ecx, 0x10675008
call fcn.1001792d
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x234]
push eax
mov ecx, 0x10675008
call fcn.1001793b
mov ecx, eax
call fcn.10017950
movzx eax, al
test eax, eax
je 0x10013334
push 1
lea ecx, [ebp - 0x148]
call fcn.100177e6
mov dword [ebp - 4], 4
mov dword [ebp - 0x20], 0
jmp 0x10013233
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x10013249
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x2e8], 0xdc85
jmp 0x1001322c
mov dword [ebp - 0x20], 0
jmp 0x10013259
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10013275
push dword [ebp - 0x20]
lea ecx, [ebp - 0x148]
call fcn.10017853
mov dword [eax], 0xe76f5020
jmp 0x10013252
push 0
lea ecx, [ebp - 0x148]
call fcn.10017853
mov dword [eax], 3
jmp 0x100132ae
push 0
lea ecx, [ebp - 0x148]
call fcn.10017853
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x148]
call fcn.10017853
cmp dword [eax], 0
jl 0x100132f1
push 0
lea ecx, [ebp - 0x148]
call fcn.10017853
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x2e8], 0
je 0x100132db
jmp 0x100132f1
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x100132ef
push 0
call fcn.100158c0
pop ecx
jmp 0x1001328a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.1001784e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a4]
push eax
mov ecx, 0x10675008
call fcn.100178ca
push eax
mov ecx, dword [ebp + 8]
call fcn.100176b8
mov eax, dword [ebp - 0x44]
or eax, 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
jmp 0x10013ad1
lea eax, [ebp - 0x2f4]
push eax
call fcn.1000ae79
pop ecx
mov esi, eax
lea edi, [ebp - 0x2c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2c8]
lea edi, [ebp - 0x2a4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x60], 3
cmp dword [ebp - 0x24], 0
je 0x100134d1
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x184], 0
cmp dword [ebp - 0x40], 0
jne 0x10013416
cmp dword [ebp - 0x24], 1
jg 0x100133a0
mov dword [ebp - 0x84], 1
jmp 0x100133a7
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x84], eax
jne 0x100133be
mov dword [ebp - 0x88], 1
jmp 0x100133c5
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x88], eax
je 0x100133dc
mov dword [ebp - 0x90], 1
jmp 0x100133e3
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x90], eax
jne 0x100133fa
mov dword [ebp - 0x98], 1
jmp 0x10013401
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xfe5a
jle 0x10013416
and dword [ebp - 0xa0], 0
jmp 0x10013420
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xa0], eax
jle 0x10013437
mov dword [ebp - 0xa8], 1
jmp 0x1001343e
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xa8], eax
jl 0x10013455
mov dword [ebp - 0xb0], 1
jmp 0x1001345c
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xb0]
jle 0x10013473
mov dword [ebp - 0xb8], 1
jmp 0x1001347a
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x40]
xor ecx, ecx
sub ecx, dword [ebp - 0xb8]
imul eax, ecx
test eax, eax
je 0x1001349e
cmp dword [ebp - 0x24], 0
je 0x1001349e
mov dword [ebp - 0xc0], 1
jmp 0x100134a5
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xc0], eax
jle 0x100134bc
mov dword [ebp - 0xc8], 1
jmp 0x100134c3
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x184], eax
jmp 0x100134fa
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
call fcn.10017002
add esp, 0xc
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x100134fa
push 0x9dc
call dword [sym.imp.USER32.dll_GetKeyState]
imul eax, dword [ebp - 0x60], 0xa88a
mov dword [ebp - 0x60], 8
mov ecx, dword [ebp + 0xc]
call fcn.1001227b
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x30], 0xc07e17f7
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xd8], 0xfffffffa
mov dword [ebp - 0xf4], 8
push 2
lea ecx, [ebp - 0x1ec]
call fcn.100177e6
mov dword [ebp - 4], 5
mov dword [ebp - 0x23c], 0xfffa
mov dword [ebp - 0x34], 0
jmp 0x10013566
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1001357c
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x1b8], 0
jmp 0x1001355f
push 0x86f
push 1
lea eax, [ebp - 0x1ec]
push eax
push 0x14a0
lea eax, [ebp - 0x34]
push eax
call fcn.100129b6
add esp, 0x14
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, 0x5927
test eax, eax
je 0x100135c8
cmp dword [ebp - 0x30], 0
je 0x100135c8
mov dword [ebp - 0xd0], 1
jmp 0x100135cf
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x30], eax
jge 0x100135f2
mov dword [ebp - 0x6c], 1
jmp 0x100135f6
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x1b8], ecx
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x38]
jne 0x1001361d
mov dword [ebp - 0xe0], 1
jmp 0x10013624
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xe0], eax
jne 0x1001363b
mov dword [ebp - 0xec], 1
jmp 0x10013642
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x4255ebda
jle 0x10013666
mov dword [ebp - 0x150], 1
jmp 0x1001366d
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1f8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b8]
add eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
ja 0x10013694
mov dword [ebp - 0x5c], 1
jmp 0x10013698
and dword [ebp - 0x5c], 0
push 0
lea ecx, [ebp - 0x1ec]
call fcn.10017853
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x5c]
jge 0x100136be
mov dword [ebp - 0xfc], 1
jmp 0x100136c5
and dword [ebp - 0xfc], 0
imul eax, dword [ebp - 0xfc], 3
add eax, 0x73598422
mov dword [ebp - 0x30], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x1b8]
mov dword [ebp + ecx - 0x1b8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.1001784e
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x154]
push dword [ebp - 0x68]
lea eax, [ebp - 0x2bc]
push eax
call fcn.100122b1
add esp, 0x10
mov dword [ebp - 4], 6
cmp dword [ebp - 0x68], 3
jae 0x10013933
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x248], 0xffffffff
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x268], 0x6524f204
mov dword [ebp - 0x1d4], 1
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x50], 0
jmp 0x10013798
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffe7
jg 0x1001390b
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x208], 0x12af04
mov dword [ebp - 0x258], 0x368a9017
mov dword [ebp - 0x1f0], 0xfffffffe
push 3
lea ecx, [ebp - 0x1c4]
call fcn.100177e6
mov byte [ebp - 4], 7
mov dword [ebp - 0x270], 0x7e318b47
mov dword [ebp - 0x164], 0x69e8a28d
lea eax, [ebp - 0x1c4]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10015d08
add esp, 0xc
cmp dword [ebp - 0x15c], 0
jne 0x1001387d
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jl 0x10013833
mov dword [ebp - 0x104], 1
jmp 0x1001383a
and dword [ebp - 0x104], 0
mov esi, dword [ebp - 0x164]
imul esi, dword [ebp - 0x104]
neg esi
push 1
lea ecx, [ebp - 0x1c4]
call fcn.10017853
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x1d4]
mov eax, dword [eax]
lea eax, [eax + ecx + 3]
imul eax, dword [ebp - 0x12c]
add esi, eax
jne 0x1001387d
and dword [ebp - 0x10c], 0
jmp 0x10013887
mov dword [ebp - 0x10c], 1
push 1
lea ecx, [ebp - 0x1c4]
call fcn.10017853
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [eax]
add ecx, 0x2b29
cmp ecx, 0x2614f5c6
jl 0x100138b6
mov dword [ebp - 0x114], 1
jmp 0x100138bd
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1d4]
cmp dword [ebp - 0x114], eax
jl 0x100138de
mov dword [ebp - 0x11c], 1
jmp 0x100138e5
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c4]
call fcn.1001784e
jmp 0x10013791
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x16c]
push eax
mov ecx, 0x10675008
call fcn.100178ca
mov ecx, eax
call fcn.10017752
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x278], 0xffffffff
mov dword [ebp - 0x220], 0xfffffffb
mov dword [ebp - 0x264], 0x69576881
mov dword [ebp - 0x288], 9
mov dword [ebp - 0x284], 9
mov dword [ebp - 0x280], 9
mov dword [ebp - 0x27c], 9
mov dword [ebp - 0x228], 0x9b46
mov dword [ebp - 0x54], 0xfffffff0
jmp 0x1001399a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 8
jl 0x10013aa7
mov dword [ebp - 0x48], 0xa12b57e8
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x230], 0xb64b5c6f
mov dword [ebp - 0x26c], 0xfffffffd
mov dword [ebp - 0x238], 0xa75a592c
mov dword [ebp - 0x25c], 0xbae0fc36
mov dword [ebp - 0x240], 0x678e045d
mov dword [ebp - 0x260], 0xffffffff
mov dword [ebp - 0x48], 0xffffffed
jmp 0x10013a01
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xfffffff4
jl 0x10013aa2
mov dword [ebp - 0x1f4], 0x2c9cc141
mov dword [ebp - 0x1fc], 0xfa5f9c71
mov dword [ebp - 0x204], 0x3f0d3ecf
push 2
lea ecx, [ebp - 0x254]
call fcn.100177e6
mov byte [ebp - 4], 8
mov dword [ebp - 0x134], 0xb7e2
mov dword [ebp - 0x4c], 0
jmp 0x10013a54
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10013a70
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x254]
call fcn.10017853
mov dword [eax], 0xfffffff8
jmp 0x10013a4d
mov eax, dword [ebp - 0x134]
dec eax
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x29], 0
push 0
lea eax, [ebp - 0x29]
push eax
call fcn.10013b4c
pop ecx
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x254]
call fcn.1001784e
jmp 0x100139fa
jmp 0x10013993
lea eax, [ebp - 0x2bc]
push eax
mov ecx, dword [ebp + 8]
call fcn.100176ef
mov eax, dword [ebp - 0x44]
or eax, 1
mov dword [ebp - 0x44], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.10017748
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret