Function at 0x1002d80d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c15b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002d8ab
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
push 4
push 0x2000
mov eax, dword [ebp - 0x84]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x84]
push dword [eax + 0x34]
push 0x15c9
push 0x239f
call fcn.10023cfb
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
jne 0x1002d8a6
push 4
push 0x2000
mov eax, dword [ebp - 0x84]
push dword [eax + 0x50]
push 0
push 0x15c9
push 0x239f
call fcn.10023cfb
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
jmp 0x1002e658
mov eax, dword [ebp + 8]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
push 1
lea ecx, [ebp - 0x128]
call fcn.10016f88
and dword [ebp - 4], 0
mov dword [ebp - 0x160], 0xfd52a42b
push 0
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.1002a6ac
add esp, 0xc
push 0
lea ecx, [ebp - 0x128]
call fcn.10016ff9
mov dword [eax], 0xffffffe3
jmp 0x1002d92f
push 0
lea ecx, [ebp - 0x128]
call fcn.10016ff9
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x128]
call fcn.10016ff9
cmp dword [eax], 0xe
jl 0x1002dab2
mov dword [ebp - 0x48], 0
jmp 0x1002d955
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1002d968
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x20], 0xf506e60b
jmp 0x1002d94e
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x20], 0
jmp 0x1002d98d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x20], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0xffffffff
jg 0x1002daad
mov dword [ebp - 0x38], 0x3a3f
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x38]
cmp dword [ebp + eax - 0x20], ecx
jge 0x1002d9c0
mov dword [ebp - 0x134], 1
jmp 0x1002d9c7
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0x5b1510af
jle 0x1002d9e5
cmp dword [ebp - 0x38], 0
je 0x1002d9e5
mov dword [ebp - 0x94], 1
jmp 0x1002d9ec
and dword [ebp - 0x94], 0
mov esi, dword [ebp - 0x38]
mov eax, 0x89b1ab44
sub eax, dword [ebp - 0x94]
sub esi, eax
push 0
lea ecx, [ebp - 0x128]
call fcn.10016ff9
cmp esi, dword [eax]
jle 0x1002da19
mov dword [ebp - 0x10c], 1
jmp 0x1002da20
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xffffffff
jg 0x1002da35
mov dword [ebp - 0x150], 1
jmp 0x1002da3c
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c8], eax
push 0
lea ecx, [ebp - 0x128]
call fcn.10016ff9
mov eax, dword [eax]
add eax, 8
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x20]
jl 0x1002da6f
mov dword [ebp - 0x9c], 1
jmp 0x1002da76
and dword [ebp - 0x9c], 0
push 0
lea ecx, [ebp - 0x128]
call fcn.10016ff9
mov ecx, dword [ebp - 0x9c]
imul ecx, dword [eax]
imul ecx, dword [ebp - 0x38]
mov dword [ebp - 0x160], ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0
je 0x1002daa8
jmp 0x1002d978
jmp 0x1002d978
jmp 0x1002d90b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.10016ff4
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x1d0], 0x6b0f7383
mov dword [ebp - 0x1e8], 0x964a53aa
mov dword [ebp - 0x1d8], 0xfffffff6
push 1
lea ecx, [ebp - 0x1f8]
call fcn.10016f88
mov dword [ebp - 4], 1
mov dword [ebp - 0x1bc], 0x2b3b7bed
mov dword [ebp - 0x1c4], 0
push 3
lea ecx, [ebp - 0x1e4]
call fcn.10016f88
mov byte [ebp - 4], 2
mov dword [ebp - 0x168], 0x21f7d967
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x1f8]
push eax
push 0x1b8d
call fcn.10027166
add esp, 0x10
mov dword [ebp - 0x34], 0
jmp 0x1002db58
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1002db74
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1e4]
call fcn.10016ff9
mov dword [eax], 1
jmp 0x1002db51
push 0
lea eax, [ebp - 0x168]
push eax
call fcn.100292e6
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.10016ff4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10016ff4
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 - 0x14], eax
mov dword [ebp - 0x1cc], 0xa049fe38
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002dbeb
push 0x2e8b
push 0x3bbb
push 0x78cb
push 0
push 0x30a0
call fcn.1002ad46
add esp, 0x14
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002dc05
push 0x2956
push 0
call fcn.100291f4
pop ecx
pop ecx
and dword [ebp - 0x7c], 0
jmp 0x1002dc1b
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x7c], eax
jge 0x1002e658
push 2
lea ecx, [ebp - 0x6c]
call fcn.10016f88
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x100], 0xfa7ad11e
mov dword [ebp - 0xa0], 0x845925f8
mov dword [ebp - 0x1d4], 0x9e46
push 0x4ea9
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x7976
push 0
call fcn.10027963
add esp, 0x14
mov dword [ebp - 0x3c], 0
jmp 0x1002dc8f
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1002dca2
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x60], 0xfffffff6
jmp 0x1002dc88
mov byte [ebp - 0x18], 0
push 0
push 0x2ff9
push 0x9b7
push 0x3e83
push 0x1a1d
lea eax, [ebp - 0x18]
push eax
call fcn.10027b7a
add esp, 0x18
mov dword [ebp - 0x10], 1
jmp 0x1002dcd8
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002e1d4
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x190], 1
lea ecx, [ebp - 0x85]
call fcn.1000b1a3
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x210]
call fcn.10017008
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x14c]
call fcn.10016fca
mov byte [ebp - 4], 4
mov dword [ebp - 0xb8], 0xa9e1a0
mov dword [ebp - 0x28], 0xfffffff8
mov dword [ebp - 0xc8], 0
push 3
lea ecx, [ebp - 0x1a8]
call fcn.10016f88
mov byte [ebp - 4], 5
mov dword [ebp - 0x8c], 4
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0
call fcn.100278fa
add esp, 0xc
push 0
lea ecx, [ebp - 0x14c]
call fcn.10016ff9
and dword [eax], 0
jmp 0x1002ddc7
push 0
lea ecx, [ebp - 0x14c]
call fcn.10016ff9
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x11c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x14c]
call fcn.10016ff9
cmp dword [eax], 1
jg 0x1002e1b1
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x130], 0xb41ce094
mov dword [ebp - 0x44], 0
jmp 0x1002de01
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1002de17
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x188], 0x5d9c72
jmp 0x1002ddfa
mov esi, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x14c]
call fcn.10016ff9
cmp esi, dword [eax]
jl 0x1002de37
mov dword [ebp - 0x12c], 1
jmp 0x1002de3e
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xfff7
jbe 0x1002de5f
mov dword [ebp - 0x74], 1
jmp 0x1002de63
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0x188], ecx
cmp dword [ebp - 0x74], 0
jne 0x1002de88
cmp dword [ebp - 0x10], 0
jne 0x1002de88
and dword [ebp - 0xf0], 0
jmp 0x1002de92
mov dword [ebp - 0xf0], 1
cmp dword [ebp - 0xf0], 0x5329
jne 0x1002dea2
cmp dword [ebp - 0x10], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
mov eax, dword [eax]
add eax, 0xfffe
cmp eax, dword [ebp - 0x10]
jl 0x1002dec5
mov dword [ebp - 0xb0], 1
jmp 0x1002decc
and dword [ebp - 0xb0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jg 0x1002deed
mov dword [ebp - 0x114], 1
jmp 0x1002def4
and dword [ebp - 0x114], 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
mov ecx, dword [ebp - 0x114]
sub ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
mov esi, dword [ebp - 0xb8]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
cmp dword [eax], esi
je 0x1002df2d
mov dword [ebp - 0xf8], 1
jmp 0x1002df34
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xf8], eax
jl 0x1002df4b
mov dword [ebp - 0xc0], 1
jmp 0x1002df52
and dword [ebp - 0xc0], 0
push 2
lea ecx, [ebp - 0x14c]
call fcn.10016ff9
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
jne 0x1002df75
mov dword [ebp - 0x118], 1
jmp 0x1002df7c
and dword [ebp - 0x118], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
mov ecx, dword [ebp - 0x118]
add ecx, dword [eax]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0x3de37d66
jge 0x1002dfb6
mov dword [ebp - 0x5c], 1
jmp 0x1002dfba
and dword [ebp - 0x5c], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.10016ff9
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
cmp dword [ebp - 0x5c], 0
je 0x1002dfe7
mov eax, 0xa955
test eax, eax
je 0x1002dfe7
mov dword [ebp - 0xd0], 1
jmp 0x1002dfee
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
add eax, dword [ebp - 0xd0]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x60]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffff
ja 0x1002e027
mov dword [ebp - 0xd8], 1
jmp 0x1002e02e
and dword [ebp - 0xd8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
mov esi, dword [eax]
imul esi, dword [ebp - 0xd8]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
cmp esi, dword [eax]
jle 0x1002e05d
mov dword [ebp - 0x108], 1
jmp 0x1002e064
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x8c], eax
jl 0x1002e087
mov dword [ebp - 0x110], 1
jmp 0x1002e08e
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x110], eax
jge 0x1002e0ac
mov dword [ebp - 0xe8], 1
jmp 0x1002e0b3
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xa0], eax
mov esi, dword [ebp - 0xa0]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
cmp dword [eax], esi
jge 0x1002e0e0
mov dword [ebp - 0xa4], 1
jmp 0x1002e0e7
and dword [ebp - 0xa4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.10016ff9
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax]
jg 0x1002e108
mov dword [ebp - 0xac], 1
jmp 0x1002e10f
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
add eax, 0xfff9
je 0x1002e19a
mov dword [ebp - 0x4c], 0
jmp 0x1002e12c
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1002e142
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x208], 0xffff
jmp 0x1002e125
push 0x1683
push 0x1d49
push 0x2d07
push 0
push 0x4294
push 0x188d
call fcn.1002f109
add esp, 0x18
mov dword [ebp - 0x28], 1
jmp 0x1002e175
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1002e198
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x208]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x208], eax
jmp 0x1002e16e
jmp 0x1002e1ac
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x188], 0
je 0x1002e1ac
jmp 0x1002e1b1
jmp 0x1002dda3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.10016ff4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call fcn.10016ff4
jmp 0x1002dcd1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10016ff4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x1002e299
mov dword [ebp - 0xb4], 0x7c7c
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xb4], 0xffffffff
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 0
jmp 0x1002e22e
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x19
je 0x1002e26a
mov dword [ebp - 0x2c], 0
jmp 0x1002e244
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffea
jle 0x1002e268
mov byte [ebp - 0x17], 0
push 0x42b8
push 1
push 0x4dee
lea eax, [ebp - 0x17]
push eax
call fcn.10027166
add esp, 0x10
jmp 0x1002e23d
jmp 0x1002e227
lea eax, [ebp - 0x14]
push eax
push 0
push 0x12c5
push 0x40b2
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10029231
add esp, 0x1c
jmp 0x1002dc0b
mov dword [ebp - 0x180], 1
push 3
lea ecx, [ebp - 0x1b4]
call fcn.10016f88
mov dword [ebp - 4], 6
lea eax, [ebp - 0x1c0]
push eax
push 0
lea eax, [ebp - 0x1b4]
push eax
push 0x4713
push 0x73d6
call fcn.10028195
add esp, 0x14
mov esi, dword [ebp - 0x180]
push 0
lea ecx, [ebp - 0x1b4]
call fcn.10016ff9
mov dword [eax], esi
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002e302
push 0
call fcn.10027c72
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.10016ff4
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xbc]
add ecx, dword [eax + 0xc]
push ecx
push 0x15c9
push 0x239f
call fcn.10023cfb
pop ecx
pop ecx
call eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x158]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x80]
call fcn.10023ddd
add esp, 0xc
mov dword [ebp - 0x40], 0x52cb1363
mov dword [ebp - 0x78], 0
push 2
lea ecx, [ebp - 0x17c]
call fcn.10016f88
mov dword [ebp - 4], 7
mov dword [ebp - 0x70], 0x18c84b7b
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x54], 0
jmp 0x1002e3a2
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1002e3be
push dword [ebp - 0x54]
lea ecx, [ebp - 0x17c]
call fcn.10016ff9
mov dword [eax], 7
jmp 0x1002e39b
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002e3d2
push 0
call dword [sym.imp.USER32.dll_CharNextW]
cmp dword [ebp - 0x40], 0xcf54c3c6
ja 0x1002e5f4
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 0x90], 0xfffffffd
push 1
lea ecx, [ebp - 0x140]
call fcn.10016f88
mov byte [ebp - 4], 8
lea eax, [ebp - 0x140]
push eax
push 1
lea eax, [ebp - 0x1fc]
push eax
call fcn.10027893
add esp, 0xc
cmp dword [ebp - 0xc4], 0
je 0x1002e44e
cmp dword [ebp - 0xc4], 0
je 0x1002e44e
mov dword [ebp - 0x15c], 1
jmp 0x1002e455
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xdc], eax
je 0x1002e46c
mov dword [ebp - 0xfc], 1
jmp 0x1002e473
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xcc], eax
push 0
lea ecx, [ebp - 0x17c]
call fcn.10016ff9
mov ecx, dword [ebp - 0xcc]
mov dword [eax], ecx
cmp dword [ebp - 0xcc], 0
jne 0x1002e50e
push 0
lea ecx, [ebp - 0x140]
call fcn.10016ff9
imul eax, dword [eax], 0
test eax, eax
jne 0x1002e4c7
cmp dword [ebp - 0xe4], 0
jne 0x1002e4c7
and dword [ebp - 0xd4], 0
jmp 0x1002e4d1
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0xd4]
test eax, eax
jne 0x1002e4ef
push 0
lea ecx, [ebp - 0x17c]
call fcn.10016ff9
push 0
lea ecx, [ebp - 0x140]
call fcn.10016ff9
cmp dword [ebp - 0xdc], 0
jne 0x1002e50e
and dword [ebp - 0xec], 0
jmp 0x1002e518
mov dword [ebp - 0xec], 1
mov esi, dword [ebp - 0xe4]
add esi, dword [ebp - 0xec]
push 0
lea ecx, [ebp - 0x140]
call fcn.10016ff9
imul esi, dword [eax]
cmp esi, 0xffff
je 0x1002e548
mov dword [ebp - 0xf4], 1
jmp 0x1002e54f
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0x78]
cmp dword [ebp - 0xfc], eax
jle 0x1002e56c
mov dword [ebp - 0x104], 1
jmp 0x1002e573
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x16c]
cmp dword [ebp - 0x78], eax
jg 0x1002e59c
cmp dword [ebp - 0x90], 0
je 0x1002e59c
mov dword [ebp - 0x164], 1
jmp 0x1002e5a3
and dword [ebp - 0x164], 0
push 0
lea ecx, [ebp - 0x140]
call fcn.10016ff9
push 0
lea ecx, [ebp - 0x17c]
call fcn.10016ff9
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1002e5e3
push 0x50be
push 0x497
push 1
call fcn.100278fa
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x140]
call fcn.10016ff4
jmp 0x1002e63b
mov dword [ebp - 0x98], 0x79a97a8d
mov dword [ebp - 0x154], 0xffffffff
push 0x3257
push 0x5ca8
lea eax, [ebp - 0x98]
push eax
push 0
call fcn.1002bcac
add esp, 0x10
push 0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10027ac4
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.10016ff4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
jmp 0x1002dc0b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret