Function at 0x14003f950
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 [0x1402708d0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x38d8
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 0x14003f9a8
mov byte [rsp + 0x48], 1
jmp 0x14003f9ad
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 0x14003f9d3
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 0xffffffff
je 0x14003f9d3
mov byte [rsp + 0x49], 1
jmp 0x14003f9d8
mov byte [rsp + 0x49], 0
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x4898]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x4898]
or eax, 0x10
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x4898], eax
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x190], 1
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x3c]
movss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x3c]
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x3d50]
movss dword [rsp + 0x58], xmm0
lea rcx, [rsp + 0xb8]
call fcn.14000b510
lea rcx, [rsp + 0xb0]
call fcn.14000b510
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x14003fae2
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x50]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 0x40]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax + 8]
subss xmm1, dword [rsp + 0x44]
subss xmm1, dword [rsp + 0x58]
movaps xmm2, xmm0
lea rcx, [rsp + 0xf0]
call fcn.14000b4d0
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [rax + 0x54]
movss xmm1, dword [rsp + 0x44]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x44], xmm0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003fb64
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 1
jne 0x14003fb64
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x50]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 0x40]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax + 8]
subss xmm1, dword [rsp + 0x44]
subss xmm1, dword [rsp + 0x58]
movaps xmm2, xmm0
lea rcx, [rsp + 0xf8]
call fcn.14000b4d0
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [rax + 0x54]
movss xmm1, dword [rsp + 0x44]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x44], xmm0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003fbdf
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 0
jne 0x14003fbdf
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x50]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 0x40]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax]
addss xmm1, dword [rsp + 0x4c]
movaps xmm2, xmm0
lea rcx, [rsp + 0x100]
call fcn.14000b4d0
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [rax + 0x54]
movss xmm1, dword [rsp + 0x4c]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003fc27
xor r8d, r8d
lea rdx, str.COLLAPSE
mov rcx, qword [rsp + 0x130]
call fcn.14002bf70
xor r8d, r8d
lea rdx, [rsp + 0xb0]
mov ecx, eax
call fcn.140099530
movzx eax, al
test eax, eax
je 0x14003fc27
mov rax, qword [rsp + 0x130]
mov byte [rax + 0xef], 1
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x14003fc68
xor r8d, r8d
lea rdx, [0x1401f4e8c]
mov rcx, qword [rsp + 0x130]
call fcn.14002bf70
lea rdx, [rsp + 0xb8]
mov ecx, eax
call fcn.1400990d0
movzx eax, al
test eax, eax
je 0x14003fc68
mov rax, qword [rsp + 0x148]
mov byte [rax], 0
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x190], 0
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x4898], ecx
mov eax, dword [rsp + 0x68]
and eax, 0x100000
test eax, eax
je 0x14003fcb2
movss xmm0, dword [rsp + 0x58]
mulss xmm0, dword [0x1401fa690]
movss dword [rsp + 0x80], xmm0
jmp 0x14003fcbe
xorps xmm0, xmm0
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x80]
movss dword [rsp + 0x8c], xmm0
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x8c]
lea rcx, [rsp + 0x108]
call fcn.14000b4d0
mov qword [rsp + 0xc0], rax
movss xmm0, dword [0x1401fa73c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x110]
call fcn.140015c40
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x98]
call fcn.14000c920
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rax + 0x3c]
jbe 0x14003fd69
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x4c]
addss xmm0, dword [rax + 0x392c]
movss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x44]
comiss xmm0, dword [rax + 0x3c]
jbe 0x14003fd93
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x44]
addss xmm0, dword [rax + 0x392c]
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x20]
comiss xmm0, dword [0x1401fa630]
jbe 0x14003feae
mov rax, qword [rsp + 0x50]
movss xmm0, dword [0x1401fa69c]
comiss xmm0, dword [rax + 0x20]
jbe 0x14003feae
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [0x1401fa66c]
call fcn.14004f770
mulss xmm0, dword [0x1401fa6bc]
movss xmm1, dword [0x1401fa69c]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.14002ebc0
movss dword [rsp + 0x88], xmm0
mov rcx, qword [rsp + 0x138]
call fcn.14002d730
subss xmm0, dword [rsp + 0x4c]
subss xmm0, dword [rsp + 0x44]
subss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0xa4], xmm0
movss xmm1, dword [rsp + 0x44]
movss xmm0, dword [rsp + 0x4c]
call fcn.140007530
movss dword [rsp + 0xa8], xmm0
movss xmm1, dword [rsp + 0xa4]
movss xmm0, dword [rsp + 0xa8]
call fcn.1400075a0
movss dword [rsp + 0x84], xmm0
movss xmm0, dword [rsp + 0x84]
mulss xmm0, dword [rsp + 0x88]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x4c]
call fcn.140007530
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x84]
mulss xmm0, dword [rsp + 0x88]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x44]
call fcn.140007530
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 8]
subss xmm0, dword [rsp + 0x44]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax]
addss xmm1, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x138]
movss xmm2, dword [rax + 0xc]
movss dword [rsp + 0x20], xmm2
movaps xmm3, xmm0
mov rax, qword [rsp + 0x138]
movss xmm2, dword [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.14000b3f0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [rax + 0x392c]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax + 8]
call fcn.1400075a0
movss xmm1, dword [rsp + 0x7c]
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm0
movss xmm2, dword [rsp + 0x74]
movss xmm1, dword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.14000b3f0
mov eax, dword [rsp + 0x68]
and eax, 0x100000
test eax, eax
je 0x140040086
lea rcx, [rsp + 0x90]
call fcn.14000b510
lea rcx, [rsp + 0x70]
call fcn.14002d730
subss xmm0, dword [rsp + 0x98]
mov rax, qword [rsp + 0x50]
mulss xmm0, dword [rax + 0x20]
movss xmm1, dword [rsp + 0x70]
addss xmm1, xmm0
movaps xmm0, xmm1
addss xmm0, dword [rsp + 0x98]
movss xmm2, dword [rsp + 0x78]
movss xmm1, dword [rsp + 0x70]
call fcn.140007450
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x74]
addss xmm0, dword [rsp + 0x7c]
mulss xmm0, dword [0x1401fa66c]
movss dword [rsp + 0x94], xmm0
movss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [rsp + 0x70]
jbe 0x140040086
movss xmm1, dword [0x1401fa69c]
xor ecx, ecx
call fcn.14002b900
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x2d8]
mov qword [rsp + 0xd8], rax
mov r8d, dword [rsp + 0xac]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14005b6a0
movss xmm0, dword [rsp + 0x8c]
mulss xmm0, dword [0x1401fa66c]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x90]
subss xmm1, xmm0
movaps xmm0, xmm1
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0xe8]
call fcn.1400075a0
movss 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.14003d8a0
add rsp, 0x128
ret