Function at 0x1002d824
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002d8ac
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
push 4
push 0x2000
mov eax, dword [ebp - 0x88]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x88]
push dword [eax + 0x34]
push 0x3ab6
push 0x40fe
call fcn.10022c6d
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0
jne 0x1002d8a7
push 4
push 0x2000
mov eax, dword [ebp - 0x88]
push dword [eax + 0x50]
push 0
push 0x3ab6
push 0x40fe
call fcn.10022c6d
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
jmp 0x1002e376
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x12c], 0x2c70bb74
mov dword [ebp - 0x38], 0
jmp 0x1002d8ea
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1002d900
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x17c], 0xc75286e8
jmp 0x1002d8e3
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x1002d91a
push 0
push 0x3a6c
call fcn.10029459
pop ecx
pop ecx
cmp dword [ebp - 0x12c], 0
jne 0x1002d92f
mov dword [ebp - 0xd4], 1
jmp 0x1002d936
and dword [ebp - 0xd4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax - 0x17c], ecx
mov dword [ebp - 0x20], 0xbc6e5c7a
mov dword [ebp - 0x4c], 0
jmp 0x1002d960
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x1002d976
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x128], 0x136951ad
jmp 0x1002d959
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x128]
mov dword [ebp - 0x194], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x128], 0xfffffffb
jbe 0x1002d9a5
mov dword [ebp - 0x10c], 1
jmp 0x1002d9ac
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0
jmp 0x1002d9c5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x24
jle 0x1002d9de
mov byte [ebp - 0x12], 0
push 0
lea eax, [ebp - 0x12]
push eax
call fcn.10029fa4
pop ecx
pop ecx
jmp 0x1002d9be
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], 0xfffffff8
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x1002da14
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1002da27
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x58], 0x13923cc
jmp 0x1002da0d
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002da3b
push 0
call fcn.10029423
pop ecx
mov eax, 0x8d40
test eax, eax
je 0x1002dc0a
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
jne 0x1002da5d
mov dword [ebp - 0x120], 1
jmp 0x1002da64
and dword [ebp - 0x120], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x58], 0x6ebf4d39
jl 0x1002da7f
mov dword [ebp - 0x108], 1
jmp 0x1002da86
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfff7
jne 0x1002daa2
push 0xfffffffffffffff9
pop eax
test eax, eax
jne 0x1002daa2
and dword [ebp - 0x160], 0
jmp 0x1002daac
mov dword [ebp - 0x160], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0x170], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x58]
cmp dword [ebp + eax - 0x58], ecx
je 0x1002dadb
mov dword [ebp - 0xa8], 1
jmp 0x1002dae2
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 1
jbe 0x1002daf7
mov dword [ebp - 0x110], 1
jmp 0x1002dafe
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x110], eax
jne 0x1002db1c
mov dword [ebp - 0x148], 1
jmp 0x1002db23
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0x184], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x58], 0
jne 0x1002db4d
or eax, 0xffffffff
jne 0x1002db4d
and dword [ebp - 0xb0], 0
jmp 0x1002db57
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0xb0], 0x2085
je 0x1002db6f
mov dword [ebp - 0x118], 1
jmp 0x1002db76
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0xfffffff8
je 0x1002db8b
mov dword [ebp - 0xbc], 1
jmp 0x1002db92
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0xbc]
jge 0x1002dbad
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x58], 0
jne 0x1002dbc1
mov eax, 0x8d7d
test eax, eax
jne 0x1002dbc1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0x164], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x58], 0x1639956a
jg 0x1002dbe8
mov dword [ebp - 0x68], 1
jmp 0x1002dbec
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x58], ecx
cmp dword [ebp - 0x68], 0
je 0x1002dc0a
mov dword [ebp - 0xf4], 1
jmp 0x1002dc11
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x14c], eax
and dword [ebp - 0x78], 0
jmp 0x1002dc33
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x78], eax
jge 0x1002e376
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x1002e31a
mov dword [ebp - 0x10], 0x3e13a6c9
mov dword [ebp - 0x24], 0x457a23a
mov dword [ebp - 0x150], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x1002dc7a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1002dc90
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x98], 0
jmp 0x1002dc73
mov dword [ebp - 8], 0
jmp 0x1002dca0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1002dcb6
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1b0], 0xfffffff8
jmp 0x1002dc99
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x1002dcdb
push 0
push 0x4c15
push 0x575e
push 0x3b05
call fcn.1002f2ec
add esp, 0x10
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x98], 0
jmp 0x1002dd06
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x98], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0xffffffed
jle 0x1002e13a
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xe4], 0x7778e10a
mov dword [ebp - 0x2c], 0
jmp 0x1002dd3a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1002dd4d
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x28], 0
jmp 0x1002dd33
cmp dword [ebp - 0x18], 0x72ca3c0b
jne 0x1002dd62
mov dword [ebp - 0xcc], 1
jmp 0x1002dd69
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffb
je 0x1002dd8d
mov dword [ebp - 0xc4], 1
jmp 0x1002dd94
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0xc4], eax
jne 0x1002ddb5
mov dword [ebp - 0x11c], 1
jmp 0x1002ddbc
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x98]
add eax, dword [ebp - 0x11c]
cmp eax, 0xadf1adb2
jae 0x1002dde2
mov dword [ebp - 0xfc], 1
jmp 0x1002dde9
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xcc]
imul eax, dword [ebp - 0xfc]
test eax, eax
jne 0x1002de13
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x98], 0
jne 0x1002de13
and dword [ebp - 0x9c], 0
jmp 0x1002de1d
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 1
jg 0x1002de32
mov dword [ebp - 0x114], 1
jmp 0x1002de39
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x114], eax
jl 0x1002de69
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x13]
push eax
push 0x7d2c
push 0
call fcn.1002cf0c
add esp, 0xc
jmp 0x1002df74
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x40], 0x41b87000
mov dword [ebp - 0xdc], 0xfffffffe
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xdc], eax
jge 0x1002de9b
mov dword [ebp - 0x104], 1
jmp 0x1002dea2
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
sub eax, 0xdf78
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x98]
jg 0x1002ded6
cmp dword [ebp - 0x40], 0
jne 0x1002ded6
and dword [ebp - 0x124], 0
jmp 0x1002dee0
mov dword [ebp - 0x124], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
cmp eax, dword [ebp - 0x124]
jne 0x1002df00
mov dword [ebp - 0xec], 1
jmp 0x1002df07
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xec], eax
jl 0x1002df1e
mov dword [ebp - 0xb4], 1
jmp 0x1002df25
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
je 0x1002df45
mov dword [ebp - 0xb8], 1
jmp 0x1002df4c
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0x98]
imul eax, eax, 0x3b03
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x28], eax
mov dword [ebp - 0x24], 8
jmp 0x1002df84
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1a
jl 0x1002e135
mov dword [ebp - 0x84], 0xb60f
mov dword [ebp - 0x30], 0
jmp 0x1002dfa8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002dfbe
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x158], 0x7da9fc5c
jmp 0x1002dfa1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x1002dfe4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x1002dfe4
mov dword [ebp - 0xc0], 1
jmp 0x1002dfeb
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
imul eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x10], eax
jg 0x1002e00d
mov dword [ebp - 0xc8], 1
jmp 0x1002e014
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002e038
mov eax, 0x93c3
test eax, eax
je 0x1002e038
mov dword [ebp - 0xd0], 1
jmp 0x1002e03f
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x158]
cmp dword [ebp - 0xd0], eax
jge 0x1002e060
mov dword [ebp - 0xd8], 1
jmp 0x1002e067
and dword [ebp - 0xd8], 0
imul eax, dword [ebp - 0xd8], 0x3c66
test eax, eax
jne 0x1002e083
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x158], 0
push 5
pop eax
test eax, eax
je 0x1002e0a0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x1002e0a0
mov dword [ebp - 0x70], 1
jmp 0x1002e0a4
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x1b0], ecx
mov eax, dword [ebp - 0x70]
add eax, 0x161e4171
mov ecx, dword [ebp - 0x84]
add ecx, eax
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x15c]
jl 0x1002e0fa
mov dword [ebp - 0x140], 1
jmp 0x1002e101
and dword [ebp - 0x140], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x188], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x158]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x150], 0xfffffff7
jmp 0x1002df7d
jmp 0x1002dced
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xac]
push eax
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.1002c361
add esp, 0x14
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xa0], 0x97412df3
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x6c], 0xfffffffb
mov dword [ebp - 0x44], 0x89fff12f
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x74], 0xe6a0122d
mov dword [ebp - 0x3c], 0
jmp 0x1002e19e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x1002e1b4
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1a4], 0
jmp 0x1002e197
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1002cc79
add esp, 0x18
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x6c], eax
je 0x1002e1e9
mov dword [ebp - 0x134], 1
jmp 0x1002e1f0
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
sub eax, 0xc116e074
mov dword [ebp - 0xe0], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x1a4], ecx
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xe0], eax
jg 0x1002e231
mov dword [ebp - 0xe8], 1
jmp 0x1002e238
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0x1c]
jne 0x1002e247
cmp dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1a4], 0xfd77
jne 0x1002e266
mov dword [ebp - 0xf0], 1
jmp 0x1002e26d
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xf0], eax
jge 0x1002e284
mov dword [ebp - 0xf8], 1
jmp 0x1002e28b
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xf8]
jl 0x1002e2a2
mov dword [ebp - 0x100], 1
jmp 0x1002e2a9
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x100]
test eax, eax
jle 0x1002e2c3
mov dword [ebp - 0x13c], 1
jmp 0x1002e2ca
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x44], eax
je 0x1002e305
mov dword [ebp - 0xa4], 1
jmp 0x1002e30c
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], eax
jmp 0x1002dc23
push 4
push 0x1000
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xac]
add ecx, dword [eax + 0xc]
push ecx
push 0x3ab6
push 0x40fe
call fcn.10022c6d
pop ecx
pop ecx
call eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x144]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x80]
call fcn.10022cbe
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
jmp 0x1002dc23
mov esp, ebp
pop ebp
ret