Function at 0x1800ab200
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 + 0x38], r8
lea rcx, [rsp + 0x38]
call fcn.1800af400
mov eax, dword [rsp + 0x38]
cmp eax, 2
jne case.default.0x1800ab24b
mov rbx, qword [rsp + 0x40]
mov eax, ebx
and eax, 3
lea rcx, [0x1800ab704]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x1800ab2e8
mov rax, qword [rsi + 0xb0]
mov r14, qword [rsi + 0xb8]
cmp r14, rax
jne 0x1800ab454
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 0x1800ab34c
mov rax, qword [rsi + 0xa8]
sub rax, r14
mov rbp, r14
cmp rax, rbx
jb 0x1800ab307
mov rax, qword [rsi + 0xa0]
lea rcx, [rax + rbp]
cmp rbx, 2
jb 0x1800ab337
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 0x1800ab33c
movabs rbx, 0x8009031700000002
mov eax, ebx
and eax, 3
lea rcx, [0x1800ab704]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
lea rcx, [rsi + 0xa0]
mov rbp, rdx
mov rdx, r14
mov r8, rbx
call fcn.1801085a0
mov rdx, rbp
mov rbp, qword [rsi + 0xb0]
mov rax, qword [rsi + 0xa0]
lea rcx, [rax + rbp]
cmp rbx, 2
jae 0x1800ab2c6
cmp r13, r14
je 0x1800ab342
mov byte [rcx], 0
inc rbp
mov qword [rsi + 0xb0], rbp
mov r14, rbp
cmp r14, rdi
jb 0x1800ab6fe
mov rbx, qword [rsi + 0xa0]
lea r13, [rbx + rdx]
mov rcx, r13
mov rbp, rdx
mov rdx, r12
mov r8, r15
call fcn.1800f8be0
cmp r14, rbp
jb 0x1800ab6fe
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 + 0xc0]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1800ab418
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov eax, ebx
and eax, 3
lea rcx, [0x1800ab704]
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 + 0xb0]
cmp rax, rcx
mov rbp, qword [rsp + 0x30]
jb 0x1800ab43f
mov qword [rsi + 0xb0], rcx
mov rax, rcx
mov qword [rsi + 0xb8], 0
mov qword [rsi + 0x100], r15
xor r14d, r14d
cmp rax, r14
je 0x1800ab4cb
lea r15, [rsi + 0x10]
lea r12, [rsp + 0x38]
nop word cs:[rax + rax]
sub rax, r14
jb 0x1800ab6fe
mov r8, qword [rsi + 0x38]
test r8, r8
je 0x1800ab6fe
mov r9, qword [rsi + 0xa0]
add r9, r14
mov qword [rsp + 0x20], rax
mov rcx, r12
mov rdx, r15
call fcn.1800e4530
mov rax, qword [rsp + 0x38]
cmp rax, 2
je 0x1800ab4e3
mov rbx, qword [rsp + 0x40]
test rax, rax
jne 0x1800ab4f6
add r14, rbx
mov qword [rsi + 0xb8], r14
mov rax, qword [rsi + 0xb0]
cmp rax, r14
jne 0x1800ab470
mov rax, qword [rsi + 0x100]
mov qword [rbp], 0
mov qword [rbp + 8], rax
or cl, ch
invalid
add byte [rax], al
invalid
or cl, ch
invalid
movabs rbx, 0xd00000003
mov al, 0xd
mov ecx, 3
jmp case.0x1800ab5e4.0
mov eax, ebx
and eax, 3
lea rcx, [0x1800ab704]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [rbx + 0x10]
xor ecx, ecx
jmp case.0x1800ab5e4.0
movzx eax, byte [rbx + 0xf]
mov ecx, 1
jmp case.0x1800ab5e4.0
mov rcx, rbx
mov ecx, ebx
shr rcx, 0x20
call fcn.1800d1990
mov ecx, 2
cmp al, 0xd
jne 0x1800ab59b
mov qword [rbp], 2
mov qword [rsi + 0x38], 0
lea rax, [rcx - 2]
cmp rax, 2
jb 0x1800ab5af
test rcx, rcx
je 0x1800ab5af
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 0x1800ab587
cmp qword [rbx + 0x10], 0x11
jb 0x1800ab575
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 0x1800ab5af
mov qword [rbp], 1
mov qword [rbp + 8], rbx
mov qword [rsi + 0x38], 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.0x1800ab5e4
xor eax, eax
lea r8, [0x1800ab714]
movsxd rdx, dword [r8 + rdx*4]
add rdx, r8
jmp rdx
mov al, 1
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x29
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 2
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 3
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 4
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 5
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 6
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 7
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 8
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 9
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0xa
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0xb
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0xc
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0xe
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0xf
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x10
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x11
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x12
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x13
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x14
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x15
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x16
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x17
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x18
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x19
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x1a
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x1b
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x1c
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x1d
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x1e
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x1f
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x20
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x21
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x22
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x23
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x24
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x25
jmp case.0x1800ab5e4.0
invalid
invalid
invalid
mov al, 0x26
jmp case.0x1800ab5e4.0
mov al, 0x27
jmp case.0x1800ab5e4.0
mov al, 0x28
jmp case.0x1800ab5e4.0
ud2