Function at 0x1401598c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x100
call fcn.140189b30
sub rsp, rax
mov rax, qword [0x14028a3e8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x168]
xor esi, esi
movsxd r12, dword [rsp + 0x160]
mov r13, r8
mov rbx, qword [rsp + 0x180]
mov r14d, esi
mov qword [rsp + 0x58], rax
mov ebp, esi
mov rax, qword [rsp + 0x178]
movsxd r15, r9d
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x40], rsi
test rax, rax
jne 0x140159950
call fcn.1400a7b60
mov qword [rsp + 0x50], rax
test rbx, rbx
mov rcx, rax
cmove rbx, rax
mov qword [rsp + 0x48], rbx
call fcn.1400b5a20
movsxd rdi, eax
cmp dword [rsp + 0x34], esi
jle 0x140159dec
test r15d, r15d
jle 0x140159dec
cmp r12d, r15d
jl 0x140159d64
lea ecx, [rdi*2 + 2]
cmp r12d, ecx
jl 0x140159d64
mov r14d, r12d
lea rdx, str.crypto_rsa_rsa_oaep.c
sub r14d, edi
mov r8d, 0x9a
dec r14d
movsxd rcx, r14d
call fcn.1400b1680
mov rbp, rax
test rax, rax
jne 0x1401599e0
mov dword [rsp + 0x20], 0x9c
mov edx, 0x99
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x58]
call fcn.1400a6950
jmp 0x140159d8e
cmp r15d, r12d
je 0x140159a28
mov r8d, 0xa1
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, r12
mov rbx, r12
call fcn.1400b19c0
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140159a11
mov dword [rsp + 0x20], 0xa4
jmp 0x1401599c1
sub rbx, r15
mov r8, r15
mov rdx, r13
lea rcx, [rax + rbx]
call fcn.14018af60
mov r13, qword [rsp + 0x40]
movzx r15d, byte [r13]
lea r12, [r13 + 1]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
dec r15d
mov qword [rsp + 0x20], rax
inc r13
shr r15d, 0x1f
add r13, rdi
mov r9d, r14d
mov r8, r13
mov edx, edi
neg r15d
mov rbx, rdi
call fcn.1401591e0
test eax, eax
jne 0x140159d8e
mov edx, esi
test edi, edi
jle 0x140159b31
cmp edi, 0x40
jb 0x140159b31
lea eax, [rdi - 1]
movsxd rcx, eax
lea r8, [rsp + 0x70]
add r8, rcx
lea rax, [rcx + r12]
lea rcx, [rsp + 0x70]
cmp rcx, rax
ja 0x140159aa0
cmp r8, r12
jae 0x140159b31
mov ecx, edi
and ecx, 0x8000003f
jge 0x140159ab1
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
mov r8, rsi
sub eax, ecx
mov rcx, r12
movsxd r9, eax
lea rax, [rsp + 0x70]
sub rcx, rax
nop word [rax + rax]
lea rax, [rsp + 0x70]
add edx, 0x40
add rax, r8
add r8, 0x40
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + rcx]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [rax + rcx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmm1, xmmword [rax + rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmm1, xmmword [rax + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
cmp r8, r9
jl 0x140159ad0
movsxd rdx, edx
cmp rdx, rbx
jge 0x140159b67
lea rax, [rsp + 0x70]
sub r12, rax
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x70]
add rcx, rdx
inc rdx
movzx eax, byte [rcx + r12]
xor byte [rcx], al
cmp rdx, rbx
jl 0x140159b50
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x70]
mov r9d, edi
mov qword [rsp + 0x20], rax
mov edx, r14d
mov rcx, rbp
call fcn.1401591e0
test eax, eax
jne 0x140159d8e
mov r8d, esi
test r14d, r14d
jle 0x140159c42
cmp r14d, 0x40
jb 0x140159c42
lea eax, [r14 - 1]
movsxd rcx, eax
lea rax, [rcx + r13]
lea rdx, [rcx + rbp]
cmp rbp, rax
ja 0x140159bbf
cmp rdx, r13
jae 0x140159c42
mov ecx, r14d
and ecx, 0x8000003f
jge 0x140159bd1
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r14d
mov rdx, r13
sub eax, ecx
mov rcx, rbp
movsxd r9, eax
sub rdx, rbp
movdqu xmm0, xmmword [rcx]
add r8d, 0x40
movdqu xmm1, xmmword [rdx + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rdx + rcx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm0, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rdx + rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm0, xmmword [rcx + 0x30]
movdqu xmm1, xmmword [rdx + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
mov rax, rcx
sub rax, rbp
cmp rax, r9
jl 0x140159be2
movsxd rax, r8d
movsxd r12, r14d
cmp rax, r12
jge 0x140159c71
sub r13, rbp
lea rcx, [rax + rbp]
mov rdx, r12
sub rdx, rax
nop word [rax + rax]
movzx eax, byte [rcx + r13]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140159c60
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0xb0]
movsxd rdx, dword [rsp + 0x170]
xor r9d, r9d
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400b5a70
test eax, eax
je 0x140159d8e
mov r8, rbx
lea rdx, [rsp + 0xb0]
mov rcx, rbp
call fcn.1400cb400
mov r9d, esi
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and r15d, ecx
cmp rbx, r12
jge 0x140159d27
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rbx + rbp]
mov ecx, r9d
not ecx
mov eax, r8d
xor eax, 1
inc rbx
lea edx, [rax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
or r9d, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and esi, eax
lea eax, [r8 - 1]
shr eax, 0x1f
or esi, ecx
neg eax
or eax, r9d
and r15d, eax
cmp rbx, r12
jl 0x140159ce0
test r15d, r9d
je 0x140159d64
lea ecx, [rsi + 1]
mov eax, r14d
sub eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x34], eax
jge 0x140159dd7
mov edx, 0x99
mov dword [rsp + 0x20], 0xe8
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x2c]
call fcn.1400a6950
mov edx, 0x99
mov dword [rsp + 0x20], 0xf5
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x20]
call fcn.1400a6950
mov dword [rsp + 0x30], 0xffffffff
mov edx, reloc.advapi32.dll_AdjustTokenPrivileges
lea rcx, [rsp + 0x70]
call fcn.1400c23e0
movsxd rdx, r14d
lea r8, str.crypto_rsa_rsa_oaep.c
mov r9d, 0xf8
mov rcx, rbp
call fcn.1400b17e0
movsxd rdx, dword [rsp + 0x38]
lea r8, str.crypto_rsa_rsa_oaep.c
mov rcx, qword [rsp + 0x40]
mov r9d, 0xf9
call fcn.1400b17e0
mov eax, dword [rsp + 0x30]
jmp 0x140159df1
movsxd rdx, ecx
mov rcx, qword [rsp + 0x60]
add rdx, rbp
movsxd r8, eax
call fcn.14018af60
jmp 0x140159d8e
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140189130
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret