Function at 0x140044549
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0xe0], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.14004332b
mov eax, dword [rbx]
cmp eax, 2
je 0x1400446cb
test eax, eax
je 0x140044684
mov rbp, qword [rsi + 0x68]
cmp rbp, qword [rsi + 0x60]
jne 0x1400446b5
mov rax, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x30]
mov edx, r14d
shr r14, 0x20
cmp rax, r14
cmovb r14, rax
mov r13d, dword [rsp + 0x2c]
lea r15, [r14 + r13]
add rdx, r15
cmp rbp, rdx
jae 0x1400445d0
lea rcx, [rsi + 0x50]
call fcn.1400d070d
mov rbp, qword [rsi + 0x60]
cmp rbp, r15
jb 0x140044748
mov rcx, qword [rsi + 0x58]
add rcx, r13
mov rdx, r12
mov r8, r14
call fcn.1400fc250
cmp rbp, r13
jb 0x140044754
mov rdx, qword [rsi + 0x60]
cmp rdx, r15
jb 0x140044766
mov rax, qword [rsi + 0x58]
lea rcx, [rax + r13]
sub edx, r15d
add r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r15
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0xe8]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140044690
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x1400446d0
movabs rbx, 0x8009031700000002
jmp 0x1400446d0
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x60], rax
jb 0x1400446a6
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x68], 0
mov qword [rsi + 0x110], r14
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.1400443a8
cmp qword [rbx], 0
je 0x14004472f
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], 1
mov rcx, rbx
call fcn.1400101a1
cmp al, 0xd
jne 0x140044708
lea rcx, [rsp + 0x30]
mov qword [rdi], 2
mov qword [rsi + 0xe0], 0
call fcn.140001867
jmp 0x14004471e
mov qword [rdi], 1
mov qword [rdi + 8], rbx
mov qword [rsi + 0xe0], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x110]
xor ecx, ecx
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rsi + 0xe0], rcx
jmp 0x14004471e
lea r8, str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEndC:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
jmp 0x14004475e
lea r8, str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEndC:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
mov rdx, rbp
call fcn.1400ff6c0
lea r8, str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEndC:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
call fcn.1400ff6c0
int3