Function at 0x408590
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 1]
push 1
mov esi, ecx
mov byte [ebp - 1], 0x50
push eax
mov ecx, edi
call fcn.004091c0
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 0x4b
push eax
mov ecx, edi
call fcn.004091c0
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 3
push eax
mov ecx, edi
call fcn.004091c0
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 4
push eax
mov ecx, edi
call fcn.004091c0
movzx eax, byte [esi + 2]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 3]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x2c]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x2d]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 6]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 7]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 8]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
mov ecx, edi
push eax
call fcn.004091c0
movzx eax, byte [esi + 0xa]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0xb]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0xc]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0xe]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0xf]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x10]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
mov eax, dword [esi + 0x10]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x12]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x13]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x14]
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, edi
call fcn.004091c0
mov eax, dword [esi + 0x14]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x16]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x17]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x18]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
mov eax, dword [esi + 0x18]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
movzx eax, byte [esi + 0x1c]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
mov eax, dword [esi + 0x1c]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.004091c0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4087fe
xor ecx, ecx
jmp 0x408812
push eax
lea eax, [esi + 0x148]
mov ecx, edi
push eax
call fcn.004091c0
mov ecx, eax
mov eax, dword [esi + 0x18]
cmp ecx, eax
jne 0x408838
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x408830
push eax
push dword [esi + 0x13c]
mov ecx, edi
call fcn.004091c0
cmp eax, dword [esi + 0x1c]
jne 0x408838
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret