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

Disassembly:
cmp dword [rcx], 2
jne 0x140106373
add rcx, 8
jmp fcn.1401670f9
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 + 0xe0], rdx
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.1401065bb
mov eax, dword [rdi]
cmp eax, 2
jne 0x1401063b4
mov rdi, qword [rsp + 0x30]
jmp 0x14010655b
test eax, eax
je 0x14010651d
mov rdx, qword [rsi + 0x68]
cmp rdx, qword [rsi + 0x60]
jne 0x14010654b
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 0x1401063fd
lea rcx, [rsi + 0x50]
mov rdx, rax
call fcn.1401733a6
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x58]
lea rax, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1401071dd
lea rcx, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.14012a805
mov rcx, qword [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
lea r9, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov r8, r12
call fcn.1401071f4
mov r15, rax
mov r13, rdx
xor eax, eax
test r15, r15
cmove r13d, eax
mov rcx, qword [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
lea rax, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1401071dd
mov r12, rax
mov rbp, rdx
test rax, rax
mov eax, 0
cmove ebp, eax
mov rcx, qword [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
lea r9, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov r8, r14
call fcn.140107205
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 + 0xe8]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x140106529
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x14010655b
movabs rdi, 0x8009031700000002
jmp 0x14010655b
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x60], rax
jb 0x14010653f
mov qword [rsi + 0x60], rax
and qword [rsi + 0x68], 0
mov qword [rsi + 0x110], rbx
mov rcx, rsi
call fcn.140107125
test rax, rax
je 0x1401065a8
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.140105436
and qword [rsi + 0xe0], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x140106594
lea rcx, [rsp + 0x30]
call fcn.140063fe9
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 + 0x110]
and qword [rsi + 0xe0], 0
xor eax, eax
jmp 0x140106594