Function at 0x40dd10
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411e75
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x68], edi
mov eax, ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], eax
mov ecx, 0x5a4d
mov dword [ebp - 0x64], eax
cmp word [edi], cx
jne 0x40e012
mov ecx, dword [edi + 0x3c]
add ecx, edi
cmp dword [ecx], 0x4550
jne 0x40e012
test ecx, ecx
je 0x40e012
mov esi, dword [ecx + 0x90]
test esi, esi
je 0x40e012
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x20], edx
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
add edi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], edi
cmp dword [edi + 0x10], eax
je 0x40dfe0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
mov edx, dword [edi + 0xc]
add edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40de11
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00408b20
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x40de58
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40de4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e00c
push ecx
push edx
call fcn.0040fe5c
add esp, 8
mov esi, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x5c]
mov edx, dword [ebp - 0x68]
add esi, edx
mov edi, dword [edi]
movups xmmword [ebp - 0x44], xmm0
add edi, edx
mov dword [ebp - 0x6c], esi
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0x34], xmm0
mov ecx, dword [edi]
mov eax, ecx
or eax, dword [edi + 4]
je 0x40df53
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
add ecx, 2
mov byte [ebp - 4], 2
add edx, ecx
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x64], ecx
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dec0
sub eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
push eax
push edx
call fcn.0040e050
mov dword [ebp - 0x48], esi
lea eax, [ebp - 0x60]
mov esi, dword [ebp - 0x28]
push eax
cmp esi, dword [ebp - 0x24]
je 0x40def6
mov ecx, esi
call fcn.0040b480
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x18], eax
add dword [ebp - 0x28], 0x1c
jmp 0x40deff
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040e510
mov esi, dword [ebp - 0x6c]
add edi, 8
add esi, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], esi
cmp ecx, 0xf
jbe 0x40df43
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40df39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e00c
push ecx
push edx
call fcn.0040fe5c
add esp, 8
mov ecx, dword [edi]
mov eax, ecx
or eax, dword [edi + 4]
mov edx, dword [ebp - 0x68]
jne 0x40de90
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
cmp esi, dword [ebp - 0x18]
je 0x40df7f
mov ecx, esi
mov dword [ebp - 0x64], esi
call fcn.0040b480
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
push eax
call fcn.0040e890
add dword [ebp - 0x1c], 0x24
jmp 0x40df88
push esi
lea ecx, [ebp - 0x20]
call fcn.0040e180
mov edi, dword [ebp - 0x70]
lea ecx, [ebp - 0x2c]
add edi, 0x14
mov byte [ebp - 4], 0
mov dword [ebp - 0x70], edi
call fcn.0040da60
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x40dfcd
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dfc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e00c
push ecx
push edx
call fcn.0040fe5c
add esp, 8
cmp dword [edi + 0x10], 0
jne 0x40ddc2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x20]
mov dword [esi], edx
mov dword [esi + 8], eax
call fcn.0040d140
mov eax, esi
jmp 0x40e026
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040fd39
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret