Function at 0x180008bb0
Capabilities:
Check for time delay via gettickcount
Create tcp socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x18004d020]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x17], rcx
mov rsi, rdx
mov ecx, 0x18
mov qword [rbp - 0x49], rdx
call fcn.18000ddb4
xor ebx, ebx
mov qword [rbp - 0x21], rax
xor r15b, r15b
xor r9d, r9d
xor r8d, r8d
mov byte [rbp - 0x69], r15b
xor edx, edx
mov qword [rax], rbx
lea rcx, [rbx - 1]
mov qword [rax + 8], rbx
mov r12, rax
mov qword [rax + 0x10], rbx
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [rbp - 0x41], rax
test rax, rax
je 0x180009249
mov qword [rsp + 0x110], r13
mov ecx, 0x1b580
mov qword [rsp + 0x118], r14
mov r14d, ebx
call fcn.18000e170
mov rdx, qword [rbp + 0x17]
mov r13, rax
mov qword [rbp - 0x29], rax
mov rbx, qword [rdx]
mov qword [rbp - 0x39], rbx
cmp rbx, qword [rdx + 8]
je 0x180009222
nop
movzx r12d, byte [rbx + 7]
movzx r8d, byte [rbx + 3]
movzx eax, byte [rbx + 2]
movzx r11d, byte [rbx + 1]
movzx r9d, byte [rbx]
movzx edi, byte [rbx + 6]
movzx r10d, byte [rbx + 5]
movzx ecx, byte [rbx + 4]
mov dword [rbp - 1], eax
mov dword [rbp - 9], r11d
mov dword [rbp - 0x11], r9d
mov dword [rbp - 0x51], r12d
mov dword [rbp - 5], edi
mov dword [rbp - 0xd], r10d
mov dword [rbp - 0x15], ecx
mov dword [rbp - 0x61], r8d
cmp r8d, r12d
ja 0x180009095
nop word [rax + rax]
test r15b, r15b
jne 0x18000908d
mov dword [rbp - 0x65], eax
mov edx, eax
cmp eax, edi
ja 0x18000907d
test r15b, r15b
jne 0x180009076
mov eax, r11d
mov dword [rbp - 0x2d], eax
cmp r11d, r10d
ja 0x180009069
nop
test r15b, r15b
jne 0x180009062
mov ebx, r9d
cmp r9d, ecx
ja 0x180009054
test r15b, r15b
jne 0x18000904c
mov rcx, qword [rsi + 8]
mov r12d, r8d
shl r12d, 8
or r12d, edx
shl r12d, 8
or r12d, eax
mov rax, qword [rsi]
shl r12d, 8
or r12d, ebx
cmp rax, rcx
je 0x180008d3a
cmp dword [rax], r12d
ja 0x180008d31
cmp r12d, dword [rax + 4]
jbe 0x18000903c
add rax, 8
cmp rax, rcx
jne 0x180008d22
xor esi, esi
mov dword [rbp - 0x31], esi
nop
cmp r14d, 0x7d0
je 0x180008d5a
test esi, esi
je 0x180008ecf
test r14d, r14d
je 0x180008ecf
xor esi, esi
mov r15d, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
mov dil, 1
nop dword [rax + rax]
mov rcx, qword [rbp - 0x41]
lea r9, [rbp - 0x59]
lea r8, [rbp + 0xf]
mov qword [rbp - 0x59], rsi
lea rdx, [rbp - 0x19]
mov dword [rbp - 0x19], esi
mov qword [rbp + 0xf], rsi
mov dword [rsp + 0x20], 0xa
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
cmp qword [rbp + 0xf], 2
jne 0x180008dfd
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x180008dfd
test r14d, r14d
je 0x180008d70
inc r15d
test eax, eax
je 0x180008df4
mov eax, dword [rcx + 0x20]
mov dword [rbp + 3], eax
movzx eax, word [rcx + 0x24]
mov rcx, qword [rbp - 0x21]
mov word [rbp + 7], ax
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180008de7
mov rax, qword [rbp + 3]
mov qword [rdx], rax
add qword [rcx + 8], 8
mov rcx, qword [rbp - 0x59]
mov byte [rcx + 0x30], 1
jmp 0x180008d70
lea r8, [rbp + 3]
call fcn.180007ec0
mov rcx, qword [rbp - 0x59]
mov byte [rcx + 0x30], 1
jmp 0x180008d70
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x102
jne 0x180008e67
cmp r15d, r14d
je 0x180008e67
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r13d
cmp eax, 0x1388
jb 0x180008d70
test dil, dil
je 0x180008d70
test r14d, r14d
je 0x180008e5f
mov rdi, qword [rbp - 0x29]
add rdi, 0x28
mov esi, r14d
nop dword [rax]
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x180008e55
cmp byte [rdi + 8], 0
jne 0x180008e55
call qword [sym.imp.KERNEL32.dll_CancelIo]
add rdi, 0x38
sub rsi, 1
jne 0x180008e40
xor dil, dil
jmp 0x180008d70
mov r13, qword [rbp - 0x29]
test r14d, r14d
je 0x180008ec4
lea rdi, [r13 + 0x28]
mov esi, r14d
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x180008eba
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xffff
mov r8d, 0x7010
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi], 0xffffffffffffffff
add rdi, 0x38
sub rsi, 1
jne 0x180008e77
movzx r15d, byte [rbp - 0x69]
mov r14d, esi
mov esi, dword [rbp - 0x31]
xorps xmm0, xmm0
mov eax, r14d
imul rdi, rax, 0x38
xor eax, eax
mov dword [rsp + 0x28], 1
add rdi, r13
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea edx, [rax + 1]
movups xmmword [rdi], xmm0
lea ecx, [rax + 2]
movups xmmword [rdi + 0x10], xmm0
lea r8d, [rax + 6]
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x28], 0xffffffffffffffff
mov dword [rdi + 0x20], r12d
mov word [rdi + 0x24], 0x1bd
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x180008ff8
mov rdx, qword [rbp - 0x41]
xor r9d, r9d
mov rcx, rax
mov qword [rdi + 0x28], rax
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp rax, qword [rbp - 0x41]
jne 0x180008fc1
mov rcx, qword [rdi + 0x28]
lea rdx, [rbp + 0x1f]
xor eax, eax
mov qword [rbp + 0x1f], 2
mov qword [rbp + 0x27], rax
lea r8d, [rax + 0x10]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x180008fc1
xor ecx, ecx
mov qword [rsp + 0x30], rdi
mov eax, 2
mov qword [rsp + 0x28], rcx
mov word [rbp + 0x1f], ax
lea rdx, [rbp + 0x1f]
mov eax, dword [rdi + 0x20]
xor r9d, r9d
bswap eax
mov dword [rbp + 0x23], eax
lea r8d, [rcx + 0x10]
movzx eax, word [rdi + 0x24]
ror ax, 8
mov qword [rbp + 0x27], rcx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x28]
mov word [rbp + 0x21], ax
call qword [0x18004f980]
test eax, eax
jne 0x18000901f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x18000901f
mov rcx, qword [rdi + 0x28]
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov edx, 0xffff
mov r8d, 0x7010
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x28]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.WS2_32.dll_closesocket]
lea eax, [rsi + 1]
mov ecx, 0x1388
mov dword [rbp - 0x31], eax
mov esi, eax
cmp eax, 5
je 0x180009024
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rbp - 0x69], r15b
cmp esi, 5
jb 0x180008d40
jmp 0x180009031
inc r14d
jmp 0x180009031
mov r15b, 1
mov byte [rbp - 0x69], r15b
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rbp - 0x49]
mov edx, dword [rbp - 0x65]
mov r8d, dword [rbp - 0x61]
mov ecx, dword [rbp - 0x15]
inc ebx
mov eax, dword [rbp - 0x2d]
cmp ebx, ecx
jbe 0x180008cf5
mov r9d, dword [rbp - 0x11]
mov r10d, dword [rbp - 0xd]
inc eax
mov dword [rbp - 0x2d], eax
cmp eax, r10d
jbe 0x180008ce0
mov r11d, dword [rbp - 9]
mov edi, dword [rbp - 5]
inc edx
mov dword [rbp - 0x65], edx
cmp edx, edi
jbe 0x180008cc6
mov eax, dword [rbp - 1]
mov r12d, dword [rbp - 0x51]
inc r8d
mov dword [rbp - 0x61], r8d
cmp r8d, r12d
jbe 0x180008cb0
mov rbx, qword [rbp - 0x39]
mov rdx, qword [rbp + 0x17]
add rbx, 8
mov qword [rbp - 0x39], rbx
cmp rbx, qword [rdx + 8]
jne 0x180008c60
test r14d, r14d
je 0x18000921e
xor eax, eax
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12, qword [rbp - 0x21]
mov bl, 1
mov rdi, qword [rbp - 0x41]
mov r15d, eax
nop word [rax + rax]
xor eax, eax
mov dword [rsp + 0x20], 0xa
lea r9, [rbp - 0x59]
mov qword [rbp - 0x59], rax
lea r8, [rbp - 0x39]
mov dword [rbp - 0x51], eax
lea rdx, [rbp - 0x51]
mov qword [rbp - 0x39], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
cmp qword [rbp - 0x39], 2
jne 0x18000915a
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x18000915a
inc esi
test eax, eax
je 0x180009151
mov eax, dword [rcx + 0x20]
mov rdx, qword [r12 + 8]
mov dword [rbp - 0x49], eax
movzx eax, word [rcx + 0x24]
mov word [rbp - 0x45], ax
cmp rdx, qword [r12 + 0x10]
je 0x180009141
mov rax, qword [rbp - 0x49]
mov qword [rdx], rax
mov rcx, qword [rbp - 0x59]
add qword [r12 + 8], 8
mov byte [rcx + 0x30], 1
jmp 0x1800090d0
lea r8, [rbp - 0x49]
mov rcx, r12
call fcn.180007ec0
mov rcx, qword [rbp - 0x59]
mov byte [rcx + 0x30], 1
jmp 0x1800090d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x102
jne 0x1800091be
cmp esi, r14d
je 0x1800091be
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
cmp eax, 0x1388
jb 0x1800090d0
test bl, bl
je 0x1800090d0
test r14d, r14d
je 0x1800091b7
lea rbx, [r13 + 0x28]
mov edi, r14d
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1800091a9
cmp byte [rbx + 8], 0
jne 0x1800091a9
call qword [sym.imp.KERNEL32.dll_CancelIo]
add rbx, 0x38
sub rdi, 1
jne 0x180009194
mov rdi, qword [rbp - 0x41]
xor bl, bl
jmp 0x1800090d0
test r14d, r14d
je 0x180009222
xor r12d, r12d
mov edi, r14d
lea rbx, [r13 + 0x28]
lea r13d, [r12 + 2]
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x180009210
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov edx, 0xffff
mov r8d, 0x7010
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
mov edx, r13d
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx], 0xffffffffffffffff
add rbx, 0x38
sub rdi, 1
jne 0x1800091d2
mov r13, qword [rbp - 0x29]
mov r12, qword [rbp - 0x21]
mov edx, 0x38
mov rcx, r13
call fcn.18000db10
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x118]
mov r13, qword [rsp + 0x110]
mov rax, r12
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18000daf0
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret