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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rsp + 0x88], rax
or dword [r8], 2
xor bpl, bpl
mov r9, qword [rcx + 0x188]
xor esi, esi
mov rdi, r8
mov r14, rdx
mov rbx, rcx
test r9, r9
je 0x14005962c
mov eax, dword [rcx + 0x6b0]
shr rax, 5
cmp r9, rax
jge 0x1400598d5
cmp byte [rcx + 0x1c4], sil
jne 0x1400598d5
cmp byte [rcx + 0x1bf], sil
jne 0x1400598d5
mov rax, qword [rcx + 0x108]
sub rax, qword [rcx + 0x110]
add rax, r9
cmp rax, qword [rcx + 0x11b8]
je 0x1400598d5
mov rsi, r9
mov rax, qword [rcx + 0xca8]
test rax, rax
jne 0x140059654
mov ecx, dword [rcx + 0x6b0]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0xca8], rax
test rax, rax
je 0x140059806
test rsi, rsi
je 0x140059670
mov rdx, qword [rbx + 0x190]
cmp rdx, rax
je 0x140059670
mov r8, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov rdx, qword [rbx + 0xca8]
mov qword [rbx + 0x190], rdx
cmp byte [rbx + 0x1bf], bpl
jne 0x140059b94
cmp dword [rbx + 0x158], 2
mov rcx, qword [rbx + 0x198]
jne 0x140059751
cmp dword [rcx + 0x38], 2
jne 0x140059751
and dword [rbx + 0x144], 0xfffffffd
cmp byte [0x14007eb28], bpl
mov dword [rbx + 0x158], 1
je 0x1400596fc
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x14007eb20]
mov rax, qword [rsp + 0x60]
cqo
idiv r8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x140059727
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
mov qword [rsp + 0x70], rcx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x78], eax
xor r8d, r8d
movups xmm0, xmmword [rsp + 0x70]
mov rcx, rbx
movups xmmword [rbx + 0x148], xmm0
and dword [rdi], 0xfffffffd
movsxd rdx, dword [rbx + 0xa0c]
call fcn.14003fcb0
jmp 0x140059bac
mov rax, qword [r14 + 0x2c8]
test dword [rax + 0x84], 0x40003
je 0x14005976c
cmp dword [rcx + 0x38], 1
sete bpl
lea rax, [rdx + rsi]
mov rcx, rbx
mov qword [rbx + 0x190], rax
lea r8, [rsp + 0x60]
mov edx, dword [rbx + 0x6b0]
sub rdx, rsi
call fcn.140058c90
sub qword [rbx + 0x190], rsi
test eax, eax
jne 0x140059bae
mov rdi, qword [rsp + 0x60]
add rdi, rsi
je 0x140059b94
test rdi, rdi
jle 0x140059b9d
mov qword [rbx + 0x188], rdi
test bpl, bpl
jne 0x1400598ac
cmp byte [rbx + 0xa6f], bpl
je 0x1400598ac
mov rax, qword [rbx + 0xd60]
test rax, rax
jne 0x140059810
mov eax, dword [rbx + 0x6b0]
lea ecx, [rax + rax]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0xd60], rax
test rax, rax
jne 0x140059810
lea rdx, str.Failed_to_alloc_scratch_buffer
mov rcx, rbx
call fcn.140013150
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140059bae
test rsi, rsi
je 0x140059827
mov rdx, qword [rbx + 0x190]
mov r8, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rsi
mov rcx, rsi
cmp rsi, rdi
jge 0x14005988f
mov rax, qword [rbx + 0x190]
mov r8, qword [rbx + 0xd60]
movzx r9d, byte [rdx + rax]
cmp r9b, 0xa
jne 0x140059880
mov byte [r8 + rcx], reloc.WS2_32.dll_listen
inc rcx
mov rax, qword [rbx + 0xd60]
mov byte [rcx + rax], r9b
cmp byte [rbx + 0xa6f], 0
jne 0x140059884
mov rax, qword [rbx + 0x11b8]
cmp rax, 0xffffffffffffffff
je 0x140059884
inc rax
mov qword [rbx + 0x11b8], rax
jmp 0x140059884
mov byte [r8 + rcx], r9b
inc rdx
inc rcx
cmp rdx, rdi
jl 0x140059832
cmp rcx, rdi
je 0x1400598ac
mov rax, qword [rbx + 0xd60]
mov rdi, rcx
mov qword [rbx + 0x190], rax
mov qword [rbx + 0x188], rcx
mov rax, qword [r14 + 0x2c8]
test dword [rax + 0x84], 0x30000
je 0x1400598d5
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.1400509e0
test eax, eax
jne 0x140059bae
mov rcx, qword [r14 + 0x2f0]
cmp rcx, 0xffffffffffffffff
je 0x1400598f6
mov rax, qword [rbx + 0x20]
cmp rcx, qword [rax + 0x190]
jne 0x1400598f6
mov edx, 1
jmp 0x1400598f8
xor edx, edx
mov r9, qword [rbx + 0x188]
lea rax, [rsp + 0x60]
mov r8, qword [rbx + 0x190]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140047ea0
test eax, eax
jne 0x140059bae
cmp byte [0x14007eb28], al
je 0x140059967
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x14007eb20]
mov rax, qword [rsp + 0x70]
cqo
idiv r8
mov r9, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
mov rcx, rax
jmp 0x140059995
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
imul ecx, edx, 0x3e8
mov r9d, edx
mov qword [rsp + 0x50], r9
sub r8d, ecx
imul eax, r8d, 0x3e8
mov ecx, eax
movups xmm0, xmmword [rbx + 0x1a8]
mov dword [rsp + 0x58], eax
movq rax, xmm0
sub r9, rax
movabs rax, 0x20c49ba5e353f7
cmp r9, rax
jge 0x140059a00
movabs rax, 0xffdf3b645a1cac09
cmp r9, rax
jle 0x140059a7d
psrldq xmm0, 8
movd eax, xmm0
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul rax, r9, 0x3e8
movsxd rcx, edx
add rcx, rax
cmp rcx, 0x3e8
jle 0x140059a7d
mov rdi, qword [r14 + 0x2f0]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], 0
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x4004747b
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], 4
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x140059a71
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x1a8], xmm0
mov rax, qword [rbx + 0x110]
mov rsi, qword [rsp + 0x60]
test rax, rax
je 0x140059abe
mov r8, qword [rbx + 0x190]
cmp rax, rsi
mov rdi, rsi
mov edx, 2
cmovl rdi, rax
mov rcx, rbx
mov r9, rdi
call fcn.140013000
sub qword [rbx + 0x110], rdi
mov rbp, rsi
sub rbp, rdi
jmp 0x140059ac1
mov rbp, rsi
test rbp, rbp
je 0x140059af8
mov r8, qword [rbx + 0x190]
mov r9, rbp
sub r8, rbp
mov edx, 4
add r8, rsi
mov rcx, rbx
call fcn.140013000
add qword [rbx + 0x108], rbp
mov rax, qword [rbx + 0x108]
mov qword [rbx + 0xae0], rax
cmp byte [rbx + 0x1c4], 0
je 0x140059b0a
cmp byte [rbx + 0x1c6], 0
je 0x140059b30
mov rax, qword [rbx + 0x11b8]
cmp qword [rbx + 0x108], rax
jne 0x140059b30
lea rdx, str.We_are_completely_uploaded_and_fine
mov byte [rbx + 0x1bf], 1
mov rcx, rbx
call fcn.140013280
mov rax, qword [rbx + 0x188]
cmp rax, rsi
je 0x140059b4f
sub rax, rsi
add qword [rbx + 0x190], rsi
mov qword [rbx + 0x188], rax
jmp 0x140059bac
mov rax, qword [rbx + 0xca8]
test rax, rax
jne 0x140059b77
mov ecx, dword [rbx + 0x6b0]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0xca8], rax
test rax, rax
je 0x140059806
cmp byte [rbx + 0x1bf], 0
mov qword [rbx + 0x190], rax
mov qword [rbx + 0x188], 0
je 0x140059bac
jmp 0x140059b9d
test byte [rbx + 0x144], 0x20
jne 0x140059bac
and dword [rbx + 0x144], 0xfffffffd
mov rcx, rbx
call fcn.1400094c0
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140065250
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret