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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x14006cfb0]
xor esi, esi
movaps xmmword [rsp + 0x20], xmm6
cmp byte [rdi + 0xd3], sil
je 0x140020af3
test byte [rdi + 0xc], 2
jne 0x140020af3
mov byte [rdi + 0xd3], sil
cmp byte [rdi + 0x2d98], sil
jne 0x140020b11
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140020b0a
call fcn.14001dc40
mov byte [rdi + 0x2d98], 1
movss xmm0, dword [rdi + 0x2d9c]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140020b50
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2d9c], xmm0
jb 0x140020b50
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140020b43
call fcn.140022934
jmp 0x140020b4a
mov byte [rdi + 0x3b0], 1
mov dword [rdi + 0x2d9c], esi
inc dword [rdi + 0x1990]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa0]
mov byte [rdi + 1], 1
mov dword [rdi + 0x2d74], esi
mov dword [rdi + 0x19f0], esi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x1988]
movsd qword [rdi + 0x1988], xmm0
mov byte [rax], 1
mov rax, qword [0x14006cfb0]
mov rcx, qword [rax + 0xb0]
test rcx, rcx
jne 0x140020ba9
mov rax, qword [rax + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.140022d0c
movss xmm0, dword [rdi + 0x10]
lea rbx, [rdi + 0x1cc8]
movss xmm1, dword [rdi + 0x14]
mov rcx, rbx
mov qword [rdi + 0x1918], rsi
movss dword [rdi + 0x1920], xmm0
movss dword [rdi + 0x1924], xmm1
mov eax, dword [rdi + 0x15ec]
mov dword [rdi + 0x1914], eax
call fcn.140028740
mov rdx, qword [rdi + 0xa0]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.14002a708
mov rcx, rbx
call fcn.14002a6d8
mov al, byte [rdi + 0x15e9]
neg al
mov byte [rdi + 0x1c70], sil
mov eax, esi
mov qword [rdi + 0x1c78], rsi
sbb ecx, ecx
mov qword [rdi + 0x1c84], rsi
and ecx, 2
mov dword [rdi + 0x1c80], esi
cmp byte [rdi + 0x15e8], sil
setne al
or ecx, eax
mov dword [rdi + 0x1cf8], ecx
mov qword [rdi + 0x1c94], rsi
mov qword [rdi + 0x1c8c], rsi
cmp byte [rdi + 0x1d74], sil
je 0x140020c6b
mov ecx, dword [rdi + 0x1d94]
cmp ecx, dword [rdi + 0x1a24]
jne 0x140020c6b
call fcn.14001dc18
cmp dword [rdi + 0x1a18], esi
jne 0x140020c7b
mov dword [rdi + 0x1a1c], esi
jmp 0x140020c8d
mov eax, dword [rdi + 0x1a10]
test eax, eax
je 0x140020c93
cmp dword [rdi + 0x1a24], eax
jne 0x140020c93
mov dword [rdi + 0x1a20], esi
mov eax, dword [rdi + 0x1a10]
test eax, eax
je 0x140020ccd
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a1c]
movss dword [rdi + 0x1a1c], xmm0
cmp dword [rdi + 0x1a24], eax
je 0x140020ccd
addss xmm1, dword [rdi + 0x1a20]
movss dword [rdi + 0x1a20], xmm1
mov dword [rdi + 0x1a18], eax
mov eax, dword [rdi + 0x1a24]
mov dword [rdi + 0x1a10], esi
mov byte [rdi + 0x1a14], sil
cmp dword [rdi + 0x1a2c], eax
je 0x140020d03
cmp dword [rdi + 0x1a28], eax
jne 0x140020d03
test eax, eax
je 0x140020d03
xor edx, edx
xor ecx, ecx
call fcn.140022a9c
mov ecx, dword [rdi + 0x1a24]
test ecx, ecx
je 0x140020d22
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1a30]
movss dword [rdi + 0x1a30], xmm0
mov rax, qword [rdi + 0x1a48]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1a60]
mov qword [rdi + 0x1a50], rax
mov al, byte [rdi + 0x1a36]
mov byte [rdi + 0x1a38], al
mov eax, dword [rdi + 0x2d48]
movss dword [rdi + 0x1a60], xmm0
mov dword [rdi + 0x1a28], ecx
mov dword [rdi + 0x1a2c], esi
mov byte [rdi + 0x1a37], sil
mov byte [rdi + 0x1a34], sil
test eax, eax
je 0x140020d7f
cmp ecx, eax
je 0x140020d7f
mov dword [rdi + 0x2d48], esi
mov eax, dword [rdi + 0x1de4]
lea rbx, [rdi + 0x4a8]
mov rdx, rbx
mov dword [rdi + 0x1de8], eax
lea rcx, [rdi + 0xca8]
mov qword [rdi + 0x1de0], 0x7f7fffff
mov r8d, 0x800
mov byte [rdi + 0x1d75], sil
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rdi + 0x134]
mov ecx, 0x200
cmp byte [rax], sil
je 0x140020ddf
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x140020dd8
movaps xmm0, xmm6
jmp 0x140020de7
addss xmm0, dword [rdi + 0x18]
jmp 0x140020de7
movss xmm0, dword [0x1400484f8]
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rcx, 1
jne 0x140020dc5
call fcn.14001f044
call fcn.1400245a8
movsxd rax, dword [rdi + 0x2fd8]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2df8]
addss xmm0, dword [rdi + 0x2fdc]
movss dword [rdi + 0x2fdc], xmm0
movss dword [rdi + rax*4 + 0x2df8], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x2fd8]
movss xmm1, dword [rdi + 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 [rdi + 0x2fd8], ecx
jbe 0x140020e7c
divss xmm1, dword [0x140048840]
movss xmm0, dword [0x1400483f8]
divss xmm0, xmm1
jmp 0x140020e84
movss xmm0, dword [0x1400484f4]
movss dword [rdi + 0x3b4], xmm0
call fcn.1400248ec
call fcn.140023b74
call fcn.14001be68
test rax, rax
jne 0x140020ed5
cmp qword [rdi + 0x1b80], rsi
je 0x140020eb6
movss xmm0, dword [rdi + 0x1b9c]
comiss xmm0, xmm6
ja 0x140020ed5
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140048830]
movss xmm1, dword [rdi + 0x1cc0]
subss xmm1, xmm0
maxss xmm1, xmm6
jmp 0x140020ef2
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140048454]
addss xmm1, dword [rdi + 0x1cc0]
minss xmm1, dword [0x1400483f8]
movss dword [rdi + 0x1cc0], xmm1
or eax, 0xffffffff
mov dword [rdi + 0x2fe8], eax
mov dword [rdi + 0x2fe4], eax
mov dword [rdi + 0x2fe0], eax
mov eax, 0x3f800000
mov dword [rdi + 0x2d88], eax
mov dword [rdi + 0x2d8c], eax
mov dword [rdi + 0x1d70], esi
call fcn.1400249fc
mov r11d, 0x7fffffff
cmp dword [rdi + 0x1a24], esi
jne 0x140020fb5
mov rdx, qword [rdi + 0x1b40]
test rdx, rdx
je 0x140020fb5
cmp byte [rdx + 0x7a], sil
je 0x140020fb5
test dword [rdx + 0xc], 0x40000
jne 0x140020fb5
cmp byte [rdi + 0x130], sil
jne 0x140020fb5
mov rcx, qword [0x14006cfb0]
cmp dword [rcx + 0x3c], esi
jl 0x140020fb5
movsxd rax, dword [rcx + 0x3c]
movss xmm0, dword [rcx + rax*4 + 0x4a8]
ucomiss xmm0, xmm6
jp 0x140020fb5
jne 0x140020fb5
cmp dword [rdi + 0x1b48], esi
je 0x140020fa5
mov r8d, dword [rdi + 0x1ba8]
cmp r8d, r11d
je 0x140020fa5
mov al, byte [rdi + 0x131]
neg al
sbb ecx, ecx
not ecx
and ecx, 2
add ecx, r8d
jmp 0x140020faf
mov al, byte [rdi + 0x131]
neg al
sbb ecx, ecx
mov dword [rdx + 0x3b4], ecx
mov r8d, esi
mov dword [rdi + 0x1ba8], r11d
cmp dword [rdi + 0x19a0], esi
je 0x140020ff3
mov rdx, rsi
mov rax, qword [rdi + 0x19a8]
inc r8d
mov rcx, qword [rdx + rax]
lea rdx, [rdx + 8]
mov al, byte [rcx + 0x7a]
mov byte [rcx + 0x7b], al
mov byte [rcx + 0x7a], sil
mov byte [rcx + 0x7c], sil
cmp r8d, dword [rdi + 0x19a0]
jne 0x140020fca
mov rax, qword [rdi + 0x1b40]
test rax, rax
je 0x14002100c
cmp byte [rax + 0x7b], sil
jne 0x14002100c
xor ecx, ecx
call fcn.14001b7b8
lea rbx, [rdi + 0x19d0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140021032
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140025310
mov dword [rbx], esi
lea rbx, [rdi + 0x1ab8]
mov r8d, dword [rbx + 4]
test r8d, r8d
jns 0x14002105e
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.14002544c
mov dword [rbx], esi
mov rcx, qword [rdi + 0x1b40]
call fcn.140019c28
mov rax, qword [0x14006cfb0]
mov ecx, 0x43c80000
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1af4], ecx
mov dword [rax + 0x1af8], ecx
lea rcx, str.DebugDefault
mov dword [rax + 0x1acc], 4
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
jmp fcn.140015e88