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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rbx, qword [0x1401ba900]
xor esi, esi
mov qword [rsp + 0x90], r14
mov ebp, esi
xor r14b, r14b
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
mov eax, dword [rbx + 0x1bf0]
sub eax, 1
js 0x140021650
movsxd rdx, eax
mov rax, qword [rbx + 0x1bf8]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop dword [rax]
mov r9, qword [r8]
test r9, r9
je 0x140021646
test dword [r9 + 0xc], 0x8000000
jne 0x1400216cf
sub r8, 0x30
sub rdx, 1
jns 0x140021630
lea rdi, [rbx + 0x1d40]
mov r9, rsi
mov r10, qword [rdi]
xorps xmm6, xmm6
cmp qword [rbx + 0x1d48], rsi
je 0x1400216a8
test r10, r10
jne 0x1400216a8
comiss xmm6, dword [rbx + 0x1de8]
movss xmm1, dword [rbx + 0x1d5c]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14010e838]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1d5c], xmm1
jb 0x1400216a8
comiss xmm6, xmm1
jb 0x1400216a8
mov qword [rbx + 0x1d48], rsi
mov r15d, 1
test r9, r9
jne 0x1400216e1
test r10, r10
jne 0x1400216e1
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.14001f2f0
comiss xmm0, xmm6
jbe 0x1400216e1
movzx r8d, dl
jmp 0x1400216ee
lea rdi, [rbx + 0x1d40]
mov r10, rsi
mov qword [rdi], rsi
jmp 0x14002165d
xor r8b, r8b
test r9, r9
jne 0x140021713
test r10, r10
jne 0x140021713
cmp byte [rbx + 0x148], sil
je 0x140021713
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140021713
call fcn.1400182e0
test al, al
je 0x140021713
test byte [rbx + 8], r15b
je 0x140021713
movzx r10d, r15b
jmp 0x140021716
xor r10b, r10b
test r8b, r8b
jne 0x140021724
test r10b, r10b
je 0x1400217be
mov rax, qword [rbx + 0x1c10]
test rax, rax
jne 0x140021790
movsxd rcx, dword [rbx + 0x1a48]
lea edx, [rcx - 1]
test edx, edx
js 0x1400217be
movsxd rax, edx
mov r11, rcx
cmp rax, r11
jge 0x1400217be
cmp rax, 0xffffffff80000001
je 0x1400217be
mov r9, qword [rbx + 0x1a50]
mov rcx, qword [r9 + rax*8]
cmp byte [rcx + 0x86], sil
je 0x14002177b
cmp rcx, qword [rcx + 0x3c0]
jne 0x14002177b
test dword [rcx + 0xc], 0x80000
je 0x140021784
dec edx
sub rax, r15
jns 0x140021748
jmp 0x1400217be
movsxd rax, edx
mov rax, qword [r9 + rax*8]
test rax, rax
je 0x1400217be
mov rax, qword [rax + 0x3c0]
xor r10b, r15b
mov qword [rbx + 0x1d48], rax
mov qword [rdi], rax
movzx eax, r10b
mov byte [rbx + 0x1d60], al
add eax, 3
mov dword [rbx + 0x1c44], eax
mov qword [rbx + 0x1d58], rsi
movss xmm0, dword [rbx + 0x1d58]
mov r10, qword [rdi]
movss xmm5, dword [0x14010e7cc]
mov r8, r10
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x18]
movss dword [rbx + 0x1d58], xmm0
test r10, r10
je 0x1400218b0
cmp dword [rbx + 0x1c44], 4
jne 0x1400218b0
subss xmm0, dword [0x14010e780]
divss xmm0, dword [0x14010e774]
comiss xmm6, xmm0
jbe 0x140021816
movaps xmm1, xmm6
jmp 0x14002181d
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1d5c]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1d5c], xmm7
call fcn.14001f2f0
comiss xmm0, xmm6
mov r9d, esi
lea ecx, [rdx + 8]
seta r9b
call fcn.14001f2f0
comiss xmm0, xmm6
mov ecx, esi
mov r8, r10
seta cl
sub ecx, r9d
je 0x140021875
call fcn.140021490
mov r8, qword [rdi]
movaps xmm7, xmm5
mov dword [rbx + 0x1d5c], 0x3f800000
movss xmm0, dword [rbx + 0x358]
comiss xmm0, xmm6
ja 0x1400218b0
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1d60], al
je 0x1400218a5
cmp qword [rbx + 0x1c10], rsi
je 0x1400218a8
movzx r14d, r15b
mov qword [rdi], rsi
jmp 0x14002192b
mov rbp, r8
mov qword [rdi], rsi
jmp 0x14002192b
test r8, r8
je 0x14002192b
cmp dword [rbx + 0x1c44], 3
jne 0x14002192b
movss xmm0, dword [rbx + 0x1d58]
subss xmm0, dword [0x14010e780]
divss xmm0, dword [0x14010e774]
comiss xmm6, xmm0
jbe 0x1400218e0
movaps xmm5, xmm6
jmp 0x1400218e4
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1d5c]
maxss xmm0, xmm5
movss dword [rbx + 0x1d5c], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140021920
call fcn.1400182e0
test al, al
je 0x140021920
cmp byte [rbx + 0x149], sil
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.140021490
mov r8, qword [rdi]
cmp byte [rbx + 0x148], sil
cmove rbp, r8
mov edx, r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.14001f2f0
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x140021948
mov byte [rbx + 0x1d60], dl
cmp dword [rbx + 0x1ae0], esi
je 0x14002195d
cmp byte [rbx + 0x1aed], sil
je 0x1400219ea
cmp byte [rbx + 0x1d60], sil
je 0x1400219ea
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.14001f2f0
comiss xmm0, xmm6
jbe 0x1400219ea
lea rax, [rbx + 0x3cc]
test rax, rax
jne 0x14002198f
lea rax, [rbx + 0x130]
movss xmm0, dword [rax]
movss xmm1, dword [0x14010e8a0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400219b0
comiss xmm2, xmm1
jb 0x1400219b0
movzx ecx, r15b
jmp 0x1400219b2
xor cl, cl
lea rax, [rbx + 0x130]
test rax, rax
jne 0x1400219c5
lea rax, [rbx + 0x130]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400219de
comiss xmm2, xmm1
jb 0x1400219de
movzx eax, r15b
jmp 0x1400219e0
xor al, al
cmp al, cl
movzx r14d, r14b
cmove r14d, r15d
mov r11, qword [rdi]
test r11, r11
je 0x140021b93
test byte [r11 + 0xc], 4
jne 0x140021b93
mov eax, dword [rbx + 0x1c44]
cmp eax, 3
jne 0x140021a26
cmp byte [rbx + 0x149], sil
jne 0x140021b93
mov edx, r15d
lea rcx, [rsp + 0x80]
jmp 0x140021a39
cmp eax, 4
jne 0x140021b93
mov edx, eax
lea rcx, [rsp + 0x88]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
call fcn.14001f470
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x140021a62
jne 0x140021a62
ucomiss xmm4, xmm6
jp 0x140021a62
je 0x140021b93
mov rcx, qword [r11 + 0x3c0]
movss xmm1, dword [rbx + 0xc0]
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x14010e87c]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov eax, dword [rcx + 0xac]
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rcx + 0x10]
addss xmm4, dword [rcx + 0x14]
test r15b, al
je 0x140021b71
movss xmm0, dword [rcx + 0x10]
and eax, 0xfffffff1
movss xmm1, dword [rcx + 0x14]
mov dword [rcx + 0xac], eax
mov dword [rcx + 0xb8], 0x7f7fffff
mov dword [rcx + 0xbc], 0x7f7fffff
cvttss2si eax, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm4
movss dword [rcx + 0x10], xmm2
subss xmm2, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm2
movss dword [rcx + 0x14], xmm3
subss xmm3, xmm1
addss xmm0, dword [rcx + 0xd8]
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0xdc]
movss dword [rcx + 0xd8], xmm0
movaps xmm0, xmm2
addss xmm0, dword [rcx + 0xf0]
addss xmm2, dword [rcx + 0xe8]
movss dword [rcx + 0xdc], xmm1
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0xf4]
addss xmm3, dword [rcx + 0xec]
movss dword [rcx + 0xf0], xmm0
movss dword [rcx + 0xe8], xmm2
movss dword [rcx + 0xf4], xmm1
movss dword [rcx + 0xec], xmm3
test dword [rcx + 0xc], 0x100
jne 0x140021b8c
comiss xmm6, dword [rbx + 0x3034]
jb 0x140021b8c
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x3034], eax
mov byte [rbx + 0x1c67], r15b
movaps xmm6, xmmword [rsp + 0x40]
test rbp, rbp
je 0x140021cac
mov rax, qword [rbx + 0x1c10]
test rax, rax
je 0x140021bba
cmp rbp, qword [rax + 0x3c0]
je 0x140021ca9
mov ecx, dword [rbx + 0x1ae0]
test ecx, ecx
setne al
mov byte [rbx + 0x1aec], al
test ecx, ecx
je 0x140021bdc
mov dword [rbx + 0x1ae8], esi
mov word [rbx + 0x1aef], si
mov dword [rbx + 0x1ae0], esi
mov word [rbx + 0x1aed], si
mov qword [rbx + 0x1b10], rsi
mov byte [rbx + 0x1af1], sil
mov qword [rbx + 0x1af4], rsi
mov qword [rbx + 0x1b00], rsi
mov word [rbx + 0x1c66], 0x100
mov rax, qword [rbp + 0x3d8]
test rax, rax
je 0x140021c25
cmp byte [rax + 0x87], sil
cmovne rbp, rax
xor edx, edx
mov rcx, rbp
call fcn.14001e0d0
mov rcx, rbp
call fcn.14001d030
mov ecx, dword [rbp + 0x3e0]
test ecx, ecx
jne 0x140021c99
mov rdx, qword [0x1401ba900]
test dword [rbp + 0xc], 0x40000
mov dword [rdx + 0x1c1c], esi
jne 0x140021c93
movsxd rcx, dword [rdx + 0x1c5c]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x1c10]
mov dword [rdx + 0x1c18], esi
mov dword [rax + rcx*4 + 0x3e0], esi
mov word [rdx + 0x1c69], r15w
mov dword [rdx + 0x1c6c], esi
movups xmmword [rdx + 0x1c70], xmm0
mov byte [rdx + 0x1c68], r15b
jmp 0x140021c99
mov dword [rdx + 0x1c18], ecx
cmp dword [rbp + 0x148], 2
jne 0x140021ca9
mov dword [rbx + 0x1c5c], r15d
mov qword [rdi], rsi
mov r15, qword [rsp + 0x50]
test r14b, r14b
mov r14, qword [rsp + 0x90]
je 0x140021d44
mov rbp, qword [rbx + 0x1c10]
test rbp, rbp
je 0x140021d44
lea rcx, [rbp + 0x3b8]
mov rdi, rbp
cmp qword [rcx], rsi
je 0x140021d1b
nop dword [rax]
test byte [rdi + 0x148], 2
jne 0x140021d07
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140021d07
mov rdi, qword [rcx]
lea rcx, [rdi + 0x3b8]
cmp qword [rcx], rsi
jne 0x140021ce0
cmp rdi, rbp
je 0x140021d1b
mov rcx, rdi
call fcn.14001d030
mov qword [rdi + 0x3d8], rbp
mov rax, qword [rbx + 0x1c10]
mov word [rbx + 0x1c66], 0x100
test byte [rax + 0x148], 2
je 0x140021d3d
mov esi, dword [rbx + 0x1c5c]
xor esi, 1
mov ecx, esi
call fcn.14001f0e0
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret