Function at 0x140123b70
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 + 0xc0]
mov rdx, qword [rdx + 0xb8]
cmp rdx, rcx
jb 0x140123dc1
mov rax, qword [rdi + 0xa8]
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 0x140123cd4
cmp eax, 0x80090318
je 0x140123d6d
test eax, eax
jne 0x140123d57
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rdi + 0xa8]
mov rax, qword [rdi + 0xb8]
sub rcx, rdx
mov r8d, dword [rsp + 0x38]
mov rbx, rcx
mov qword [rdi + 0x98], 0
add rbx, r8
jb 0x140123dfd
cmp rax, rbx
jb 0x140123e0e
lea rax, [rdi + 0x88]
add rdx, rcx
mov rcx, rax
call fcn.1400b0060
mov qword [rdi + 0xa0], 0
xor esi, esi
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0xc0]
cmove esi, dword [rsp + 0x58]
sub rdx, rsi
jb 0x140123dcf
test esi, esi
je 0x140123d9c
mov rbx, qword [rdi + 0xb8]
cmp rbx, rdx
jb 0x140123de9
mov qword [rdi + 0xb8], 0
sub rbx, rdx
je 0x140123ccd
test rdx, rdx
je 0x140123cc6
mov rcx, qword [rdi + 0xa8]
add rdx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0xb8], rbx
xor eax, eax
jmp 0x140123da3
cmp eax, 0x90317
je 0x140123d7e
cmp eax, 0x90321
jne 0x140123d57
mov dword [rdi + 0x108], 0x10000
mov byte [rdi + 0x10c], 0
xor esi, esi
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0xc0]
cmove esi, dword [rsp + 0x58]
sub rdx, rsi
jb 0x140123dcf
test esi, esi
je 0x140123d86
mov rbx, qword [rdi + 0xb8]
cmp rbx, rdx
jb 0x140123de9
mov qword [rdi + 0xb8], 0
sub rbx, rdx
je 0x140123d88
test rdx, rdx
je 0x140123d4e
mov rcx, qword [rdi + 0xa8]
add rdx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0xb8], rbx
jmp 0x140123d88
shl rax, 0x20
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], 0
mov byte [r14], 1
jmp 0x140123db7
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
jmp 0x140123daa
mov word [r14], pe_nt_image_headers64
jmp 0x140123db7
xor esi, esi
mov qword [rdi + 0xc0], rsi
mov qword [rdi + 0x80], 0
jmp 0x140123db1
mov eax, 1
xor esi, esi
mov qword [rdi + 0xc0], rsi
mov qword [rdi + 0x80], 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