Function at 0x391360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3f0dad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4080c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
xorps xmm0, xmm0
mov dword [ebp - 0x34], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edx
mov dword [ebp - 4], 0
call dword [0x3f3180]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, 0xffffffff
je 0x3913f1
push 0
push 0
push 0
push 2
push 0
push esi
call dword [0x3f3194]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x391453
push esi
call dword [0x3f3198]
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp ecx, 0xf
jbe 0x391688
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x391444
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x3916a5
push ecx
push edx
call fcn.003ca836
add esp, 8
jmp 0x391688
push 0
push 0
push 0
push 4
push eax
call dword [0x3f3190]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x3914cf
push esi
mov esi, dword [0x3f3198]
call esi
push dword [ebp - 0x3c]
call esi
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp ecx, 0xf
jbe 0x391688
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x391444
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x3916a5
jmp 0x391444
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x39164c
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x39164c
mov edx, dword [ecx + eax + 0x98]
mov ecx, dword [ecx + eax + 0x9c]
mov dword [ebp - 0x44], edx
test edx, edx
je 0x39164c
test ecx, ecx
je 0x39164c
lea esi, [edx + eax]
mov edx, 0x200
mov dword [ebp - 0x40], esi
cmp word [esi + 4], dx
jne 0x39164c
cmp word [esi + 6], 2
jne 0x39164c
mov edx, dword [esi]
cmp edx, ecx
jae 0x39164c
mov esi, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, esi
ja 0x391558
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x39159c
mov eax, dword [ebp - 0x14]
mov edx, ecx
sub edx, esi
sub eax, esi
mov dword [ebp - 0x30], edx
cmp edx, eax
ja 0x39158d
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
add esi, eax
mov dword [ebp - 0x18], ecx
push 0
push esi
call fcn.003cbf20
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x39159c
push 0
push edx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push edx
call fcn.00391ad0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x38]
push eax
push ecx
call fcn.003cc080
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x30], ecx
cmp esi, 0xf
cmova eax, dword [ebp - 0x28]
add eax, ecx
cmp esi, 0xf
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
add eax, ecx
cmp esi, 0xf
cmova edx, dword [ebp - 0x28]
cmp eax, edx
je 0x3915fc
cmp byte [eax - 1], 0
jne 0x3915fc
dec eax
cmp eax, edx
jne 0x3915f1
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
cmp esi, 0xf
mov esi, eax
cmova ecx, dword [ebp - 0x28]
sub edx, eax
sub esi, ecx
mov ecx, dword [ebp - 0x30]
mov eax, ecx
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x28]
cmova edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add edx, esi
sub ecx, eax
add eax, edx
mov dword [ebp - 0x30], ecx
sub ecx, esi
inc ecx
push ecx
push eax
push edx
call fcn.003cc080
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
push eax
call dword [0x3f319c]
push dword [ebp - 0x3c]
mov esi, dword [0x3f3198]
call esi
push dword [ebp - 0x34]
call esi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.003ca7f3
mov esp, ebp
pop ebp
ret
call fcn.003cfb2f
int3