Function at 0x140121cd0
Capabilities:
Decrypt data via sspi

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rdi, rdx
mov r14, rcx
mov rcx, qword [rdx + 0x1c8]
mov rdx, qword [rdx + 0x1c0]
cmp rdx, rcx
jb 0x140121f21
mov rax, qword [rdi + 0x1b0]
mov ecx, ecx
movabs rdx, 0x100000000
or rdx, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x70], rax
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x68]
xor r8d, r8d
xor r9d, r9d
call sub.Secur32.dll_DecryptMessage
cmp eax, 0x90316
jg 0x140121e34
cmp eax, 0x80090318
je 0x140121ecd
test eax, eax
jne 0x140121eb7
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rdi + 0x1b0]
mov rax, qword [rdi + 0x1c0]
sub rcx, rdx
mov r8d, dword [rsp + 0x38]
mov rbx, rcx
mov qword [rdi + 0x1a0], 0
add rbx, r8
jb 0x140121f5d
cmp rax, rbx
jb 0x140121f6e
lea rax, [rdi + 0x190]
add rdx, rcx
mov rcx, rax
call fcn.1400b0060
mov qword [rdi + 0x1a8], 0
xor esi, esi
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x1c8]
cmove esi, dword [rsp + 0x58]
sub rdx, rsi
jb 0x140121f2f
test esi, esi
je 0x140121efc
mov rbx, qword [rdi + 0x1c0]
cmp rbx, rdx
jb 0x140121f49
mov qword [rdi + 0x1c0], 0
sub rbx, rdx
je 0x140121e2d
test rdx, rdx
je 0x140121e26
mov rcx, qword [rdi + 0x1b0]
add rdx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x1c0], rbx
xor eax, eax
jmp 0x140121f03
cmp eax, 0x90317
je 0x140121ede
cmp eax, 0x90321
jne 0x140121eb7
mov dword [rdi + 0x210], 0x10000
mov byte [rdi + 0x214], 0
xor esi, esi
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x1c8]
cmove esi, dword [rsp + 0x58]
sub rdx, rsi
jb 0x140121f2f
test esi, esi
je 0x140121ee6
mov rbx, qword [rdi + 0x1c0]
cmp rbx, rdx
jb 0x140121f49
mov qword [rdi + 0x1c0], 0
sub rbx, rdx
je 0x140121ee8
test rdx, rdx
je 0x140121eae
mov rcx, qword [rdi + 0x1b0]
add rdx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x1c0], rbx
jmp 0x140121ee8
shl rax, 0x20
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], 0
mov byte [r14], 1
jmp 0x140121f17
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
jmp 0x140121f0a
mov word [r14], pe_nt_image_headers64
jmp 0x140121f17
xor esi, esi
mov qword [rdi + 0x1c8], rsi
mov qword [rdi + 0x188], 0
jmp 0x140121f11
mov eax, 1
xor esi, esi
mov qword [rdi + 0x1c8], rsi
mov qword [rdi + 0x188], rax
mov word [r14], 0
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
call fcn.1400201a0
ud2
lea rcx, str.assertion_failed:_size___nread
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov edx, 0x1f
call fcn.14001f9d0
ud2
lea r8, str.C:Usersdarkarp.rustup_toolchains_stable_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_alloc_src_vec.rsthread_not_dropped_yet
mov rcx, rdx
mov rdx, rbx
call fcn.1400201a0
ud2
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov rdx, rbx
call fcn.140021960
ud2
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov rcx, rbx
mov rdx, rax
call fcn.1400201a0
ud2