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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x60
mov rcx, qword [0x1402280a8]
xor r14d, r14d
movaps xmmword [rsp + 0x40], xmm7
mov rdi, rcx
xorps xmm7, xmm7
cmp qword [rcx + 0x4058], r14
je 0x140016263
movss xmm3, dword [rcx + 0x4070]
subss xmm3, dword [rcx + 0x18]
movss xmm1, dword [0x1400e7b68]
movss dword [rcx + 0x4070], xmm3
movss xmm0, dword [rcx + 0xe48]
comiss xmm0, xmm1
movss xmm2, dword [rcx + 0xe4c]
jb 0x140016209
comiss xmm2, xmm1
jb 0x140016209
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 0x140016209
mov dword [rcx + 0x4070], r14d
xorps xmm3, xmm3
comiss xmm7, xmm3
jb 0x140016263
test byte [rcx + 0x5ffc], 0x40
mov rbx, rcx
mov dword [rcx + 0x4070], r14d
je 0x14001623b
lea rdx, [0x1400dc9cc]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.1400201b0
mov rcx, qword [0x1402280a8]
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.1400038a0
cmp dword [rax], 0xffffffff
jne 0x140016283
movss xmm8, dword [rdi + 0xe5c]
jmp 0x140016287
xorps xmm8, xmm8
mov rcx, qword [0x1402280a8]
mov edx, 0x295
movaps xmmword [rsp + 0x50], xmm6
call fcn.1400038a0
cmp dword [rax], 0xffffffff
jne 0x1400162ac
movss xmm6, dword [rdi + 0xe58]
jmp 0x1400162af
xorps xmm6, xmm6
mov rbx, qword [rdi + 0x4058]
mov qword [rsp + 0x90], rsi
test rbx, rbx
je 0x1400162c8
mov rsi, rbx
jmp 0x1400162d8
mov rsi, qword [rdi + 0x4040]
test rsi, rsi
je 0x14001680e
cmp byte [rsi + 0xc1], r14b
jne 0x14001680e
ucomiss xmm6, xmm7
jp 0x1400162f0
je 0x140016495
cmp byte [rdi + 0xe64], r14b
je 0x1400164a2
cmp byte [rdi + 0x44], r14b
je 0x140016495
andps xmm6, xmmword [0x1400e7dd0]
mov rbx, qword [0x1402280a8]
mulss xmm6, dword [0x1400e7a40]
addss xmm6, dword [rbx + 0x4070]
minss xmm6, dword [0x1400e7a40]
movss dword [rbx + 0x4070], xmm6
cmp qword [rbx + 0x4058], rsi
je 0x14001636e
test byte [rbx + 0x5ffc], 0x40
je 0x140016357
mov rdx, qword [rsi + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.1400201b0
movsd xmm0, qword [rbx + 0xe48]
movsd qword [rbx + 0x4060], xmm0
mov qword [rbx + 0x4058], rsi
movss xmm1, dword [rdi + 0xe58]
mulss xmm1, dword [0x1400e7a0c]
movss xmm2, dword [rsi + 0x2a0]
movss xmm0, dword [0x1400e7a30]
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x1400163a3
movss xmm0, dword [0x1400e7a7c]
minss xmm0, xmm1
movaps xmm7, xmm0
movss dword [rsi + 0x2a0], xmm0
divss xmm7, xmm2
cmp rsi, qword [rsi + 0x388]
jne 0x14001680e
movss xmm5, dword [0x1400e7a64]
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.140013f50
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 0x14001680e
cmp byte [rdi + 0xe64], r14b
jne 0x14001680e
movaps xmmword [rsp + 0x20], xmm10
cmp byte [rdi + 0x3895], r14b
je 0x1400164b8
movaps xmm8, xmm6
xorps xmm6, xmm6
movss xmm1, dword [rdi + 0x407c]
movaps xmm2, xmm8
movss xmm3, dword [0x1400e7ad8]
movaps xmm0, xmm1
movss xmm10, dword [0x1400e7dd0]
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 0x14001655c
jne 0x14001655c
ucomiss xmm6, xmm7
jp 0x14001655c
je 0x140016808
test rbx, rbx
jne 0x14001657a
lea rcx, [rsp + 0x80]
call fcn.140015fd0
mov rbx, rax
test rax, rax
je 0x140016808
mov eax, dword [rbx + 0x14]
test al, 0x10
jne 0x140016808
bt eax, 9
jb 0x140016808
ucomiss xmm8, xmm7
mov qword [rsp + 0x88], rbp
jp 0x14001659f
je 0x1400165ae
movss xmm0, dword [rbx + 0x94]
ucomiss xmm0, xmm7
jp 0x1400165b2
jne 0x1400165b2
xor al, al
jmp 0x1400165b4
mov al, 1
ucomiss xmm6, xmm7
mov byte [rsp + 0x80], al
jp 0x1400165c2
je 0x1400165d1
movss xmm0, dword [rbx + 0x98]
ucomiss xmm0, xmm7
jp 0x1400165d6
jne 0x1400165d6
xor bpl, bpl
jmp 0x1400165d9
mov bpl, 1
movss xmm7, dword [0x1400e7a40]
mov byte [rsp + 0x81], bpl
test al, al
je 0x140016710
test bpl, bpl
je 0x140016623
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 0x140016710
mov rsi, qword [0x1402280a8]
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 0x14001668b
test byte [rsi + 0x5ffc], 0x40
je 0x140016674
mov rdx, qword [rbx + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.1400201b0
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 [0x1400e7a3c]
test rax, rax
je 0x1400166ca
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 0x140016808
mov rsi, qword [0x1402280a8]
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 0x140016780
test byte [rsi + 0x5ffc], 0x40
je 0x140016769
mov rdx, qword [rbx + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.1400201b0
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 [0x1400e7a3c]
test rax, rax
je 0x1400167bf
mulss xmm0, dword [rax + 0x2a0]
mulss xmm0, dword [0x1400e7a94]
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