Function at 0x1400f3f90
Capabilities:
Connect socket

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x220
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0x200], rax
movsxd rax, r9d
mov r10, r8
mov rbp, rdx
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x40]
mov rsi, rcx
xor r12b, r12b
lea r15, [rax*8]
mov qword [r15 + rdx + 0x200], 0xffffffffffffffff
mov rdx, r10
call fcn.1400f35a0
mov edi, eax
test eax, eax
jne 0x1400f42b8
mov edx, dword [rsp + 0x4c]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x218], rbx
lea rcx, [rsp + 0x50]
call fcn.1400f2930
test al, al
jne 0x1400f4069
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x100]
mov ecx, ebx
mov rdi, rax
call fcn.14011b7f0
mov r8d, dword [rdi]
lea rdx, str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1400f1f60
mov r8, qword [rsp + 0x28]
mov rdx, rbp
mov rcx, rsi
call fcn.1400f29d0
xor eax, eax
jmp 0x1400f42b0
mov r9d, dword [rsp + 0x20]
lea r8, [rsp + 0xd0]
lea rdx, str.__Trying__s:_ld..._n
mov rcx, rsi
call fcn.1400f2050
mov eax, dword [rsp + 0x40]
cmp eax, 2
je 0x1400f4093
cmp eax, 0x17
jne 0x1400f409a
cmp dword [rsp + 0x44], 1
je 0x1400f40a9
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.1400f34e0
jmp 0x1400f40de
mov rbx, qword [rsp + 0x28]
cmp byte [rsi + 0xaf3], r12b
je 0x1400f40c2
mov rdx, rbx
mov rcx, rsi
call fcn.1400f4400
mov rcx, rbx
call fcn.1400f34e0
cmp byte [rsi + 0xafb], r12b
je 0x1400f40de
mov rdx, rbx
mov rcx, rsi
call fcn.1400f42e0
cmp qword [rsi + 0x298], 0
mov qword [rsp + 0x210], r14
je 0x1400f4123
mov dl, 1
mov rcx, rsi
call fcn.1400e8c30
mov rcx, qword [rsi + 0x2a0]
xor r8d, r8d
mov rdx, rbx
call qword [rsi + 0x298]
xor edx, edx
mov rcx, rsi
mov r14d, eax
call fcn.1400e8c30
cmp r14d, 2
jne 0x1400f4174
mov r12b, 1
mov eax, dword [rsp + 0x40]
cmp eax, 2
je 0x1400f4131
cmp eax, 0x17
jne 0x1400f4191
lea rcx, [rsp + 0x50]
call fcn.14011c280
mov r8d, dword [rsp + 0x40]
mov r9d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.1400f38e0
mov edi, eax
test eax, eax
je 0x1400f4191
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1400f29d0
mov eax, 7
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x1400f42a8
test r14d, r14d
je 0x1400f4123
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1400f29d0
mov eax, Ordinal_46
jmp 0x1400f42a8
mov edx, 1
mov rcx, rbx
call fcn.1400fc380
lea rcx, [rsp + 0x28]
call fcn.1400f6c50
cmp dword [rbp + 0x3c8], 1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x3d0], xmm0
jle 0x1400f41e5
mov rdx, qword [rbp + 0x3e0]
mov r8d, 3
mov rcx, rsi
call fcn.1400e8930
mov rdx, qword [rbp + 0x3e8]
mov r8d, 4
mov rcx, rsi
call fcn.1400e8930
test r12b, r12b
jne 0x1400f429e
cmp dword [rbp + 0x94], 4
je 0x1400f429e
cmp byte [rbp + 0x3be], r12b
jne 0x1400f422c
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400f422c
test edi, edi
jne 0x1400f429a
mov qword [r15 + rbp + 0x200], rbx
mov eax, edi
jmp 0x1400f42a8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0xb
je 0x1400f4290
lea ecx, [rax - 0x2733]
cmp ecx, 1
jbe 0x1400f4290
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x100]
mov ecx, eax
call fcn.14011b7f0
mov r9, rax
lea r8, [rsp + 0xd0]
lea rdx, str.Immediate_connect_fail_for__s:__s_n
mov rcx, rsi
call fcn.1400f2050
mov r8, rbx
mov dword [rsi + 0xdcc], edi
mov rdx, rbp
mov rcx, rsi
call fcn.1400f29d0
mov edi, 7
mov eax, edi
jmp 0x1400f42a8
xor edi, edi
mov qword [r15 + rbp + 0x200], rbx
mov eax, edi
jmp 0x1400f42a8
mov qword [r15 + rbp + 0x200], rbx
xor eax, eax
mov r14, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140252d20
add rsp, 0x220
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret