Function at 0x1400075c0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rbp + 0x70], rax
cmp byte [0x14007eb28], 0
mov rsi, rdx
mov r14, qword [rcx + 0x10]
mov r13, rcx
je 0x140007632
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x14007eb20]
mov rax, qword [rsp + 0x68]
cqo
idiv r8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x68]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x14000765d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
mov qword [rsp + 0x58], rcx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x60], eax
lea r15, [r14 + 0x98]
movups xmm0, xmmword [rsp + 0x58]
mov r8, r15
mov qword [rsp + 0x1d0], rdi
lea rdx, [r14 + 8]
mov rcx, rsi
movups xmmword [r14 + 0x148], xmm0
call fcn.140006740
mov ebx, eax
test eax, eax
jne 0x1400076fd
mov rbx, qword [r13 + 0x10]
mov edx, dword [rbx + 0x14]
lea r9, [rbx + 0x110]
lea r8, [rbx + 0xe0]
lea rcx, [rbx + 0x18]
call fcn.14000aa90
test al, al
jne 0x14000775f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
mov dword [rbx + 0x178], ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea rdx, [rsp + 0x70]
mov ecx, ebx
mov rdi, rax
call fcn.140053f40
mov r8d, dword [rdi]
lea rdx, str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.140013150
mov ebx, 2
mov r14, qword [r15]
cmp r14, 0xffffffffffffffff
je 0x140007aaf
mov rdi, qword [r13 + 0x18]
test rdi, rdi
je 0x140007a9f
cmp qword [rdi + 0x18], 0
mov rdx, r14
mov rcx, rsi
je 0x140007a9a
call fcn.14003f4a0
test rsi, rsi
je 0x140007a6a
mov rax, qword [rsi + 0xe0]
test rax, rax
je 0x140007a48
mov byte [rax + 0x1a3], 1
mov rdx, r14
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x20]
call rax
jmp 0x140007a79
mov r9d, dword [r14 + 0x110]
lea r8, [r14 + 0xe0]
lea rdx, str.__Trying__s:_d...
mov rcx, rsi
xor ebx, ebx
call fcn.140013280
cmp dword [r14 + 8], 2
jne 0x1400078d3
cmp dword [r14 + 0xc], 1
jne 0x1400078d3
cmp byte [rsi + 0xa8c], bl
je 0x1400077e9
mov rcx, qword [r15]
lea r9, [rsp + 0x50]
lea edx, [rbx + 6]
mov dword [rsp + 0x50], 1
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1400077e9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, [rsp + 0x70]
call fcn.140053f40
mov r8, rax
lea rdx, str.Could_not_set_TCP_NODELAY:__s
mov rcx, rsi
call fcn.140013280
mov rcx, qword [r15]
call fcn.1400067f0
cmp byte [rsi + 0xa92], 0
je 0x1400078db
mov rdi, qword [r15]
lea r9, [rsp + 0x50]
mov rcx, rdi
mov dword [rsp + 0x50], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x14000784e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rdi
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__qd:_errno__d
mov r9d, eax
mov rcx, rsi
call fcn.140013280
jmp 0x1400078db
mov eax, dword [rsi + 0xa04]
lea r8, [rsp + 0x58]
xor ecx, ecx
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x40], rcx
btr eax, 0x1f
mov qword [rsp + 0x38], rcx
mov edx, 0x98000004
imul eax, eax, 0x3e8
lea r9d, [rcx + 0xc]
mov dword [rsp + 0x5c], eax
imul eax, dword [rsi + 0xa08], 0x3e8
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1400078db
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rdi
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__qd:_errno__d
mov r9d, eax
mov rcx, rsi
call fcn.140013280
jmp 0x1400078db
mov rcx, qword [r15]
call fcn.1400067f0
cmp qword [rsi + 0x268], 0
je 0x14000794f
mov rax, qword [rsi + 0xe0]
lea rdi, [rsi + 0xd8]
test rax, rax
jne 0x140007900
mov rax, qword [rdi]
test rax, rax
je 0x140007907
mov byte [rax + 0x1a3], 1
mov rdx, qword [r15]
xor r8d, r8d
mov rcx, qword [rsi + 0x270]
call qword [rsi + 0x268]
mov ecx, eax
mov rax, qword [rsi + 0xe0]
test rax, rax
jne 0x140007930
mov rax, qword [rdi]
test rax, rax
je 0x140007937
mov byte [rax + 0x1a3], 0
cmp ecx, 2
jne 0x140007941
mov dil, 1
jmp 0x140007952
test ecx, ecx
je 0x14000794f
mov ebx, Ordinal_46
jmp 0x1400076fd
xor dil, dil
cmp dword [r14 + 8], 2
jne 0x140007985
mov r8, qword [r15]
mov r9d, 2
mov rdx, qword [r13 + 0x18]
mov rcx, rsi
call fcn.1400068d0
mov ebx, eax
test eax, eax
je 0x140007985
cmp eax, 1
jne 0x1400076fd
lea ebx, [rax + 6]
jmp 0x1400076fd
mov rcx, qword [r15]
lea r8, [rsp + 0x50]
mov edx, 0x8004667e
mov dword [rsp + 0x50], 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [r14 + 0xc], 2
setne al
mov byte [r14 + 0x17e], al
test dil, dil
je 0x140007aaf
mov rdx, rsi
mov rcx, r13
call fcn.1400073f0
cmp byte [0x14007eb28], 0
je 0x140007a05
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x14007eb20]
mov rax, qword [rsp + 0x68]
cqo
idiv r8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x68]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x140007a30
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
mov qword [rsp + 0x58], rcx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x60], eax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14 + 0x158], xmm0
mov byte [r13 + 0x24], 1
jmp 0x140007aaf
mov rax, qword [rsi + 0xd8]
test rax, rax
je 0x140007a6a
mov byte [rax + 0x1a3], 1
mov rdx, r14
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x20]
call rax
jmp 0x140007a79
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call qword [rdi + Ordinal_26]
test rsi, rsi
je 0x140007aa8
mov rax, qword [rsi + 0xe0]
test rax, rax
jne 0x140007a91
mov rax, qword [rsi + 0xd8]
test rax, rax
je 0x140007aa8
mov byte [rax + 0x1a3], 0
jmp 0x140007aa8
call fcn.14003f4a0
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r15], 0xffffffffffffffff
mov rax, qword [r15]
lea r8, str.cf_socket_open_______d__fd_qd
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, rsi
call fcn.140013370
mov rdi, qword [rsp + 0x1d0]
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140065250
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret