Function at 0x14001127b
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x140011930
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x468]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x1400240f8]
call fcn.140011389
mov dword [rbp + 0x204], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x448]
mov rax, qword [rcx + rax]
mov qword [rbp + 0x248], rax
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
je 0x1400119da
mov edx, dword [rbp + 0x1c4]
lea rcx, str.WSAStartup_failed:__d_n
call fcn.14001119a
mov eax, 1
jmp 0x140011c2b
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x228], rax
mov rdx, qword [rbp + 0x248]
lea rcx, str.Calling_gethostbyname_with__s_n
call fcn.14001119a
cmp qword [rbp + 0x228], 0
jne 0x140011a89
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0x1e4], eax
cmp dword [rbp + 0x1e4], 0
je 0x140011a84
cmp dword [rbp + 0x1e4], 0x2af9
jne 0x140011a44
lea rcx, str.Host_not_found_n
call fcn.14001119a
mov eax, 1
jmp 0x140011c2b
cmp dword [rbp + 0x1e4], 0x2afc
jne 0x140011a68
lea rcx, str.No_data_record_found_n
call fcn.14001119a
mov eax, 1
jmp 0x140011c2b
mov edx, dword [rbp + 0x1e4]
lea rcx, str.Function_failed_with_error:__ld_n
call fcn.14001119a
mov eax, 1
jmp 0x140011c2b
jmp 0x140011c29
lea rcx, str.Function_returned:_n
call fcn.14001119a
mov rax, qword [rbp + 0x228]
mov rdx, qword [rax]
lea rcx, str._tOfficial_name:__s_n
call fcn.14001119a
mov rax, qword [rbp + 0x228]
mov rax, qword [rax + 8]
mov qword [rbp + 0x288], rax
jmp 0x140011ad1
mov rax, qword [rbp + 0x288]
add rax, 8
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x288]
cmp qword [rax], 0
je 0x140011b0a
mov eax, dword [rbp + 0x204]
inc eax
mov dword [rbp + 0x204], eax
mov rax, qword [rbp + 0x288]
mov r8, qword [rax]
mov edx, dword [rbp + 0x204]
lea rcx, str._tAlternate_name__d:__s_n
call fcn.14001119a
jmp 0x140011abf
lea rcx, str._tAddress_type:
call fcn.14001119a
mov rax, qword [rbp + 0x228]
movsx eax, word [rax + 0x10]
mov dword [rbp + 0x414], eax
cmp dword [rbp + 0x414], 2
je 0x140011b3b
cmp dword [rbp + 0x414], 0x11
je 0x140011b49
jmp 0x140011b57
lea rcx, str.AF_INET_n
call fcn.14001119a
jmp 0x140011b70
lea rcx, str.AF_NETBIOS_n
call fcn.14001119a
jmp 0x140011b70
mov rax, qword [rbp + 0x228]
movsx eax, word [rax + 0x10]
mov edx, eax
lea rcx, str.__d_n
call fcn.14001119a
mov rax, qword [rbp + 0x228]
movsx eax, word [rax + 0x12]
mov edx, eax
lea rcx, str._tAddress_length:__d_n
call fcn.14001119a
mov dword [rbp + 0x204], 0
mov rax, qword [rbp + 0x228]
movsx eax, word [rax + 0x10]
cmp eax, 2
jne 0x140011c0d
movsxd rax, dword [rbp + 0x204]
mov rcx, qword [rbp + 0x228]
mov rcx, qword [rcx + 0x18]
cmp qword [rcx + rax*8], 0
je 0x140011c0b
movsxd rax, dword [rbp + 0x204]
mov rcx, qword [rbp + 0x228]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov eax, dword [rax]
mov dword [rbp + 0x264], eax
mov eax, dword [rbp + 0x204]
inc eax
mov dword [rbp + 0x204], eax
mov ecx, dword [rbp + 0x264]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, dword [rbp + 0x204]
lea rcx, str._tIP_Address__d:__s_n
call fcn.14001119a
jmp 0x140011ba3
jmp 0x140011c29
mov rax, qword [rbp + 0x228]
movsx eax, word [rax + 0x10]
cmp eax, 0x11
jne 0x140011c29
lea rcx, str.NETBIOS_address_was_returned_n
call fcn.14001119a
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001acc0]
call fcn.14001131b
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret