Function at 0x14001ab00
Capabilities:
Connect socket

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, r9
mov rdi, rcx
movabs r14, 0x595588bd12bf6fe8
cmp rcx, 0xffffffffffffffff
je 0x14001ab4d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14001aba2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rax, qword [0x1400325d0]
shr rax, 1
cmp rax, r14
jne 0x14001abba
test ebx, ebx
setne al
jmp 0x14001abcd
mov rax, qword [0x1400325d0]
shr rax, 1
cmp rax, r14
je 0x14001ab7c
mov rax, qword [0x1400325c8]
lea rcx, [0x1400325c8]
mov edx, 0x2719
call qword [rax + 0x30]
mov r8d, 2
test al, al
je 0x14001ab82
mov r8d, 3
mov qword [rsi], 0x2719
lea rax, [0x1400325c8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r8
mov ebx, 0x2719
jmp 0x14001ac32
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14001abef
cmp rax, 1
jne 0x14001abf8
lea rbx, [0x1400326e0]
jmp 0x14001abfc
mov rax, qword [0x1400325c8]
lea rcx, [0x1400325c8]
mov edx, ebx
call qword [rax + 0x30]
movzx r8d, al
or r8, 2
mov dword [rsi], ebx
mov dword [rsi + 4], 0
lea rax, [0x1400325c8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r8
jmp 0x14001ac32
lea rbx, [0x1400325c8]
jmp 0x14001abfc
mov rbx, qword [rsi + 8]
mov rax, qword [rbx + 8]
shr rax, 1
mov r8d, 2
cmp rax, r14
je 0x14001ac21
mov rax, qword [rbx]
mov rcx, rbx
xor edx, edx
call qword [rax + 0x30]
movzx r8d, al
or r8, 2
mov qword [rsi], 0
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r8
xor ebx, ebx
mov rcx, qword [0x1400325d0]
shr rcx, 1
mov eax, ebx
cmp rcx, r14
je 0x14001ac9f
mov rax, qword [0x1400325c8]
lea rcx, [0x1400325c8]
mov edx, 0x2734
call qword [rax + 0x30]
mov r8, qword [rsi + 0x10]
mov ebx, dword [rsi]
cmp r8, 1
jne 0x14001acc4
mov rcx, qword [rsi + 8]
movabs rdx, 0x4800144005b3
mov rax, rcx
mul rdx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, ebx
mov r8d, 1
cmp eax, 0x2734
jne 0x14001accd
lea rcx, [0x1400325c8]
mov rdx, rcx
test r8, r8
je 0x14001acda
cmp r8, 1
jne 0x14001acd6
lea rdx, [0x1400326e0]
jmp 0x14001acda
mov eax, ebx
cmp eax, 0x2734
je 0x14001aca6
mov rax, qword [0x1400325d0]
jmp 0x14001ad04
mov rdx, qword [rsi + 8]
mov rax, qword [0x1400325d0]
xor r9d, r9d
cmp rdx, rcx
setne r9b
xor ecx, ecx
cmp qword [rdx + 8], rax
setne cl
test rax, rax
cmove ecx, r9d
cmp cl, 1
jne 0x14001adcc
shr rax, 1
cmp rax, r14
jne 0x14001ad1f
cmp r8, 1
je 0x14001ad41
cmp ebx, 0x2733
je 0x14001ad81
jmp 0x14001af5f
mov rax, qword [0x1400325c8]
lea rcx, [0x1400325c8]
mov edx, 0x2733
call qword [rax + 0x30]
mov ebx, dword [rsi]
mov r8, qword [rsi + 0x10]
cmp r8, 1
jne 0x14001ad12
mov rcx, qword [rsi + 8]
movabs rdx, 0x4800144005b3
mov rax, rcx
mul rdx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add ebx, eax
cmp ebx, 0x2733
jne 0x14001af5f
lea rax, [0x1400325c8]
mov rcx, rax
test r8, r8
je 0x14001ada3
cmp r8, 1
jne 0x14001ad9f
lea rcx, [0x1400326e0]
jmp 0x14001ada3
mov rcx, qword [rsi + 8]
mov rdx, qword [0x1400325d0]
xor r8d, r8d
cmp rcx, rax
setne r8b
xor eax, eax
cmp qword [rcx + 8], rdx
setne al
test rdx, rdx
cmove eax, r8d
test al, al
jne 0x14001af5f
mov rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
call fcn.14001af70
test eax, eax
js 0x14001af5f
mov dword [rsp + 0x30], 0
cmp rdi, 0xffffffffffffffff
je 0x14001ae41
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x14001ae80
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rax, qword [0x1400325d0]
shr rax, 1
cmp rax, r14
jne 0x14001ae98
test ebx, ebx
setne al
jmp 0x14001aeab
mov rax, qword [0x1400325d0]
shr rax, 1
cmp rax, r14
je 0x14001ae6f
mov rax, qword [0x1400325c8]
lea rcx, [0x1400325c8]
mov edx, 0x2719
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14001ae74
mov ecx, 3
mov qword [rsi], 0x2719
jmp 0x14001af50
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14001aed4
cmp rax, 1
jne 0x14001aedd
lea rdi, [0x1400326e0]
jmp 0x14001aee1
mov rax, qword [0x1400325c8]
lea rcx, [0x1400325c8]
mov edx, ebx
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rsi], ebx
mov dword [rsi + 4], 0
lea rcx, [0x1400325c8]
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
cmp edi, 0xffffffff
jne 0x14001af13
jmp 0x14001af5f
lea rdi, [0x1400325c8]
jmp 0x14001aee1
mov rdi, qword [rsi + 8]
mov rcx, qword [rdi + 8]
shr rcx, 1
mov eax, 2
cmp rcx, r14
je 0x14001af04
mov rax, qword [rdi]
mov rcx, rdi
xor edx, edx
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rax
mov edi, dword [rsp + 0x30]
mov rax, qword [0x1400325d0]
shr rax, 1
cmp rax, r14
jne 0x14001af2d
test edi, edi
setne al
jmp 0x14001af40
mov rax, qword [0x1400325c8]
lea rcx, [0x1400325c8]
mov edx, edi
call qword [rax + 0x30]
movzx ecx, al
or rcx, 2
mov dword [rsi], edi
mov dword [rsi + 4], 0
lea rax, [0x1400325c8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret