Function at 0x1400b2368
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x70]
test eax, eax
je 0x1400b23b4
cmp eax, 3
jne 0x1400b2663
lea r12, [rsi + 0x38]
movzx eax, byte [rsi + 0x38]
test eax, eax
je 0x1400b24ff
cmp eax, 3
jne 0x1400b2673
mov rdx, qword [rsi + 0x30]
jmp 0x1400b254d
mov rcx, qword [rsi + 0x68]
mov qword [rsi + 0x60], rcx
mov eax, dword [rsi + 0x42]
movzx r9d, word [rsi + 0x46]
shl r9, 0x20
or r9, rax
cmp word [rsi + 0x40], 0
je 0x1400b2446
mov edx, dword [rsi + 0x54]
mov r8d, dword [rsi + 0x58]
movzx eax, word [rsi + 0x5c]
shr r9, 0x10
rol ax, 8
mov dword [rsp + 0x48], r9d
mov r9, qword [rsi + 0x48]
mov qword [rsp + 0x4c], r9
mov r9d, dword [rsi + 0x50]
mov dword [rsp + 0x54], r9d
xorps xmm0, xmm0
movups xmmword [rsp + 0x5c], xmm0
movups xmmword [rsp + 0x6c], xmm0
movups xmmword [rsp + 0x7c], xmm0
movups xmmword [rsp + 0x8c], xmm0
movups xmmword [rsp + 0x9c], xmm0
movups xmmword [rsp + 0xac], xmm0
mov dword [rsp + 0xbc], 0
mov dword [rsp + 0x58], r8d
mov r8d, 0x1c
mov r10w, 0x17
mov r9d, edx
jmp 0x1400b2497
mov rax, r9
shr rax, 0x20
rol ax, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x48], 0
mov r8d, 0x10
mov r10w, 2
lea rdx, [rsp + 0x40]
mov word [rdx], r10w
mov word [rdx + 2], ax
mov dword [rdx + 4], r9d
mov dword [rdx + 0x80], r8d
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400b24e7
call sub.KERNEL32.dll_GetLastError
mov r14, rax
shl r14, 0x20
or r14, 2
mov qword [rsp + 0x30], r14
mov ecx, eax
call fcn.1400d1280
cmp al, 0xd
jne 0x1400b258d
lea rcx, [rsp + 0x30]
call fcn.14000d58e
mov rax, qword [rsi + 0x60]
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x28], rax
lea r12, [rsi + 0x38]
mov byte [rsi + 0x38], 0
mov rdx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x28]
lea r15, [rsp + 0x40]
mov rcx, r15
call fcn.1400fb553
mov r14, qword [r15]
mov rax, qword [r15 + 0x18]
test rax, rax
je 0x1400b2619
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsi], r14
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x30], rsi
mov rdx, rsi
add rdx, 0x10
lea r14, [rsp + 0x40]
mov rcx, r14
mov r8, rbx
mov r9b, 1
call fcn.1400fb2d8
mov rax, qword [r14]
cmp rax, 2
jne 0x1400b257e
mov byte [r12], 3
mov al, 3
mov ecx, 1
jmp 0x1400b264c
test rax, rax
je 0x1400b259e
mov r14, qword [rsp + 0x48]
jmp 0x1400b2611
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.ws2_32.dll_closesocket]
xor ebx, ebx
jmp 0x1400b2634
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400b268d
lea r9, [rsp + 0xd0]
mov dword [r9], 0
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], r14
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400b2600
mov r14d, dword [rsp + 0xd0]
test r14, r14
jne 0x1400b2609
lea rax, [rsi + 8]
mov r14, qword [rsi]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
mov rbx, qword [rsi + 0x18]
jmp 0x1400b261b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, rsi
call fcn.1400a9fea
xor ebx, ebx
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0xe0], xmm0
mov byte [rsi + 0x38], 1
mov rcx, rsi
call fcn.1400b18b0
mov qword [rdi + 8], r14
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi + 0x20], rbx
mov al, 1
xor ecx, ecx
mov qword [rdi], rcx
mov byte [rsi + 0x70], al
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.4_srclib.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_src_net_tcp_socket.rs
jmp 0x1400b2681
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.4_srclib.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_src_net_tcp_stream.rs
mov edx, 0x23
call fcn.140109250
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_srciopoll_evented.rs
mov edx, 0x2b
jmp 0x1400b2686