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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x60
mov rcx, qword [0x1403793f0]
xor r14d, r14d
movaps xmmword [rsp + 0x40], xmm7
mov rdi, rcx
xorps xmm7, xmm7
cmp qword [rcx + 0x4058], r14
je 0x140016953
movss xmm3, dword [rcx + 0x4070]
subss xmm3, dword [rcx + 0x18]
movss xmm1, dword [0x140179630]
movss dword [rcx + 0x4070], xmm3
movss xmm0, dword [rcx + 0xe48]
comiss xmm0, xmm1
movss xmm2, dword [rcx + 0xe4c]
jb 0x1400168f9
comiss xmm2, xmm1
jb 0x1400168f9
subss xmm2, dword [rcx + 0x4064]
movaps xmm1, xmm0
movss xmm0, dword [rcx + 0x6c]
subss xmm1, dword [rcx + 0x4060]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1400168f9
mov dword [rcx + 0x4070], r14d
xorps xmm3, xmm3
comiss xmm7, xmm3
jb 0x140016953
test byte [rcx + 0x5ffc], 0x40
mov rbx, rcx
mov dword [rcx + 0x4070], r14d
je 0x14001692b
lea rdx, str.NULL
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.140020960
mov rcx, qword [0x1403793f0]
movsd xmm0, qword [rbx + 0xe48]
movsd qword [rbx + 0x4060], xmm0
mov qword [rdi + 0x4058], r14
mov dword [rbx + 0x4068], 0xffffffff
mov qword [rbx + 0x407c], r14
mov edx, 0x294
movaps xmmword [rsp + 0x30], xmm8
call fcn.140004450
cmp dword [rax], 0xffffffff
jne 0x140016973
movss xmm8, dword [rdi + 0xe5c]
jmp 0x140016977
xorps xmm8, xmm8
mov rcx, qword [0x1403793f0]
mov edx, 0x295
movaps xmmword [rsp + 0x50], xmm6
call fcn.140004450
cmp dword [rax], 0xffffffff
jne 0x14001699c
movss xmm6, dword [rdi + 0xe58]
jmp 0x14001699f
xorps xmm6, xmm6
mov rbx, qword [rdi + 0x4058]
mov qword [rsp + 0x90], rsi
test rbx, rbx
je 0x1400169b8
mov rsi, rbx
jmp 0x1400169c8
mov rsi, qword [rdi + 0x4040]
test rsi, rsi
je 0x140016efe
cmp byte [rsi + 0xc1], r14b
jne 0x140016efe
ucomiss xmm6, xmm7
jp 0x1400169e0
je 0x140016b85
cmp byte [rdi + 0xe64], r14b
je 0x140016b92
cmp byte [rdi + 0x44], r14b
je 0x140016b85
andps xmm6, xmmword [0x1401798b0]
mov rbx, qword [0x1403793f0]
mulss xmm6, dword [0x140179504]
addss xmm6, dword [rbx + 0x4070]
minss xmm6, dword [0x140179504]
movss dword [rbx + 0x4070], xmm6
cmp qword [rbx + 0x4058], rsi
je 0x140016a5e
test byte [rbx + 0x5ffc], 0x40
je 0x140016a47
mov rdx, qword [rsi + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.140020960
movsd xmm0, qword [rbx + 0xe48]
movsd qword [rbx + 0x4060], xmm0
mov qword [rbx + 0x4058], rsi
movss xmm1, dword [rdi + 0xe58]
mulss xmm1, dword [0x1401794cc]
movss xmm2, dword [rsi + 0x2a0]
movss xmm0, dword [0x1401794f0]
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x140016a93
movss xmm0, dword [0x140179558]
minss xmm0, xmm1
movaps xmm7, xmm0
movss dword [rsi + 0x2a0], xmm0
divss xmm7, xmm2
cmp rsi, qword [rsi + 0x388]
jne 0x140016efe
movss xmm5, dword [0x14017952c]
lea rdx, [rsp + 0x80]
movss xmm0, dword [rdi + 0xe48]
subss xmm5, xmm7
subss xmm0, dword [rsi + 0x28]
xor r8d, r8d
mov rcx, rsi
movaps xmm1, xmm5
mulss xmm5, dword [rsi + 0x34]
mulss xmm1, dword [rsi + 0x30]
mulss xmm1, xmm0
movss xmm0, dword [rdi + 0xe4c]
subss xmm0, dword [rsi + 0x2c]
divss xmm1, dword [rsi + 0x30]
mulss xmm0, xmm5
addss xmm1, dword [rsi + 0x28]
divss xmm0, dword [rsi + 0x34]
movss dword [rsp + 0x80], xmm1
addss xmm0, dword [rsi + 0x2c]
movss dword [rsp + 0x84], xmm0
call fcn.140014500
movaps xmm0, xmm7
movaps xmm1, xmm7
mulss xmm0, dword [rsi + 0x30]
mulss xmm1, dword [rsi + 0x34]
cvttss2si eax, xmm0
movd xmm2, eax
cvttss2si eax, xmm1
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x30], xmm2
movss dword [rsi + 0x34], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rsi + 0x38]
mulss xmm7, dword [rsi + 0x3c]
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, xmm7
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x38], xmm1
movss dword [rsi + 0x3c], xmm0
jmp 0x140016efe
cmp byte [rdi + 0xe64], r14b
jne 0x140016efe
movaps xmmword [rsp + 0x20], xmm10
cmp byte [rdi + 0x3895], r14b
je 0x140016ba8
movaps xmm8, xmm6
xorps xmm6, xmm6
movss xmm1, dword [rdi + 0x407c]
movaps xmm2, xmm8
movss xmm3, dword [0x1401795a8]
movaps xmm0, xmm1
movss xmm10, dword [0x1401798b0]
andps xmm2, xmm10
divss xmm2, xmm3
divss xmm0, xmm3
subss xmm1, xmm0
addss xmm2, xmm1
movss xmm1, dword [rdi + 0x4080]
movaps xmm0, xmm1
divss xmm0, xmm3
movss dword [rdi + 0x407c], xmm2
movaps xmm2, xmm6
andps xmm2, xmm10
subss xmm1, xmm0
divss xmm2, xmm3
addss xmm2, xmm1
movss dword [rdi + 0x4080], xmm2
addss xmm8, dword [rdi + 0x4074]
addss xmm6, dword [rdi + 0x4078]
mov qword [rdi + 0x4074], r14
ucomiss xmm8, xmm7
movss dword [rsp + 0x80], xmm8
movss dword [rsp + 0x84], xmm6
jp 0x140016c4c
jne 0x140016c4c
ucomiss xmm6, xmm7
jp 0x140016c4c
je 0x140016ef8
test rbx, rbx
jne 0x140016c6a
lea rcx, [rsp + 0x80]
call fcn.1400166c0
mov rbx, rax
test rax, rax
je 0x140016ef8
mov eax, dword [rbx + 0x14]
test al, 0x10
jne 0x140016ef8
bt eax, 9
jb 0x140016ef8
ucomiss xmm8, xmm7
mov qword [rsp + 0x88], rbp
jp 0x140016c8f
je 0x140016c9e
movss xmm0, dword [rbx + 0x94]
ucomiss xmm0, xmm7
jp 0x140016ca2
jne 0x140016ca2
xor al, al
jmp 0x140016ca4
mov al, 1
ucomiss xmm6, xmm7
mov byte [rsp + 0x80], al
jp 0x140016cb2
je 0x140016cc1
movss xmm0, dword [rbx + 0x98]
ucomiss xmm0, xmm7
jp 0x140016cc6
jne 0x140016cc6
xor bpl, bpl
jmp 0x140016cc9
mov bpl, 1
movss xmm7, dword [0x140179504]
mov byte [rsp + 0x81], bpl
test al, al
je 0x140016e00
test bpl, bpl
je 0x140016d13
movss xmm0, dword [rdi + 0x407c]
mov rax, r14
comiss xmm0, dword [rdi + 0x4080]
seta al
mov byte [rsp + rax + 0x80], r14b
movzx ebp, byte [rsp + 0x81]
movzx eax, byte [rsp + 0x80]
test al, al
je 0x140016e00
mov rsi, qword [0x1403793f0]
movaps xmm0, xmm8
andps xmm0, xmm10
mulss xmm0, xmm7
addss xmm0, dword [rsi + 0x4070]
minss xmm0, xmm7
movss dword [rsi + 0x4070], xmm0
cmp qword [rsi + 0x4058], rbx
je 0x140016d7b
test byte [rsi + 0x5ffc], 0x40
je 0x140016d64
mov rdx, qword [rbx + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.140020960
movsd xmm0, qword [rsi + 0xe48]
movsd qword [rsi + 0x4060], xmm0
mov qword [rsi + 0x4058], rbx
mov rax, qword [rbx]
movss xmm1, dword [rbx + 0x210]
subss xmm1, dword [rbx + 0x208]
movss xmm0, dword [rax + 0x3d64]
mov rax, qword [rbx + 0x378]
mulss xmm0, dword [rbx + 0x2a0]
mulss xmm1, dword [0x140179500]
test rax, rax
je 0x140016dba
mulss xmm0, dword [rax + 0x2a0]
addss xmm0, xmm0
mov dword [rbx + 0xa4], r14d
mov dword [rbx + 0xac], r14d
minss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [rbx + 0x8c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm8
subss xmm0, xmm1
movss dword [rbx + 0x9c], xmm0
mov eax, dword [rdi + 0x3f90]
mov dword [rdi + 0x406c], eax
test bpl, bpl
mov rbp, qword [rsp + 0x88]
je 0x140016ef8
mov rsi, qword [0x1403793f0]
movaps xmm0, xmm6
andps xmm0, xmm10
mulss xmm0, xmm7
addss xmm0, dword [rsi + 0x4070]
minss xmm0, xmm7
movss dword [rsi + 0x4070], xmm0
cmp qword [rsi + 0x4058], rbx
je 0x140016e70
test byte [rsi + 0x5ffc], 0x40
je 0x140016e59
mov rdx, qword [rbx + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.140020960
movsd xmm0, qword [rsi + 0xe48]
movsd qword [rsi + 0x4060], xmm0
mov qword [rsi + 0x4058], rbx
mov rax, qword [rbx]
movss xmm1, dword [rbx + 0x214]
subss xmm1, dword [rbx + 0x20c]
movss xmm0, dword [rax + 0x3d64]
mov rax, qword [rbx + 0x378]
mulss xmm0, dword [rbx + 0x2a0]
mulss xmm1, dword [0x140179500]
test rax, rax
je 0x140016eaf
mulss xmm0, dword [rax + 0x2a0]
mulss xmm0, dword [0x140179568]
mov dword [rbx + 0xa8], r14d
mov dword [rbx + 0xb0], r14d
minss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [rbx + 0x90]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
subss xmm0, xmm1
movss dword [rbx + 0xa0], xmm0
mov eax, dword [rdi + 0x3f90]
mov dword [rdi + 0x406c], eax
movaps xmm10, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x50]
mov rsi, qword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop r14
pop rdi
pop rbx
ret