Function at 0x140066af9
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140066b0b
add rcx, 8
jmp fcn.14009c3c1
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r14, r9
mov r15, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140066d75
mov eax, dword [rdi]
cmp eax, 2
jne 0x140066b49
mov rdi, qword [rsp + 0x30]
jmp 0x140066d1b
test eax, eax
je 0x140066cd4
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x140066d0b
mov rbx, qword [rsp + 0x30]
mov eax, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r12d, dword [rsp + 0x2c]
lea r14, [rbx + r12]
add rax, r14
cmp rdx, rax
jae 0x140066b9e
lea rcx, [rsi + 0x80]
mov rdx, rax
call fcn.1400679f7
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.140067a48
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.140082b22
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov r8, r12
call fcn.140067a5f
mov r15, rax
mov r13, rdx
xor eax, eax
test r15, r15
cmove r13d, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea rax, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.140067a48
mov r12, rax
mov rbp, rdx
test rax, rax
mov eax, 0
cmove ebp, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov r8, r14
call fcn.140066ae8
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140066ce0
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x140066d1b
movabs rdi, 0x8009031700000002
jmp 0x140066d1b
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x140066cfc
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], rbx
mov rcx, rsi
call fcn.140067939
test rax, rax
je 0x140066d65
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call case.0x140005e92.177
and qword [rsi + 0x38], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x140066d51
lea rcx, [rsp + 0x30]
call fcn.14002a3e7
mov eax, 2
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x118]
and qword [rsi + 0x38], 0
xor eax, eax
jmp 0x140066d51