Function at 0x419290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f8
mov eax, dword [0x5f0004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [0x594378]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x7d8], eax
mov esi, ecx
test edi, edi
je 0x4195c4
push 0x1c
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], 0
push eax
xorps xmm0, xmm0
push edi
push esi
movups xmmword [ebp - 0x24], xmm0
movq qword [ebp - 0x14], xmm0
call dword [0x594364]
test eax, eax
je 0x4195c4
push 0
push 0x40
lea eax, [ebp - 0x15c]
push eax
push edi
push esi
call dword [0x5943c4]
test eax, eax
je 0x4195c4
mov eax, 0x5a4d
cmp word [ebp - 0x15c], ax
jne 0x4195bd
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x18]
ja 0x4195bd
cmp eax, 0x40
jb 0x4195bd
push 0
push 0xf8
lea ecx, [ebp - 0x11c]
add eax, edi
push ecx
push eax
push esi
call dword [0x5943c4]
test eax, eax
je 0x4195c4
cmp dword [ebp - 0x11c], 0x4550
jne 0x4195bd
push 0x678
lea eax, [ebp - 0x7d4]
push 0
push eax
call fcn.005631c0
mov ebx, dword [0x5943c4]
lea eax, [ebp - 0x7b8]
add esp, 0xc
mov dword [ebp - 0x7d4], 0x678
mov dword [ebp - 0x7c4], edi
mov dword [ebp - 0x7d0], 0x40
push 0
push 0x40
push eax
push edi
push esi
call ebx
test eax, eax
je 0x4195cb
mov eax, dword [ebp - 0x77c]
lea ecx, [ebp - 0x778]
add eax, dword [ebp - 0x7c4]
push 0
push 0x18
push ecx
push eax
push esi
mov dword [ebp - 0x7c0], eax
mov dword [ebp - 0x7cc], 0x18
call ebx
test eax, eax
je 0x4195cb
movzx eax, word [ebp - 0x772]
lea ecx, [eax + eax*4]
movzx eax, word [ebp - 0x764]
lea eax, [eax + ecx*8]
add eax, 0x18
mov dword [ebp - 0x7cc], eax
cmp eax, 0x608
ja 0x4195cb
push 0
push eax
lea eax, [ebp - 0x778]
push eax
push dword [ebp - 0x7c0]
push esi
call ebx
test eax, eax
je 0x4195cb
mov ax, word [ebp - 0x760]
mov ecx, 0x10b
cmp ax, cx
jne 0x419450
mov eax, dword [ebp - 0x690]
test eax, eax
je 0x419477
cmp dword [ebp - 0x68c], 0
je 0x419477
add eax, edi
mov dword [ebp - 0x7bc], eax
jmp 0x41947d
mov ecx, 0x20b
cmp ax, cx
jne 0x419477
mov eax, dword [ebp - 0x680]
test eax, eax
je 0x419477
cmp dword [ebp - 0x67c], 0
je 0x419477
add eax, edi
mov dword [ebp - 0x7bc], eax
jmp 0x41947d
mov eax, dword [ebp - 0x7bc]
test eax, eax
je 0x4194a2
push 0
push 0x14
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x7c8], 0x14
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x4195cb
cmp dword [ebp + 8], 0
je 0x4195b3
push ecx
push dword [ebp - 0x7d8]
mov edx, edi
mov ecx, esi
call fcn.00418a20
add esp, 8
test eax, eax
je 0x4195cb
mov edi, dword [ebp - 0x7bc]
test edi, edi
je 0x419582
mov eax, dword [ebp - 0x160]
movups xmm0, xmmword [ebp - 0x170]
and eax, 0xfffffffe
mov dword [ebp - 0x7dc], 0
push 0x1c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x7f4]
push eax
movups xmmword [ebp - 0x1c], xmm0
push edi
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x7f4], xmm0
movq qword [ebp - 0x7e4], xmm0
call dword [0x594364]
test eax, eax
je 0x4195cb
test byte [ebp - 0x7e0], 0xf0
lea eax, [ebp - 0x7d8]
push eax
mov ecx, 4
mov eax, 0x40
cmove eax, ecx
push eax
push 0x14
push edi
mov edi, dword [0x594374]
push esi
call edi
test eax, eax
je 0x4195cb
push 0
push 0x14
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x7bc]
push esi
call dword [0x5943f4]
test eax, eax
je 0x4195cb
lea eax, [ebp - 0x7d8]
push eax
push dword [ebp - 0x7d8]
push 0x14
push dword [ebp - 0x7bc]
push esi
call edi
test eax, eax
je 0x4195cb
push 0x678
lea eax, [ebp - 0x7d4]
mov edx, 0x5cd4dc
push eax
mov ecx, esi
call fcn.004195e0
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00560ad4
mov esp, ebp
pop ebp
ret 0xc
push 6
call dword [0x594378]
jmp 0x4195cb
push 0xc1
call ebx
push 0x10dd
call ebx
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00560ad4
mov esp, ebp
pop ebp
ret 0xc