Function at 0x1002d19d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002d1c2
push 0x17f7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x1002ded3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x28], 0xe81a7ecc
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jne 0x1002d208
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
je 0x1002d208
cmp dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x1002d220
cmp dword [ebp - 0x14], 0
je 0x1002d220
mov dword [ebp - 0xe0], 1
jmp 0x1002d227
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xe0], eax
jle 0x1002d283
mov dword [ebp - 0x40], 0
jmp 0x1002d242
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1002d258
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1cc], 0x6ddcd166
jmp 0x1002d23b
mov dword [ebp - 0x28], 0
jmp 0x1002d268
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002d27e
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x1cc], 0xbdbdf7cd
jmp 0x1002d261
jmp 0x1002d491
mov dword [ebp - 0x60], 0xd8ff8cd3
mov dword [ebp - 0x128], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1002d2a4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1002d2ba
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1e4], 0x94486cae
jmp 0x1002d29d
mov dword [ebp - 0x20], 0
jmp 0x1002d2ca
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002d2e0
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x18c], 0xfffffffb
jmp 0x1002d2c3
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1002d300
push 0x1880
push 0x7273
push 0
call fcn.10031238
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x1002d310
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x1002d491
mov dword [ebp - 0x34], 0
mov eax, 0xffff
test eax, eax
je 0x1002d34a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x60], eax
jl 0x1002d34a
mov dword [ebp - 0x9c], 1
jmp 0x1002d351
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x34], 1
jge 0x1002d363
mov dword [ebp - 0x94], 1
jmp 0x1002d36a
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x94], eax
jne 0x1002d381
mov dword [ebp - 0x148], 1
jmp 0x1002d388
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x34], 0
jne 0x1002d3a3
mov dword [ebp - 0x104], 1
jmp 0x1002d3aa
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x104], eax
jge 0x1002d3c1
mov dword [ebp - 0x10c], 1
jmp 0x1002d3c8
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x10c]
jg 0x1002d3e2
mov dword [ebp - 0xa4], 1
jmp 0x1002d3e9
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xa4], eax
jne 0x1002d400
mov dword [ebp - 0x114], 1
jmp 0x1002d407
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 1
jl 0x1002d41c
mov dword [ebp - 0xac], 1
jmp 0x1002d423
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0xf4c6
je 0x1002d438
mov dword [ebp - 0x68], 1
jmp 0x1002d43c
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x1e4], ecx
cmp dword [ebp - 0x68], 0
je 0x1002d464
cmp dword [ebp - 0x34], 0
je 0x1002d464
mov dword [ebp - 0x11c], 1
jmp 0x1002d46b
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x11c]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x18c], eax
cmp dword [ebp - 0x34], 0
je 0x1002d48c
jmp 0x1002d309
jmp 0x1002d309
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], 0xb7c7ce53
mov dword [ebp - 0x5c], 0
jmp 0x1002d4c6
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1002d4dc
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x1d8], 7
jmp 0x1002d4bf
mov dword [ebp - 0x48], 0
jmp 0x1002d4ec
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x1002d5e6
mov dword [ebp - 0x1c], 0x74dd032
mov dword [ebp - 0xb4], 0xfffffffb
mov dword [ebp - 0x1c], 0
jmp 0x1002d517
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1002d553
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002d542
push 0
push 0x65a0
push 0x4c0e
push 0x2c19
call fcn.1002b211
add esp, 0x10
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x1d8], 0
je 0x1002d551
jmp 0x1002d553
jmp 0x1002d510
mov dword [ebp - 0xb4], 0xf0a9
mov eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
neg ecx
add ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x1002d57f
mov dword [ebp - 0x124], 1
jmp 0x1002d586
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
add eax, 0x6edacf57
imul eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
jl 0x1002d5ac
mov eax, 0x946b43d2
test eax, eax
jne 0x1002d5ac
and dword [ebp - 0xbc], 0
jmp 0x1002d5b6
mov dword [ebp - 0xbc], 1
cmp dword [ebp - 0xbc], 9
jne 0x1002d5cb
mov dword [ebp - 0x12c], 1
jmp 0x1002d5d2
and dword [ebp - 0x12c], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0x12c]
shl eax, 3
mov dword [ebp - 0x1c], eax
jmp 0x1002d4e5
mov byte [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10027d94
pop ecx
pop ecx
and dword [ebp - 0x78], 0
jmp 0x1002d60d
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x24]
add eax, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x78], eax
jge 0x1002ded3
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x10], 0
jne 0x1002d64c
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x150]
lea eax, [ebp - 0x74]
push eax
push 0x16fc
push dword [ebp - 0xf0]
call fcn.1002b9ff
add esp, 0x18
jmp 0x1002d5fd
mov dword [ebp - 0x88], 0xf112
mov dword [ebp - 0x84], 0xf112
mov dword [ebp - 0x80], 0xf112
mov dword [ebp - 0x7c], 0xf112
mov dword [ebp - 8], 0x29a3df60
mov dword [ebp - 0x178], 0x302d9caa
mov dword [ebp - 0x50], 0
jmp 0x1002d68f
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1002d6a5
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x158], 0x18c6a866
jmp 0x1002d688
mov dword [ebp - 8], 0
jmp 0x1002d6b5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x1002d9c7
mov dword [ebp - 0xc], 1
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xd8], 0xaeaba4a2
mov dword [ebp - 0x160], 0x87c7a501
mov dword [ebp - 0x44], 0
jmp 0x1002d6f4
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1002d70a
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x180], 0
jmp 0x1002d6ed
mov dword [ebp - 0xc], 3
jmp 0x1002d71a
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1002d993
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x88], 0
je 0x1002d736
jmp 0x1002d993
mov eax, 0xe665
test eax, eax
je 0x1002d750
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x88], 0
jne 0x1002d8a1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x88]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 8], 0x56e623b2
jle 0x1002d778
mov dword [ebp - 0x174], 1
jmp 0x1002d77f
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x88]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x88]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
jg 0x1002d7b0
mov dword [ebp - 0x70], 1
jmp 0x1002d7b4
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x180], ecx
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x70], eax
jle 0x1002d7d8
mov dword [ebp - 0xc4], 1
jmp 0x1002d7df
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x88]
cmp dword [ebp - 0xc4], eax
je 0x1002d7fd
mov dword [ebp - 0x168], 1
jmp 0x1002d804
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 8], 0
je 0x1002d823
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x180], 0
jne 0x1002d839
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x88], 0
jne 0x1002d839
and dword [ebp - 0x134], 0
jmp 0x1002d843
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xcc], eax
jg 0x1002d866
mov dword [ebp - 0x13c], 1
jmp 0x1002d86d
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x13c], eax
jg 0x1002d884
mov dword [ebp - 0x144], 1
jmp 0x1002d88b
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jne 0x1002d8b2
mov dword [ebp - 0x64], 1
jmp 0x1002d8b6
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0x158], ecx
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x88]
cmp dword [ebp - 0x64], eax
jle 0x1002d8ea
cmp dword [ebp - 0x178], 0
je 0x1002d8ea
mov dword [ebp - 0x110], 1
jmp 0x1002d8f1
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
add eax, 0xcc73
sub eax, dword [ebp - 0xc]
cmp eax, 0x101e
jl 0x1002d912
mov dword [ebp - 0x8c], 1
jmp 0x1002d919
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x88]
cmp dword [ebp - 0x8c], eax
jg 0x1002d937
mov dword [ebp - 0x138], 1
jmp 0x1002d93e
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xfff7
jae 0x1002d956
mov dword [ebp - 0xe8], 1
jmp 0x1002d95d
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x88]
cmp dword [ebp - 0xe8], eax
je 0x1002d97b
mov dword [ebp - 0x118], 1
jmp 0x1002d982
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x160], eax
jmp 0x1002d713
mov dword [ebp - 0xc], 3
jmp 0x1002d9a3
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1002d9c2
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x29]
push eax
push 0x42f5
push 0
call fcn.1002ecff
add esp, 0xc
jmp 0x1002d99c
jmp 0x1002d6ae
push 4
push 0x1000
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xf0]
add ecx, dword [eax + 0xc]
push ecx
push 0x34e9
push 0x37b1
call fcn.1002732e
pop ecx
pop ecx
call eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x170]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x74]
call fcn.10027384
add esp, 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xf8], 0xd8b3d385
mov dword [ebp - 0x10], 0x19
jmp 0x1002da36
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1002dec5
mov dword [ebp - 0x18], 0xe713a473
mov dword [ebp - 0x140], 0xaa7054f8
mov dword [ebp - 0x15c], 0xfffffffc
mov dword [ebp - 0x4c], 0
jmp 0x1002da6b
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x1002da7e
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x54], 1
jmp 0x1002da64
mov dword [ebp - 0x18], 0
jmp 0x1002da8e
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffffd
jg 0x1002dea6
mov dword [ebp - 0x38], 0xaa9dade6
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x16c], 0x571be33b
mov dword [ebp - 4], 0
jmp 0x1002dac0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1002dad6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x194], 1
jmp 0x1002dab9
mov dword [ebp - 4], 0
jmp 0x1002dae6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1002dafc
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1f4], 7
jmp 0x1002dadf
mov dword [ebp - 4], 0
jmp 0x1002db0c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1002db22
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1c0], 0x8e103ca5
jmp 0x1002db05
mov dword [ebp - 4], 0
jmp 0x1002db32
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1002db48
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x164], 0x1355901a
jmp 0x1002db2b
cmp dword [ebp - 0x38], 0
jne 0x1002db5d
cmp dword [ebp - 0x38], 0
jne 0x1002db5d
and dword [ebp - 0x14c], 0
jmp 0x1002db67
mov dword [ebp - 0x14c], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x10]
dec eax
jne 0x1002db82
mov dword [ebp - 0x130], 1
jmp 0x1002db89
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x1002dbb0
mov eax, 0x4fe9
test eax, eax
jne 0x1002dbb0
and dword [ebp - 0x120], 0
jmp 0x1002dbba
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x120], eax
jge 0x1002dbd1
mov dword [ebp - 0x100], 1
jmp 0x1002dbd8
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x140], eax
je 0x1002dbf8
mov dword [ebp - 0x6c], 1
jmp 0x1002dbfc
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x194], ecx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x6c]
jne 0x1002dc24
push 0xfffffffffffffff9
pop eax
test eax, eax
jne 0x1002dc24
and dword [ebp - 0x108], 0
jmp 0x1002dc2e
mov dword [ebp - 0x108], 1
imul eax, dword [ebp - 0x108], 0x9b4c
cmp eax, dword [ebp - 0x18]
je 0x1002dc49
mov dword [ebp - 0xd0], 1
jmp 0x1002dc50
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xd0], eax
jg 0x1002dc67
mov dword [ebp - 0xd4], 1
jmp 0x1002dc6e
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xd4], eax
jle 0x1002dc85
mov dword [ebp - 0xdc], 1
jmp 0x1002dc8c
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xdc], eax
jne 0x1002dca3
mov dword [ebp - 0xe4], 1
jmp 0x1002dcaa
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x3c], eax
jg 0x1002dcd3
cmp dword [ebp - 0x3c], 0
jne 0x1002dcd3
cmp dword [ebp - 0x18], 0
jne 0x1002dcd3
and dword [ebp - 0xec], 0
jmp 0x1002dcdd
mov dword [ebp - 0xec], 1
cmp dword [ebp - 0xec], 0xfffffff7
jae 0x1002dcf2
mov dword [ebp - 0xf4], 1
jmp 0x1002dcf9
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0xf4]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x1002dd18
mov dword [ebp - 0xfc], 1
jmp 0x1002dd1f
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xfc]
jle 0x1002dd36
mov dword [ebp - 0x90], 1
jmp 0x1002dd3d
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 9
jbe 0x1002dd52
mov dword [ebp - 0x98], 1
jmp 0x1002dd59
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x98], eax
jle 0x1002dd70
mov dword [ebp - 0xa0], 1
jmp 0x1002dd77
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0xa0], eax
je 0x1002dd95
mov dword [ebp - 0x154], 1
jmp 0x1002dd9c
and dword [ebp - 0x154], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f4]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x15c]
cmp dword [ebp + eax - 0x1c0], ecx
jle 0x1002ddd9
mov dword [ebp - 0xa8], 1
jmp 0x1002dde0
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0xa8], eax
je 0x1002ddfe
mov dword [ebp - 0xb0], 1
jmp 0x1002de05
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0xb0], eax
je 0x1002de2d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x54], 0
jne 0x1002de2d
and dword [ebp - 0xb8], 0
jmp 0x1002de37
mov dword [ebp - 0xb8], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c0]
cmp dword [ebp - 0xb8], eax
jg 0x1002de58
mov dword [ebp - 0xc0], 1
jmp 0x1002de5f
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc0]
mov dword [ebp + eax - 0x164], ecx
mov eax, dword [ebp - 0x18]
add eax, 0x9b52
jne 0x1002de8b
cmp dword [ebp - 0x3c], 0
jne 0x1002de8b
and dword [ebp - 0xc8], 0
jmp 0x1002de95
mov dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x16c], eax
jmp 0x1002da87
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002dec0
push 0
push 0x27b9
call fcn.1002c225
pop ecx
pop ecx
jmp 0x1002da2f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x74]
mov dword [eax + 8], ecx
jmp 0x1002d5fd
mov esp, ebp
pop ebp
ret