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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, qword [0x140149260]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rbx + 0xd3], 0
je 0x1400061aa
test byte [rbx + 0xc], 2
jne 0x1400061aa
mov byte [rbx + 0xd3], 0
xor r15d, r15d
cmp byte [rbx + 0x2d98], r15b
jne 0x140006205
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400061fe
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], r15
call fcn.1400029b0
mov rdi, rax
test rax, rax
je 0x1400061fe
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.140012a80
mov rcx, qword [0x140149260]
test rcx, rcx
je 0x1400061f5
dec dword [rcx + 0x3c8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x2d98], 1
movss xmm0, dword [rbx + 0x2d9c]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140006245
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2d9c], xmm0
jb 0x140006245
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140006237
call fcn.140012cb0
jmp 0x14000623e
mov byte [rbx + 0x3b0], 1
mov dword [rbx + 0x2d9c], r15d
inc dword [rbx + 0x1990]
movss xmm0, dword [rbx + 0x18]
mov rax, qword [rbx + 0xa0]
mov rdx, qword [0x140149260]
mov byte [rbx + 1], 1
mov dword [rbx + 0x2d74], r15d
mov dword [rbx + 0x19f0], r15d
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rbx + 0x1988]
movsd qword [rbx + 0x1988], xmm0
mov byte [rax], 1
mov rcx, qword [rdx + 0xb0]
test rcx, rcx
jne 0x1400062a0
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm1, dword [rdx + 0xa8]
mov rax, qword [rdx + 0x19f8]
mov qword [rdx + 0x18f0], rcx
mulss xmm1, dword [rcx]
mulss xmm1, dword [rcx + 4]
movss dword [rdx + 0x18fc], xmm1
test rax, rax
je 0x1400062d6
mulss xmm1, dword [rax + 0x298]
jmp 0x1400062d9
xorps xmm1, xmm1
movss dword [rdx + 0x18f8], xmm1
lea rbp, [rbx + 0x1cc8]
mov rax, qword [rcx + 0x58]
mov qword [rsp + 0x20], r15
movups xmm2, xmmword [rsp + 0x20]
movsd xmm0, qword [rax + 0x38]
mov qword [rdx + 0x1908], rcx
mov rcx, rbp
movsd qword [rdx + 0x1900], xmm0
movss dword [rdx + 0x1910], xmm1
movss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbx + 0x14]
mov eax, dword [rbx + 0x15ec]
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
mov dword [rbx + 0x1914], eax
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movups xmmword [rsp + 0x20], xmm2
movups xmmword [rbx + 0x1918], xmm2
call fcn.14001bda0
mov rax, qword [rbx + 0xa0]
mov edi, 8
mov r8d, dword [rbp + 0x74]
mov ecx, dword [rbp + 0x70]
mov r14, qword [rax + 8]
cmp ecx, r8d
jne 0x140006392
inc ecx
test r8d, r8d
je 0x140006380
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140006382
mov eax, edi
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x70]
call fcn.140013960
movsxd rcx, dword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
mov qword [rax + rcx*8], r14
mov rcx, rbp
inc dword [rbp + 0x70]
call fcn.14001c290
mov rax, qword [rbp + 0x38]
mov r8d, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x60]
movss xmm0, dword [rax + 0x18]
movss xmm1, dword [rax + 0x1c]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
maxss xmm0, dword [rax + 0x20]
maxss xmm1, dword [rax + 0x24]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
cmp ecx, r8d
jne 0x140006408
inc ecx
test r8d, r8d
je 0x1400063f8
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea edi, [r8 + rax]
cmp edi, ecx
cmovg ecx, edi
mov edx, ecx
lea rcx, [rbp + 0x60]
call fcn.140023aa0
movsxd rcx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x68]
add rcx, rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + rcx*8], xmm0
inc dword [rbp + 0x60]
mov rcx, rbp
call fcn.14001c1c0
movzx eax, byte [rbx + 0x15e9]
mov rdx, qword [0x140149260]
neg al
mov eax, r15d
mov byte [rbx + 0x1c70], r15b
sbb ecx, ecx
mov qword [rbx + 0x1c78], r15
and ecx, 2
mov qword [rbx + 0x1c84], r15
cmp byte [rbx + 0x15e8], r15b
mov dword [rbx + 0x1c80], r15d
setne al
or ecx, eax
mov dword [rbx + 0x1cf8], ecx
mov qword [rbx + 0x1c94], r15
mov qword [rbx + 0x1c8c], r15
cmp byte [rbx + 0x1d74], r15b
je 0x1400064af
mov eax, dword [rbx + 0x1d94]
cmp eax, dword [rbx + 0x1a24]
jne 0x1400064af
cmp dword [rdx + 0x1a24], eax
jne 0x1400064a0
mov dword [rdx + 0x1a2c], eax
cmp dword [rdx + 0x1a28], eax
jne 0x1400064af
mov byte [rdx + 0x1a37], 1
cmp dword [rbx + 0x1a18], r15d
jne 0x1400064c1
mov dword [rbx + 0x1a1c], r15d
jmp 0x1400064d3
mov eax, dword [rbx + 0x1a10]
test eax, eax
je 0x1400064da
cmp dword [rbx + 0x1a24], eax
jne 0x1400064da
mov dword [rbx + 0x1a20], r15d
mov eax, dword [rbx + 0x1a10]
test eax, eax
je 0x140006514
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a1c]
movss dword [rbx + 0x1a1c], xmm0
cmp dword [rbx + 0x1a24], eax
je 0x140006514
addss xmm1, dword [rbx + 0x1a20]
movss dword [rbx + 0x1a20], xmm1
mov dword [rbx + 0x1a18], eax
mov eax, dword [rbx + 0x1a24]
mov dword [rbx + 0x1a10], r15d
mov byte [rbx + 0x1a14], r15b
cmp dword [rbx + 0x1a2c], eax
je 0x140006581
cmp dword [rbx + 0x1a28], eax
jne 0x140006581
test eax, eax
je 0x140006581
mov ecx, dword [rdx + 0x1a24]
test ecx, ecx
setne al
mov byte [rdx + 0x1a34], al
test ecx, ecx
je 0x140006565
mov dword [rdx + 0x1a30], r15d
mov byte [rdx + 0x1a36], r15b
mov dword [rdx + 0x1a24], r15d
mov dword [rdx + 0x1a3c], r15d
mov byte [rdx + 0x1a35], r15b
mov qword [rdx + 0x1a48], r15
mov ecx, dword [rbx + 0x1a24]
test ecx, ecx
je 0x1400065a0
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1a30]
movss dword [rbx + 0x1a30], xmm0
mov rax, qword [rbx + 0x1a48]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1a60]
mov qword [rbx + 0x1a50], rax
movzx eax, byte [rbx + 0x1a36]
mov byte [rbx + 0x1a38], al
mov eax, dword [rbx + 0x2d48]
movss dword [rbx + 0x1a60], xmm0
mov dword [rbx + 0x1a28], ecx
mov dword [rbx + 0x1a2c], r15d
mov byte [rbx + 0x1a37], r15b
mov byte [rbx + 0x1a34], r15b
test eax, eax
je 0x140006600
cmp ecx, eax
je 0x140006600
mov dword [rbx + 0x2d48], r15d
mov eax, dword [rbx + 0x1de4]
lea rcx, [rbx + 0xca8]
lea rdx, [rbx + 0x4a8]
mov dword [rbx + 0x1de8], eax
mov r8d, 0x800
mov qword [rbx + 0x1de0], 0x7f7fffff
mov byte [rbx + 0x1d75], r15b
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14005a560]
lea rcx, [rbx + 0x135]
lea rax, [rbx + 0x4ac]
mov r8d, 0x80
cmp byte [rcx - 1], r15b
je 0x14000666f
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140006668
movaps xmm0, xmm6
jmp 0x140006672
addss xmm0, dword [rbx + 0x18]
jmp 0x140006672
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r15b
je 0x140006691
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x14000668a
movaps xmm0, xmm6
jmp 0x140006694
addss xmm0, dword [rbx + 0x18]
jmp 0x140006694
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r15b
je 0x1400066b4
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x1400066ad
movaps xmm0, xmm6
jmp 0x1400066b7
addss xmm0, dword [rbx + 0x18]
jmp 0x1400066b7
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r15b
je 0x1400066d8
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1400066d1
movaps xmm0, xmm6
jmp 0x1400066db
addss xmm0, dword [rbx + 0x18]
jmp 0x1400066db
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140006653
call fcn.14000f8c0
call fcn.140005750
movsxd rax, dword [rbx + 0x2fd8]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2df8]
addss xmm0, dword [rbx + 0x2fdc]
movss dword [rbx + 0x2fdc], xmm0
movss dword [rbx + rax*4 + 0x2df8], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x2fd8]
movss xmm1, dword [rbx + 0x2fdc]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rbx + 0x2fd8], ecx
jbe 0x140006776
divss xmm1, dword [0x14005a500]
movss xmm0, dword [0x14005a42c]
divss xmm0, xmm1
jmp 0x14000677e
movss xmm0, dword [0x14005a53c]
movss dword [rbx + 0x3b4], xmm0
call fcn.140005530
call fcn.140005d10
mov r10, qword [0x140149260]
mov eax, dword [r10 + 0x1aa8]
sub eax, 1
js 0x1400067db
movsxd rdx, eax
mov rax, qword [r10 + 0x1ab0]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x1400067d1
test dword [rax + 0xc], 0x8000000
jne 0x1400067f1
sub r8, 0x30
sub rdx, 1
jns 0x1400067c0
cmp qword [rbx + 0x1b80], r15
je 0x140006810
movss xmm0, dword [rbx + 0x1b9c]
comiss xmm0, xmm6
jbe 0x140006810
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14005a4b8]
addss xmm1, dword [rbx + 0x1cc0]
minss xmm1, dword [0x14005a42c]
jmp 0x14000682d
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14005a4c4]
movss xmm1, dword [rbx + 0x1cc0]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1cc0], xmm1
mov dword [rbx + 0x1d70], r15d
mov qword [rbx + 0x2fe4], 0xffffffffffffffff
mov dword [rbx + 0x2fe0], 0xffffffff
mov dword [rbx + 0x2d88], 0x3f800000
mov dword [rbx + 0x2d8c], 0x3f800000
call fcn.140005aa0
cmp dword [rbx + 0x1a24], r15d
jne 0x140006900
mov rax, qword [rbx + 0x1b40]
test rax, rax
je 0x140006900
cmp byte [rax + 0x7a], r15b
je 0x140006900
test dword [rax + 0xc], 0x40000
jne 0x140006900
cmp byte [rbx + 0x130], r15b
jne 0x140006900
movsxd rax, dword [r10 + 0x3c]
test eax, eax
js 0x140006900
movss xmm0, dword [r10 + rax*4 + 0x4a8]
ucomiss xmm0, xmm6
jp 0x1400068b8
jne 0x1400068b8
mov al, 1
jmp 0x1400068ba
xor al, al
test al, al
je 0x140006900
cmp dword [rbx + 0x1b48], r15d
je 0x1400068e8
mov eax, dword [rbx + 0x1ba8]
cmp eax, 0x7fffffff
je 0x1400068e8
cmp byte [rbx + 0x131], r15b
mov ecx, 2
cmovne ecx, r15d
add ecx, eax
jmp 0x1400068f3
movzx eax, byte [rbx + 0x131]
neg al
sbb ecx, ecx
mov rax, qword [rbx + 0x1b40]
mov dword [rax + 0x3b4], ecx
mov r8d, r15d
mov dword [rbx + 0x1ba8], 0x7fffffff
cmp dword [rbx + 0x19a0], r15d
je 0x14000694b
mov rdx, r15
nop dword [rax]
mov rax, qword [rbx + 0x19a8]
lea rdx, [rdx + 8]
inc r8d
mov rcx, qword [rdx + rax - 8]
movzx eax, byte [rcx + 0x7a]
mov byte [rcx + 0x7b], al
mov byte [rcx + 0x7a], r15b
mov byte [rcx + 0x7c], r15b
cmp r8d, dword [rbx + 0x19a0]
jne 0x140006920
mov rax, qword [rbx + 0x1b40]
test rax, rax
je 0x1400069c5
cmp byte [rax + 0x7b], r15b
jne 0x1400069c5
mov eax, dword [r10 + 0x19b0]
sub eax, 1
js 0x1400069c5
movsxd r9, eax
mov rax, qword [r10 + 0x19b8]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x1400069a3
cmp byte [r8 + 0x7b], r15b
je 0x1400069a3
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x1400069af
sub r10, 8
sub r9, 1
jns 0x140006977
jmp 0x1400069c5
mov rax, qword [r8 + 0x370]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.14000ca60
mov ecx, dword [rbx + 0x19d4]
test ecx, ecx
jns 0x1400069ec
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x19d0]
test eax, eax
cmovg edx, eax
call fcn.140013960
mov dword [rbx + 0x19d0], r15d
mov r8d, dword [rbx + 0x1abc]
test r8d, r8d
jns 0x140006a1e
mov eax, r8d
lea rcx, [rbx + 0x1ab8]
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140013fe0
mov dword [rbx + 0x1ab8], r15d
mov rcx, qword [rbx + 0x1b40]
call fcn.14000de40
mov rax, qword [0x140149260]
lea rcx, str.DebugDefault
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1af4], 0x43c80000
mov dword [rax + 0x1af8], 0x43c80000
mov dword [rax + 0x1acc], 4
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
jmp fcn.140009a10