Function at 0x140001440
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x140007038]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rbx, rdx
mov edi, ecx
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 1
call qword [sym.imp.cares.dll_ares_library_init]
test eax, eax
je 0x1400014b5
mov ecx, eax
call qword [sym.imp.cares.dll_ares_strerror]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.ares_library_init:__s_n
mov rcx, rax
call fcn.1400013f0
mov eax, 1
jmp 0x140001698
lea r8, str.dvh_
mov rdx, rbx
mov ecx, edi
call fcn.140001970
cmp eax, 0xffffffff
je 0x14000150c
nop dword [rax + rax]
cmp eax, 0x3f
je 0x1400016d3
cmp eax, 0x64
je 0x1400014f6
cmp eax, 0x68
je 0x1400016d3
cmp eax, 0x76
jne 0x1400016c6
inc dword [0x140007070]
lea r8, str.dvh_
mov rdx, rbx
mov ecx, edi
call fcn.140001970
cmp eax, 0xffffffff
jne 0x1400014d0
movsxd rcx, dword [0x140007018]
sub edi, ecx
lea rbx, [rbx + rcx*8]
cmp edi, 1
jl 0x1400016b9
lea rcx, [rsp + 0x38]
call qword [sym.imp.cares.dll_ares_init]
test eax, eax
je 0x140001563
mov ecx, eax
call qword [sym.imp.cares.dll_ares_strerror]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.ares_init:__s_n
mov rcx, rax
call fcn.1400013f0
mov eax, 1
jmp 0x140001698
mov rax, qword [rbx]
test rax, rax
je 0x140001675
nop
lea r8, [rsp + 0x30]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.cares.dll_ares_inet_pton]
cmp eax, 1
je 0x1400015d2
mov rdx, qword [rbx]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [0x140001140]
mov r8d, 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.cares.dll_ares_gethostbyname]
mov rcx, qword [rsp + 0x38]
call fcn.140001880
cmp dword [rsp + 0x30], 0xffffffff
jne 0x1400015d2
mov rdx, qword [rbx]
lea rcx, str.Failed_to_lookup__s_n
call fcn.140001710
jmp 0x140001664
mov ecx, 0x64
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x30]
mov ecx, r8d
shr ecx, 8
mov rdi, rax
movzx edx, cl
mov ecx, r8d
movzx r10d, r8b
shr ecx, 0x10
mov dword [rsp + 0x28], r10d
movzx r9d, cl
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, str._u._u._u._u.zz.countries.nerd.dk
shr r8d, 0x18
call fcn.140001770
cmp dword [0x140007070], 0
jle 0x140001630
mov rdx, rdi
lea rcx, str.Looking_up__s...
call fcn.140001710
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [rsp + 0x38]
lea r9, [0x140001070]
mov r8d, 2
mov qword [rsp + 0x20], rdi
mov rdx, rdi
call qword [sym.imp.cares.dll_ares_gethostbyname]
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x140001570
mov rcx, qword [rsp + 0x38]
call fcn.140001880
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.cares.dll_ares_destroy]
call qword [sym.imp.cares.dll_ares_library_cleanup]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140001c40
mov rbx, qword [rsp + 0x210]
add rsp, 0x1f0
pop rdi
ret
mov rcx, qword [section..data]
call fcn.140001000
int3
mov rcx, qword [section..data]
call fcn.140001000
int3
call fcn.1400016e0
int3