Function at 0x40aa20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], 0x50
call fcn.0040b8e0
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], 0x4b
call fcn.0040b8e0
push 1
lea edx, [ebp - 1]
push edx
mov ecx, esi
mov byte [ebp - 1], 3
call fcn.0040b8e0
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], 4
call fcn.0040b8e0
movzx ecx, byte [edi + 2]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 3]
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
movzx edx, byte [edi + 0x2c]
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 0x2d]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 6]
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
movzx edx, byte [edi + 7]
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 8]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 9]
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
movzx edx, byte [edi + 0xa]
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 0xb]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 0xc]
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
movzx edx, byte [edi + 0xd]
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 0xe]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 0xf]
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
movzx edx, byte [edi + 0x10]
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 0x11]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 0x12]
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
movzx edx, byte [edi + 0x13]
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 0x14]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 0x15]
push 1
lea ecx, [ebp - 1]
mov byte [ebp - 1], al
push ecx
mov ecx, esi
call fcn.0040b8e0
movzx edx, byte [edi + 0x16]
push 1
lea eax, [ebp - 1]
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 0x17]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
movzx eax, byte [edi + 0x18]
push 1
lea ecx, [ebp - 1]
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
mov edx, dword [edi + 0x18]
push 1
lea eax, [ebp - 1]
shr edx, 8
push eax
mov ecx, esi
mov byte [ebp - 1], dl
call fcn.0040b8e0
movzx ecx, byte [edi + 0x1c]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
mov ecx, esi
call fcn.0040b8e0
mov eax, dword [edi + 0x1c]
push 1
lea ecx, [ebp - 1]
shr eax, 8
push ecx
mov ecx, esi
mov byte [ebp - 1], al
call fcn.0040b8e0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x40ac8a
push eax
lea edx, [edi + 0x148]
push edx
mov ecx, esi
call fcn.0040b8e0
cmp eax, dword [edi + 0x18]
je 0x40ac98
mov eax, 0xa
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x40acb3
mov ecx, dword [edi + 0x13c]
push eax
push ecx
mov ecx, esi
call fcn.0040b8e0
cmp eax, dword [edi + 0x1c]
jne 0x40ac8f
xor eax, eax
mov esp, ebp
pop ebp
ret