Function at 0x1800acee0
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r9
mov rsi, rdx
mov rbp, rcx
mov qword [rdx + 0x138], r8
lea rcx, [rsp + 0x38]
call fcn.1800ad4c0
mov eax, dword [rsp + 0x38]
cmp eax, 2
jne case.default.0x1800acf2e
mov rbx, qword [rsp + 0x40]
mov eax, ebx
and eax, 3
lea rcx, [0x1800ad408]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x1800acfcb
mov rax, qword [rsi + 0x1b0]
mov r14, qword [rsi + 0x1b8]
cmp r14, rax
jne 0x1800ad137
mov rax, qword [rsp + 0xf0]
mov edx, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x40]
mov r13d, r15d
shr r15, 0x20
cmp rax, r15
cmovb r15, rax
lea rdi, [r15 + rdx]
add r13, rdi
mov rbx, r13
sub rbx, r14
mov qword [rsp + 0x30], rbp
jbe 0x1800ad02f
mov rax, qword [rsi + 0x1a8]
sub rax, r14
mov rbp, r14
cmp rax, rbx
jb 0x1800acfea
mov rax, qword [rsi + 0x1a0]
lea rcx, [rax + rbp]
cmp rbx, 2
jb 0x1800ad01a
lea r8, [rbx - 1]
mov r14, rdx
xor edx, edx
mov r13, rax
call fcn.1800f9370
mov rdx, r14
add rbp, rbx
dec rbp
add r13, rbp
mov rcx, r13
jmp 0x1800ad01f
movabs rbx, 0x8009031700000002
mov eax, ebx
and eax, 3
lea rcx, [0x1800ad408]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
lea rcx, [rsi + 0x1a0]
mov rbp, rdx
mov rdx, r14
mov r8, rbx
call fcn.1801085a0
mov rdx, rbp
mov rbp, qword [rsi + 0x1b0]
mov rax, qword [rsi + 0x1a0]
lea rcx, [rax + rbp]
cmp rbx, 2
jae 0x1800acfa9
cmp r13, r14
je 0x1800ad025
mov byte [rcx], 0
inc rbp
mov qword [rsi + 0x1b0], rbp
mov r14, rbp
cmp r14, rdi
jb 0x1800ad404
mov rbx, qword [rsi + 0x1a0]
lea r13, [rbx + rdx]
mov rcx, r13
mov rbp, rdx
mov rdx, r12
mov r8, r15
call fcn.1800f8be0
cmp r14, rbp
jb 0x1800ad404
sub r14d, edi
add rdi, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 7
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x4c], 1
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], 6
mov qword [rsp + 0x60], rdi
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x80], rax
lea rcx, [rsi + 0x1c0]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1800ad0fb
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov eax, ebx
and eax, 3
lea rcx, [0x1800ad408]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov rbp, qword [rsp + 0x30]
jmp rax
mov ecx, dword [rsp + 0x48]
add ecx, dword [rsp + 0x38]
add ecx, dword [rsp + 0x58]
mov rax, qword [rsi + 0x1b0]
cmp rax, rcx
mov rbp, qword [rsp + 0x30]
jb 0x1800ad122
mov qword [rsi + 0x1b0], rcx
mov rax, rcx
mov qword [rsi + 0x1b8], 0
mov qword [rsi + 0x200], r15
xor r14d, r14d
cmp rax, r14
je 0x1800ad1cb
lea r15, [rsi + 0x10]
lea r12, [rsi + 0x18]
lea r13, [rsp + 0x38]
nop dword [rax]
sub rax, r14
jb 0x1800ad404
mov r8, qword [rsi + 0x138]
test r8, r8
je 0x1800ad404
mov r9, qword [rsi + 0x1a0]
add r9, r14
cmp dword [r15], 2
jne 0x1800ad190
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, r12
call fcn.1800e4530
jmp 0x1800ad1a0
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, r15
call fcn.1800ab200
mov rax, qword [rsp + 0x38]
cmp rax, 2
je 0x1800ad1e3
mov rbx, qword [rsp + 0x40]
test rax, rax
jne 0x1800ad1f6
add r14, rbx
mov qword [rsi + 0x1b8], r14
mov rax, qword [rsi + 0x1b0]
cmp rax, r14
jne 0x1800ad150
mov rax, qword [rsi + 0x200]
mov qword [rbp], 0
mov qword [rbp + 8], rax
or cl, ch
invalid
add byte [rax], al
invalid
or cl, ch
mov dword [rax], 0xbb480000
add eax, dword [rax]
add byte [rax], al
or eax, 0xb0000000
mov al, 0xd
mov ecx, 3
jmp case.0x1800ad2ea.0
mov eax, ebx
and eax, 3
movabs rbx, 0xd00000003
mov al, 0xd
mov ecx, 3
jmp case.0x1800ad2ea.0
mov eax, ebx
and eax, 3
lea rcx, [0x1800ad408]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [rbx + 0x10]
xor ecx, ecx
jmp case.0x1800ad2ea.0
movzx eax, byte [rbx + 0xf]
mov ecx, 1
jmp case.0x1800ad2ea.0
mov rcx, rbx
mov ecx, ebx
shr rcx, 0x20
call fcn.1800d1990
mov ecx, 2
cmp al, 0xd
jne 0x1800ad29e
mov qword [rbp], 2
mov qword [rsi + 0x138], 0
lea rax, [rcx - 2]
cmp rax, 2
jb 0x1800ad2b5
test rcx, rcx
je 0x1800ad2b5
lea rsi, [rbx - 1]
mov rdi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x1800ad28a
cmp qword [rbx + 0x10], 0x11
jb 0x1800ad278
mov rdi, qword [rdi - 8]
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800ad2b5
mov qword [rbp], 1
mov qword [rbp + 8], rbx
mov qword [rsi + 0x138], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rbx
shr rdx, 0x20
mov ecx, 3
cmp edx, 0x28
ja case.default.0x1800ad2ea
xor eax, eax
lea r8, [0x1800ad418]
movsxd rdx, dword [r8 + rdx*4]
add rdx, r8
jmp rdx
mov al, 1
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x29
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 2
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 3
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 4
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 5
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 6
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 7
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 8
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 9
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0xa
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0xb
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0xc
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0xe
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0xf
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x10
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x11
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x12
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x13
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x14
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x15
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x16
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x17
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x18
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x19
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x1a
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x1b
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x1c
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x1d
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x1e
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x1f
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x20
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x21
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x22
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x23
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x24
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x25
jmp case.0x1800ad2ea.0
invalid
invalid
invalid
mov al, 0x26
jmp case.0x1800ad2ea.0
mov al, 0x27
jmp case.0x1800ad2ea.0
mov al, 0x28
jmp case.0x1800ad2ea.0
ud2