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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x14039a820]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x37f0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x148], 0
je 0x14003a538
mov byte [rsp + 0x48], 1
jmp 0x14003a53d
mov byte [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x68]
and eax, 0x20
test eax, eax
jne 0x14003a563
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 0xffffffff
je 0x14003a563
mov byte [rsp + 0x49], 1
jmp 0x14003a568
mov byte [rsp + 0x49], 0
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x4758]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x4758]
or eax, 0x10
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x4758], eax
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x158], 1
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rax + 0x3c]
vmovss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rax + 0x3c]
vmovss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rax + 0x3c38]
vmovss dword [rsp + 0x58], xmm0
lea rcx, [rsp + 0xb8]
call fcn.140005e20
lea rcx, [rsp + 0xb0]
call fcn.140005e20
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x14003a65c
vmovss xmm0, dword [rsp + 0x44]
vaddss xmm0, xmm0, dword [rsp + 0x58]
vmovss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rax + 8]
vsubss xmm0, xmm0, dword [rsp + 0x44]
mov rax, qword [rsp + 0x50]
vsubss xmm0, xmm0, dword [rax + 0x3c]
mov rax, qword [rsp + 0x138]
vmovss xmm2, dword [rax + 4]
vmovups xmm1, xmm0
lea rcx, [rsp + 0xf0]
call fcn.1400090a0
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003a6c8
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 1
jne 0x14003a6c8
vmovss xmm0, dword [rsp + 0x44]
vaddss xmm0, xmm0, dword [rsp + 0x58]
vmovss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rax + 8]
vsubss xmm0, xmm0, dword [rsp + 0x44]
mov rax, qword [rsp + 0x50]
vsubss xmm0, xmm0, dword [rax + 0x3c]
mov rax, qword [rsp + 0x138]
vmovss xmm2, dword [rax + 4]
vmovups xmm1, xmm0
lea rcx, [rsp + 0xf8]
call fcn.1400090a0
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003a733
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 0
jne 0x14003a733
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rax]
vaddss xmm0, xmm0, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x50]
vsubss xmm0, xmm0, dword [rax + 0x3c]
mov rax, qword [rsp + 0x138]
vmovss xmm2, dword [rax + 4]
vmovups xmm1, xmm0
lea rcx, [rsp + 0x100]
call fcn.1400090a0
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
vmovss xmm0, dword [rsp + 0x4c]
vaddss xmm0, xmm0, dword [rsp + 0x58]
vmovss dword [rsp + 0x4c], xmm0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003a778
xor r8d, r8d
lea rdx, str.COLLAPSE
mov rcx, qword [rsp + 0x130]
call fcn.140029f70
lea rdx, [rsp + 0xb0]
mov ecx, eax
call fcn.1400796c0
movzx eax, al
test eax, eax
je 0x14003a778
mov rax, qword [rsp + 0x130]
mov byte [rax + 0xba], 1
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x14003a7b9
xor r8d, r8d
lea rdx, [0x1400bd6dc]
mov rcx, qword [rsp + 0x130]
call fcn.140029f70
lea rdx, [rsp + 0xb8]
mov ecx, eax
call fcn.140079210
movzx eax, al
test eax, eax
je 0x14003a7b9
mov rax, qword [rsp + 0x148]
mov byte [rax], 0
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x158], 0
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x4758], ecx
mov eax, dword [rsp + 0x68]
and eax, 0x100000
test eax, eax
je 0x14003a803
vmovss xmm0, dword [rsp + 0x58]
vmulss xmm0, xmm0, dword [0x1400c0938]
vmovss dword [rsp + 0x80], xmm0
jmp 0x14003a810
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x80], xmm0
vmovss xmm0, dword [rsp + 0x80]
vmovss dword [rsp + 0x8c], xmm0
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [rsp + 0x8c]
lea rcx, [rsp + 0x108]
call fcn.1400090a0
mov qword [rsp + 0xc0], rax
vmovss xmm0, dword [0x1400ba5c4]
vmovss dword [rsp + 0x20], xmm0
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x110]
call fcn.140023860
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x98]
call fcn.140009990
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rsp + 0x4c]
vcomiss xmm0, dword [rax + 0x3c]
jbe 0x14003a8bd
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rsp + 0x4c]
vaddss xmm0, xmm0, dword [rax + 0x3844]
vmovss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rsp + 0x44]
vcomiss xmm0, dword [rax + 0x3c]
jbe 0x14003a8e8
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rsp + 0x44]
vaddss xmm0, xmm0, dword [rax + 0x3844]
vmovss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x50]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rax + 0x20]
jae 0x14003aa00
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [0x1400ba544]
vcomiss xmm0, dword [rax + 0x20]
jbe 0x14003aa00
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rax + 0x20]
vsubss xmm0, xmm0, dword [0x1400ba524]
call fcn.1400459c0
vmulss xmm0, xmm0, dword [0x1400ba3b0]
vmovss xmm1, dword [0x1400ba544]
vsubss xmm0, xmm1, xmm0
call fcn.14002c3e0
vmovss dword [rsp + 0x88], xmm0
mov rcx, qword [rsp + 0x138]
call fcn.140009d30
vsubss xmm0, xmm0, dword [rsp + 0x4c]
vsubss xmm0, xmm0, dword [rsp + 0x44]
vsubss xmm0, xmm0, dword [rsp + 0x98]
vmovss dword [rsp + 0xa4], xmm0
vmovss xmm1, dword [rsp + 0x44]
vmovss xmm0, dword [rsp + 0x4c]
call fcn.140007a10
vmovss dword [rsp + 0xa8], xmm0
vmovss xmm1, dword [rsp + 0xa4]
vmovss xmm0, dword [rsp + 0xa8]
call fcn.140018ab0
vmovss dword [rsp + 0x84], xmm0
vmovss xmm0, dword [rsp + 0x84]
vmulss xmm0, xmm0, dword [rsp + 0x88]
vmovups xmm1, xmm0
vmovss xmm0, dword [rsp + 0x4c]
call fcn.140007a10
vmovss dword [rsp + 0x4c], xmm0
vmovss xmm0, dword [rsp + 0x84]
vmulss xmm0, xmm0, dword [rsp + 0x88]
vmovups xmm1, xmm0
vmovss xmm0, dword [rsp + 0x44]
call fcn.140007a10
vmovss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rax + 8]
vsubss xmm0, xmm0, dword [rsp + 0x44]
mov rax, qword [rsp + 0x138]
vmovss xmm1, dword [rax]
vaddss xmm1, xmm1, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x138]
vmovss xmm2, dword [rax + 0xc]
vmovss dword [rsp + 0x20], xmm2
vmovups xmm3, xmm0
mov rax, qword [rsp + 0x138]
vmovss xmm2, dword [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.140009030
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rsp + 0x78]
vaddss xmm0, xmm0, dword [rax + 0x3844]
mov rax, qword [rsp + 0x138]
vmovss xmm1, dword [rax + 8]
call fcn.140018ab0
vmovss xmm1, dword [rsp + 0x7c]
vmovss dword [rsp + 0x20], xmm1
vmovups xmm3, xmm0
vmovss xmm2, dword [rsp + 0x74]
vmovss xmm1, dword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.140009030
mov eax, dword [rsp + 0x68]
and eax, 0x100000
test eax, eax
je 0x14003abd6
lea rcx, [rsp + 0x90]
call fcn.140005e20
lea rcx, [rsp + 0x70]
call fcn.140009d30
vsubss xmm0, xmm0, dword [rsp + 0x98]
mov rax, qword [rsp + 0x50]
vmulss xmm0, xmm0, dword [rax + 0x20]
vmovss xmm1, dword [rsp + 0x70]
vaddss xmm0, xmm1, xmm0
vaddss xmm0, xmm0, dword [rsp + 0x98]
vmovss xmm2, dword [rsp + 0x78]
vmovss xmm1, dword [rsp + 0x70]
call fcn.1400189a0
vmovss dword [rsp + 0x90], xmm0
vmovss xmm0, dword [rsp + 0x74]
vaddss xmm0, xmm0, dword [rsp + 0x7c]
vmulss xmm0, xmm0, dword [0x1400ba524]
vmovss dword [rsp + 0x94], xmm0
vmovss xmm0, dword [rsp + 0x90]
vcomiss xmm0, dword [rsp + 0x70]
jbe 0x14003abd6
vmovss xmm1, dword [0x1400ba544]
xor ecx, ecx
call fcn.140029a30
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xd8], rax
mov r8d, dword [rsp + 0xac]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.140050d20
vmovss xmm0, dword [rsp + 0x8c]
vmulss xmm0, xmm0, dword [0x1400ba524]
vcvttss2si eax, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss xmm1, dword [rsp + 0x90]
vsubss xmm0, xmm1, xmm0
vmovups xmm1, xmm0
vmovss xmm0, dword [rsp + 0xe8]
call fcn.140018ab0
vmovss dword [rsp + 0xe8], xmm0
mov rax, qword [rsp + 0x50]
add rax, 0x20
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x140]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.140038d90
add rsp, 0x128
ret