Function at 0x64c864
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
lea eax, [esp + 7]
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebp, ebp
inc ebp
mov byte [esp + 0x13], 0x50
push ebp
push eax
push edi
call ebx
push ebp
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0x4b
push eax
push edi
call ebx
push ebp
lea eax, [esp + 0x24]
mov byte [esp + 0x24], 3
push eax
push edi
call ebx
push ebp
lea eax, [esp + 0x24]
mov byte [esp + 0x24], 4
push eax
push edi
call ebx
mov esi, dword [esp + 0x18]
push ebp
mov al, byte [esi + 2]
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push eax
push edi
call ebx
mov al, byte [esi + 3]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x2c]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x2d]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 6]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 7]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 8]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov eax, dword [esi + 8]
shr eax, 8
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0xa]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0xb]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0xc]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0xe]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0xf]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x10]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x12]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x13]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x14]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x16]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x17]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x18]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov al, byte [esi + 0x1c]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
mov eax, dword [esi + 0x1c]
shr eax, 8
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push ebp
push eax
push edi
call ebx
push dword [esi + 0x18]
lea eax, [esi + 0x148]
push eax
push edi
call ebx
cmp eax, dword [esi + 0x18]
jne 0x64ca8f
cmp dword [esi + 0x1c], 0
je 0x64ca8b
push dword [esi + 0x1c]
push dword [esi + 0x13c]
push edi
call ebx
cmp eax, dword [esi + 0x1c]
jne 0x64ca8f
xor eax, eax
jmp 0x64ca92
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc