Function at 0x40af19
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], 0x50
call fcn.0040b89f
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], 0x4b
call fcn.0040b89f
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], bl
call fcn.0040b89f
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], 2
call fcn.0040b89f
mov al, byte [esi]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 1]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 2]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 3]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 4]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 5]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 6]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 7]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 8]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 9]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0xa]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0xb]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0xc]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0xd]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0xe]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0xf]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x10]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x11]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x12]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x13]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x14]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x15]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x16]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x17]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x18]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x20]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov eax, dword [esi + 0x20]
shr eax, 8
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x24]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov eax, dword [esi + 0x24]
shr eax, 8
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x28]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x29]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x2a]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x2b]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x30]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x31]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x32]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x33]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x34]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x35]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x36]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov al, byte [esi + 0x37]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.0040b89f
mov eax, dword [esi + 0x18]
test eax, eax
pop ebx
je 0x40b273
push eax
lea eax, [esi + 0x148]
push eax
mov ecx, edi
call fcn.0040b89f
cmp eax, dword [esi + 0x18]
jne 0x40b2b2
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x40b293
mov eax, dword [esi + 0x140]
push ecx
push eax
mov ecx, edi
call fcn.0040b89f
cmp eax, dword [esi + 0x20]
jne 0x40b2b2
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x40b2ae
mov eax, dword [esi + 0x144]
push ecx
push eax
mov ecx, edi
call fcn.0040b89f
cmp eax, dword [esi + 0x24]
jne 0x40b2b2
xor eax, eax
leave
ret
push 0xa
pop eax
leave
ret