Function at 0x140074e50
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 0x140074e8c
test al, al
je 0x140074e9b
xor edx, edx
call fcn.140074b70
test eax, eax
jne 0x1400750d3
lea r13, str.C:_build_sb_1_13696040_1702406430.87mysql_8.0.36_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 0x140074f27
cmp byte [rdx], 0
je 0x140074f27
mov rax, qword [0x140407800]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x70], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x43e
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 0x140074f3a
mov rax, qword [0x140407800]
xor edx, edx
mov rcx, rbp
call qword [rax + 0x20]
jmp 0x140074f3a
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 0x140074f57
mov rcx, rdi
call fcn.140074bd0
test al, al
je 0x140074f57
mov ecx, esi
inc esi
cmp ecx, dword [rdi + 0x20]
jl 0x140074eb0
mov rsi, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xd0]
mov r13d, dword [rsp + 0xf0]
test rsi, rsi
je 0x140074f7b
test ebx, ebx
sete al
mov byte [rsi], al
cmp ebx, 0xffffffff
jne 0x140074f9a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x140074f9d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140074f9d
xor r14d, r14d
cmp byte [rsp + 0xe8], 0
jne 0x1400750f2
test r14d, r14d
je 0x1400750bb
mov r8d, r13d
mov edx, 2
mov rcx, rdi
call fcn.140074350
cmp eax, 1
jne 0x1400750bb
mov dword [rsp + 0x30], 4
test rsi, rsi
je 0x140074fdc
mov byte [rsi], al
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x40], xmm0
psrldq xmm0, 8
movq rdx, xmm0
test rdx, rdx
je 0x140075076
cmp byte [rdx], 0
je 0x140075076
mov rax, qword [0x140407800]
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x28], 0x469
mov r10, qword [rax + 0x18]
lea rax, str.C:_build_sb_1_13696040_1702406430.87mysql_8.0.36_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 0x1400750a0
mov rax, qword [0x140407800]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x20]
jmp 0x1400750a0
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 0x1400750bb
mov ecx, dword [rsp + 0xf0]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [rsp + 0xf0], ebx
setne bl
cmp r13d, 0xffffffff
jle 0x140075103
test ebx, ebx
jne 0x140075105
mov dl, 1
mov rcx, rdi
call fcn.140074b70
test eax, eax
je 0x140075103
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 0x140075103
test rsi, rsi
je 0x1400750ff
mov byte [rsi], 0
xor al, al
jmp 0x1400750d5
test ebx, ebx
setne al
jmp 0x1400750d5