Function at 0x140144010
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov byte [rsp + 0x20], r9b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
xor esi, esi
movzx eax, r9b
cmp dword [rsp + 0xf0], 0xffffffff
mov r15d, r8d
mov r12, rdx
mov rdi, rcx
jg 0x14014404c
test al, al
je 0x14014405b
xor edx, edx
call fcn.140143d30
test eax, eax
jne 0x140144293
lea r13, str.C:_build_sb_1_12756051_1695398590.5mysql_8.2.0_vio_viosocket.cc
mov qword [rsp + 0xd0], rbp
mov r14d, 1
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x40], xmm0
psrldq xmm0, 8
movq rdx, xmm0
test rdx, rdx
je 0x1401440e7
cmp byte [rdx], 0
je 0x1401440e7
mov rax, qword [0x140515650]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x70], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x43f
mov r8d, r14d
mov qword [rsp + 0x20], r13
mov r10, qword [rax + 0x18]
call r10
mov rcx, qword [rsp + 0x40]
mov r8d, r15d
mov rdx, r12
mov rbp, rax
call qword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
test rbp, rbp
je 0x1401440fa
mov rax, qword [0x140515650]
xor edx, edx
mov rcx, rbp
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x1401440fa
mov rcx, qword [rsp + 0x40]
mov r8d, r15d
mov rdx, r12
call qword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
test ebx, ebx
jns 0x140144117
mov rcx, rdi
call fcn.140143d90
test al, al
je 0x140144117
mov ecx, esi
inc esi
cmp ecx, dword [rdi + 0x20]
jl 0x140144070
mov rsi, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xd0]
mov r13d, dword [rsp + 0xf0]
test rsi, rsi
je 0x14014413b
test ebx, ebx
sete al
mov byte [rsi], al
cmp ebx, 0xffffffff
jne 0x14014415a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x14014415d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14014415d
xor r14d, r14d
cmp byte [rsp + 0xe8], 0
jne 0x1401442b2
test r14d, r14d
je 0x14014427b
mov r8d, r13d
mov edx, 2
mov rcx, rdi
call fcn.140143530
cmp eax, 1
jne 0x14014427b
mov dword [rsp + 0x30], 4
test rsi, rsi
je 0x14014419c
mov byte [rsi], al
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x40], xmm0
psrldq xmm0, 8
movq rdx, xmm0
test rdx, rdx
je 0x140144236
cmp byte [rdx], 0
je 0x140144236
mov rax, qword [0x140515650]
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x28], 0x46a
mov r10, qword [rax + 0x18]
lea rax, str.C:_build_sb_1_12756051_1695398590.5mysql_8.2.0_vio_viosocket.cc
lea r8d, [r9 + 0xb]
mov qword [rsp + 0x20], rax
call r10
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0xf0]
mov rsi, rax
mov edx, 0xffff
lea rax, [rsp + 0x30]
mov r8d, 0x1007
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getsockopt]
mov ebx, eax
test rsi, rsi
je 0x140144260
mov rax, qword [0x140515650]
xor edx, edx
mov rcx, rsi
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x140144260
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
mov ebx, eax
test ebx, ebx
jne 0x14014427b
mov ecx, dword [rsp + 0xf0]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [rsp + 0xf0], ebx
setne bl
cmp r13d, 0xffffffff
jle 0x1401442c3
test ebx, ebx
jne 0x1401442c5
mov dl, 1
mov rcx, rdi
call fcn.140143d30
test eax, eax
je 0x1401442c3
mov al, 1
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test r14d, r14d
je 0x1401442c3
test rsi, rsi
je 0x1401442bf
mov byte [rsi], 0
xor al, al
jmp 0x140144295
test ebx, ebx
setne al
jmp 0x140144295