Function at 0x1002e9f9
Capabilities:
Enumerate pe sections
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008794a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push esi
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x1002ec2b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b0]
imul eax, dword [eax], 0xfffffff6
mov ecx, dword [ebp - 0xe8]
cmp eax, dword [ecx]
jne 0x1002eae8
mov dword [ebp - 0xc4], 1
jmp 0x1002eaef
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
sub eax, 8
mov ecx, dword [ebp - 0x64]
cmp eax, dword [ecx]
jle 0x1002eb0b
mov dword [ebp - 0xf0], 1
jmp 0x1002eb12
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xf0]
jg 0x1002eb2b
mov dword [ebp - 0x88], 1
jmp 0x1002eb32
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x180]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x88]
je 0x1002eb57
mov eax, 0x5799
test eax, eax
je 0x1002eb57
mov dword [ebp - 0x90], 1
jmp 0x1002eb5e
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
cmp dword [ebp - 0x90], eax
jg 0x1002eb7a
mov dword [ebp - 0xec], 1
jmp 0x1002eb81
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xec]
jne 0x1002eb9d
mov dword [ebp - 0x130], 1
jmp 0x1002eba4
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x130]
jg 0x1002ebcd
mov dword [ebp - 0xa0], 1
jmp 0x1002ebd4
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xc3e41a78
jb 0x1002ebec
mov dword [ebp - 0x188], 1
jmp 0x1002ebf3
and dword [ebp - 0x188], 0
push 1
mov ecx, dword [ebp - 0x1b8]
call fcn.10018146
cmp dword [eax], 0xffffffff
jg 0x1002ec11
mov dword [ebp - 0xf8], 1
jmp 0x1002ec18
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0xf8]
mov dword [eax], ecx
jmp 0x1002f993
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x198], 5
mov dword [ebp - 0x20], 0
jmp 0x1002ec6b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 9
jl 0x1002ec91
mov dword [ebp - 0xa8], 0x905d
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xa8], 0
je 0x1002ec8f
jmp 0x1002ec64
jmp 0x1002ec64
mov dword [ebp - 0x10], 0xffffffe4
jmp 0x1002eca1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x19
jge 0x1002ef71
push 4
lea ecx, [ebp - 0x150]
call fcn.100180d9
and dword [ebp - 4], 0
mov dword [ebp - 0x1d0], 0xe2138b36
push 0
push 0x659c
lea eax, [ebp - 0x150]
push eax
push 0x27d0
lea eax, [ebp - 0x44]
push eax
call fcn.1002a469
add esp, 0x14
mov dword [ebp - 0x44], 0
jmp 0x1002ecf5
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1002ed0b
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1c0], 4
jmp 0x1002ecee
push 3
lea ecx, [ebp - 0x150]
call fcn.10018146
cmp dword [eax], 0
jne 0x1002eecb
mov eax, dword [ebp - 0x10]
add eax, 9
cmp eax, dword [ebp - 0x10]
je 0x1002ed38
mov dword [ebp - 0x120], 1
jmp 0x1002ed3f
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x120], eax
jl 0x1002ed56
mov dword [ebp - 0xb0], 1
jmp 0x1002ed5d
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xb0]
jl 0x1002ed74
mov dword [ebp - 0x100], 1
jmp 0x1002ed7b
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0xd711
jle 0x1002ed93
mov dword [ebp - 0xb8], 1
jmp 0x1002ed9a
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
imul esi, dword [ebp - 0xb8]
push 3
lea ecx, [ebp - 0x150]
call fcn.10018146
cmp esi, dword [eax]
jge 0x1002edcd
cmp dword [ebp - 0x20], 0
je 0x1002edcd
mov dword [ebp - 0x140], 1
jmp 0x1002edd4
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x140], eax
je 0x1002edeb
mov dword [ebp - 0xc0], 1
jmp 0x1002edf2
and dword [ebp - 0xc0], 0
push 3
lea ecx, [ebp - 0x150]
call fcn.10018146
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
jge 0x1002ee15
mov dword [ebp - 0x108], 1
jmp 0x1002ee1c
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x108], eax
jg 0x1002ee33
mov dword [ebp - 0xc8], 1
jmp 0x1002ee3a
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc8], eax
jl 0x1002ee51
mov dword [ebp - 0x128], 1
jmp 0x1002ee58
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0xffffffff
jae 0x1002ee6d
mov dword [ebp - 0xd0], 1
jmp 0x1002ee74
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x1d0]
add eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x10]
je 0x1002ee91
mov dword [ebp - 0x110], 1
jmp 0x1002ee98
and dword [ebp - 0x110], 0
push 3
lea ecx, [ebp - 0x150]
call fcn.10018146
mov eax, dword [eax]
cmp eax, dword [ebp - 0x110]
jg 0x1002eebe
cmp dword [ebp - 0x10], 0
jne 0x1002eebe
and dword [ebp - 0xd8], 0
jmp 0x1002eec8
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x198]
jge 0x1002eee5
mov dword [ebp - 0x138], 1
jmp 0x1002eeec
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0x85e1
jne 0x1002ef04
mov dword [ebp - 0xe0], 1
jmp 0x1002ef0b
and dword [ebp - 0xe0], 0
push 0
lea ecx, [ebp - 0x150]
call fcn.10018146
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [eax]
jl 0x1002ef2e
mov dword [ebp - 0x118], 1
jmp 0x1002ef35
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x118], eax
jge 0x1002ef49
mov dword [ebp - 0x80], 1
jmp 0x1002ef4d
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x1c0], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10018141
jmp 0x1002ec9a
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x224], 0xfffffff6
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1002efa7
push 0x1bb0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1002efbb
push 1
call fcn.1002a1d0
pop ecx
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x1c], eax
push 1
lea ecx, [ebp - 0x240]
call fcn.100180d9
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], 0xf833fcb5
push 0x6f2d
push 0
push 0x6a5
push 0x3ba3
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1002df14
add esp, 0x18
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x35]
push eax
push 0
call fcn.1002b240
pop ecx
pop ecx
mov dword [ebp - 0x54], 0
jmp 0x1002f033
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1002f04f
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002f04d
push 0
call fcn.1002a37b
pop ecx
jmp 0x1002f02c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.10018141
and dword [ebp - 0x5c], 0
jmp 0x1002f074
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x5c], eax
jge 0x1002f993
mov dword [ebp - 0x2c], 0xd5e48d32
mov dword [ebp - 0x2c], 0xfffffff6
jmp 0x1002f09d
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff1
jl 0x1002f3d0
push 1
lea ecx, [ebp - 0x1cc]
call fcn.100180d9
mov dword [ebp - 4], 2
mov dword [ebp - 0xa4], 0x551b32e2
push 3
lea ecx, [ebp - 0x220]
call fcn.100180d9
mov byte [ebp - 4], 3
push 0x50cd
push 0x3481
push 0x2880
push 0
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x2978
call fcn.1002a203
add esp, 0x1c
mov dword [ebp - 0x3c], 0
jmp 0x1002f10f
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1002f122
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x34], 0x7b8f5f49
jmp 0x1002f108
lea eax, [ebp - 0x220]
push eax
push 0x3aff
lea eax, [ebp - 0x3c]
push eax
push 0x1d5d
push 0
call fcn.1002a3e2
add esp, 0x14
push 0
lea ecx, [ebp - 0x1cc]
call fcn.10018146
mov dword [eax], 0xd
jmp 0x1002f17a
push 0
lea ecx, [ebp - 0x1cc]
call fcn.10018146
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1cc]
call fcn.10018146
cmp dword [eax], 8
jge 0x1002f3ad
push 1
lea ecx, [ebp - 0x15c]
call fcn.100180d9
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], 0
jmp 0x1002f1b1
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1002f1cd
push dword [ebp - 0x58]
lea ecx, [ebp - 0x15c]
call fcn.10018146
mov dword [eax], 0xfffffff7
jmp 0x1002f1aa
push 0
lea ecx, [ebp - 0x15c]
call fcn.10018146
and dword [eax], 0
jmp 0x1002f203
push 0
lea ecx, [ebp - 0x15c]
call fcn.10018146
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x15c]
call fcn.10018146
cmp dword [eax], 0xfffffffa
je 0x1002f399
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
jmp 0x1002f230
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x1002f380
mov dword [ebp - 0x1d4], 0xe5f58cdc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x34]
cmp dword [ebp + eax*4 - 0x34], ecx
je 0x1002f263
cmp dword [ebp - 0x2c], 0
jne 0x1002f263
and dword [ebp - 0x94], 0
jmp 0x1002f26d
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
cmp eax, dword [ebp - 0x94]
jg 0x1002f288
mov dword [ebp - 0x9c], 1
jmp 0x1002f28f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0x14]
test eax, eax
jne 0x1002f2b5
mov dword [ebp - 0x1a0], 1
jmp 0x1002f2bc
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
mov dword [ebp - 0x26c], eax
xor eax, eax
cmp eax, 1
jbe 0x1002f2dc
mov dword [ebp - 0xac], 1
jmp 0x1002f2e3
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp + eax*4 - 0x34]
je 0x1002f301
cmp dword [ebp - 0x14], 0
je 0x1002f301
mov dword [ebp - 0x6c], 1
jmp 0x1002f305
and dword [ebp - 0x6c], 0
push 0
lea ecx, [ebp - 0x220]
call fcn.10018146
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x6c], eax
je 0x1002f32b
mov dword [ebp - 0xb4], 1
jmp 0x1002f332
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xb4]
test eax, eax
jne 0x1002f344
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
cmp dword [ebp - 0x14], eax
jg 0x1002f35c
mov dword [ebp - 0xbc], 1
jmp 0x1002f363
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x34], 0
je 0x1002f37b
jmp 0x1002f380
jmp 0x1002f229
push 0
lea ecx, [ebp - 0x15c]
call fcn.10018146
cmp dword [eax], 0
je 0x1002f394
jmp 0x1002f399
jmp 0x1002f1df
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
call fcn.10018141
jmp 0x1002f156
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.10018141
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10018141
jmp 0x1002f096
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x1002f55a
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x78]
push eax
push 1
push 0x6cb3
push 0x596f
lea eax, [ebp - 0x13c]
push eax
call fcn.1002a203
add esp, 0x1c
mov dword [ebp - 0x48], 0xb029
mov dword [ebp - 0x7c], 0xfffffffa
mov dword [ebp - 0xd4], 0xafa9b64f
mov dword [ebp - 0xdc], 0xffffffff
push 3
lea ecx, [ebp - 0x208]
call fcn.100180d9
mov dword [ebp - 4], 5
mov dword [ebp - 0x40], 0
jmp 0x1002f44d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1002f463
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x214], 8
jmp 0x1002f446
lea eax, [ebp - 0x208]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.1002d705
add esp, 0xc
cmp dword [ebp - 0x48], 0
jne 0x1002f527
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jl 0x1002f49a
mov dword [ebp - 0xcc], 1
jmp 0x1002f4a1
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x264], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x214]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x214]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0x48], eax
jg 0x1002f4f9
mov dword [ebp - 0xe4], 1
jmp 0x1002f500
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0xe4]
test eax, eax
je 0x1002f51e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x214], 0
jne 0x1002f527
and dword [ebp - 0xf4], 0
jmp 0x1002f531
mov dword [ebp - 0xf4], 1
push 1
lea ecx, [ebp - 0x208]
call fcn.10018146
mov ecx, dword [ebp - 0xf4]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.10018141
jmp 0x1002f064
mov dword [ebp - 0x24], 0x9cfe0482
mov dword [ebp - 0x12c], 0xdca8fecf
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x17c], 0xffffffff
mov dword [ebp - 0x68], 0xfffffffb
mov dword [ebp - 0x1e8], 0x6f9b6917
mov dword [ebp - 0x1e4], 0x6f9b6917
mov dword [ebp - 0x1e0], 0x6f9b6917
mov dword [ebp - 0x1dc], 0x6f9b6917
mov dword [ebp - 0x1fc], 0xa38d0672
mov dword [ebp - 0x1f8], 0xa38d0672
mov dword [ebp - 0x1f4], 0xa38d0672
mov dword [ebp - 0x1f0], 0xa38d0672
lea ecx, [ebp - 0x71]
call fcn.10008b83
push eax
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x280]
call fcn.10018155
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x250]
call fcn.1001811b
mov dword [ebp - 4], 6
mov dword [ebp - 0x11c], 2
mov dword [ebp - 0x70], 0x580
mov dword [ebp - 0x228], 0xd1cc0c7f
mov dword [ebp - 0x18c], 6
push 0
lea ecx, [ebp - 0x250]
call fcn.10018146
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x174]
jle 0x1002f67d
mov dword [ebp - 0x104], 1
jmp 0x1002f684
and dword [ebp - 0x104], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1e8]
mov dword [ebp - 0x22c], eax
push 4
pop eax
shl eax, 0
xor ecx, ecx
inc ecx
sub ecx, dword [ebp + eax - 0x1e8]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], eax
jle 0x1002f6c7
mov dword [ebp - 0x10c], 1
jmp 0x1002f6ce
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x10c], eax
je 0x1002f6e2
mov eax, 0x9ea5d840
test eax, eax
jne 0x1002f6f2
cmp dword [ebp - 0x12c], 0
jne 0x1002f6f2
cmp dword [ebp - 0x11c], 0
mov eax, 0xe91cb64b
test eax, eax
je 0x1002f70c
xor eax, eax
inc eax
je 0x1002f70c
mov dword [ebp - 0x114], 1
jmp 0x1002f713
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
sub eax, 0x9b95
cmp eax, 0xffffffff
jg 0x1002f727
cmp dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x24], eax
jge 0x1002f741
mov dword [ebp - 0x124], 1
jmp 0x1002f748
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x12c]
cmp dword [ebp - 0x70], eax
jl 0x1002f77a
mov dword [ebp - 0x134], 1
jmp 0x1002f781
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x24], 0xe
jmp 0x1002f79d
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffffc
jge 0x1002f7ca
mov dword [ebp - 0x184], 1
push 0
lea eax, [ebp - 0x184]
push eax
call fcn.1002a3a2
pop ecx
pop ecx
cmp dword [ebp - 0x18c], 0
je 0x1002f7c8
jmp 0x1002f7ca
jmp 0x1002f796
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.10018141
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x13c]
add ecx, dword [eax + 0xc]
push ecx
push 0x628c
push 0x574c
call fcn.100271a8
pop ecx
pop ecx
call eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x194]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x78]
call fcn.100271fa
add esp, 0xc
mov dword [ebp - 0x18], 0xfffffffd
push 1
lea ecx, [ebp - 0x260]
call fcn.100180d9
mov dword [ebp - 4], 7
lea eax, [ebp - 0x254]
push eax
push 0x5aac
push 0x11f1
lea eax, [ebp - 0x260]
push eax
push 0
call fcn.1002a2d1
add esp, 0x14
cmp dword [ebp - 0x18], 0
je 0x1002f8ca
mov dword [ebp - 0x164], 2
mov dword [ebp - 0x4c], 0
jmp 0x1002f884
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1002f89a
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x278], 8
jmp 0x1002f87d
mov dword [ebp - 0x18], 0
jmp 0x1002f8aa
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2a
je 0x1002f8c5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x278]
mov dword [ebp - 0x164], eax
jmp 0x1002f8a3
jmp 0x1002f976
mov dword [ebp - 0x18], 0
jmp 0x1002f8da
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1002f8fc
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002f8fa
push 0x3a07
push 0
call fcn.1002b1dd
pop ecx
pop ecx
jmp 0x1002f8d3
mov dword [ebp - 0x18], 4
jmp 0x1002f90c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1a
jge 0x1002f976
mov dword [ebp - 0x168], 0xc619a80b
cmp dword [ebp - 0x168], 1
jge 0x1002f958
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
dec eax
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002f956
push 0x460e
push 0
call fcn.1002dce7
pop ecx
pop ecx
jmp 0x1002f974
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x1002f974
push 0x1311
push 0x2111
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x1002f905
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10018141
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x78]
mov dword [eax + 8], ecx
jmp 0x1002f064
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret