Function at 0x140001580
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400c5040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov r14, rdx
mov rcx, rdx
call qword [rsi + reloc.WS2_32.dll_recv]
mov rdx, qword [rsi + 0x38]
mov rdi, rax
mov rax, qword [rsi + 0x30]
and rax, rdi
cmp byte [rax + rdx], 0
je 0x1400015f8
imul rbx, rax, 0x68
add rbx, qword [rsi + 0x40]
je 0x1400015f8
nop dword [rax]
cmp qword [rbx + 8], rdi
jne 0x1400015e4
lea rcx, [rbx + 0x10]
mov rdx, r14
call qword [rsi + 0x18]
test al, al
jne 0x1400015ee
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400015d0
jmp 0x1400015f8
add rbx, 0x20
jne 0x140001830
mov qword [rsp + 0xb0], rbp
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x70], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movups xmm6, xmmword [r14]
mov rax, qword [rsi]
movq rdi, xmm6
mov rdx, rdi
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
psrldq xmm6, 8
mov r8, rdi
movq rdx, xmm6
mov rcx, rax
mov rbx, rax
call fcn.14008f790
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
call qword [rsi + reloc.WS2_32.dll_recv]
mov rdx, qword [rsi + 0x30]
mov rbp, rax
mov rcx, qword [rsi + 0x38]
and rdx, rax
movaps xmm6, xmmword [rsp + 0x70]
imul rdi, rdx, 0x68
cmp byte [rdx + rcx], 0
je 0x1400016a0
mov rax, qword [rsi + 8]
mov edx, 0x68
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
mov rcx, qword [rsi + 0x40]
mov rbx, rax
mov rdx, qword [rdi + rcx]
mov qword [rax], rdx
mov qword [rax + 8], rbp
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsi + 0x40]
mov qword [rdi + rcx], rax
jmp 0x1400016c3
mov rbx, qword [rsi + 0x40]
add rbx, rdi
mov qword [rbx], 0
mov qword [rbx + 8], rbp
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm0
mov rax, qword [rsi + 0x38]
mov byte [rdx + rax], 1
movups xmm0, xmmword [rsp + 0x50]
inc qword [rsi + 0x20]
lea r8, [rsp + 0x40]
add rbx, 0x20
xor edx, edx
lea rcx, [rsp + 0x30]
mov qword [rbx + 0x10], 0
movups xmmword [rbx], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x40], xmm0
call fcn.140001040
mov rbp, qword [rsp + 0xb0]
cmp qword [rax], 0
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
je 0x14000173f
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
lea rcx, [rbx + 0x18]
mov dword [rsp + 0x28], 0x26
mov eax, dword [rdx + 8]
mov r8d, dword [rdx]
mov r9d, dword [rdx + 4]
add rdx, 0xc
mov byte [rsp + 0x20], al
call fcn.14000a010
mov edi, eax
jmp 0x140001744
mov edi, 2
test edi, edi
lea rcx, [rsp + 0x40]
sete al
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [rbx + 0x40], 0
jne 0x1400017cc
cmp edi, 1
jne 0x140001772
mov rax, qword [0x1400c7918]
lea rcx, [0x1400c7920]
jmp 0x1400017a9
cmp edi, 0x13
ja 0x14000178f
lea rcx, [0x1400c5f00]
movsxd rax, edi
add rax, rax
movups xmm1, xmmword [rcx + rax*8]
mov rcx, qword [rcx + rax*8 + 8]
jmp 0x1400017a4
movaps xmm1, xmmword [reloc.WS2_32.dll_send]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rcx, xmm0
movq rax, xmm1
mov r9, qword [r14 + 8]
lea rdx, str.Failed_to_load_texture__.s:__.s.
mov r8d, dword [r14]
mov qword [rsp + 0x28], rcx
mov ecx, 3
mov dword [rsp + 0x20], eax
call fcn.140006aa0
jmp 0x140001830
cmp byte [0x1400c7318], 0
jne 0x1400017eb
lea rcx, [0x1400c7320]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
setne byte [0x1400c7318]
mov rax, qword [rsp + 0x40]
lea rdx, str.Loaded_texture__.s___fms_.
sub rax, qword [rsp + 0x60]
xorps xmm1, xmm1
mov r9, qword [r14 + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400c7320]
mov r8d, dword [r14]
xor ecx, ecx
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x1400b8628]
movsd qword [rsp + 0x20], xmm1
call fcn.140006aa0
inc qword [rbx + 0x10]
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140074360
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret