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

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x58
mov rdi, qword [0x180204970]
xor r14d, r14d
xor bpl, bpl
mov esi, r14d
movsxd rax, dword [rdi + 0x1bb8]
test eax, eax
jle 0x180014acf
mov r8, qword [rdi + 0x1bc0]
lea rdx, [rax - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x180014ac5
test dword [rax + 0xc], 0x8000000
jne 0x180014b5d
sub r8, 0x30
sub rdx, 1
jns 0x180014ab0
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm7
cmp qword [rdi + 0x1c28], rsi
je 0x180014b35
cmp qword [rdi + 0x1c20], rsi
jne 0x180014b35
comiss xmm6, dword [rdi + 0x1d90]
movss xmm1, dword [rdi + 0x1c3c]
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800eb9cc]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1c3c], xmm1
jb 0x180014b35
comiss xmm6, xmm1
jb 0x180014b35
mov qword [rdi + 0x1c28], r14
mov r9, qword [rdi + 0x1c20]
mov r15d, 1
test r9, r9
jne 0x180014b6e
mov edx, r15d
lea ecx, [r9 + 3]
call fcn.180012920
comiss xmm0, xmm6
jbe 0x180014b6e
movzx ebx, dl
jmp 0x180014b75
mov qword [rdi + 0x1c20], r14
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
test r9, r9
jne 0x180014ba1
cmp byte [rdi + 0x148], sil
je 0x180014ba1
mov rax, qword [0x180204970]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180014ba1
call fcn.180008af0
test al, al
je 0x180014ba1
test byte [rdi + 8], r15b
je 0x180014ba1
movzx r9d, r15b
jmp 0x180014ba4
xor r9b, r9b
test bl, bl
jne 0x180014bb1
test r9b, r9b
je 0x180014c51
mov rax, qword [rdi + 0x1bd8]
test rax, rax
jne 0x180014c26
mov edx, dword [rdi + 0x19e8]
mov r10, qword [0x180204970]
sub edx, r15d
movsxd rcx, edx
js 0x180014c51
mov r11d, dword [r10 + 0x19e8]
nop dword [rax]
cmp edx, r11d
jge 0x180014c51
cmp rcx, 0xffffffff80000001
je 0x180014c51
mov r8, qword [r10 + 0x19f0]
mov rax, qword [r8 + rcx*8]
cmp byte [rax + 0x7e], sil
je 0x180014c11
cmp rax, qword [rax + 0x360]
jne 0x180014c11
test dword [rax + 0xc], 0x80000
je 0x180014c1a
dec edx
sub rcx, r15
jns 0x180014be0
jmp 0x180014c51
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x180014c51
xor r9b, r15b
mov qword [rdi + 0x1c28], rax
mov qword [rdi + 0x1c20], rax
movzx eax, r9b
mov byte [rdi + 0x1c40], al
add eax, 3
mov dword [rdi + 0x1c04], eax
mov qword [rdi + 0x1c38], r14
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1c38]
mov r10, qword [rdi + 0x1c20]
movss xmm7, dword [0x1800eb8c8]
movss dword [rdi + 0x1c38], xmm0
test r10, r10
je 0x180014dd4
cmp dword [rdi + 0x1c04], 4
jne 0x180014d55
subss xmm0, dword [0x1800eb870]
divss xmm0, dword [0x1800eb85c]
comiss xmm6, xmm0
jbe 0x180014ca5
movaps xmm1, xmm6
jmp 0x180014cac
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm5, dword [rdi + 0x1c3c]
mov edx, 4
maxss xmm5, xmm1
lea ecx, [rdx + 9]
movss dword [rdi + 0x1c3c], xmm5
call fcn.180012920
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.180012920
comiss xmm0, xmm6
mov ecx, r14d
seta cl
sub ecx, r9d
je 0x180014d06
call fcn.1800149c0
mov r10, qword [rdi + 0x1c20]
movaps xmm5, xmm7
mov dword [rdi + 0x1c3c], 0x3f800000
mov rax, qword [0x180204970]
movss xmm0, dword [rax + 0x358]
comiss xmm0, xmm6
ja 0x180014d50
comiss xmm7, xmm5
seta al
and byte [rdi + 0x1c40], al
je 0x180014d41
cmp qword [rdi + 0x1bd8], rsi
je 0x180014d44
movzx ebp, r15b
mov qword [rdi + 0x1c20], r14
jmp 0x180014dd4
mov rsi, r10
mov qword [rdi + 0x1c20], r14
jmp 0x180014dd4
test r10, r10
je 0x180014dd4
cmp dword [rdi + 0x1c04], 3
jne 0x180014dd4
movss xmm0, dword [rdi + 0x1c38]
subss xmm0, dword [0x1800eb870]
divss xmm0, dword [0x1800eb85c]
comiss xmm6, xmm0
jbe 0x180014d80
movaps xmm7, xmm6
jmp 0x180014d84
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x1c3c]
mov rax, qword [0x180204970]
maxss xmm0, xmm7
movss dword [rdi + 0x1c3c], xmm0
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180014dc4
call fcn.180008af0
test al, al
je 0x180014dc4
cmp byte [rdi + 0x149], sil
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.1800149c0
cmp byte [rdi + 0x148], sil
jne 0x180014dd4
mov rsi, qword [rdi + 0x1c20]
mov edx, r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.180012920
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x180014df1
mov byte [rdi + 0x1c40], dl
cmp dword [rdi + 0x1a78], r14d
je 0x180014e03
cmp byte [rdi + 0x1a85], r14b
je 0x180014e43
cmp byte [rdi + 0x1c40], r14b
je 0x180014e43
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.180012920
comiss xmm0, xmm6
jbe 0x180014e43
lea rcx, [rdi + 0x3c8]
call fcn.180008c70
lea rcx, [rdi + 0x130]
movzx ebx, al
call fcn.180008c70
cmp al, bl
movzx ebp, bpl
cmove ebp, r15d
mov rbx, qword [rdi + 0x1c20]
test rbx, rbx
je 0x180014f58
test byte [rbx + 0xc], 4
jne 0x180014f58
mov eax, dword [rdi + 0x1c04]
cmp eax, 3
jne 0x180014e82
cmp byte [rdi + 0x149], r14b
jne 0x180014f58
mov edx, r15d
lea rcx, [rsp + 0x88]
jmp 0x180014e95
cmp eax, 4
jne 0x180014f58
mov edx, eax
lea rcx, [rsp + 0x90]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.180012aa0
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x180014ec1
jne 0x180014ec1
ucomiss xmm4, xmm6
jp 0x180014ec1
je 0x180014f58
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 [rbx + 0x360]
mulss xmm0, dword [0x1800ebac8]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rcx + 0x10]
addss xmm4, dword [rcx + 0x14]
movss dword [rsp + 0x80], xmm3
movss dword [rsp + 0x84], xmm4
call fcn.18000f570
mov rax, qword [rdi + 0x1c20]
mov rcx, qword [0x180204970]
mov byte [rdi + 0x1c4f], r15b
test dword [rax + 0xc], 0x100
jne 0x180014f58
comiss xmm6, dword [rcx + 0x2f50]
jb 0x180014f58
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f50], eax
movaps xmm6, xmmword [rsp + 0x40]
test rsi, rsi
je 0x180015027
mov rax, qword [rdi + 0x1bd8]
test rax, rax
je 0x180014f7f
cmp rsi, qword [rax + 0x360]
je 0x180015020
mov rdx, qword [0x180204970]
mov ecx, dword [rdx + 0x1a78]
test ecx, ecx
setne al
mov byte [rdx + 0x1a84], al
test ecx, ecx
je 0x180014faa
mov dword [rdx + 0x1a80], r14d
mov word [rdx + 0x1a86], r14w
mov dword [rdx + 0x1a78], r14d
mov byte [rdx + 0x1a85], r14b
mov qword [rdx + 0x1aa8], r14
mov byte [rdx + 0x1a88], r14b
mov qword [rdx + 0x1a8c], r14
mov qword [rdx + 0x1a98], r14
mov word [rdi + 0x1c4e], 0x100
mov rax, qword [rsi + 0x378]
test rax, rax
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.180010e70
mov rcx, rsi
call fcn.18000e7a0
cmp dword [rsi + 0x380], r14d
jne 0x180015010
xor edx, edx
mov rcx, rsi
call fcn.1800126c0
cmp dword [rsi + 0x140], 2
jne 0x180015020
mov dword [rdi + 0x1c44], r15d
mov qword [rdi + 0x1c20], r14
mov r15, qword [rsp + 0x50]
test bpl, bpl
je 0x1800150ce
mov rsi, qword [rdi + 0x1bd8]
test rsi, rsi
je 0x1800150ce
lea rcx, [rsi + 0x358]
mov rbx, rsi
cmp qword [rcx], r14
je 0x18001507b
test byte [rbx + 0x140], 2
jne 0x18001507b
mov eax, dword [rbx + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18001507b
mov rbx, qword [rcx]
lea rcx, [rbx + 0x358]
cmp qword [rcx], r14
jne 0x180015054
cmp rbx, rsi
je 0x180015096
mov rcx, rbx
call fcn.18000e7a0
mov qword [rbx + 0x378], rsi
mov rsi, qword [rdi + 0x1bd8]
mov rbx, qword [0x180204970]
mov word [rdi + 0x1c4e], 0x100
test byte [rsi + 0x140], 2
je 0x1800150e0
mov eax, dword [rdi + 0x1c44]
xor eax, 1
mov dword [rbx + 0x1c44], eax
je 0x1800150e7
mov rcx, qword [rbx + 0x1bd8]
mov dl, 1
call fcn.1800126c0
mov rbx, qword [rsp + 0x98]
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx + 0x1c44], r14d
mov rdi, qword [rbx + 0x1bd8]
mov rax, qword [rdi + 0x378]
test rax, rax
cmovne rdi, rax
mov qword [rbx + 0x1bd8], rdi
mov ecx, dword [rdi + 0x380]
test ecx, ecx
je 0x1800150c0
xor edx, edx
call fcn.1800052a0
movups xmm0, xmmword [rdi + 0x388]
mov rax, qword [rbx + 0x1bd8]
movups xmmword [rax + 0x388], xmm0
mov word [rbx + 0x1c4d], 1
mov byte [rbx + 0x1c4f], 1
jmp 0x1800150ce