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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402ba030]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r14b, r14b
lea rbx, [rcx + 0xe8]
cmp qword [rbx + 0x10], 0
mov rsi, r8
mov r13, rdx
mov rdi, rcx
mov r15d, 1
jne 0x140110aae
cmp qword [rbx + 0x18], 0
jne 0x140110aae
cmp byte [0x1402bcc60], r14b
je 0x140110a18
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x1402bcc58]
mov rax, qword [rsp + 0x58]
cqo
idiv r8
mov r9, rax
mov rax, qword [rsp + 0x58]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
mov r10, rax
jmp 0x140110a3f
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
sub r8d, ecx
imul r10d, r8d, 0x3e8
lea r8, [rdi + 0xb50]
cmp byte [rdi + 0xc65], r14b
jne 0x140110aae
mov byte [rdi + 0xc65], r15b
test r8, r8
je 0x140110aae
sub r9, qword [rdi + 0xb70]
movabs rax, 0x8637bd05af6
cmp r9, rax
jl 0x140110a7d
movabs rdx, 0x7fffffffffffffff
jmp 0x140110aab
movabs rax, 0xfffff79c842fa50a
cmp r9, rax
jle 0x140110aa8
movsxd rax, dword [rdi + 0xb78]
imul rdx, r9, 0xf4240
sub rdx, rax
movsxd rax, r10d
add rdx, rax
cmp rdx, r15
jge 0x140110aab
mov rdx, r15
add qword [r8], rdx
or dword [rsi], 2
xor r12d, r12d
mov rcx, qword [rbx + 0xb8]
mov ebp, r12d
test rcx, rcx
je 0x140110b0b
mov eax, dword [rdi + 0x6c8]
shr rax, 5
cmp rcx, rax
jge 0x140110db3
cmp byte [rbx + 0xe0], bpl
jne 0x140110db3
cmp byte [rbx + 0xdb], bpl
jne 0x140110db3
mov rax, qword [rbx + 0x18]
sub rax, qword [rbx + 0x30]
add rax, rcx
cmp rax, qword [rdi + 0x1158]
je 0x140110db3
mov rbp, rcx
mov rax, qword [rdi + 0xcb0]
test rax, rax
jne 0x140110b33
mov ecx, dword [rdi + 0x6c8]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0xcb0], rax
test rax, rax
je 0x140110ce4
test rbp, rbp
je 0x140110b4f
mov rdx, qword [rbx + 0xc0]
cmp rdx, rax
je 0x140110b4f
mov r8, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov rdx, qword [rdi + 0xcb0]
mov qword [rbx + 0xc0], rdx
cmp byte [rbx + 0xdb], r12b
jne 0x140110f9e
cmp dword [rbx + 0x88], 2
mov rcx, qword [rbx + 0xc8]
jne 0x140110c2c
cmp dword [rcx + 0x200], 2
jne 0x140110c2c
and dword [rbx + 0x74], 0xfffffffd
cmp byte [0x1402bcc60], r12b
mov dword [rbx + 0x88], r15d
je 0x140110bd9
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x58]
mov r8, qword [0x1402bcc58]
mov rax, rcx
cqo
idiv r8
mov qword [rsp + 0x58], rax
mov rax, rcx
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x140110c05
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov eax, 0x10624dd3
mul r9d
shr edx, 6
mov r8d, edx
imul edx, edx, 0x3e8
mov qword [rsp + 0x58], r8
sub r9d, edx
imul eax, r9d, 0x3e8
mov dword [rsp + 0x60], eax
xor r8d, r8d
movups xmm0, xmmword [rsp + 0x58]
mov rcx, rdi
movups xmmword [rbx + 0x78], xmm0
and dword [rsi], 0xfffffffd
movsxd rdx, dword [rdi + 0xa30]
call fcn.1400f75c0
jmp 0x140110fb3
mov rax, qword [r13 + 0x328]
test dword [rax + 0x84], 0xc0040003
je 0x140110c4a
cmp dword [rcx + 0x200], r15d
sete r14b
lea rax, [rdx + rbp]
mov rcx, rdi
mov qword [rbx + 0xc0], rax
lea r8, [rsp + 0x68]
mov edx, dword [rdi + 0x6c8]
sub rdx, rbp
call fcn.14010fa40
sub qword [rbx + 0xc0], rbp
test eax, eax
jne 0x140110fb5
mov rsi, qword [rsp + 0x68]
add rsi, rbp
je 0x140110f9e
test rsi, rsi
jle 0x140110fa4
mov qword [rbx + 0xb8], rsi
test r14b, r14b
jne 0x140110d8a
cmp byte [rdi + 0xa8e], r12b
je 0x140110d8a
mov rax, qword [rdi + 0xd68]
test rax, rax
jne 0x140110cee
mov eax, dword [rdi + 0x6c8]
lea ecx, [rax + rax]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0xd68], rax
test rax, rax
jne 0x140110cee
lea rdx, str.Failed_to_alloc_scratch_buffer
mov rcx, rdi
call fcn.140105f20
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140110fb5
test rbp, rbp
je 0x140110d05
mov rdx, qword [rbx + 0xc0]
mov r8, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rbp
mov rcx, rbp
cmp rbp, rsi
jge 0x140110d6d
mov rax, qword [rbx + 0xc0]
mov r8, qword [rdi + 0xd68]
movzx r9d, byte [rdx + rax]
cmp r9b, 0xa
jne 0x140110d5e
mov byte [r8 + rcx], reloc.WS2_32.dll_listen
inc rcx
mov rax, qword [rdi + 0xd68]
mov byte [rcx + rax], r9b
cmp byte [rdi + 0xa8e], r12b
jne 0x140110d62
mov rax, qword [rdi + 0x1158]
cmp rax, 0xffffffffffffffff
je 0x140110d62
inc rax
mov qword [rdi + 0x1158], rax
jmp 0x140110d62
mov byte [r8 + rcx], r9b
inc rdx
inc rcx
cmp rdx, rsi
jl 0x140110d10
cmp rcx, rsi
je 0x140110d8a
mov rax, qword [rdi + 0xd68]
mov rsi, rcx
mov qword [rbx + 0xc0], rax
mov qword [rbx + 0xb8], rcx
mov rax, qword [r13 + 0x328]
test dword [rax + 0x84], 0x30000
je 0x140110db3
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.14012a8e0
test eax, eax
jne 0x140110fb5
mov rax, qword [r13 + 0x350]
mov r10, qword [rdi + 0x18]
mov dword [rsp + 0x50], r12d
cmp rax, 0xffffffffffffffff
je 0x140110dd2
cmp rax, qword [r10 + 0x1b0]
je 0x140110dd5
mov r15d, r12d
mov r9, qword [rbx + 0xb8]
lea rcx, [rsp + 0x50]
mov r8, qword [rbx + 0xc0]
mov edx, r15d
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov eax, r15d
call qword [r10 + rax*8 + 0x1c8]
mov rsi, rax
test rax, rax
jns 0x140110e23
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140110f97
cmp eax, 0x51
je 0x140110e20
test eax, eax
je 0x140110e23
jmp 0x140110fb5
mov rsi, r12
mov rbp, qword [r13 + 0x350]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r12
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x4004747b
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], 4
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x140110e89
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r14, qword [rbx + 0x30]
test r14, r14
je 0x140110ebc
mov r8, qword [rbx + 0xc0]
cmp r14, rsi
mov edx, 2
mov rcx, rdi
cmovge r14, rsi
mov r9, r14
call fcn.140105dd0
sub qword [rbx + 0x30], r14
mov rbp, rsi
sub rbp, r14
jmp 0x140110ebf
mov rbp, rsi
test rbp, rbp
je 0x140110ef3
mov r8, rsi
mov r9, rbp
sub r8, rbp
mov edx, 4
add r8, qword [rbx + 0xc0]
mov rcx, rdi
call fcn.140105dd0
mov rcx, qword [rbx + 0x18]
add rcx, rbp
mov qword [rbx + 0x18], rcx
mov qword [rdi + 0xb00], rcx
cmp byte [rbx + 0xe0], r12b
je 0x140110f05
cmp byte [rbx + 0xe2], r12b
je 0x140110f28
mov rax, qword [rdi + 0x1158]
cmp qword [rbx + 0x18], rax
jne 0x140110f28
lea rdx, str.We_are_completely_uploaded_and_fine
mov byte [rbx + 0xdb], 1
mov rcx, rdi
call fcn.140106050
mov rax, qword [rbx + 0xb8]
cmp rax, rsi
je 0x140110f47
sub rax, rsi
add qword [rbx + 0xc0], rsi
mov qword [rbx + 0xb8], rax
jmp 0x140110fb3
mov rax, qword [rdi + 0xcb0]
test rax, rax
jne 0x140110f6f
mov ecx, dword [rdi + 0x6c8]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0xcb0], rax
test rax, rax
je 0x140110ce4
mov qword [rbx + 0xc0], rax
mov qword [rbx + 0xb8], r12
cmp byte [rbx + 0xdb], r12b
je 0x140110fb3
mov rdx, rbx
mov rcx, rdi
call fcn.1401108e0
test eax, eax
je 0x140110fb3
jmp 0x140110fb5
mov eax, gethostname
jmp 0x140110fb5
test byte [rbx + 0x74], 0x20
jne 0x140110fb3
mov rdx, rbx
mov rcx, rdi
call fcn.1401108e0
test eax, eax
jne 0x140110fb5
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401526c0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret