Function at 0x1002b2fb
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x100d71f8
call fcn.100d39f0
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi]
cmp eax, 0x454c4946
mov dword [edi], eax
je 0x1002b336
cmp eax, 2
jbe 0x1002b32e
cmp eax, 0x44414142
je 0x1002b32e
xor eax, eax
jmp 0x1002b521
push 1
pop eax
jmp 0x1002b521
movzx eax, word [esi + 4]
movzx ecx, word [esi + 6]
test al, 1
mov dword [ebp - 0x10], ecx
jne 0x1002b51f
push 1
lea edx, [eax + ecx*2]
mov ecx, dword [ebp + 0xc]
pop ebx
shl ebx, cl
dec ebx
dec ebx
cmp edx, ebx
ja 0x1002b51f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1002b51f
mov edx, dword [ebp + 0x10]
dec ecx
cmp ecx, edx
jne 0x1002b51f
cmp eax, 0x30
jb 0x1002b38a
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [ebp + 0x14]
je 0x1002b38a
test ecx, ecx
jne 0x1002b51f
mov bx, word [eax + esi]
add eax, esi
cmp dword [ebp - 0x10], 1
mov dword [ebp + 8], 1
jbe 0x1002b3d2
add eax, 2
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shl eax, cl
cmp word [eax + esi - 2], bx
lea eax, [eax + esi - 2]
jne 0x1002b51f
mov ecx, dword [ebp + 0x10]
inc dword [ebp + 8]
add dword [ebp + 0x10], 2
mov cx, word [ecx]
mov word [eax], cx
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1002b3a3
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov cx, word [esi + 0x16]
movzx eax, word [esi + 0x14]
mov word [edi + 6], cx
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x20]
mov dword [ebp + 8], ebx
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x24]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
shl edx, cl
cmp eax, edx
jae 0x1002b51f
test al, 7
jne 0x1002b51f
test bl, 7
jne 0x1002b51f
cmp ebx, edx
ja 0x1002b51f
cmp dword [ebp + 0x10], edx
jne 0x1002b51f
cmp eax, ebx
mov dword [ebp + 0xc], eax
jae 0x1002b51f
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
add ecx, esi
push eax
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
call fcn.1006dc5d
cmp eax, ebx
je 0x1002b568
cmp dword [ebp + 0x10], eax
jb 0x1002b568
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
je 0x1002b532
sub eax, 0x10
je 0x1002b4f5
sub eax, 0x20
je 0x1002b4bd
sub eax, 0x50
je 0x1002b4b4
sub eax, 0x40
je 0x1002b4a6
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
je 0x1002b507
lea eax, [ebp - 0x70]
push eax
call fcn.1002d8de
jmp 0x1002b507
lea eax, [ebp - 0x60]
lea ecx, [edi + 0x60]
push eax
call fcn.1002d83a
jmp 0x1002b507
lea eax, [ebp - 0x70]
lea ecx, [edi + 0x18]
push eax
jmp 0x1002b49f
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push dword [ebp - 0x60]
call fcn.1002a005
test al, al
je 0x1002b54c
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x24]
push eax
call fcn.1002da16
cmp dword [ebp - 0x20], ebx
je 0x1002b507
push dword [ebp - 0x20]
call fcn.10003419
pop ecx
jmp 0x1002b507
push dword [ebp - 0x5c]
lea ecx, [edi + 0x40]
push dword [ebp - 0x60]
call fcn.1002a0af
test al, al
je 0x1002b568
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1002b56c
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
jb 0x1002b438
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x1002b568
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1002b56c
mov al, bl
jmp 0x1002b521
cmp dword [ebp - 0x20], ebx
je 0x1002b55a
push dword [ebp - 0x20]
call fcn.10003419
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1002b56c
jmp 0x1002b51f
xor bl, bl
jmp 0x1002b53c