Function at 0x14000c890
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400c2040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x60], 0x2e
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000c93c
mov edx, eax
lea rcx, str.WSAStartup_failed:__d_n
call fcn.140001460
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000c935
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x14000c930
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cb73
mov rcx, r8
call fcn.1400824c0
xor al, al
jmp 0x14000cb3d
mov qword [rsp + 0x68], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x74], 6
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140013660
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000c98c
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000c9de
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c9d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400824c0
test edi, edi
je 0x14000c9fb
mov edx, edi
lea rcx, str.getaddrinfo_failed_with_error:__d_n
call fcn.140001460
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x14000c8fb
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000caf5
nop dword [rax]
mov edx, dword [rdi + 4]
test edx, edx
je 0x14000cad7
cmp edx, 2
je 0x14000caac
cmp edx, 0x11
je 0x14000caa3
cmp edx, 0x17
je 0x14000ca3f
lea rcx, str.Other__ld_n
call fcn.140001460
jmp 0x14000cae3
lea rcx, str.AF_INET6__IPv6__n
call fcn.140001460
mov rcx, qword [rdi + 0x20]
mov dword [rsp + 0x60], 0x2e
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x140]
xor r8d, r8d
mov edx, dword [rdi + 0x10]
call qword [sym.imp.WS2_32.dll_WSAAddressToStringA]
test eax, eax
je 0x14000ca8e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.WSAAddressToString_failed_with__u_n
call fcn.140001460
jmp 0x14000cae3
lea rdx, [rbp + 0x140]
lea rcx, str._tIPv6_address__s_n
call fcn.140001460
jmp 0x14000cae3
lea rcx, str.AF_NETBIOS__NetBIOS__n
jmp 0x14000cade
mov rcx, qword [rdi + 0x20]
mov ecx, dword [rcx + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000cac0
mov rdx, rax
mov rcx, rsi
call fcn.1400088c0
jmp 0x14000cae3
lea rcx, str.Unspecified_n
call fcn.140001460
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14000ca10
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000cb3b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000cb36
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cb73
mov rcx, r8
call fcn.1400824c0
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400824a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3