Function at 0x140199d20
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 [0x14045be30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x38e8
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 0x140199d78
mov byte [rsp + 0x48], 1
jmp 0x140199d7d
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 0x140199da3
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 0xffffffff
je 0x140199da3
mov byte [rsp + 0x49], 1
jmp 0x140199da8
mov byte [rsp + 0x49], 0
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x4994]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x4994]
or eax, 0x10
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x4994], eax
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x168], 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 + 0x3d40]
movss dword [rsp + 0x58], xmm0
lea rcx, [rsp + 0xb8]
call fcn.1401a3c80
lea rcx, [rsp + 0xb0]
call fcn.1401a3c80
nop
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x140199eb3
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.140157b30
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 0x140199f35
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 1
jne 0x140199f35
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.140157b30
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 0x140199fb0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x28], 0
jne 0x140199fb0
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.140157b30
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 0x140199ff5
xor r8d, r8d
lea rdx, str.COLLAPSE
mov rcx, qword [rsp + 0x130]
call fcn.14017ceb0
lea rdx, [rsp + 0xb0]
mov ecx, eax
call fcn.140228980
movzx eax, al
test eax, eax
je 0x140199ff5
mov rax, qword [rsp + 0x130]
mov byte [rax + 0xc2], 1
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x14019a036
xor r8d, r8d
lea rdx, [0x1402646c4]
mov rcx, qword [rsp + 0x130]
call fcn.14017ceb0
lea rdx, [rsp + 0xb8]
mov ecx, eax
call fcn.140228510
movzx eax, al
test eax, eax
je 0x14019a036
mov rax, qword [rsp + 0x148]
mov byte [rax], 0
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x168], 0
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x4994], ecx
mov eax, dword [rsp + 0x68]
and eax, 0x40000
test eax, eax
je 0x14019a080
movss xmm0, dword [rsp + 0x58]
mulss xmm0, dword [0x140265a6c]
movss dword [rsp + 0x80], xmm0
jmp 0x14019a08c
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.140157b30
mov qword [rsp + 0xc0], rax
movss xmm0, dword [0x140260e7c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x110]
call fcn.140174640
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x98]
call fcn.140179810
nop
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rax + 0x3c]
jbe 0x14019a138
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x4c]
addss xmm0, dword [rax + 0x393c]
movss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x44]
comiss xmm0, dword [rax + 0x3c]
jbe 0x14019a162
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x44]
addss xmm0, dword [rax + 0x393c]
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x20]
comiss xmm0, dword [0x140260d18]
jbe 0x14019a27d
mov rax, qword [rsp + 0x50]
movss xmm0, dword [0x140260d70]
comiss xmm0, dword [rax + 0x20]
jbe 0x14019a27d
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [0x140260d48]
call fcn.140165280
mulss xmm0, dword [0x140260d90]
movss xmm1, dword [0x140260d70]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.14017bb00
movss dword [rsp + 0x88], xmm0
mov rcx, qword [rsp + 0x138]
call fcn.1401a6450
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.14017bd30
movss dword [rsp + 0xa8], xmm0
movss xmm1, dword [rsp + 0xa4]
movss xmm0, dword [rsp + 0xa8]
call fcn.14017bce0
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.14017bd30
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.14017bd30
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.1401a3ba0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [rax + 0x393c]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax + 8]
call fcn.14017bce0
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.1401a3ba0
nop
mov eax, dword [rsp + 0x68]
and eax, 0x40000
test eax, eax
je 0x14019a457
lea rcx, [rsp + 0x90]
call fcn.1401a3c80
lea rcx, [rsp + 0x70]
call fcn.1401a6450
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.14019d9a0
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x74]
addss xmm0, dword [rsp + 0x7c]
mulss xmm0, dword [0x140260d48]
movss dword [rsp + 0x94], xmm0
movss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [rsp + 0x70]
jbe 0x14019a457
movss xmm1, dword [0x140260d70]
xor ecx, ecx
call fcn.140170710
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0xd8], rax
mov r8d, dword [rsp + 0xac]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.1401e15c0
nop
movss xmm0, dword [rsp + 0x8c]
mulss xmm0, dword [0x140260d48]
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.14017bce0
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.1401882c0
nop
add rsp, 0x128
ret