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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x50
mov rbx, qword [0x140210780]
xor r14d, r14d
mov qword [rsp + 0x78], rbp
mov edi, r14d
xor bpl, bpl
mov qword [rsp + 0x88], r15
movaps xmmword [rsp + 0x40], xmm6
movsxd rax, dword [rbx + 0x1ed0]
test eax, eax
jle 0x140017ba0
lea rdx, [rax - 1]
mov rax, qword [rbx + 0x1ed8]
lea r8, [rdx + rdx*2]
add rax, 8
shl r8, 4
add r8, rax
mov r9, qword [r8]
test r9, r9
je 0x140017b96
test dword [r9 + 0xc], 0x8000000
jne 0x140017c1c
sub r8, 0x30
sub rdx, 1
jns 0x140017b80
mov r10, qword [rbx + 0x2080]
mov r9, r14
xorps xmm6, xmm6
cmp qword [rbx + 0x2088], rdi
je 0x140017bf5
test r10, r10
jne 0x140017bf5
comiss xmm6, dword [rbx + 0x20cc]
movss xmm1, dword [rbx + 0x209c]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1401cb570]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x209c], xmm1
jb 0x140017bf5
comiss xmm6, xmm1
jb 0x140017bf5
mov qword [rbx + 0x2088], r14
mov r15d, 1
test r9, r9
jne 0x140017c28
test r10, r10
jne 0x140017c28
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.1400158f0
comiss xmm0, xmm6
jbe 0x140017c28
movzx r8d, dl
jmp 0x140017c35
mov qword [rbx + 0x2080], r14
mov r10, r14
jmp 0x140017baa
xor r8b, r8b
test r9, r9
jne 0x140017c5a
test r10, r10
jne 0x140017c5a
cmp byte [rbx + 0x13c], dil
je 0x140017c5a
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140017c5a
call fcn.14000bd30
test al, al
je 0x140017c5a
test byte [rbx + 8], r15b
je 0x140017c5a
movzx r9d, r15b
jmp 0x140017c5d
xor r9b, r9b
test r8b, r8b
jne 0x140017c6b
test r9b, r9b
je 0x140017d14
mov rax, qword [rbx + 0x1f50]
test rax, rax
jne 0x140017ce2
mov r8d, dword [rbx + 0x1cc8]
sub r8d, r15d
js 0x140017d14
movsxd r10, dword [rbx + 0x1cc8]
movsxd rcx, r8d
cmp rcx, r10
jge 0x140017d14
cmp rcx, 0xffffffff80000001
je 0x140017d14
mov rax, qword [rbx + 0x1cd0]
mov rdx, qword [rax + rcx*8]
cmp byte [rdx + 0xd0], dil
je 0x140017cc5
cmp rdx, qword [rdx + 0x3d0]
jne 0x140017cc5
test dword [rdx + 0xc], 0x80000
je 0x140017ccf
dec r8d
sub rcx, r15
jns 0x140017c91
jmp 0x140017d14
mov rax, qword [rbx + 0x1cd0]
movsxd rcx, r8d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140017d14
mov rax, qword [rax + 0x3d0]
xor r9b, r15b
mov qword [rbx + 0x2088], rax
mov qword [rbx + 0x2080], rax
movzx eax, r9b
mov byte [rbx + 0x20a0], al
add eax, 2
mov dword [rbx + 0x1f84], eax
mov qword [rbx + 0x2098], r14
movss xmm0, dword [rbx + 0x2098]
mov r10, qword [rbx + 0x2080]
movss xmm5, dword [0x1401cb4d0]
mov r8, r10
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x18]
movss dword [rbx + 0x2098], xmm0
test r10, r10
je 0x140017e14
cmp dword [rbx + 0x1f84], 3
jne 0x140017e14
subss xmm0, dword [0x1401cb474]
divss xmm0, dword [0x1401cb45c]
comiss xmm6, xmm0
jbe 0x140017d70
movaps xmm1, xmm6
jmp 0x140017d77
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x209c]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x209c], xmm7
call fcn.1400158f0
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.1400158f0
comiss xmm0, xmm6
mov ecx, r14d
mov r8, r10
seta cl
sub ecx, r9d
je 0x140017dd4
call fcn.1400179f0
mov r8, qword [rbx + 0x2080]
movaps xmm7, xmm5
mov dword [rbx + 0x209c], 0x3f800000
movss xmm0, dword [rbx + 0x34c]
comiss xmm0, xmm6
ja 0x140017e14
comiss xmm5, xmm7
seta al
and byte [rbx + 0x20a0], al
je 0x140017e08
cmp qword [rbx + 0x1f50], rdi
je 0x140017e0b
movzx ebp, r15b
mov qword [rbx + 0x2080], r14
jmp 0x140017e93
mov rdi, r8
mov qword [rbx + 0x2080], r14
jmp 0x140017e93
test r8, r8
je 0x140017e93
cmp dword [rbx + 0x1f84], 2
jne 0x140017e93
movss xmm0, dword [rbx + 0x2098]
subss xmm0, dword [0x1401cb474]
divss xmm0, dword [0x1401cb45c]
comiss xmm6, xmm0
jbe 0x140017e44
movaps xmm5, xmm6
jmp 0x140017e48
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x209c]
maxss xmm0, xmm5
movss dword [rbx + 0x209c], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140017e88
call fcn.14000bd30
test al, al
je 0x140017e88
cmp byte [rbx + 0x13d], dil
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.1400179f0
mov r8, qword [rbx + 0x2080]
cmp byte [rbx + 0x13c], dil
cmove rdi, r8
mov edx, r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400158f0
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x140017eb0
mov byte [rbx + 0x20a0], dl
cmp dword [rbx + 0x1d6c], r14d
je 0x140017ec6
cmp byte [rbx + 0x1d79], r14b
je 0x140017f53
cmp byte [rbx + 0x20a0], r14b
je 0x140017f53
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.1400158f0
comiss xmm0, xmm6
jbe 0x140017f53
lea rax, [rbx + 0x120]
test rax, rax
jne 0x140017ef8
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
movss xmm1, dword [0x1401cb658]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140017f19
comiss xmm2, xmm1
jb 0x140017f19
movzx ecx, r15b
jmp 0x140017f1b
xor cl, cl
lea rax, [rbx + 0x3c0]
test rax, rax
jne 0x140017f2e
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140017f47
comiss xmm2, xmm1
jb 0x140017f47
movzx eax, r15b
jmp 0x140017f49
xor al, al
cmp cl, al
movzx ebp, bpl
cmove ebp, r15d
mov r11, qword [rbx + 0x2080]
test r11, r11
je 0x140018045
test byte [r11 + 0xc], 4
jne 0x140018045
mov eax, dword [rbx + 0x1f84]
cmp eax, 2
jne 0x140017f8b
cmp byte [rbx + 0x13d], r14b
jne 0x140018045
mov edx, r15d
jmp 0x140017f97
cmp eax, 3
jne 0x140018045
lea edx, [rax + 1]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x70]
call fcn.140015a70
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x140017fc5
jne 0x140017fc5
ucomiss xmm4, xmm6
jp 0x140017fc5
je 0x140018045
movss xmm1, dword [rbx + 0xc0]
lea rdx, [rsp + 0x70]
movss xmm0, dword [rbx + 0x18]
mov r8d, r15d
minss xmm1, dword [rbx + 0xc4]
mov rcx, qword [r11 + 0x3d8]
mulss xmm0, dword [0x1401cb624]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rcx + 0x50]
addss xmm4, dword [rcx + 0x54]
movss dword [rsp + 0x70], xmm3
movss dword [rsp + 0x74], xmm4
call fcn.140012690
test dword [rcx + 0xc], 0x100
jne 0x14001803e
comiss xmm6, dword [rbx + 0x31fc]
jb 0x14001803e
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x31fc], eax
mov byte [rbx + 0x1fa7], r15b
mov qword [rsp + 0x80], rsi
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x140018157
mov rax, qword [rbx + 0x1f50]
test rax, rax
je 0x14001807a
cmp rdi, qword [rax + 0x3d0]
je 0x140018150
mov rsi, qword [rax + 0x38]
jmp 0x14001807d
mov rsi, r14
call fcn.140006b60
mov word [rbx + 0x1fa6], 0x100
mov rax, qword [rdi + 0x3f0]
test rax, rax
je 0x1400180a5
cmp byte [rax + 0xd0], r14b
je 0x1400180a5
mov rdi, rax
jmp 0x140018103
mov rdx, qword [rdi + 0x450]
test rdx, rdx
je 0x140018103
mov rdx, qword [rdx + 0x38]
test rdx, rdx
je 0x140018103
movsxd r8, dword [rdx]
mov rcx, r14
test r8, r8
jle 0x140018103
mov rdx, qword [rdx + 8]
nop dword [rax]
test rcx, rcx
je 0x1400180dd
mov eax, dword [rdx + 0x14]
cmp dword [rcx + 0x14], eax
jge 0x1400180f1
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400180f1
cmp byte [rax + 0xd0], r14b
cmovne rcx, rdx
add rdx, 0x30
sub r8, r15
jne 0x1400180d0
test rcx, rcx
je 0x140018103
mov rdi, qword [rcx + 8]
xor edx, edx
mov rcx, rdi
call fcn.1400141d0
mov rcx, rdi
call fcn.140012160
cmp dword [rdi + 0x3f8], r14d
jne 0x140018128
xor edx, edx
mov rcx, rdi
call fcn.1400156f0
cmp word [rdi + 0x190], 2
jne 0x140018139
mov dword [rbx + 0x1f9c], r15d
mov rcx, qword [rdi + 0x38]
cmp rcx, rsi
je 0x140018150
mov rax, qword [rbx + 0x1590]
test rax, rax
je 0x140018150
call rax
mov qword [rbx + 0x2080], r14
mov r15, qword [rsp + 0x88]
test bpl, bpl
mov rbp, qword [rsp + 0x78]
je 0x140018211
cmp qword [rbx + 0x1f50], r14
je 0x140018211
call fcn.140006b60
mov rsi, qword [rbx + 0x1f50]
mov rdi, rsi
lea rcx, [rsi + 0x3c8]
cmp qword [rcx], r14
je 0x1400181bc
test byte [rdi + 0x190], 2
jne 0x1400181bc
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400181bc
mov rdi, qword [rcx]
lea rcx, [rdi + 0x3c8]
cmp qword [rcx], r14
jne 0x140018195
cmp rdi, rsi
je 0x1400181d7
mov rcx, rdi
call fcn.140012160
mov qword [rdi + 0x3f0], rsi
mov rsi, qword [rbx + 0x1f50]
mov word [rbx + 0x1fa6], 0x100
test byte [rsi + 0x190], 2
je 0x140018209
mov ecx, dword [rbx + 0x1f9c]
xor ecx, 1
cmp ecx, 1
jne 0x14001820c
cmp qword [rdi + 0x450], r14
jne 0x14001820c
mov dword [rsi + 0x3fc], r14d
jmp 0x14001820c
mov ecx, r14d
call fcn.140015590
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbx
ret