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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, qword [0x1801605b0]
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
cmp byte [rdi + 0xcb], 0
je 0x1800c56a6
test byte [rdi + 0xc], 2
jne 0x1800c56a6
mov byte [rdi + 0xcb], 0
xor esi, esi
cmp byte [rdi + 0x2ef4], sil
jne 0x1800c5706
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800c56ff
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
call fcn.1800c1890
mov rbx, rax
test rax, rax
je 0x1800c56ff
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1800d2e50
mov rcx, qword [0x1801605b0]
test rcx, rcx
je 0x1800c56f0
dec dword [rcx + 0x3bc]
mov rdx, qword [0x1801605b8]
mov rcx, rbx
call fcn.1800c0cd0
mov byte [rdi + 0x2ef4], 1
movss xmm0, dword [rdi + 0x2ef8]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1800c5745
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2ef8], xmm0
jb 0x1800c5745
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800c5738
call fcn.1800d30c0
jmp 0x1800c573f
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2ef8], esi
inc dword [rdi + 0x19b0]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov byte [rdi + 0x19bc], 1
mov dword [rdi + 0x2ec8], esi
mov dword [rdi + 0x1a10], esi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x19a8]
movsd qword [rdi + 0x19a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1801605b0]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x1800c57a1
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.1800cce00
mov eax, dword [rdi + 0x1604]
movss xmm2, dword [rdi + 0x10]
movss xmm0, dword [rdi + 0x14]
mov qword [rsp + 0x20], rsi
movups xmm1, xmmword [rsp + 0x20]
mov dword [rdi + 0x192c], eax
mov eax, esi
mov dword [rdi + 0x1940], esi
shufps xmm1, xmm1, 0xd2
movss xmm1, xmm2
shufps xmm1, xmm1, 0x27
movss xmm1, xmm0
shufps xmm1, xmm1, 0x39
movups xmmword [rdi + 0x1930], xmm1
cmp byte [rdi + 0x1600], sil
je 0x1800c57fd
mov eax, 1
mov dword [rdi + 0x1940], eax
cmp byte [rdi + 0x1601], sil
je 0x1800c580f
or eax, 2
mov dword [rdi + 0x1940], eax
test byte [rdi + 0xc], 8
je 0x1800c581e
or eax, 4
mov dword [rdi + 0x1940], eax
lea rcx, [rdi + 0x1d40]
call fcn.1800db5e0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1d40]
mov rdx, qword [rdx + 8]
call fcn.1800dbc70
mov rax, qword [rdi + 0x1d78]
lea rcx, [rdi + 0x1d40]
xor r9d, r9d
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.1800dbb40
lea rcx, [rdi + 0x1de8]
call fcn.1800db5e0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1de8]
mov rdx, qword [rdx + 8]
call fcn.1800dbc70
mov rax, qword [rdi + 0x1e20]
lea rcx, [rdi + 0x1de8]
xor r9d, r9d
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.1800dbb40
mov rdx, qword [0x1801605b0]
mov byte [rdi + 0x1ce0], sil
mov qword [rdi + 0x1ce8], rsi
mov qword [rdi + 0x1cf4], rsi
mov dword [rdi + 0x1cf0], esi
mov qword [rdi + 0x1d0c], rsi
mov qword [rdi + 0x1d04], rsi
mov qword [rdi + 0x1cfc], rsi
cmp byte [rdi + 0x1e94], sil
je 0x1800c5943
mov eax, dword [rdi + 0x1eb4]
cmp eax, dword [rdi + 0x1a60]
jne 0x1800c5943
cmp dword [rdx + 0x1a60], eax
jne 0x1800c5934
mov dword [rdx + 0x1a64], eax
cmp dword [rdx + 0x1a9c], eax
jne 0x1800c5943
mov byte [rdx + 0x1aa0], 1
mov eax, dword [rdi + 0x1a4c]
cmp dword [rdi + 0x1a54], esi
jne 0x1800c5959
mov dword [rdi + 0x1a58], esi
jmp 0x1800c5967
mov ecx, eax
test eax, eax
je 0x1800c596f
cmp dword [rdi + 0x1a60], eax
jne 0x1800c596f
mov dword [rdi + 0x1a5c], esi
mov ecx, eax
movss xmm2, dword [rdi + 0x18]
mov eax, dword [rdi + 0x1a60]
test ecx, ecx
je 0x1800c59a8
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1a58]
movss dword [rdi + 0x1a58], xmm0
cmp eax, ecx
je 0x1800c59a8
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1a5c]
movss dword [rdi + 0x1a5c], xmm0
movaps xmm1, xmm2
mov dword [rdi + 0x1a54], ecx
mov ecx, eax
mov dword [rdi + 0x1a4c], esi
mov byte [rdi + 0x1a50], sil
cmp dword [rdi + 0x1a64], eax
je 0x1800c5a2a
cmp dword [rdi + 0x1a9c], eax
jne 0x1800c5a2a
test eax, eax
je 0x1800c5a2a
mov ecx, dword [rdx + 0x1a60]
test ecx, ecx
setne al
mov byte [rdx + 0x1a6c], al
test ecx, ecx
je 0x1800c59f6
mov dword [rdx + 0x1a68], esi
mov word [rdx + 0x1a6e], si
mov dword [rdx + 0x1a60], esi
mov byte [rdx + 0x1a6d], sil
mov qword [rdx + 0x1a90], rsi
mov byte [rdx + 0x1a70], sil
mov qword [rdx + 0x1a74], rsi
mov qword [rdx + 0x1a80], rsi
mov ecx, dword [rdi + 0x1a60]
movss xmm1, dword [rdi + 0x18]
test ecx, ecx
je 0x1800c5a41
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a68]
movss dword [rdi + 0x1a68], xmm0
mov rax, qword [rdi + 0x1a90]
addss xmm1, dword [rdi + 0x1ab4]
mov qword [rdi + 0x1aa8], rax
movzx eax, byte [rdi + 0x1a6f]
mov byte [rdi + 0x1aa1], al
mov eax, dword [rdi + 0x2e90]
movss dword [rdi + 0x1ab4], xmm1
mov dword [rdi + 0x1a9c], ecx
mov dword [rdi + 0x1a64], esi
mov byte [rdi + 0x1a70], sil
mov byte [rdi + 0x1aa0], sil
mov byte [rdi + 0x1a6c], sil
test eax, eax
je 0x1800c5aa1
cmp ecx, eax
je 0x1800c5aa1
mov dword [rdi + 0x2e90], esi
test ecx, ecx
jne 0x1800c5ab3
mov qword [rdi + 0x1a74], rsi
mov qword [rdi + 0x1a80], rsi
mov eax, dword [rdi + 0x1f04]
lea rcx, [rdi + 0xca0]
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x1f08], eax
mov r8d, 0x800
mov qword [rdi + 0x1f00], 0x7f7fffff
mov byte [rdi + 0x1e95], sil
call fcn.180109d40
movss xmm1, dword [0x180067554]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4a4]
mov edx, 0x80
cmp byte [rcx - 1], sil
je 0x1800c5b21
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1800c5b1a
movaps xmm0, xmm6
jmp 0x1800c5b24
addss xmm0, dword [rdi + 0x18]
jmp 0x1800c5b24
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x1800c5b43
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1800c5b3c
movaps xmm0, xmm6
jmp 0x1800c5b46
addss xmm0, dword [rdi + 0x18]
jmp 0x1800c5b46
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x1800c5b66
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x1800c5b5f
movaps xmm0, xmm6
jmp 0x1800c5b69
addss xmm0, dword [rdi + 0x18]
jmp 0x1800c5b69
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x1800c5b8a
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1800c5b83
movaps xmm0, xmm6
jmp 0x1800c5b8d
addss xmm0, dword [rdi + 0x18]
jmp 0x1800c5b8d
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x1800c5b05
call fcn.1800d0070
call fcn.1800c48e0
movsxd rax, dword [rdi + 0x314c]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x18006752c]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2f6c]
addss xmm0, dword [rdi + 0x3150]
movss dword [rdi + 0x3150], xmm0
movss dword [rdi + rax*4 + 0x2f6c], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x314c]
movss xmm1, dword [rdi + 0x3150]
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 + 0x314c], ecx
jbe 0x1800c5c30
divss xmm1, dword [0x18006741c]
movss xmm0, dword [0x1800672c8]
divss xmm0, xmm1
jmp 0x1800c5c33
movaps xmm0, xmm7
movss dword [rdi + 0x3a8], xmm0
call fcn.1800c51d0
call fcn.1800c4450
mov r10, qword [0x1801605b0]
movsxd rax, dword [r10 + 0x1b60]
test eax, eax
jle 0x1800c5c8c
lea rdx, [rax - 1]
mov rax, qword [r10 + 0x1b68]
lea r8, [rdx + rdx*2]
add rax, 8
shl r8, 4
add r8, rax
mov rax, qword [r8]
test rax, rax
je 0x1800c5c82
test dword [rax + 0xc], 0x8000000
jne 0x1800c5ca2
sub r8, 0x30
sub rdx, 1
jns 0x1800c5c71
cmp qword [rdi + 0x1bc8], rsi
je 0x1800c5cc1
movss xmm0, dword [rdi + 0x1be4]
comiss xmm0, xmm6
jbe 0x1800c5cc1
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x18006734c]
addss xmm1, dword [rdi + 0x1d38]
minss xmm1, dword [0x1800672c8]
jmp 0x1800c5cde
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x18006735c]
movss xmm1, dword [rdi + 0x1d38]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1d38], xmm1
mov dword [rdi + 0x1e90], esi
mov qword [rdi + 0x3158], 0xffffffffffffffff
mov dword [rdi + 0x3154], 0xffffffff
mov dword [rdi + 0x2ee4], 0x3f800000
mov dword [rdi + 0x2ee8], 0x3f800000
call fcn.1800c4c80
mov r8, qword [rdi + 0x1b80]
test r8, r8
je 0x1800c5d4b
cmp byte [r8 + 0x7e], sil
je 0x1800c5d4b
test dword [r8 + 0xc], 0x40000
jne 0x1800c5d4b
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x1800c5d4b
call fcn.1800c6ef0
test al, al
je 0x1800c5d4b
mov al, 1
jmp 0x1800c5d4d
xor al, al
mov byte [rdi + 0x1cd8], al
cmp dword [rdi + 0x1a60], esi
jne 0x1800c5db0
test al, al
je 0x1800c5db0
mov qword [rdi + 0x1cc0], r8
mov dword [rdi + 0x1cd0], 0x7fffffff
cmp dword [rdi + 0x1b88], esi
je 0x1800c5d9f
mov ecx, dword [rdi + 0x1bf0]
cmp ecx, 0x7fffffff
je 0x1800c5d9f
cmp byte [rdi + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [rdi + 0x1cd4], eax
jmp 0x1800c5db0
movzx eax, byte [rdi + 0x149]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1cd4], ecx
mov r8, qword [rdi + 0x1cc0]
mov qword [rdi + 0x1cb8], rsi
mov dword [rdi + 0x1ccc], 0x7fffffff
mov dword [rdi + 0x1cc8], 0x7fffffff
test r8, r8
je 0x1800c5e45
mov eax, dword [rdi + 0x1cd0]
mov qword [rdi + 0x1cb8], r8
cmp eax, 0x7fffffff
je 0x1800c5e04
mov ecx, dword [r8 + 0x178]
cmp ecx, 0xffffffff
je 0x1800c5e04
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1cc8], edx
mov eax, dword [rdi + 0x1cd4]
cmp eax, 0x7fffffff
je 0x1800c5e2a
mov ecx, dword [r8 + 0x17c]
cmp ecx, 0xffffffff
je 0x1800c5e2a
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1ccc], edx
mov qword [rdi + 0x1cc0], rsi
mov dword [rdi + 0x1cd4], 0x7fffffff
mov dword [rdi + 0x1cd0], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
mov dword [rdi + 0x1bf0], 0x7fffffff
jb 0x1800c5e6c
movsd xmm7, qword [rdi + 0x19a8]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, esi
cmp dword [rdi + 0x19c0], esi
je 0x1800c5ed9
mov qword [rsp + 0x68], r14
mov r14, rsi
nop
mov rax, qword [rdi + 0x19c8]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x88], si
mov byte [rcx + 0x7e], sil
mov byte [rcx + 0x80], sil
test al, al
jne 0x1800c5ebf
cmp byte [rcx + 0x3a8], sil
jne 0x1800c5ebf
comiss xmm7, dword [rcx + 0x254]
jbe 0x1800c5ebf
call fcn.1800c3b60
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x19c0]
jne 0x1800c5e80
mov r10, qword [0x1801605b0]
mov r14, qword [rsp + 0x68]
mov rax, qword [rdi + 0x1b80]
movaps xmm7, xmmword [rsp + 0x30]
test rax, rax
je 0x1800c5f51
cmp byte [rax + 0x7f], sil
jne 0x1800c5f51
movsxd rax, dword [r10 + 0x19d0]
test eax, eax
jle 0x1800c5f4a
lea r9, [rax - 1]
mov rax, qword [r10 + 0x19d8]
lea r10, [rax + r9*8]
nop word [rax + rax]
mov r8, qword [r10]
test r8, r8
je 0x1800c5f40
cmp byte [r8 + 0x7f], sil
je 0x1800c5f40
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x1800c60da
sub r10, 8
sub r9, 1
jns 0x1800c5f10
xor ecx, ecx
call fcn.1800cc900
mov ecx, dword [rdi + 0x19f4]
test ecx, ecx
jns 0x1800c5f77
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x19f0]
test eax, eax
cmovg edx, eax
call fcn.1800d3f90
mov dword [rdi + 0x19f0], esi
mov ecx, dword [rdi + 0x1b74]
test ecx, ecx
jns 0x1800c5fa3
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b70]
test eax, eax
cmovg edx, eax
call fcn.1800d4400
mov dword [rdi + 0x1b70], esi
xor edx, edx
mov rcx, qword [rdi + 0x1b80]
call fcn.1800ce570
mov r8, qword [0x1801605b0]
mov dword [r8 + 0x2f68], esi
cmp byte [r8 + 0x2f64], sil
je 0x1800c6084
mov ebx, dword [r8 + 0x1a54]
mov dword [r8 + 0x1e90], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x1800c5ffc
call fcn.1800c6ef0
test al, al
je 0x1800c5ffc
mov byte [r8 + 0x2f64], sil
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x1800c601e
jne 0x1800c601e
test ebx, ebx
je 0x1800c601e
mov dword [r8 + 0x2f68], ebx
mov byte [r8 + 0x2f64], sil
or dword [r8 + 0x1ab8], 0x40
mov dword [r8 + 0x1b10], 0x3f19999a
call fcn.1800ce110
mov edx, ebx
lea rcx, [0x180065e38]
call fcn.1800e57e0
lea rcx, [0x180065e18]
call fcn.1800e57e0
mov rcx, qword [0x1801605b0]
lea rdx, [0x180065e58]
mov eax, 0x10
test ebx, ebx
cmove rsi, rax
add rcx, 0x1608
add rcx, rsi
call fcn.1800e5870
call fcn.1800cc810
mov r8, qword [0x1801605b0]
or dword [r8 + 0x1ab8], 2
lea rcx, [0x180065e08]
mov dword [r8 + 0x1ad8], 0x43c80000
xor edx, edx
mov dword [r8 + 0x1adc], 0x43c80000
mov dword [r8 + 0x1ac0], 4
xor r8d, r8d
call fcn.1800ca530
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
mov byte [rdi + 0x19bd], 1
add rsp, 0x50
pop rdi
ret
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x1800c5f4c