Function at 0x668a35
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
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], 1
push 1
lea ecx, [ebp - 2]
push ecx
push edi
call esi
add esp, 0xc
mov byte [ebp - 2], 2
push 1
lea eax, [ebp - 2]
push eax
push edi
call esi
add esp, 0xc
mov dl, byte [ebx]
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]
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 + 2]
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 + 2]
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 + 4]
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 + 4]
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 + 6]
and dl, 0xff
mov byte [ebp - 6], dl
push 1
lea ecx, [ebp - 6]
push ecx
push edi
call esi
add esp, 0xc
movzx eax, word [ebx + 6]
sar eax, 8
mov byte [ebp - 6], al
push 1
lea edx, [ebp - 6]
push edx
push edi
call esi
add esp, 0xc
mov cl, byte [ebx + 8]
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]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 7], dl
push 1
lea ecx, [ebp - 7]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 8]
shr eax, 0x10
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 + 8]
shr ecx, 0x10
shr ecx, 8
mov byte [ebp - 8], cl
push 1
lea eax, [ebp - 8]
push eax
push edi
call esi
add esp, 0xc
mov dl, byte [ebx + 0xc]
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]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 9], al
push 1
lea edx, [ebp - 9]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0xc]
shr ecx, 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 + 0xc]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 0xa], dl
push 1
lea ecx, [ebp - 0xa]
push ecx
push edi
call esi
add esp, 0xc
mov al, byte [ebx + 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]
and ecx, 0xffff
shr ecx, 8
mov byte [ebp - 0xb], cl
push 1
lea eax, [ebp - 0xb]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 0x10]
shr edx, 0x10
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 + 0x10]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 0xc], al
push 1
lea edx, [ebp - 0xc]
push edx
push edi
call esi
add esp, 0xc
mov cl, byte [ebx + 0x14]
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]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 0xd], dl
push 1
lea ecx, [ebp - 0xd]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 0x14]
shr eax, 0x10
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 + 0x14]
shr ecx, 0x10
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 + 0x18]
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 + 0x18]
shr eax, 8
mov byte [ebp - 0xf], al
push 1
lea edx, [ebp - 0xf]
push edx
push edi
call esi
add esp, 0xc
mov cl, byte [ebx + 0x20]
and cl, 0xff
mov byte [ebp - 0x10], cl
push 1
lea eax, [ebp - 0x10]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 0x20]
shr edx, 8
mov byte [ebp - 0x10], dl
push 1
lea ecx, [ebp - 0x10]
push ecx
push edi
call esi
add esp, 0xc
mov al, byte [ebx + 0x24]
and al, 0xff
mov byte [ebp - 0x11], al
push 1
lea edx, [ebp - 0x11]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x24]
shr ecx, 8
mov byte [ebp - 0x11], cl
push 1
lea eax, [ebp - 0x11]
push eax
push edi
call esi
add esp, 0xc
mov dl, byte [ebx + 0x28]
and dl, 0xff
mov byte [ebp - 0x12], dl
push 1
lea ecx, [ebp - 0x12]
push ecx
push edi
call esi
add esp, 0xc
movzx eax, word [ebx + 0x28]
sar eax, 8
mov byte [ebp - 0x12], al
push 1
lea edx, [ebp - 0x12]
push edx
push edi
call esi
add esp, 0xc
mov cl, byte [ebx + 0x2a]
and cl, 0xff
mov byte [ebp - 0x13], cl
push 1
lea eax, [ebp - 0x13]
push eax
push edi
call esi
add esp, 0xc
movzx edx, word [ebx + 0x2a]
sar edx, 8
mov byte [ebp - 0x13], dl
push 1
lea ecx, [ebp - 0x13]
push ecx
push edi
call esi
add esp, 0xc
mov al, byte [ebx + 0x30]
and al, 0xff
mov byte [ebp - 0x14], al
push 1
lea edx, [ebp - 0x14]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x30]
and ecx, 0xffff
shr ecx, 8
mov byte [ebp - 0x14], cl
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 0x30]
shr edx, 0x10
and dl, 0xff
mov byte [ebp - 0x15], dl
push 1
lea ecx, [ebp - 0x15]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 0x30]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 0x15], al
push 1
lea edx, [ebp - 0x15]
push edx
push edi
call esi
add esp, 0xc
mov cl, byte [ebx + 0x34]
and cl, 0xff
mov byte [ebp - 0x16], cl
push 1
lea eax, [ebp - 0x16]
push eax
push edi
call esi
add esp, 0xc
mov edx, dword [ebx + 0x34]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 0x16], dl
push 1
lea ecx, [ebp - 0x16]
push ecx
push edi
call esi
add esp, 0xc
mov eax, dword [ebx + 0x34]
shr eax, 0x10
and al, 0xff
mov byte [ebp - 0x17], al
push 1
lea edx, [ebp - 0x17]
push edx
push edi
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x34]
shr ecx, 0x10
shr ecx, 8
mov byte [ebp - 0x17], cl
push 1
lea eax, [ebp - 0x17]
push eax
push edi
call esi
add esp, 0xc
push dword [ebx + 0x18]
lea edx, [ebx + 0x148]
push edx
push edi
call esi
add esp, 0xc
cmp eax, dword [ebx + 0x18]
jne 0x668e86
cmp dword [ebx + 0x20], 0
je 0x668e6c
push dword [ebx + 0x20]
push dword [ebx + 0x140]
push edi
call esi
add esp, 0xc
cmp eax, dword [ebx + 0x20]
jne 0x668e86
cmp dword [ebx + 0x24], 0
je 0x668e8d
push dword [ebx + 0x24]
push dword [ebx + 0x144]
push edi
call esi
add esp, 0xc
cmp eax, dword [ebx + 0x24]
je 0x668e8d
mov eax, 0xa
jmp 0x668e8f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret