Function at 0x140131656
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
mov qword [rcx + 0x138], rdx
mov qword [rsp + 0x70], r8
mov rcx, r8
call fcn.140131339
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rdx
lea rbp, [rsp + 0x60]
lea r15, [rsi + 0x1f0]
lea rax, [rsi + 0x140]
mov qword [rsp + 0x90], rax
lea r13, [rsp + 0x30]
lea rdi, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
xor ebx, ebx
xorps xmm6, xmm6
movabs r12, 0x400000000
mov qword [rsp + 0x88], r15
mov rcx, rsi
call fcn.1401319e7
test rdx, rdx
jne 0x1401318e4
mov rcx, r13
mov rdx, rsi
call fcn.14012efdb
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x1401318cd
test al, 1
je 0x1401318e4
cmp qword [rsi + 0x210], 0
je 0x140131733
mov rcx, rsi
call fcn.140130e2c
mov r14, rdx
test rax, rax
jne 0x140131961
test r14, r14
je 0x1401318e4
and qword [rsi + 0x210], 0
mov r8, qword [rsi + 0x178]
mov rcx, qword [rsi + 0x168]
mov rdx, qword [rsi + 0x170]
mov r9, rdi
call fcn.140130b14
test rax, rax
cmove edx, ebx
movups xmmword [rbp], xmm6
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rax
movups xmmword [rbp - 0x10], xmm6
movups xmmword [rbp - 0x20], xmm6
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
mov rcx, r15
lea rdx, [rsp + 0x98]
xor r8d, r8d
xor r9d, r9d
call sub.Secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1401317ef
mov r14d, eax
test eax, eax
je 0x140131805
cmp r14d, 0x90321
jne 0x1401318d7
mov dword [rsi + 0x1d0], 0x10000
mov byte [rsi + 0x1d4], 0
cmp dword [rsp + 0x64], 5
mov rdx, qword [rsi + 0x178]
mov eax, dword [rsp + 0x60]
mov ebx, 0
cmovne eax, ebx
sub rdx, rax
mov rcx, rsi
call fcn.140130f71
xor eax, eax
jmp 0x1401318c1
cmp dword [rsp + 0x44], 4
mov eax, dword [rsp + 0x40]
mov ecx, 1
cmovne eax, ecx
jmp 0x1401318c1
mov r14, qword [rsp + 0x48]
sub r14, qword [rsi + 0x168]
mov r15, r13
mov r13, r12
mov r12, rdi
mov edi, dword [rsp + 0x40]
add rdi, r14
mov r8, qword [rsi + 0x158]
lea rbp, [rsp + 0xa8]
mov rcx, rbp
mov rbx, qword [rsp + 0x90]
mov rdx, rbx
call fcn.140130d6f
mov rcx, rbp
call fcn.1401966b1
mov rcx, qword [rsi + 0x168]
mov rdx, qword [rsi + 0x170]
mov r8, r14
mov r9, rdi
mov rdi, r12
mov r12, r13
mov r13, r15
mov r15, qword [rsp + 0x88]
lea rbp, [rsp + 0x60]
call fcn.140131425
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140040853
and qword [rsi + 0x158], 0
cmp dword [rsp + 0x64], 5
mov rdx, qword [rsi + 0x178]
mov eax, dword [rsp + 0x60]
mov ebx, 0
cmovne eax, ebx
sub rdx, rax
mov rcx, rsi
call fcn.140130f71
xor eax, eax
cmp qword [rsi + 0x178], 0
sete al
mov qword [rsi + 0x210], rax
jmp 0x1401316d3
mov r14, qword [rsp + 0x38]
jmp 0x140131980
cmp r14d, 0x90317
jne 0x140131978
mov rcx, rsi
call fcn.1401319e7
mov r14, rdx
test rax, rax
je 0x140131961
mov rdi, rax
mov r8, qword [rsp + 0x78]
cmp r8, r14
cmovb r14, r8
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov rcx, r14
mov rdx, qword [rsp + 0x80]
call fcn.140130b36
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, rdi
mov r9, r14
call fcn.1400a8fde
mov rax, qword [rsi + 0x158]
add rax, r14
cmp rax, qword [rsi + 0x150]
ja 0x1401319ce
mov qword [rsi + 0x158], rax
mov rcx, qword [rsp + 0x70]
mov rdx, r14
call fcn.1401313a6
jmp 0x14013196b
mov qword [rsp + 0x30], r14
test r14, r14
jne 0x140131985
and qword [rsi + 0x138], 0
xor r14d, r14d
jmp 0x1401319ad
shl r14, 0x20
or r14, 2
mov qword [rsp + 0x30], r14
mov rcx, r14
call fcn.140080631
and qword [rsi + 0x138], 0
cmp al, 0xd
jne 0x1401319ad
lea rcx, [rsp + 0x30]
call fcn.1401014ca
mov eax, 1
xor r14d, r14d
jmp 0x1401319af
xor eax, eax
mov rdx, r14
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140275b3e]
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov edx, 0x3b
call fcn.140069290
int3