Function at 0x1401152a0
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rdi, rdx
mov r14, rcx
mov rcx, qword [rdx + 0x20]
mov rdx, qword [rdx + 0x38]
cmp rcx, rdx
ja 0x1401154fc
mov rax, qword [rdi + 0x30]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x70], rax
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x68]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1401153ee
cmp eax, 0x80090318
je 0x140115461
test eax, eax
jne 0x140115451
mov rcx, qword [rsp + 0x40]
mov rsi, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x38]
sub rcx, rsi
mov r12d, dword [rsp + 0x38]
mov rax, rcx
mov qword [rdi + 0x18], 0
add rax, r12
jb 0x140115538
cmp rax, rdx
ja 0x140115549
add rsi, rcx
xor r15d, r15d
cmp qword [rdi + 8], r12
jb 0x1401154e5
xor ebx, ebx
mov rcx, qword [rdi + 0x10]
add rcx, rbx
mov rdx, rsi
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
add rbx, r12
cmp dword [rsp + 0x5c], 5
mov qword [rdi + 0x18], rbx
cmove r15d, dword [rsp + 0x58]
mov qword [rdi], 0
mov rcx, qword [rdi + 0x20]
mov rdx, rcx
sub rdx, r15
jb 0x14011550a
test r15d, r15d
je 0x1401154ba
mov rax, qword [rdi + 0x38]
mov rsi, rax
sub rsi, rdx
jb 0x140115524
mov qword [rdi + 0x38], 0
cmp rcx, r15
jne 0x1401154a2
test rax, rax
jne 0x1401154b6
jmp 0x1401154ba
cmp eax, 0x90317
je 0x140115472
cmp eax, 0x90321
jne 0x140115451
xor ebx, ebx
cmp dword [rsp + 0x5c], 5
mov dword [rdi + 0x108], 0x10000
cmove ebx, dword [rsp + 0x58]
mov byte [rdi + 0x10c], 0
mov rcx, qword [rdi + 0x20]
mov rdx, rcx
sub rdx, rbx
jb 0x14011550a
test ebx, ebx
je 0x140115491
mov rax, qword [rdi + 0x38]
mov rsi, rax
sub rsi, rdx
jb 0x140115524
mov qword [rdi + 0x38], 0
cmp rcx, rbx
jne 0x140115479
test rax, rax
jne 0x14011548d
jmp 0x140115491
shl rax, 0x20
or rax, 2
mov qword [r14 + 8], rax
mov al, 1
jmp 0x1401154d4
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
jmp 0x1401154c6
mov byte [r14 + 1], 1
jmp 0x1401154d2
cmp rax, rdx
je 0x140115491
mov rcx, qword [rdi + 0x30]
add rdx, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x38], rsi
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0xd8], 0
jmp 0x1401154cd
cmp rax, rdx
je 0x1401154ba
mov rcx, qword [rdi + 0x30]
add rdx, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x38], rsi
xor eax, eax
test r15d, r15d
sete al
mov qword [rdi + 0x20], r15
mov qword [rdi + 0xd8], rax
mov byte [r14 + 1], 0
xor eax, eax
mov byte [r14], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rdi + 8]
xor edx, edx
mov r8, r12
call fcn.1401726f0
mov rbx, qword [rdi + 0x18]
jmp 0x14011537b
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
call fcn.14016f3c0
ud2
lea rcx, [0x1401e88bf]
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.14016f3d0
ud2
lea r8, str._rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrary_alloc_src_vecmod.rs
mov rcx, rdx
mov rdx, rax
call fcn.14016f3c0
ud2
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rdx, rax
call fcn.14016f5e0
ud2
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rax
call fcn.14016f3c0
ud2