Function at 0x10029ce5
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x100c39a4
call fcn.100c0df0
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 0x10029d20
cmp eax, 2
jbe 0x10029d18
cmp eax, 0x44414142
je 0x10029d18
xor eax, eax
jmp 0x10029f0b
push 1
pop eax
jmp 0x10029f0b
movzx eax, word [esi + 4]
movzx ecx, word [esi + 6]
test al, 1
mov dword [ebp - 0x10], ecx
jne 0x10029f09
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 0x10029f09
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10029f09
mov edx, dword [ebp + 0x10]
dec ecx
cmp ecx, edx
jne 0x10029f09
cmp eax, 0x30
jb 0x10029d74
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [ebp + 0x14]
je 0x10029d74
test ecx, ecx
jne 0x10029f09
mov bx, word [eax + esi]
add eax, esi
cmp dword [ebp - 0x10], 1
mov dword [ebp + 8], 1
jbe 0x10029dbc
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 0x10029f09
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 0x10029d8d
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 0x10029f09
test al, 7
jne 0x10029f09
test bl, 7
jne 0x10029f09
cmp ebx, edx
ja 0x10029f09
cmp dword [ebp + 0x10], edx
jne 0x10029f09
cmp eax, ebx
mov dword [ebp + 0xc], eax
jae 0x10029f09
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], 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.10028b56
cmp eax, ebx
je 0x10029f52
cmp dword [ebp + 0x10], eax
jb 0x10029f52
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
je 0x10029f1c
sub eax, 0x10
je 0x10029edf
sub eax, 0x20
je 0x10029ea7
sub eax, 0x50
je 0x10029e9e
sub eax, 0x40
je 0x10029e90
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
je 0x10029ef1
lea eax, [ebp - 0x70]
push eax
call fcn.1002c302
jmp 0x10029ef1
lea eax, [ebp - 0x64]
lea ecx, [edi + 0x60]
push eax
call fcn.1002c25e
jmp 0x10029ef1
lea eax, [ebp - 0x70]
lea ecx, [edi + 0x18]
push eax
jmp 0x10029e89
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push dword [ebp - 0x64]
call fcn.10028a40
test al, al
je 0x10029f36
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x24]
push eax
call fcn.1002c43a
cmp dword [ebp - 0x20], ebx
je 0x10029ef1
push dword [ebp - 0x20]
call fcn.100032e0
pop ecx
jmp 0x10029ef1
push dword [ebp - 0x60]
lea ecx, [edi + 0x40]
push dword [ebp - 0x64]
call fcn.10028aea
test al, al
je 0x10029f52
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10029f56
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
jb 0x10029e22
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 0x10029f52
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10029f56
mov al, bl
jmp 0x10029f0b
cmp dword [ebp - 0x20], ebx
je 0x10029f44
push dword [ebp - 0x20]
call fcn.100032e0
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10029f56
jmp 0x10029f09
xor bl, bl
jmp 0x10029f26