Function at 0x14001128a
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x1400119b0
push rbp
push rdi
sub rsp, 0x548
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xea
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x518], rax
lea rcx, [0x1400240a5]
call fcn.140011393
nop
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 0x140011a28
mov edx, dword [rbp + 0x1c4]
lea rcx, str.WSAStartup_failed:__d_n
call fcn.1400111a4
nop
mov eax, 0xffffffff
jmp 0x140011c83
lea rcx, str.Please_enter_the_host_name:
call fcn.1400111a4
nop
lea rdx, [rbp + 0x210]
lea rcx, str._255s
call fcn.14001109b
nop
lea rdx, [rbp + 0x210]
lea rcx, str.get_info_from_given_host:_s_n
call fcn.1400111a4
nop
lea rcx, [rbp + 0x210]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
jne 0x140011a9f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.gethostbyname_failed__error_code:__d_n
call fcn.1400111a4
nop
mov eax, 0xffffffff
jmp 0x140011c83
lea rcx, str.Host_info:_n
call fcn.1400111a4
nop
mov rax, qword [rbp + 0x1e8]
mov rdx, qword [rax]
lea rcx, str._tHost_name:__s_n
call fcn.1400111a4
nop
lea rcx, str._tAlternate_name:
call fcn.1400111a4
nop
mov rax, qword [rbp + 0x1e8]
mov rax, qword [rax + 8]
mov qword [rbp + 0x348], rax
mov dword [rbp + 0x364], 0
mov rax, qword [rbp + 0x348]
cmp qword [rax], 0
je 0x140011b24
mov rax, qword [rbp + 0x348]
mov rdx, qword [rax]
lea rcx, [0x14001aeb8]
call fcn.1400111a4
nop
mov rax, qword [rbp + 0x348]
add rax, 8
mov qword [rbp + 0x348], rax
jmp 0x140011aec
cmp dword [rbp + 0x364], 0
jne 0x140011b3a
lea rcx, str.None
call fcn.1400111a4
nop
lea rcx, str._n_tAddress_type:
call fcn.1400111a4
nop
mov rax, qword [rbp + 0x1e8]
movsx eax, word [rax + 0x10]
mov dword [rbp + 0x514], eax
cmp dword [rbp + 0x514], 2
je 0x140011b6c
cmp dword [rbp + 0x514], 0x17
je 0x140011b7b
jmp 0x140011b8a
lea rcx, str.AF_INET_IPv4__n
call fcn.1400111a4
nop
jmp 0x140011ba4
lea rcx, str.AF_INET6_IPv6__n
call fcn.1400111a4
nop
jmp 0x140011ba4
mov rax, qword [rbp + 0x1e8]
movsx eax, word [rax + 0x10]
mov edx, eax
lea rcx, str.Unknown:__d_n
call fcn.1400111a4
nop
mov rax, qword [rbp + 0x1e8]
movsx eax, word [rax + 0x12]
mov edx, eax
lea rcx, str._tAddress_length:_d_n
call fcn.1400111a4
nop
mov rax, qword [rbp + 0x1e8]
movsx eax, word [rax + 0x10]
cmp eax, 2
jne 0x140011c52
lea rcx, str._tIPv4_address:_n
call fcn.1400111a4
nop
mov dword [rbp + 0x384], 0
movsxd rax, dword [rbp + 0x384]
mov rcx, qword [rbp + 0x1e8]
mov rcx, qword [rcx + 0x18]
cmp qword [rcx + rax*8], 0
je 0x140011c52
movsxd rax, dword [rbp + 0x384]
mov rcx, qword [rbp + 0x1e8]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov eax, dword [rax]
mov dword [rbp + 0x324], eax
mov eax, dword [rbp + 0x384]
inc eax
mov dword [rbp + 0x384], eax
mov ecx, dword [rbp + 0x324]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, dword [rbp + 0x384]
lea rcx, str._t_t__d:_s_n
call fcn.1400111a4
nop
jmp 0x140011be9
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
je 0x140011c81
mov edx, dword [rbp + 0x1c4]
lea rcx, str.WSACleanup_failed:__d_n
call fcn.1400111a4
nop
mov eax, 0xffffffff
jmp 0x140011c83
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad90]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0x518]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x528]
pop rdi
pop rbp
ret