Function at 0x411545
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
or dword [ebp - 8], 0xffffffff
mov eax, dword [ebp + 0x10]
and dword [eax], 0
cmp dword [ebp + 0xc], 0x40
jae 0x411592
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x138
push 0x7a
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x411592
jmp 0x4117e4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x4115bf
push 0xd
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4115bf
jmp 0x4117e4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x3c]
jae 0x4115f4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add eax, 0xf8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0x7a
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4115f4
jmp 0x4117e4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x4550
je 0x411625
push 0xd
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x411625
jmp 0x4117e4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x20]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov ecx, dword [ebp - 0x20]
movzx ecx, word [ecx + 6]
imul ecx, ecx, 0x28
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x411683
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x20]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov ecx, dword [ebp - 0x20]
movzx ecx, word [ecx + 6]
imul ecx, ecx, 0x28
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0x7a
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x411683
jmp 0x4117e4
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 6]
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x4116ab
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jae 0x4116d4
push 8
push 0x406038
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x14]
push eax
call fcn.0043bb79
add esp, 0xc
test eax, eax
jne 0x4116d2
jmp 0x4116d4
jmp 0x4116a4
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
ja 0x4116f6
push 0xd
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4116f6
jmp 0x4117e4
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax + 0x14]
mov edx, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x10]
cmp dword [ebp + 0xc], eax
jae 0x41174e
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax + 0x14]
mov edx, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0x7a
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x41174e
jmp 0x4117e4
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xb0c50003
je 0x411780
push 0xd
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x411780
jmp 0x4117e4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x20]
cmp dword [ebp + 0xc], eax
jae 0x4117b6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x20]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0x7a
call fcn.00407c6d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4117b6
jmp 0x4117e4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
leave
ret 0x18