Function at 0x4077f6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 1
pop esi
lea eax, [ebp - 1]
push esi
push eax
push edi
mov byte [ebp - 1], 0x50
call ebx
lea eax, [ebp - 1]
push esi
push eax
push edi
mov byte [ebp - 1], 0x4b
call ebx
lea eax, [ebp + 0x13]
push esi
push eax
push edi
mov byte [ebp + 0x13], 1
call ebx
lea eax, [ebp + 0x13]
push esi
push eax
push edi
mov byte [ebp + 0x13], 2
call ebx
mov esi, dword [ebp + 8]
push 1
mov al, byte [esi]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
xor eax, eax
push 1
mov al, byte [esi + 1]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 2]
add esp, 0x48
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
push edi
call ebx
xor eax, eax
push 1
mov al, byte [esi + 3]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 4]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
xor eax, eax
push 1
mov al, byte [esi + 5]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 6]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
xor eax, eax
push 1
mov al, byte [esi + 7]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 8]
add esp, 0x48
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
push edi
call ebx
mov eax, dword [esi + 8]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 8]
push 1
shr eax, 0x10
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 8]
push 1
shr eax, 0x18
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0xc]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0xc]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0xc]
add esp, 0x48
shr eax, 0x10
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
push edi
call ebx
mov eax, dword [esi + 0xc]
push 1
shr eax, 0x18
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x10]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x10]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x10]
push 1
shr eax, 0x10
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x10]
push 1
shr eax, 0x18
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x14]
add esp, 0x48
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
push edi
call ebx
mov eax, dword [esi + 0x14]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x14]
push 1
shr eax, 0x10
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x14]
push 1
shr eax, 0x18
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x18]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x18]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x20]
add esp, 0x48
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
push edi
call ebx
mov eax, dword [esi + 0x20]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x24]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x24]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x28]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
xor eax, eax
push 1
mov al, byte [esi + 0x29]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x2a]
add esp, 0x48
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
push edi
call ebx
xor eax, eax
push 1
mov al, byte [esi + 0x2b]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x30]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x30]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x30]
push 1
shr eax, 0x10
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x30]
push 1
shr eax, 0x18
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov al, byte [esi + 0x34]
add esp, 0x48
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
push edi
call ebx
mov eax, dword [esi + 0x34]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x34]
push 1
shr eax, 0x10
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x34]
push 1
shr eax, 0x18
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
push dword [esi + 0x18]
lea eax, [esi + 0x148]
push eax
push edi
call ebx
add esp, 0x3c
cmp eax, dword [esi + 0x18]
jne 0x407b59
mov eax, dword [esi + 0x20]
test eax, eax
je 0x407b3c
push eax
push dword [esi + 0x140]
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x20]
jne 0x407b59
mov eax, dword [esi + 0x24]
test eax, eax
je 0x407b55
push eax
push dword [esi + 0x144]
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x24]
jne 0x407b59
xor eax, eax
jmp 0x407b5c
push 0xa
pop eax
pop edi
pop esi
pop ebx
leave
ret