Function at 0x14000c4c0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], 0x2e
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000c570
mov edx, eax
lea rcx, str.WSAStartup_failed:__d_n
call fcn.1400014a0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000c569
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14000c564
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c7da
mov rcx, r8
call fcn.1400844f0
xor al, al
jmp 0x14000c7a0
mov qword [rsp + 0x68], r12
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.140013ea0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000c5c0
mov rcx, qword [rdi]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000c612
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c60d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c60d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400844f0
test ebx, ebx
je 0x14000c62f
mov edx, ebx
lea rcx, str.getaddrinfo_failed_with_error:__d_n
call fcn.1400014a0
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x14000c52f
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14000c758
nop dword [rax]
mov edx, dword [rsi + 4]
test edx, edx
je 0x14000c73a
cmp edx, 2
je 0x14000c6df
cmp edx, 0x11
je 0x14000c6d6
cmp edx, 0x17
je 0x14000c66f
lea rcx, str.Other__ld_n
call fcn.1400014a0
jmp 0x14000c746
lea rcx, str.AF_INET6__IPv6__n
call fcn.1400014a0
mov rcx, qword [rsi + 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 [rsi + 0x10]
call qword [sym.imp.WS2_32.dll_WSAAddressToStringA]
test eax, eax
je 0x14000c6c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.WSAAddressToString_failed_with__u_n
call fcn.1400014a0
jmp 0x14000c746
lea rdx, [rbp + 0x140]
lea rcx, str._tIPv6_address__s_n
call fcn.1400014a0
jmp 0x14000c746
lea rcx, str.AF_NETBIOS__NetBIOS__n
jmp 0x14000c741
mov rcx, qword [rsi + 0x20]
mov ecx, dword [rcx + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000c6f3
mov rcx, qword [r15 + 0x18]
cmp rbx, rcx
ja 0x14000c72a
mov r14, r15
cmp rcx, 0xf
jbe 0x14000c711
mov r14, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
mov rdx, rax
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x14000c746
mov r9, rax
mov rdx, rbx
mov rcx, r15
call fcn.14000a730
jmp 0x14000c746
lea rcx, str.Unspecified_n
call fcn.1400014a0
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14000c640
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000c79e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000c799
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c7da
mov rcx, r8
call fcn.1400844f0
mov al, 1
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400844d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3