Function at 0x1800131b4
Capabilities:
Check for time delay via gettickcount
Get local ipv4 addresses
Get socket information
Resolve dns
Set socket configuration

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r14d, r9d
mov r15, r8
mov qword [rsp + 0x50], r8
mov r13, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x6c], r14d
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov ecx, 0xe8
call fcn.18001446c
mov rsi, rax
mov qword [rbp - 0x80], rax
lea rax, [0x18001b3b0]
mov qword [rsi], rax
mov qword [rsi + 0x20], rbx
mov qword [rsi + 8], r12
or rcx, 0xffffffffffffffff
mov qword [rsi + 0x10], rcx
mov dword [rsi + 0x18], 9
mov dword [rsi + 0x28], 1
lea rax, [0x18001b850]
mov qword [rsi], rax
mov qword [rsi + 0xb0], r12
mov dword [rsi + 0x18], 7
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0xb8], r12
mov qword [rsi + 0xc0], r12
mov dword [rsi + 0xc8], r12d
mov dword [rsi + 0xe0], r12d
mov qword [rsi + 0xd8], r12
mov qword [rsi + 0xd0], r12
mov rax, qword [rsi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [fcn.1800154a0]
mov rcx, rsi
call rbx
mov edi, eax
test eax, eax
je 0x1800132c6
mov r8d, 0xc3b4
mov edx, eax
lea ecx, [r12 + 7]
call fcn.18000c5ec
jmp 0x1800136ed
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rbp - 0x70]
call fcn.180016020
mov dword [rbp - 0x6c], r12d
mov dword [rbp - 0x68], 1
lea rbx, [r13 + 0x208]
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x70]
mov rdx, rbx
lea rcx, [r13 + 8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001334d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2af9
jne 0x180013336
or dword [rbp - 0x70], 4
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x70]
mov rdx, rbx
lea rcx, [r13 + 8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001334d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov edx, eax
mov ecx, 7
mov r8d, 0xc3b4
call fcn.18000c5ec
jmp 0x1800136e8
mov edi, r12d
mov dl, byte [r13 + 0x308]
mov rbx, qword [rsp + 0x60]
test dl, dl
jne 0x1800134a8
mov al, byte [r13 + 0x309]
dec al
cmp al, 1
ja 0x180013399
xor ecx, ecx
mov rax, rbx
test rbx, rbx
je 0x180013392
cmp dword [rax + 4], 2
je 0x180013387
cmp dword [rax + 4], 0x17
jne 0x180013389
inc ecx
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x18001337b
cmp ecx, 0x40
seta r12b
test dl, dl
jne 0x1800134a8
mov al, byte [r13 + 0x309]
cmp al, 2
jne 0x1800133b5
test r12b, r12b
je 0x1800134a8
mov dword [rbp - 0x78], 2
mov dword [rbp - 0x74], reloc.WS2_32.dll_socket
cmp al, 1
jne 0x1800133d3
test r12b, r12b
je 0x1800133d3
mov r14d, dword [r13 + 0x30c]
xor ecx, ecx
mov dword [rsp + 0x68], ecx
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
or r15d, 0xffffffff
test rbx, rbx
je 0x18001345d
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
cmp dword [rbx + 4], eax
jne 0x180013447
cmp r14d, r15d
je 0x180013418
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rsp + 0x74]
add ecx, r14d
sub ecx, eax
mov dword [rsp + 0x6c], ecx
test ecx, ecx
jle 0x180013479
cmp ecx, r14d
jg 0x180013479
jmp 0x18001341c
mov ecx, dword [rsp + 0x6c]
mov r8d, ecx
mov rdx, rbx
mov rcx, rsi
call fcn.180012fe4
mov edi, eax
test eax, eax
je 0x18001348f
cmp byte [r13 + 0x309], 1
jne 0x180013443
test r12b, r12b
je 0x180013520
mov eax, dword [rsp + 0x70]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800133f0
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbp - 0x80]
mov ecx, dword [rsp + 0x68]
inc ecx
mov dword [rsp + 0x68], ecx
add rax, 4
mov qword [rbp - 0x80], rax
cmp ecx, 2
jae 0x180013528
jmp 0x1800133e5
xor r12d, r12d
test edi, edi
jne 0x180013485
mov edi, 0x102
mov rbx, qword [rsp + 0x60]
jmp 0x18001352b
cmp r14d, r15d
je 0x180013520
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [rsp + 0x60]
jmp 0x180013528
mov r8d, r14d
or r15d, 0xffffffff
xor r12d, r12d
cmp r14d, r15d
je 0x1800134f4
mov eax, r12d
test r14d, r14d
cmovns eax, r14d
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rsp + 0x74]
sub eax, ecx
mov ecx, 0x5dc
cmp r14d, eax
jae 0x1800134df
mov r8d, r12d
jmp 0x1800134ec
mov r8d, r14d
sub r8d, eax
cmp r8d, ecx
cmovb r8d, ecx
test r8d, r8d
jne 0x1800134f4
mov r8d, ecx
mov rdx, rbx
mov rcx, rsi
call fcn.180012aa4
mov edi, eax
test eax, eax
jne 0x180013513
cmp r14d, r15d
je 0x180013510
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, r12d
test edi, edi
jne 0x1800136e8
jmp 0x180013485
xor r12d, r12d
jmp 0x180013485
xor r12d, r12d
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x60], r12
cmp qword [rsi + 0x30], 0xffffffffffffffff
jne 0x180013561
mov ecx, 7
test edi, edi
jne 0x18001355a
mov edi, r15d
mov r8d, 0xc3c5
mov edx, r15d
jmp 0x180013343
mov edx, edi
jmp 0x18001333d
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x78]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x18001332e
mov dword [rsp + 0x68], r12d
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 0x7530
mov dword [rbp - 0x30], 0x3e8
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, ntohs
lea r8, [rbp - 0x38]
mov edx, 0x98000004
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov ebx, 0xc3b4
cmp eax, 0xffffffff
jne 0x18001360a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov r8d, ebx
mov edx, eax
mov r14d, 7
mov ecx, r14d
call fcn.18000c5ec
jmp 0x180013613
mov edi, r12d
mov r14d, 7
test edi, edi
jne 0x1800136e8
mov r15d, 0x80
mov dword [rsp + 0x58], r15d
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x20]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x180013652
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov edx, eax
mov r8d, ebx
mov ecx, r14d
jmp 0x180013343
mov r8d, dword [rsp + 0x58]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1800122f0
mov edi, eax
test eax, eax
jne 0x180013645
mov dword [rsp + 0x58], r15d
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x60]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x18001363d
mov r8d, dword [rsp + 0x58]
lea rdx, [rbp + 0x60]
mov rcx, rsi
call fcn.180012240
mov edi, eax
test eax, eax
jne 0x180013645
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0x10], rcx
mov edi, r12d
cmp dword [0x1800282e8], r12d
je 0x1800136d1
mov rax, qword [rsi + 0x20]
test byte [rax + 0xcc], 1
jne 0x1800136d1
mov dl, 1
call qword [sym.imp.KERNEL32.dll_SetFileCompletionNotificationModes]
test eax, eax
jne 0x1800136d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x1800136dc
mov edx, edi
jmp 0x180013647
mov rax, qword [rsp + 0x50]
mov qword [rax], rsi
xor eax, eax
jmp 0x18001373f
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180013702
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x60], r12
mov rcx, qword [rsi + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x180013721
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.1800154a0]
mov edx, 1
mov rcx, rsi
call rbx
mov qword [r15], r12
mov eax, edi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180014440
mov rbx, qword [rsp + 0x230]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret