Function at 0x414e2b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x40]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
movzx edx, word [eax + 0x12]
mov dword [ebp - 0x1c], edx
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
call fcn.00413c5d
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x414fe5
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x10], ecx
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0040fcba
add esp, 8
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
xor ecx, ecx
mov cl, byte [edx]
push ecx
push dword [ebp - 8]
call fcn.004106ce
add esp, 8
lea eax, [ebp - 0x12]
push eax
lea edx, [ebp - 0x10]
push edx
push 1
push dword [ebp - 8]
call fcn.00414d21
add esp, 0x10
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x50], edx
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x48]
call fcn.0040d314
pop ecx
mov eax, dword [ebp + 8]
movzx edx, word [eax + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
lea edx, [eax + edx]
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0x12]
movzx edx, byte [edx + eax*2 - 2]
shl edx, 8
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x44]
lea eax, [ecx + eax]
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + 0x12]
movzx eax, byte [eax + ecx*2 - 1]
or edx, eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
and edx, ecx
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x44]
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x40]
push edx
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0040fab1
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
lea edx, [ebp - 0x80]
push edx
push dword [ebp + 0xc]
call fcn.00414573
add esp, 0x24
push 4
push 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call fcn.00414a7b
add esp, 0x18
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call fcn.0040fa16
add esp, 8
push eax
call fcn.00407efa
add esp, 8
push dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [edx + 6]
mov eax, dword [ebp + 0xc]
add ecx, dword [eax + 0x44]
add ecx, 8
push ecx
call fcn.00407efa
add esp, 8
mov edx, dword [ebp - 0x18]
cmp byte [edx + 0x13], 0
je 0x414fdc
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x4c]
push 5
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call fcn.0040f8a9
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x414fdc
push 0
push dword [ebp - 8]
call fcn.0040fd64
add esp, 8
mov dword [ebp - 4], eax
push dword [ebp - 8]
call fcn.00410971
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov edx, dword [ebp + 8]
push dword [edx + 0x50]
push dword [ebp + 8]
call fcn.00410454
add esp, 8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x50]
push dword [eax + 0x48]
call fcn.0040dd08
pop ecx
cmp dword [ebp - 4], 0
jne 0x415021
push 0
push dword [ebp + 0xc]
call fcn.00416417
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret