Function at 0x1400d28b0
Capabilities:
Connect socket

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x1a0
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbp, qword [rcx]
lea r9, [rsp + 0x28]
mov qword [r8], 0xffffffffffffffff
mov r15, r8
lea r8, [rsp + 0x40]
mov rsi, rcx
xor r12b, r12b
call fcn.1400d1f80
mov edi, eax
test eax, eax
je 0x1400d2900
xor eax, eax
jmp 0x1400d2b9c
lea r8, [rsp + 0x20]
mov qword [rsp + 0x198], rbx
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.1400d2810
test al, al
jne 0x1400d2970
call fcn.14025224c
mov ebx, dword [rax]
call fcn.14025224c
mov r8d, Ordinal_133
lea rdx, [rsp + 0x100]
mov ecx, ebx
mov rdi, rax
call fcn.1400fb880
mov r8d, dword [rdi]
lea rdx, str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rbp
call fcn.1400d0b10
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.1400d1650
xor eax, eax
jmp 0x1400d2b94
mov r9d, dword [rsp + 0x20]
lea r8, [rsp + 0xd0]
lea rdx, str.__Trying__s:_ld..._n
mov rcx, rbp
call fcn.1400d0c20
mov eax, dword [rsp + 0x40]
cmp eax, 2
je 0x1400d299a
cmp eax, 0x17
jne 0x1400d29a1
cmp dword [rsp + 0x44], 1
je 0x1400d29b0
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.1400d1ec0
jmp 0x1400d29e8
test byte [rbp + 0xe7c], 8
mov rbx, qword [rsp + 0x28]
je 0x1400d29c9
mov rdx, rbx
mov rcx, rsi
call fcn.1400d2ce0
mov rcx, rbx
call fcn.1400d1ec0
test dword [rbp + 0xe7c], 0x800
je 0x1400d29e8
mov rdx, rbx
mov rcx, rbp
call fcn.1400d2bc0
cmp qword [rbp + 0x738], 0
mov qword [rsp + 0x190], r14
je 0x1400d2a2d
mov dl, 1
mov rcx, rbp
call fcn.1400c31d0
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.1400c31d0
cmp r14d, 2
jne 0x1400d2a7b
mov r12b, 1
mov eax, dword [rsp + 0x40]
cmp eax, 2
je 0x1400d2a3b
cmp eax, 0x17
jne 0x1400d2a95
lea rcx, [rsp + 0x50]
call fcn.1400fc230
mov r8d, dword [rsp + 0x40]
mov r9d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.1400d2310
mov edi, eax
test eax, eax
je 0x1400d2a95
mov rdx, rbx
mov rcx, rsi
call fcn.1400d1650
mov eax, 7
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x1400d2b8c
test r14d, r14d
je 0x1400d2a2d
mov rdx, rbx
mov rcx, rsi
call fcn.1400d1650
mov eax, Ordinal_46
jmp 0x1400d2b8c
mov edx, 1
mov rcx, rbx
call fcn.1400fc2c0
lea rcx, [rsp + 0x28]
call fcn.1400d3e80
cmp dword [rsi + 0x3e8], 1
movups xmm0, xmmword [rax]
movups xmmword [rsi + 0x3d8], xmm0
jle 0x1400d2ad4
mov rdx, qword [rsi + 0x3f0]
mov r8d, 3
mov rcx, rbp
call fcn.1400c29d0
test r12b, r12b
jne 0x1400d2b87
cmp dword [rsi + 0xbc], 1
jne 0x1400d2b87
test dword [rsi + 0x3d4], 0x8000000
jne 0x1400d2b19
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400d2b19
test edi, edi
jne 0x1400d2b83
mov qword [r15], rbx
mov eax, edi
jmp 0x1400d2b8c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov edi, eax
sub edx, 0xb
je 0x1400d2b7e
sub edx, 0x2728
je 0x1400d2b7e
cmp edx, 1
je 0x1400d2b7e
mov r8d, Ordinal_133
lea rdx, [rsp + 0x100]
mov ecx, eax
call fcn.1400fb880
mov r9, rax
lea r8, [rsp + 0xd0]
lea rdx, str.Immediate_connect_fail_for__s:__s_n
mov rcx, rbp
call fcn.1400d0c20
mov rdx, rbx
mov dword [rbp + 0x10f0], edi
mov rcx, rsi
call fcn.1400d1650
mov edi, 7
mov eax, edi
jmp 0x1400d2b8c
xor edi, edi
mov qword [r15], rbx
mov eax, edi
jmp 0x1400d2b8c
mov qword [r15], rbx
xor eax, eax
mov r14, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140240e30
add rsp, 0x1a0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret