Function at 0x14007f530
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
mov qword [rdx + 0x138], r8
mov r12, qword [r9]
mov r14, qword [r9 + 8]
lea rcx, [rsp + 0x20]
call fcn.140082060
mov eax, dword [rsp + 0x20]
cmp eax, 2
jne case.default.0x14007f583
mov r14, qword [rsp + 0x28]
mov eax, r14d
and eax, 3
lea rcx, [0x14017b838]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x14007f73f
mov r13, qword [rdi + 0x1b8]
cmp r13, qword [rdi + 0x1b0]
jne 0x14007f790
mov rbx, qword [rsp + 0x28]
mov ebp, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r15d, dword [rsp + 0x24]
lea r14, [rbx + r15]
add rbp, r14
sub rbp, r13
jbe 0x14007f613
mov rax, qword [rdi + 0x1a8]
sub rax, r13
cmp rax, rbp
jb 0x14007f87a
mov rax, qword [rdi + 0x1a0]
lea rcx, [rax + r13]
cmp rbp, 2
jb 0x14007f606
lea r8, [rbp - 1]
xor edx, edx
mov qword [rsp + 0x60], rax
call sub.VCRUNTIME140.dll_memset
add r13, rbp
dec r13
mov rcx, qword [rsp + 0x60]
add rcx, r13
mov byte [rcx], 0
inc r13
mov qword [rdi + 0x1b0], r13
cmp r14, r13
ja 0x14007f8ad
mov rcx, qword [rdi + 0x1a0]
add rcx, r15
mov rdx, r12
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi + 0x1b0]
cmp rdx, r15
jb 0x14007f8c1
mov r8, qword [rdi + 0x1a0]
lea rcx, [rsp + 0x78]
mov edx, 7
mov r9, r15
call fcn.140098f60
mov rdx, qword [rdi + 0x1b0]
cmp r14, rdx
ja 0x14007f8d2
add r15, qword [rdi + 0x1a0]
lea rcx, [rsp + 0x88]
mov edx, 1
mov r8, r15
mov r9, rbx
call fcn.140098f60
mov rdx, qword [rdi + 0x1b0]
mov r9, rdx
sub r9, r14
jb 0x14007f8e3
add r14, qword [rdi + 0x1a0]
lea rcx, [rsp + 0x68]
mov edx, 6
mov r8, r14
call fcn.140098f60
lea rcx, [rsp + 0x50]
xor edx, edx
xor r8d, r8d
call fcn.140098f60
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.140098f80
lea rcx, [rdi + 0x1c0]
call fcn.14008cc10
mov rcx, rax
xor edx, edx
mov r8, r14
xor r9d, r9d
call qword [sym.imp.Secur32.dll_EncryptMessage]
test eax, eax
je 0x14007f762
mov r14d, eax
shl r14, 0x20
or r14, 2
mov eax, r14d
and eax, 3
lea rcx, [0x14017b838]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movabs r14, 0x8009031700000002
mov rcx, r14
shr rcx, 0x20
call fcn.1401450c0
cmp al, 0xd
je 0x14007f830
jmp 0x14007f839
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
cmp qword [rdi + 0x1b0], rax
jb 0x14007f77e
mov qword [rdi + 0x1b0], rax
mov qword [rdi + 0x1b8], 0
mov qword [rdi + 0x200], rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140084f60
cmp qword [rsp + 0x20], 0
je case.default.0x14007f7c2
mov r14, qword [rsp + 0x28]
mov eax, r14d
and eax, 3
lea rcx, [0x14017b838]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [r14 + 0x10]
cmp al, 0xd
je 0x14007f830
jmp 0x14007f839
cmp byte [r14 + 0xf], 0xd
jne 0x14007f839
lea rbx, [r14 - 1]
mov qword [rsi], 2
mov qword [rdi + 0x138], 0
mov rdi, qword [r14 - 1]
mov r14, qword [r14 + 7]
mov rcx, rdi
call qword [r14]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14007f80f
mov r8, qword [r14 + 0x10]
mov rcx, rdi
call fcn.140001420
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140001420
jmp 0x14007f84f
mov rax, r14
shr rax, 0x20
cmp eax, 0xd
jne 0x14007f839
mov qword [rsi], 2
jmp 0x14007f844
mov qword [rsi], 1
mov qword [rsi + 8], r14
mov qword [rdi + 0x138], 0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdi + 0x200]
mov qword [rsi], 0
mov qword [rsi + 8], rax
jmp 0x14007f844
lea rcx, [rdi + 0x1a0]
mov rdx, r13
mov r8, rbp
call fcn.14015e460
mov r13, qword [rdi + 0x1b0]
mov rax, qword [rdi + 0x1a0]
lea rcx, [rax + r13]
cmp rbp, 2
jae 0x14007f5e8
jmp 0x14007f606
lea r8, str.C:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r14
mov rdx, r13
call fcn.140169090
ud2
lea r8, str.C:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
call fcn.140169090
ud2
lea r8, str.C:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r14
call fcn.140169090
ud2
lea r8, str.C:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r14
call fcn.140169010
ud2
lea rax, [0x14017b848]
movsxd rcx, dword [rax + r14*4]
add rcx, rax
sar edi, 0xe1
sar edi, 0xe1
movzx eax, byte [rsi + 0x10]
cmp al, 0xd
je 0x14007f95b
jmp 0x14007f9da
mov rcx, rdi
shr rcx, 0x20
call fcn.1401450c0
cmp al, 0xd
jne 0x14007f9da
mov qword [rbx + 0x138], 0
mov eax, 1
add byte [rax], al
add byte [rax + 1], bh
cmp r14d, 1
je 0x14007f99a
jmp 0x14007f9e7
shr rdi, 0x20
cmp edi, 0xd
invalid
jne 0x14007f9da
or eax, 0xc7485e75
cmp dword [rax], 1
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov qword [rbx + 0x138], 0
jmp 0x14007f9d3
cmp byte [rsi + 0xf], 0xd
jne 0x14007f9da
mov qword [rbx + 0x138], 0
dec rdi
mov rbx, qword [rsi - 1]
mov r14, qword [rsi + 7]
mov rcx, rbx
call qword [r14]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14007f9c0
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140001420
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140001420
mov eax, 1
jmp 0x14007f9e7
mov qword [rbx + 0x138], 0
xor eax, eax
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
add edx, dword [rcx + 0xb0f000e]
dec dword [rax - 0x39]
cmp byte [rax], r8b
add byte [rax], al
add byte [rcx], dh
shr cl, 0x85
add byte [rax], al
add byte [rax + 0x750d0f7f], al
cmp byte [rdi + 0xf], 0xd
jne 0x14007fae5
invalid
mov eax, dword [rdi + 0x10]
fstp dword [rax]
clc
invalid
add byte [rax - 0x73], cl
and al, 0x20
mov rdx, rsi
call fcn.140084f60
cmp qword [rsp + 0x20], 0
jl 0x14007fbe6
and byte [rax], al
jl 0x14007fbe6
and byte [rax], al
je 0x14007fbed
mov rdi, qword [rsp + 0x28]
mov dh, 0x47
adc byte [rcx - 0x4216af8c], bh
add byte [rax], al
add byte [rax - 0x75], cl
xchg esi, eax
cmp byte [rcx], al
add dword [rax], eax
invalid
mov rdx, qword [rsi + 0x138]
add dword [rax], eax
add byte [rax - 0x7b], cl
ror byte [rdi], cl
test rdx, rdx
je 0x14007fcf3
test dh, dh
add byte [rax], al
invalid
test dh, dh
add byte [rax], al
add byte [rax - 0x73], cl
adc byte [rbx - 0x7af0fdc7], r8b
cmp dword [rcx], 2
jne 0x14007fcc2
add byte [rax], al
xor edi, edi
lea rcx, [rsi + 0x10]
add byte [rax], al
invalid
fld1
scasb al, byte [rdi]
invalid
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14017a820]
mov edx, 0x29
call fcn.140168bc0
ud2
add dword [rax], eax
add byte [rcx - 0x77], cl
jl 0x14007fe86
adc byte [rcx], dh
dec dword [rax - 0x39]
cmp byte [rax], r8b
add byte [rax], al
add byte [rcx], dh
ror byte [rax - 0x77], 0xfa
invalid
sti
dec dword [rax - 0x75]
pop rdi
dec dword [rax - 0x75]
jg 0x14007fee4
push rdi
or byte [rax - 0x7b], cl
sal byte [rsp + rcx + 0x4c], cl
mov eax, dword [rdi + 0x10]
mov ebx, 0x4800018d
lea ecx, [rdi + 0xc0]
add byte [rax], al
add byte [rbx + rcx*4 + 0x7c], cl
and al, 0x38
jg 0x140080312
or eax, 0x8d496075
pop rdi
dec dword [rax - 0x39]
invalid
mov dword [rdi + 0x38], 0
add byte [rax + rax], al
add byte [rcx + rcx*4 - 0x17], cl
call fcn.140169090
ud2
mov dword [rsp + 0x20], eax
add eax, 0x49000000
mov ecx, edi
adc eax, 0xf9cba
int1
add esp, 0x38
or byte [rax - 0x77], cl
int1
invalid
int3
int3
lea eax, [0x14017b8bc]
or byte [rcx + rax - 0x40], 0xff
loopne 0x1400812bf
invalid
or cl, ch
mov cl, 4
add byte [rax], al
rol dword [rcx + rbp*8], 0x6a
js 0x1400812c8
add ah, cl
int3
int3
int3
mov edx, dword [rdx + 0x10]
mov r9, qword [rdx + 0x18]
mov r11, r9
retf
sub r11, r10
shr r11, 5
cmp r11, r8
cmp ebx, eax
retf
cmp ebx, eax
mov rcx, r8
cmovb rcx, r11
shl rcx, 5
add rcx, r10
mov qword [rdx + 0x10], rcx
adc byte [rbp + 0x39], cl
ret
jb case.0x140080205.22
adc byte [rbp + 0x39], cl
ret
cmp rcx, r9
cmp ecx, ecx
je case.0x140080205.22
lea r8, [rcx + 0x20]
mov qword [rdx + 0x10], r8
mov dword [rdx + 0x10], eax
mov dword [rdx + 0x10], eax
adc byte [rdi], cl
adc byte [rcx], al
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
adc dword [rax + 0x10], ecx
adc byte [rdi], cl
adc dword [rax + 0x10], ecx
movups xmmword [rax], xmm0
ret
add byte [rdx], al
add bl, al
int3
int3
int3
sub byte [rax], al
add byte [rax], al
movabs rax, 0xc3e61a366d40362
movabs rdx, 0x634eab4475c73adf
jne 0x140081635
stosd dword [rdi], eax
movsxd r8, ebx
or al, 0x48
mov rax, rdx
sub rax, rdi
jb 0x140085079
mov r8, qword [rbx + 0x138]
test r8, r8
je 0x14008508a
mov r9, qword [rbx + 0x1a0]
add r9, rdi
cmp dword [r14], 2
jne 0x140085000
mov qword [rsp + 0x20], rax
mov rcx, r12
mov rdx, r15
call fcn.1400ece40
mov rcx, qword [rsp + 0x28]
cmp rcx, 2
jne 0x140085023
jmp 0x140085052
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], rax
mov rcx, r12
mov rdx, r14
mov r9, r13
call fcn.14007ffe0
mov rcx, qword [rsp + 0x28]
cmp rcx, 2
stc
invalid
je 0x140085052
stc
add dh, byte [rdi + rbp + 0x48]
mov eax, dword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
test rcx, rcx
jne 0x14008505c
add rbp, rax
add rdi, rax
mov qword [rbx + 0x1b8], rdi
mov rdx, qword [rbx + 0x1b0]
cmp rdi, rdx
jne 0x140084fb0
mov qword [rsi + 8], rbp
mov dword [rsi + 8], ebp
xor eax, eax
jmp 0x140085065
movabs rax, 0xd00000003
mov qword [rsi + 8], rax
mov eax, 1
or byte [rax + 1], bh
mov qword [rsi], rax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
lea r8, str.C:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rdi
stc
stc
call fcn.140169010
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea ecx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14017a820]
mov edx, 0x29
add byte [rax], al
int3
and al, 0x20
call fcn.140082060
cmp dword [rsp + 0x20], 2
jne case.default.0x1400850e9
invalid
mov r14, qword [rsp + 0x28]
movzx eax, byte [rsi + 0x10]
lea rcx, [rsi + 8]
mov r8d, 0x228
mov bh, 0x18
add al, byte [rax]
add byte [rbp - 0x7b], cl
div byte [rbp + rbp + 0x48]
add ebx, 8
add byte [rax - 0x7d], cl
ret
sal byte [rdx + rbx + 0x48], 0x8b
invalid
mov eax, esi
push rsi
push rdi
push rbx
sub rsp, 0x38
in al, dx
cmp byte [rax - 0x77], cl
xlatb
jrcxz 0x14008538e
invalid