Function at 0x14000c3f0
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 [0x1400c4028]
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 0x14000c49c
mov edx, eax
lea rcx, str.WSAStartup_failed:__d_n
call fcn.1400014a0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000c495
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x14000c490
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c6d3
mov rcx, r8
call fcn.140083e20
xor al, al
jmp 0x14000c69d
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.140013c50
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000c4ec
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, 0x10
jb 0x14000c53e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c539
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c539
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083e20
test edi, edi
je 0x14000c55b
mov edx, edi
lea rcx, str.getaddrinfo_failed_with_error:__d_n
call fcn.1400014a0
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x14000c45b
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000c655
nop dword [rax]
mov edx, dword [rdi + 4]
test edx, edx
je 0x14000c637
cmp edx, 2
je 0x14000c60c
cmp edx, 0x11
je 0x14000c603
cmp edx, 0x17
je 0x14000c59f
lea rcx, str.Other__ld_n
call fcn.1400014a0
jmp 0x14000c643
lea rcx, str.AF_INET6__IPv6__n
call fcn.1400014a0
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 0x14000c5ee
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.WSAAddressToString_failed_with__u_n
call fcn.1400014a0
jmp 0x14000c643
lea rdx, [rbp + 0x140]
lea rcx, str._tIPv6_address__s_n
call fcn.1400014a0
jmp 0x14000c643
lea rcx, str.AF_NETBIOS__NetBIOS__n
jmp 0x14000c63e
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 0x14000c620
mov rdx, rax
mov rcx, rsi
call fcn.140008200
jmp 0x14000c643
lea rcx, str.Unspecified_n
call fcn.1400014a0
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14000c570
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, 0x10
jb 0x14000c69b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000c696
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c6d3
mov rcx, r8
call fcn.140083e20
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.140083e00
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