Function at 0x140017350
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, r8
mov edi, edx
mov rsi, rcx
mov rcx, qword [str._b0_n_]
lea r13, str._b0_n_
mov r12d, 0x100
cmp rcx, r13
je 0x1400173c2
test dword [rcx + 0x1c], r12d
je 0x1400173c2
cmp byte [rcx + 0x19], 5
jb 0x1400173c2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140085890]
mov edx, 0x3c
call fcn.1400043e4
xor edx, edx
lea rcx, [rbp + 0x110]
mov r8d, 0x82
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x70]
xorps xmm0, xmm0
mov ecx, 0x202
movups xmmword [rsp + 0x40], xmm0
xor ebx, ebx
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
je 0x140017420
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x1400175a0
neg edi
mov dword [rsp + 0x48], 1
lea r9, [rsp + 0x38]
mov dword [rsp + 0x4c], 6
sbb eax, eax
lea r8, [rsp + 0x40]
and eax, 0xffffffeb
xor edx, edx
add eax, 0x17
mov rcx, rsi
mov dword [rsp + 0x44], eax
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140017499
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._b0_n_]
cmp rcx, r13
je 0x1400175a0
test dword [rcx + 0x1c], r12d
je 0x1400175a0
cmp byte [rcx + 0x19], 2
jb 0x1400175a0
mov edx, 0x3d
jmp 0x14001758d
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x30], 0x41
test rax, rax
je 0x140017562
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x140017562
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x110]
mov edx, dword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_WSAAddressToStringW]
nop dword [rax + rax]
test eax, eax
je 0x14001751c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._b0_n_]
cmp rcx, r13
je 0x1400175a0
test dword [rcx + 0x1c], r12d
je 0x1400175a0
cmp byte [rcx + 0x19], 2
jb 0x1400175a0
mov edx, 0x3e
jmp 0x14001758d
lea rcx, [rbp + 0x110]
call fcn.140011ea0
mov qword [r14], rax
test rax, rax
jne 0x1400175a0
mov rcx, qword [str._b0_n_]
cmp rcx, r13
je 0x14001755b
test dword [rcx + 0x1c], r12d
je 0x14001755b
cmp byte [rcx + 0x19], 2
jb 0x14001755b
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x40]
lea r8, [0x140085890]
call fcn.1400043e4
mov ebx, 8
jmp 0x1400175a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._b0_n_]
cmp rcx, r13
je 0x1400175a0
test dword [rcx + 0x1c], r12d
je 0x1400175a0
cmp byte [rcx + 0x19], 2
jb 0x1400175a0
mov edx, 0x3f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140085890]
mov r9d, eax
call fcn.140004410
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400175b6
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
nop dword [rax + rax]
test r15d, r15d
jne 0x1400175c7
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14006e550
mov rbx, qword [rsp + 0x308]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret