Function at 0x1400011a0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x228
mov rax, qword [0x14002b580]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x70]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x3c], 0
mov rax, qword [rsp + 0x240]
cmp qword [rax + 0x10], 0
jne 0x1400012f8
mov rax, qword [rsp + 0x240]
cmp dword [rax + 0x2c], 2
jne 0x140001280
mov eax, 2
mov rcx, qword [rsp + 0x240]
mov word [rcx + 0x50], ax
mov rax, qword [rsp + 0x240]
movzx ecx, word [rax + 0x28]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x240]
mov word [rcx + 0x52], ax
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x54], 0
mov rax, qword [rsp + 0x240]
add rax, 0x50
mov rcx, qword [rsp + 0x240]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x3c], reloc.WS2_32.dll_recv
jmp 0x1400012f3
mov eax, reloc.WS2_32.dll_socket
mov rcx, qword [rsp + 0x240]
mov word [rcx + 0x60], ax
mov rax, qword [rsp + 0x240]
movzx ecx, word [rax + 0x28]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x240]
mov word [rcx + 0x62], ax
mov rax, qword [rsp + 0x240]
lea rcx, [0x14001f460]
lea rdi, [rax + 0x68]
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x240]
add rax, 0x60
mov rcx, qword [rsp + 0x240]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x3c], 0x1c
jmp 0x14000144d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001de00
mov dword [rsp + 0x40], 1
mov rax, qword [rsp + 0x240]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], 6
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rax, qword [rsp + 0x240]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x240]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140001441
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
jmp 0x140001382
cmp qword [rsp + 0x20], 0
je 0x140001434
mov rax, qword [rsp + 0x240]
cmp dword [rax + 0x2c], 2
jne 0x1400013dc
mov rax, qword [rsp + 0x240]
add rax, 0x50
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x20]
mov rcx, rax
call fcn.14001d760
mov rax, qword [rsp + 0x240]
add rax, 0x50
mov rcx, qword [rsp + 0x240]
mov qword [rcx + 0x48], rax
jmp 0x14000141a
mov rax, qword [rsp + 0x240]
add rax, 0x60
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x20]
mov rcx, rax
call fcn.14001d760
mov rax, qword [rsp + 0x240]
add rax, 0x60
mov rcx, qword [rsp + 0x240]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x3c], ecx
jmp 0x140001434
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x14000144d
lea rcx, str.getaddrinfo
call fcn.140001030
mov rax, qword [rsp + 0x240]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140002680
add rsp, 0x228
pop rdi
pop rsi
ret