Function at 0x100670b3
Capabilities:
Enumerate pe sections

Disassembly:
push 0x64
mov eax, 0x10114052
call fcn.100d34da
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ecx], eax
cmp eax, 0x454c4946
je 0x100670e7
cmp eax, 2
jbe 0x100670e0
cmp eax, 0x44414142
jne 0x100672f6
mov al, 1
jmp 0x100672f8
movzx ebx, word [esi + 4]
movzx edi, word [esi + 6]
test bl, 1
jne 0x100672f6
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + edi*2]
xor eax, eax
inc eax
shl eax, cl
sub eax, 2
cmp edx, eax
ja 0x100672f6
test edi, edi
je 0x100672f6
mov edx, dword [ebp + 0x10]
lea eax, [edi - 1]
cmp eax, edx
jne 0x100672f6
cmp ebx, 0x30
jb 0x10067139
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp + 0x14]
je 0x10067139
test eax, eax
jne 0x100672f6
movzx eax, word [ebx + esi]
mov dword [ebp + 0x14], eax
xor eax, eax
inc eax
mov dword [ebp + 8], eax
cmp edi, eax
jbe 0x10067183
lea ecx, [esi + 2]
add ecx, ebx
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0x14]
shl ebx, cl
cmp word [ebx + esi - 2], ax
jne 0x100672f6
mov ecx, dword [ebp + 0x10]
mov ax, word [ecx]
add ecx, 2
mov word [ebx + esi - 2], ax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 8], eax
cmp eax, edi
jb 0x10067152
mov ecx, dword [ebp - 0x10]
mov ax, word [esi + 0x10]
mov word [ecx + 4], ax
mov ax, word [esi + 0x16]
movzx edi, word [esi + 0x14]
mov word [ecx + 6], ax
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0xc]
shl edx, cl
cmp edi, edx
jae 0x100672f6
mov eax, ebx
or eax, edi
test al, 7
jne 0x100672f6
cmp ebx, edx
ja 0x100672f6
cmp dword [ebp + 8], edx
jne 0x100672f6
cmp edi, ebx
jae 0x100672f6
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x70]
mov eax, ebx
sub eax, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [edi + esi]
push eax
call fcn.10066dc9
test eax, eax
je 0x100672ee
cmp dword [ebp + 0xc], eax
jb 0x100672ee
add edi, eax
mov eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
je 0x10067300
sub eax, 0x10
je 0x100672b9
sub eax, 0x20
je 0x1006727b
sub eax, 0x50
je 0x1006726f
sub eax, 0x40
je 0x10067255
cmp dword [ebp + 0x18], 0
je 0x100672ce
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x70]
push eax
call fcn.1006541d
jmp 0x100672ce
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x60]
add ecx, 0x60
cmp eax, ecx
je 0x100672ce
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10028197
jmp 0x100672ce
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
jmp 0x1006724e
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push dword [ebp - 0x60]
call fcn.10066ee9
test al, al
je 0x100672df
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x24]
call fcn.1006545f
cmp dword [ebp - 0x20], 0
je 0x100672ce
push dword [ebp - 0x20]
call fcn.100d349e
pop ecx
jmp 0x100672ce
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [eax + 0x40]
call fcn.10067311
test al, al
je 0x100672ee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10065170
jmp 0x100671d9
cmp dword [ebp - 0x20], 0
je 0x100672ee
push dword [ebp - 0x20]
call fcn.100d349e
pop ecx
lea ecx, [ebp - 0x70]
call fcn.10065170
xor al, al
call fcn.100d34a3
ret 0x14
cmp edi, ebx
jne 0x100672ee
lea ecx, [ebp - 0x70]
call fcn.10065170
jmp 0x100670e0