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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, qword [0x1803ad788]
xor r14d, r14d
xor bpl, bpl
mov rbx, rdi
mov esi, r14d
mov eax, dword [rdi + 0x1bc0]
sub eax, 1
js 0x1800a60c1
mov r8, qword [rdi + 0x1bc8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x1800a60b7
test dword [rax + 0xc], 0x8000000
jne 0x1800a6146
sub r8, 0x30
sub rdx, 1
jns 0x1800a60a2
mov qword [rsp + 0x98], r15
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
cmp qword [rdi + 0x1d00], rsi
je 0x1800a611d
cmp qword [rdi + 0x1cf8], rsi
jne 0x1800a611d
comiss xmm6, dword [rdi + 0x1da0]
movss xmm1, dword [rdi + 0x1d14]
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x18018718c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1d14], xmm1
jb 0x1800a611d
comiss xmm6, xmm1
jb 0x1800a611d
mov qword [rdi + 0x1d00], r14
mov r9, qword [rdi + 0x1cf8]
mov r15d, 1
test r9, r9
jne 0x1800a6158
mov edx, r15d
lea ecx, [r9 + 3]
call fcn.1800a41c0
comiss xmm0, xmm6
jbe 0x1800a6158
movzx r8d, dl
jmp 0x1800a6160
mov qword [rdi + 0x1cf8], r14
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor r8b, r8b
test r9, r9
jne 0x1800a6185
cmp byte [rdi + 0x148], sil
je 0x1800a6185
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x1800a6185
call fcn.18009cc90
test al, al
je 0x1800a6185
test byte [rdi + 8], r15b
je 0x1800a6185
movzx r9d, r15b
jmp 0x1800a6188
xor r9b, r9b
test r8b, r8b
jne 0x1800a6196
test r9b, r9b
je 0x1800a622d
mov rax, qword [rdi + 0x1be0]
test rax, rax
jne 0x1800a61fb
movsxd rcx, dword [rdi + 0x1a28]
lea edx, [rcx - 1]
test edx, edx
js 0x1800a622d
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x1800a622d
cmp rax, 0xffffffff80000001
je 0x1800a622d
mov r8, qword [rdi + 0x1a30]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0x7e], sil
je 0x1800a61e6
cmp rcx, qword [rcx + 0x368]
jne 0x1800a61e6
test dword [rcx + 0xc], 0x80000
je 0x1800a61ef
dec edx
sub rax, r15
jns 0x1800a61b6
jmp 0x1800a622d
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x1800a622d
mov rax, qword [rax + 0x368]
xor r9b, r15b
mov qword [rdi + 0x1d00], rax
mov qword [rdi + 0x1cf8], rax
movzx eax, r9b
mov byte [rdi + 0x1d18], al
add eax, 3
mov dword [rdi + 0x1c10], eax
mov qword [rdi + 0x1d10], r14
mov r10, qword [rdi + 0x1cf8]
movss xmm0, dword [rdi + 0x18]
mov r8, r10
movss xmm5, dword [0x180187128]
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rdi + 0x1d10]
movss dword [rdi + 0x1d10], xmm0
test r10, r10
je 0x1800a6330
cmp dword [rdi + 0x1c10], 4
jne 0x1800a6330
subss xmm0, dword [0x1801870cc]
divss xmm0, dword [0x1801870c0]
comiss xmm6, xmm0
jbe 0x1800a6289
movaps xmm1, xmm6
jmp 0x1800a6290
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x1d14]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rdi + 0x1d14], xmm7
call fcn.1800a41c0
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.1800a41c0
comiss xmm0, xmm6
mov ecx, r14d
mov r8, r10
seta cl
sub ecx, r9d
je 0x1800a62ed
call fcn.1800a5f10
mov r8, qword [rdi + 0x1cf8]
movaps xmm7, xmm5
mov dword [rdi + 0x1d14], 0x3f800000
movss xmm0, dword [rdi + 0x358]
comiss xmm0, xmm6
ja 0x1800a6330
comiss xmm5, xmm7
seta al
and byte [rdi + 0x1d18], al
je 0x1800a6321
cmp qword [rdi + 0x1be0], rsi
je 0x1800a6324
movzx ebp, r15b
mov qword [rdi + 0x1cf8], r14
jmp 0x1800a63af
mov rsi, r8
mov qword [rdi + 0x1cf8], r14
jmp 0x1800a63af
test r8, r8
je 0x1800a63af
cmp dword [rdi + 0x1c10], 3
jne 0x1800a63af
movss xmm0, dword [rdi + 0x1d10]
subss xmm0, dword [0x1801870cc]
divss xmm0, dword [0x1801870c0]
comiss xmm6, xmm0
jbe 0x1800a6360
movaps xmm5, xmm6
jmp 0x1800a6364
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x1d14]
maxss xmm0, xmm5
movss dword [rdi + 0x1d14], xmm0
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x1800a63a4
call fcn.18009cc90
test al, al
je 0x1800a63a4
cmp byte [rdi + 0x149], sil
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.1800a5f10
mov r8, qword [rdi + 0x1cf8]
cmp byte [rdi + 0x148], sil
cmove rsi, r8
mov edx, r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.1800a41c0
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x1800a63cc
mov byte [rdi + 0x1d18], dl
cmp dword [rdi + 0x1ab8], r14d
je 0x1800a63e2
cmp byte [rdi + 0x1ac5], r14b
je 0x1800a646f
cmp byte [rdi + 0x1d18], r14b
je 0x1800a646f
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.1800a41c0
comiss xmm0, xmm6
jbe 0x1800a646f
lea rax, [rdi + 0x3cc]
test rax, rax
jne 0x1800a6414
lea rax, [rdi + 0x130]
movss xmm0, dword [rax]
movss xmm1, dword [0x180187254]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1800a6435
comiss xmm2, xmm1
jb 0x1800a6435
movzx ecx, r15b
jmp 0x1800a6437
xor cl, cl
lea rax, [rdi + 0x130]
test rax, rax
jne 0x1800a644a
lea rax, [rdi + 0x130]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1800a6463
comiss xmm2, xmm1
jb 0x1800a6463
movzx eax, r15b
jmp 0x1800a6465
xor al, al
cmp al, cl
movzx ebp, bpl
cmove ebp, r15d
mov r11, qword [rdi + 0x1cf8]
test r11, r11
je 0x1800a657b
test byte [r11 + 0xc], 4
jne 0x1800a657b
mov eax, dword [rdi + 0x1c10]
cmp eax, 3
jne 0x1800a64af
cmp byte [rdi + 0x149], r14b
jne 0x1800a657b
mov edx, r15d
lea rcx, [rsp + 0x88]
jmp 0x1800a64c2
cmp eax, 4
jne 0x1800a657b
mov edx, eax
lea rcx, [rsp + 0x90]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
call fcn.1800a4340
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x1800a64eb
jne 0x1800a64eb
ucomiss xmm3, xmm6
jp 0x1800a64eb
je 0x1800a657b
movss xmm1, dword [rdi + 0xc0]
lea rdx, [rsp + 0x80]
movss xmm0, dword [rdi + 0x18]
mov r8d, r15d
minss xmm1, dword [rdi + 0xc4]
mov rcx, qword [r11 + 0x368]
mulss xmm0, dword [0x180187218]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rcx + 0x10]
addss xmm3, dword [rcx + 0x14]
movss dword [rsp + 0x80], xmm4
movss dword [rsp + 0x84], xmm3
call fcn.1800a2360
mov rax, qword [rdi + 0x1cf8]
mov byte [rdi + 0x1c33], r8b
test dword [rax + 0xc], 0x100
jne 0x1800a657b
comiss xmm6, dword [rdi + 0x2f6c]
jb 0x1800a657b
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x2f6c], eax
movaps xmm6, xmmword [rsp + 0x40]
test rsi, rsi
je 0x1800a664a
mov rax, qword [rdi + 0x1be0]
test rax, rax
je 0x1800a65a2
cmp rsi, qword [rax + 0x368]
je 0x1800a6643
mov ecx, dword [rdi + 0x1ab8]
test ecx, ecx
setne al
mov byte [rdi + 0x1ac4], al
test ecx, ecx
je 0x1800a65c6
mov dword [rdi + 0x1ac0], r14d
mov word [rdi + 0x1ac6], r14w
mov dword [rdi + 0x1ab8], r14d
mov byte [rdi + 0x1ac5], r14b
mov qword [rdi + 0x1ae8], r14
mov byte [rdi + 0x1ac8], r14b
mov qword [rdi + 0x1acc], r14
mov qword [rdi + 0x1ad8], r14
mov word [rdi + 0x1c32], 0x100
mov rax, qword [rsi + 0x380]
test rax, rax
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.1800a30e0
mov rcx, rsi
call fcn.1800a1eb0
cmp dword [rsi + 0x388], r14d
jne 0x1800a662c
xor edx, edx
mov rcx, rsi
call fcn.1800a3ff0
cmp dword [rsi + 0x144], 2
jne 0x1800a663c
mov dword [rdi + 0x1c28], r15d
mov rdi, qword [0x1803ad788]
mov qword [rbx + 0x1cf8], r14
mov r15, qword [rsp + 0x98]
test bpl, bpl
je 0x1800a66f8
mov rsi, qword [rbx + 0x1be0]
test rsi, rsi
je 0x1800a66f8
lea rcx, [rsi + 0x360]
cmp qword [rcx], r14
je 0x1800a669e
test byte [rsi + 0x144], 2
jne 0x1800a669e
mov eax, dword [rsi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1800a669e
mov rsi, qword [rcx]
lea rcx, [rsi + 0x360]
cmp qword [rcx], r14
jne 0x1800a6677
mov rbp, qword [rbx + 0x1be0]
cmp rsi, rbp
je 0x1800a66c0
mov rcx, rsi
call fcn.1800a1eb0
mov rdi, qword [0x1803ad788]
mov qword [rsi + 0x380], rbp
mov rax, qword [rbx + 0x1be0]
mov word [rbx + 0x1c32], 0x100
test byte [rax + 0x144], 2
je 0x1800a6703
mov edx, dword [rbx + 0x1c28]
xor edx, 1
mov dword [rdi + 0x1c28], edx
je 0x1800a670d
mov rcx, qword [rdi + 0x1be0]
mov dl, 1
call fcn.1800a3ff0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, r14d
mov dword [rdi + 0x1c28], r14d
mov rcx, qword [rdi + 0x1be0]
mov rax, qword [rcx + 0x380]
test rax, rax
cmovne rcx, rax
mov qword [rdi + 0x1be0], rcx
test edx, edx
jne 0x1800a66f1
mov eax, dword [rcx + 0x388]
test eax, eax
je 0x1800a66f1
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 0x1bec], r14d
mov dword [rcx + 0x388], eax
movups xmm0, xmmword [rcx + 0x390]
mov rax, qword [rdi + 0x1be0]
movups xmmword [rax + 0x390], xmm0
mov word [rdi + 0x1c31], 1
mov byte [rdi + 0x1c33], 1
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret