Function at 0x140057040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x14015d340]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rax, qword [0x140183480]
mov qword [rsp + 0x30], rax
movss xmm2, dword [0x14014c814]
movss xmm1, dword [0x14014c814]
lea rcx, [rsp + 0x78]
call fcn.14000b300
mov rcx, qword [rsp + 0xf8]
add rcx, 0x200
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x80]
call fcn.140035570
mov qword [rsp + 0x48], rax
movss xmm2, dword [0x14014c814]
movss xmm1, dword [0x14014c814]
lea rcx, [rsp + 0x88]
call fcn.14000b300
mov rcx, qword [rsp + 0xf8]
add rcx, 0x1f8
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x90]
call fcn.1400355c0
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.140036500
mov rax, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0xc0]
addss xmm0, dword [rax + 0x70]
movss xmm1, dword [rsp + 0xc8]
call fcn.140064e20
movss dword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0xc4]
addss xmm0, dword [rax + 0x74]
movss xmm1, dword [rsp + 0xcc]
call fcn.140064e20
movss dword [rsp + 0xc4], xmm0
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x108]
and eax, 0x15
test eax, eax
jne 0x1400571ac
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0xb4]
test eax, eax
je 0x1400571ac
mov eax, dword [rsp + 0x108]
or eax, 1
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
and eax, 0x2a
test eax, eax
jne 0x1400571f5
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0xbc]
test eax, eax
je 0x1400571d7
mov dword [rsp + 0x38], 0x20
jmp 0x1400571df
mov dword [rsp + 0x38], 2
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x108]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x108], eax
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xc0]
comiss xmm0, dword [rax]
ja 0x140057229
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xc8]
comiss xmm0, dword [rax + 8]
jb 0x140057229
mov byte [rsp + 0x20], 1
jmp 0x14005722e
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xc4]
comiss xmm0, dword [rax + 4]
ja 0x14005726c
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xcc]
comiss xmm0, dword [rax + 0xc]
jb 0x14005726c
mov byte [rsp + 0x21], 1
jmp 0x140057271
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x26], al
mov rcx, qword [rsp + 0x100]
call fcn.1400366d0
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x381c]
mulss xmm1, dword [0x14014c8a8]
addss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
lea rcx, [rsp + 0xc0]
call fcn.1400366d0
movss xmm1, dword [rsp + 0x3c]
comiss xmm1, xmm0
jbe 0x1400572ea
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0xd0]
test eax, eax
jg 0x1400572ea
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x1400572ea
mov byte [rsp + 0x22], 0
jmp 0x1400572ef
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x25], al
mov rcx, qword [rsp + 0x100]
call fcn.1400366f0
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x3820]
mulss xmm1, dword [0x14014c8a8]
addss xmm0, xmm1
movss dword [rsp + 0x40], xmm0
lea rcx, [rsp + 0xc0]
call fcn.1400366f0
movss xmm1, dword [rsp + 0x40]
comiss xmm1, xmm0
jbe 0x140057368
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0xd1]
test eax, eax
jg 0x140057368
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x140057368
mov byte [rsp + 0x23], 0
jmp 0x14005736d
mov byte [rsp + 0x23], 1
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x108]
and eax, 1
test eax, eax
je 0x14005744a
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14005744a
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xc0]
comiss xmm0, dword [rax]
ja 0x1400573b4
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x1400573ef
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax]
subss xmm0, dword [rcx + 0x381c]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x20]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057890
jmp 0x140057445
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xc8]
comiss xmm0, dword [rax + 8]
ja 0x140057445
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 8]
addss xmm0, dword [rcx + 0x381c]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x20]
movss xmm2, dword [0x14014c814]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057890
jmp 0x1400574f5
mov eax, dword [rsp + 0x108]
and eax, 4
test eax, eax
je 0x140057461
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140057473
mov eax, dword [rsp + 0x108]
and eax, 0x10
test eax, eax
je 0x1400574f5
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400574c9
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
movss xmm0, dword [rax]
addss xmm0, dword [rcx + 8]
mulss xmm0, dword [0x14014c678]
call fcn.140036220
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x20]
movss xmm2, dword [0x14014c678]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057890
jmp 0x1400574f5
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
movss xmm0, dword [rax]
subss xmm0, dword [rcx + 0x20]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057890
mov eax, dword [rsp + 0x108]
and eax, 2
test eax, eax
je 0x1400575cb
movzx eax, byte [rsp + 0x26]
test eax, eax
jne 0x1400575cb
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xc4]
comiss xmm0, dword [rax + 4]
ja 0x140057534
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x140057570
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 0x3820]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x24]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057910
jmp 0x1400575c6
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0xcc]
comiss xmm0, dword [rax + 0xc]
ja 0x1400575c6
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xc]
addss xmm0, dword [rcx + 0x3820]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x24]
movss xmm2, dword [0x14014c814]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057910
jmp 0x140057678
mov eax, dword [rsp + 0x108]
and eax, 8
test eax, eax
je 0x1400575e2
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x1400575f4
mov eax, dword [rsp + 0x108]
and eax, 0x20
test eax, eax
je 0x140057678
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14005764b
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 0xc]
mulss xmm0, dword [0x14014c678]
call fcn.140036220
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x24]
movss xmm2, dword [0x14014c678]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057910
jmp 0x140057678
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 0x24]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140057910
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
call fcn.140056c00
mov rax, qword [rsp + 0xf8]
add rax, 0x84
mov r8, rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0xf0]
call fcn.1400355c0
mov eax, dword [rsp + 0x108]
and eax, 0x40
test eax, eax
jne 0x1400577b9
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x1000000
test eax, eax
je 0x1400577b9
mov eax, dword [rsp + 0x28]
and eax, 0x14
test eax, eax
je 0x1400576f6
mov eax, dword [rsp + 0x28]
and eax, 0xffffffea
or eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0x28
test eax, eax
je 0x14005770f
mov eax, dword [rsp + 0x28]
and eax, 0xffffffd5
or eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
add rax, 8
mov r8, qword [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400355c0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x100]
mov r8, qword [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400355c0
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140036500
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x368]
mov qword [rsp + 0x70], rax
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xa8]
call fcn.140057040
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.1400356b0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140113cc0
add rsp, 0xe8
ret