Function at 0x10072f00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [eax + 4]
push ebp
mov ebp, dword [eax + 0x2c]
push edi
mov edi, ecx
lea edx, [ebx + ebp]
mov ecx, edx
call fcn.10072830
movzx eax, ax
test ax, ax
mov dword [esp + 0x18], eax
jne 0x10072f4b
lea ecx, [edx + 2]
call fcn.10072830
movzx eax, ax
sub eax, 6
cmp edi, eax
jge 0x10072f42
movzx eax, byte [edx + edi + 6]
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp ax, 6
push esi
jne 0x10072f92
lea ecx, [edx + 6]
call fcn.10072830
movzx esi, ax
cmp edi, esi
jb 0x10073110
lea ecx, [edx + 8]
call fcn.10072830
movzx ecx, ax
add ecx, esi
cmp edi, ecx
jae 0x10073110
sub edi, esi
lea ecx, [ebp + edi*2 + 0xa]
add ecx, ebx
call fcn.10072830
pop esi
pop edi
pop ebp
movzx eax, ax
pop ebx
add esp, 0x14
ret
cmp ax, 2
je 0x10073110
cmp ax, 4
jne 0x100730ec
lea ecx, [edx + 6]
call fcn.10072830
shr ax, 1
movzx eax, ax
lea ecx, [edx + 8]
mov dword [esp + 0x18], eax
call fcn.10072830
shr ax, 1
movzx ecx, ax
mov dword [esp + 0x14], ecx
lea ecx, [edx + 0xa]
call fcn.10072830
movzx eax, ax
lea ecx, [edx + 0xc]
mov dword [esp + 0x10], eax
call fcn.10072830
shr ax, 1
cmp edi, 0xffff
movzx eax, ax
lea edx, [ebp + 0xe]
jg 0x10073110
movzx ecx, ax
lea esi, [edx + ecx*2]
lea ecx, [esi + ebx]
call fcn.10072830
movzx eax, ax
cmp edi, eax
jl 0x1007300d
mov edx, esi
sub edx, 2
cmp word [esp + 0x10], 0
je 0x10073056
jmp 0x10073020
mov ax, word [esp + 0x14]
shr ax, 1
movzx ecx, ax
lea esi, [edx + ecx*2]
lea ecx, [esi + ebx]
mov word [esp + 0x14], ax
call fcn.10072830
movzx eax, ax
cmp edi, eax
jle 0x10073044
mov edx, esi
mov eax, dword [esp + 0x10]
add eax, 0xffff
test ax, ax
mov dword [esp + 0x10], eax
jne 0x10073020
lea eax, [ebp + 0xe]
sub edx, eax
add edx, 2
shr edx, 1
movzx eax, dx
movzx edx, word [esp + 0x18]
movzx esi, ax
lea ecx, [edx + esi]
lea ecx, [ebp + ecx*2 + 0x10]
add ecx, ebx
mov dword [esp + 0x18], edx
call fcn.10072830
movzx eax, ax
movzx eax, ax
cmp edi, eax
mov dword [esp + 0x14], eax
jl 0x10073110
lea edx, [edx + edx*2]
lea eax, [edx + esi]
lea ecx, [ebp + eax*2 + 0x10]
add ecx, ebx
call fcn.10072830
movzx eax, ax
test ax, ax
jne 0x100730c9
mov ecx, dword [esp + 0x18]
lea edx, [esi + ecx*2 + 8]
lea ecx, [ebp + edx*2]
add ecx, ebx
call fcn.10072840
pop esi
add ax, di
pop edi
pop ebp
movzx eax, ax
pop ebx
add esp, 0x14
ret
sub edx, dword [esp + 0x14]
movzx eax, ax
add edx, esi
add edx, edi
add eax, ebp
lea ecx, [eax + edx*2 + 0x10]
add ecx, ebx
call fcn.10072830
pop esi
pop edi
pop ebp
movzx eax, ax
pop ebx
add esp, 0x14
ret
cmp ax, 0xc
je 0x100730f8
cmp ax, 0xd
jne 0x10073110
lea ecx, [edx + 0xc]
mov dword [esp + 0x14], 0
call fcn.10072850
test eax, eax
mov dword [esp + 0x10], eax
jg 0x10073124
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
sub esi, eax
sar esi, 1
add esi, eax
lea ecx, [esi + esi*2]
lea edx, [ebp + ecx*4]
lea eax, [edx + ebx]
lea ecx, [eax + 0x10]
mov dword [esp + 0x18], eax
call fcn.10072850
cmp edi, eax
mov dword [esp + 0x20], eax
jae 0x10073154
mov dword [esp + 0x10], esi
jmp 0x1007316b
mov ecx, dword [esp + 0x18]
add ecx, 0x14
call fcn.10072850
cmp edi, eax
jbe 0x1007317f
add esi, 1
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jl 0x10073120
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
lea ecx, [esi + esi*2 + 6]
lea ecx, [ebp + ecx*4]
add ecx, ebx
call fcn.10072850
cmp word [esp + 0x1c], 0xc
jne 0x10073112
sub eax, dword [esp + 0x20]
pop esi
add eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret