Function at 0x1400771f0
Capabilities:
Connect socket

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x120
mov rax, qword [0x14016d4c0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbp, qword [rcx]
lea r9, [rsp + 0x20]
mov qword [r8], 0xffffffffffffffff
mov r15, r8
lea r8, [rsp + 0x40]
mov rsi, rcx
xor r12b, r12b
call fcn.1400767e0
mov edi, eax
test eax, eax
je 0x140077240
xor eax, eax
jmp 0x1400774b7
lea r8, [rsp + 0x30]
mov qword [rsp + 0x118], rbx
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.140076150
test al, al
jne 0x1400772a5
call fcn.1400d4108
mov ebx, dword [rax]
call fcn.1400d4108
mov edx, ebx
mov rcx, rsi
mov rdi, rax
call fcn.14009dd80
mov r8d, dword [rdi]
lea rdx, str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rbp
call fcn.140075290
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.140075e60
xor eax, eax
jmp 0x1400774af
lea r8, [rsp + 0xd0]
mov rcx, rbp
lea rdx, str.__Trying__s..._n
call fcn.1400753a0
mov eax, dword [rsp + 0x40]
cmp eax, 2
je 0x1400772ca
cmp eax, 0x17
jne 0x1400772d1
cmp dword [rsp + 0x44], 1
je 0x1400772e0
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.140076720
jmp 0x140077315
mov rbx, qword [rsp + 0x20]
cmp byte [rbp + 0xbee], r12b
je 0x1400772f9
mov rdx, rbx
mov rcx, rsi
call fcn.1400768f0
mov rcx, rbx
call fcn.140076720
cmp byte [rbp + 0xe44], r12b
je 0x140077315
mov rdx, rbx
mov rcx, rbp
call fcn.1400774e0
cmp qword [rbp + 0x738], 0
mov qword [rsp + 0x110], r14
je 0x14007735a
mov dl, 1
mov rcx, rbp
call fcn.140066380
mov rcx, qword [rbp + 0x740]
xor r8d, r8d
mov rdx, rbx
call qword [rbp + 0x738]
xor edx, edx
mov rcx, rbp
mov r14d, eax
call fcn.140066380
cmp r14d, 2
jne 0x1400773a8
mov r12b, 1
mov eax, dword [rsp + 0x40]
cmp eax, 2
je 0x140077368
cmp eax, 0x17
jne 0x1400773c2
lea rcx, [rsp + 0x50]
call fcn.14009e730
mov r8d, dword [rsp + 0x40]
mov r9d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.140076cc0
mov edi, eax
test eax, eax
je 0x1400773c2
mov rdx, rbx
mov rcx, rsi
call fcn.140075e60
mov eax, 7
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x1400774a7
test r14d, r14d
je 0x14007735a
mov rdx, rbx
mov rcx, rsi
call fcn.140075e60
mov eax, Ordinal_46
jmp 0x1400774a7
mov edx, 1
mov rcx, rbx
call fcn.14009e7c0
lea rcx, [rsp + 0x20]
call fcn.140078270
cmp dword [rsi + 0x3f8], 1
movups xmm0, xmmword [rax]
movups xmmword [rsi + 0x3e8], xmm0
jle 0x140077401
mov rdx, qword [rsi + 0x400]
mov r8d, 3
mov rcx, rbp
call fcn.140065b40
test r12b, r12b
jne 0x1400774a2
cmp dword [rsi + 0xbc], 1
jne 0x1400774a2
cmp byte [rsi + 0x3de], r12b
jne 0x140077443
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140077443
test edi, edi
jne 0x14007749e
mov qword [r15], rbx
mov eax, edi
jmp 0x1400774a7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0xb
je 0x140077499
lea ecx, [rax - 0x2733]
cmp ecx, 1
jbe 0x140077499
mov edx, eax
mov rcx, rsi
call fcn.14009dd80
mov r9, rax
lea r8, [rsp + 0xd0]
lea rdx, str.Immediate_connect_fail_for__s:__s_n
mov rcx, rbp
call fcn.1400753a0
mov rdx, rbx
mov dword [rbp + 0x116c], edi
mov rcx, rsi
call fcn.140075e60
mov edi, 7
mov eax, edi
jmp 0x1400774a7
xor edi, edi
mov qword [r15], rbx
mov eax, edi
jmp 0x1400774a7
mov qword [r15], rbx
xor eax, eax
mov r14, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400c4df0
add rsp, 0x120
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret