Function at 0x6685d6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov byte [ebp - 1], 0x50
push 1
lea eax, [ebp - 1]
push eax
push edi
call esi
add esp, 0xc
mov byte [ebp - 1], 0x4b
push 1
lea edx, [ebp - 1]
push edx
push edi
call esi
add esp, 0xc
mov byte [ebp - 2], 3
push 1
lea ecx, [ebp - 2]
push ecx
push edi
call esi
add esp, 0xc
mov byte [ebp - 2], 4
push 1
lea eax, [ebp - 2]
push eax
push edi
call esi
add esp, 0xc
mov dl, byte [ebx + 2]
and dl, 0xff
mov byte [ebp - 3], dl
push 1
lea ecx, [ebp - 3]
push ecx
push edi
call esi
add esp, 0xc
movzx eax, word [ebx + 2]
sar eax, 8
mov byte [ebp - 3], al
push 1
lea edx, [ebp - 3]
push edx
push edi
call esi
add esp, 0xc
mov cl, byte [ebx + 0x2c]
and cl, 0xff
mov byte [ebp - 4], cl
push 1
lea eax, [ebp - 4]
push eax
push edi
call esi
add esp, 0xc
movzx edx, word [ebx + 0x2c]
sar edx, 8
mov byte [ebp - 4], dl
push 1
lea ecx, [ebp - 4]
push ecx
push edi
call esi
add esp, 0xc
mov al, byte [ebx + 6]
and al, 0xff
mov byte [ebp - 5], al
push 1
lea edx, [ebp - 5]
push edx
push edi
call esi
add esp, 0xc
movzx ecx, word [ebx + 6]
sar ecx, 8
mov byte [ebp - 5], cl
push 1
lea eax, [ebp - 5]
push eax
push edi
call esi
add esp, 0xc
mov dl, byte [ebx + 8]
and dl, 0xff
mov byte [ebp - 6], dl
push 1
lea ecx, [ebp - 6]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 8]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 6], al
push 1
lea edx, [ebp - 6]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 8]
shr ecx, 0x10
and cl, 0xff
mov byte [ebp - 7], cl
push 1
lea eax, [ebp - 7]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 8]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 7], dl
push 1
lea ecx, [ebp - 7]
push ecx
push edi
call esi
add esp, 0xc
mov al, byte [ebx + 0xc]
and al, 0xff
mov byte [ebp - 8], al
push 1
lea edx, [ebp - 8]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0xc]
and ecx, 0xffff
shr ecx, 8
mov byte [ebp - 8], cl
push 1
lea eax, [ebp - 8]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 0xc]
shr edx, 0x10
and dl, 0xff
mov byte [ebp - 9], dl
push 1
lea ecx, [ebp - 9]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 0xc]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 9], al
push 1
lea edx, [ebp - 9]
push edx
push edi
call esi
add esp, 0xc
mov cl, byte [ebx + 0x10]
and cl, 0xff
mov byte [ebp - 0xa], cl
push 1
lea eax, [ebp - 0xa]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 0x10]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 0xa], dl
push 1
lea ecx, [ebp - 0xa]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 0x10]
shr eax, 0x10
and al, 0xff
mov byte [ebp - 0xb], al
push 1
lea edx, [ebp - 0xb]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x10]
shr ecx, 0x10
shr ecx, 8
mov byte [ebp - 0xb], cl
push 1
lea eax, [ebp - 0xb]
push eax
push edi
call esi
add esp, 0xc
mov dl, byte [ebx + 0x14]
and dl, 0xff
mov byte [ebp - 0xc], dl
push 1
lea ecx, [ebp - 0xc]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 0x14]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 0xc], al
push 1
lea edx, [ebp - 0xc]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x14]
shr ecx, 0x10
and cl, 0xff
mov byte [ebp - 0xd], cl
push 1
lea eax, [ebp - 0xd]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 0x14]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 0xd], dl
push 1
lea ecx, [ebp - 0xd]
push ecx
push edi
call esi
add esp, 0xc
mov al, byte [ebx + 0x18]
and al, 0xff
mov byte [ebp - 0xe], al
push 1
lea edx, [ebp - 0xe]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x18]
shr ecx, 8
mov byte [ebp - 0xe], cl
push 1
lea eax, [ebp - 0xe]
push eax
push edi
call esi
add esp, 0xc
mov dl, byte [ebx + 0x1c]
and dl, 0xff
mov byte [ebp - 0xf], dl
push 1
lea ecx, [ebp - 0xf]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 0x1c]
shr eax, 8
mov byte [ebp - 0xf], al
push 1
lea edx, [ebp - 0xf]
push edx
push edi
call esi
add esp, 0xc
push dword [ebx + 0x18]
lea ecx, [ebx + 0x148]
push ecx
push edi
call esi
add esp, 0xc
cmp eax, dword [ebx + 0x18]
je 0x668893
mov eax, 0xa
jmp 0x6688b6
cmp dword [ebx + 0x1c], 0
je 0x6688b4
push dword [ebx + 0x1c]
push dword [ebx + 0x13c]
push edi
call esi
add esp, 0xc
cmp eax, dword [ebx + 0x1c]
je 0x6688b4
mov eax, 0xa
jmp 0x6688b6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret