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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x433040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
push 0x3000
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], edx
push eax
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x800
push eax
push 0xffffffffffffffff
movlpd qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x800
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], 0
call fcn.004105af
add esp, 0x18
test eax, eax
je 0x40eb89
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004107a0
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0xc]
add ecx, 0x800
mov edi, dword [ebp - 0x24]
adc eax, 0
mov dword [ebp - 8], edi
test eax, eax
ja 0x40ebb6
jb 0x40ebab
cmp ecx, 0xffffffff
jae 0x40ebb6
mov ecx, 0x200
mov esi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x40ebcf
push 0
push dword [ebp - 0x30]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push dword [ebp - 8]
call [0x430474]
add esp, 0x18
cmp dword [ebp - 0x24], 0
je 0x40ec2c
mov eax, dword [ebp - 0x24]
mov ecx, 0x5a4d
mov dword [ebp - 0x30], eax
cmp word [eax], cx
jne 0x40ec2c
mov esi, dword [eax + 0x3c]
add esi, eax
xor eax, eax
cmp dword [esi], 0x4550
jne 0x40ec2e
xor edi, edi
cmp ax, word [esi + 6]
jae 0x40ec2c
xor ebx, ebx
nop
movzx eax, word [esi + 0x14]
add eax, 0x18
add eax, ebx
add eax, esi
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.004048e0
cmp eax, 0xa21c1ea3
je 0x40ecb9
movzx eax, word [esi + 6]
inc edi
add ebx, 0x28
cmp edi, eax
jb 0x40ec00
xor eax, eax
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x40ed58
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ed58
test esi, esi
je 0x40ed58
cdq
mov ebx, eax
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x24]
mov ecx, edx
cdq
push 4
sub ebx, eax
lea eax, [ebp - 0xc]
push 0x3000
push eax
sbb ecx, edx
lea eax, [ebp - 0x28]
add ebx, dword [ebp + 8]
push 0
adc ecx, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
call fcn.004105af
add esp, 0x18
test eax, eax
jne 0x40ed58
mov ecx, dword [ebp - 0xc]
mov edx, ecx
mov edi, dword [ebp - 0x28]
add edx, ebx
mov dword [ebp - 8], ecx
adc eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edi
test eax, eax
ja 0x40ecd2
jb 0x40ecac
cmp edx, 0xffffffff
jae 0x40ecd2
push ecx
push ebx
push edi
call fcn.00414eb0
add esp, 0xc
jmp 0x40eceb
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x30]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, 1
jmp 0x40ec31
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x2c]
call [0x430474]
add esp, 0x18
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x28]
test edi, edi
je 0x40ed04
test al, 0xf
je 0x40ed04
add eax, 0x10
and eax, 0xfffffff0
add esi, 0xfffffff0
jmp 0x40ed07
add esi, 0xfffffffd
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ecx]
lea ecx, [eax + esi]
test edi, edi
je 0x40ed26
cmp eax, ecx
jae 0x40ed3a
cmp dx, word [eax]
je 0x40ed3c
add eax, 0x10
cmp eax, ecx
jb 0x40ed18
jmp 0x40ed3a
cmp eax, ecx
jae 0x40ed3a
nop word [eax + eax]
cmp dx, word [eax]
je 0x40ed3c
inc eax
cmp eax, ecx
jb 0x40ed30
xor eax, eax
test eax, eax
je 0x40ed58
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x28]
cdq
sub ecx, eax
sbb esi, edx
add ecx, ebx
mov dword [ebp - 0x38], ecx
adc esi, dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x24], 0
je 0x40ed75
push 0x8000
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
call fcn.004105ba
add esp, 0x10
cmp dword [ebp - 0x28], 0
je 0x40ed92
push 0x8000
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call fcn.004105ba
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
xor ecx, ebp
mov edx, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
call fcn.004107a0
mov esp, ebp
pop ebp
ret