Function at 0x407492
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], 3
call ebx
lea eax, [ebp + 0x13]
push esi
push eax
push edi
mov byte [ebp + 0x13], 4
call ebx
mov esi, dword [ebp + 8]
push 1
mov al, byte [esi + 2]
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
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 + 0x2c]
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 + 0x2d]
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]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
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]
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 + 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]
push 1
shr eax, 0x10
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
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]
add esp, 0x48
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
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]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
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]
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 + 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 + 0x1c]
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
mov eax, dword [esi + 0x1c]
push 1
shr eax, 8
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push eax
push edi
call ebx
add esp, 0x48
lea eax, [esi + 0x148]
push dword [esi + 0x18]
push eax
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x18]
jne 0x4076c8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4076cd
push eax
push dword [esi + 0x13c]
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x1c]
je 0x4076cd
push 0xa
pop eax
jmp 0x4076cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret