Function at 0x1400a0570
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1403bf008]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor r14d, r14d
xor edx, edx
xor ecx, ecx
call fcn.1400dc390
xor edx, edx
mov ecx, 0x200002
call fcn.1400dc390
xor edx, edx
mov esi, 2
mov ecx, esi
call fcn.14011e470
xor edx, edx
lea ecx, [rsi + 0xa]
call fcn.14011e470
call fcn.1400dc580
mov rcx, rax
call fcn.1400d81d0
mov rbx, rax
mov ecx, 0x202
lea rdx, [rbp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea edx, [rsi - 1]
lea r8d, [r14 + 6]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
mov word [rbp - 0x50], si
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 8]
lea rdx, str.afa6aa9a
lea rcx, [rsp + 0x48]
call fcn.140088bd0
nop
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 0x1c]
lea rdx, str.9668e89c2c2fb85912470d948bba
lea rcx, [rsp + 0x68]
call fcn.140088bd0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x40]
call fcn.1400a4f80
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rcx, [rbp - 0x20]
call fcn.1400863b0
nop
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.140085ed0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov ecx, dword [rax]
mov dword [rbp - 0x4c], ecx
mov ecx, 0x1bb
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x4e], ax
mov rcx, rbx
call fcn.1400d9950
mov rbx, rax
mov edx, edi
mov rcx, rax
call fcn.1400da340
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8d, [r14 + 0x10]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
jne 0x1400a075c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ebx, r14d
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400a0797
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a0792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a0822
call fcn.1400ae0c8
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
lea rcx, [rbp - 0x20]
call fcn.1400862c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400a07ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a07e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a081c
call fcn.1400ae0c8
mov rax, rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400adbc0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1402a9118
nop
call fcn.1402a9118
nop
int3