Function at 0x180123ac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x100
call fcn.1800f84e0
sub rsp, rax
mov rax, qword [0x18030ebb8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x160]
xor esi, esi
mov r14, qword [rsp + 0x180]
mov rdi, r8
mov dword [rsp + 0x40], eax
mov ebp, esi
mov rax, qword [rsp + 0x168]
mov r15d, esi
mov qword [rsp + 0x58], rax
lea r12d, [rsi - 1]
mov rax, qword [rsp + 0x178]
movsxd rbx, r9d
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], esi
test rax, rax
jne 0x180123b49
call fcn.18011c320
mov qword [rsp + 0x50], rax
test r14, r14
mov rcx, rax
cmove r14, rax
mov qword [rsp + 0x48], r14
call fcn.18011d9b0
movsxd r13, eax
cmp dword [rsp + 0x3c], esi
jle 0x18012419e
test ebx, ebx
jle 0x18012419e
mov eax, dword [rsp + 0x40]
cmp eax, ebx
jl 0x18012417c
lea ecx, [r13*2 + 2]
cmp eax, ecx
jl 0x18012417c
sub eax, r13d
lea rdx, [0x180320070]
mov dword [rsp + 0x30], eax
mov r8d, 0x9e
dec eax
mov ecx, eax
mov dword [rsp + 0x34], eax
call fcn.1800fd770
mov r14, rax
test rax, rax
jne 0x180123c30
mov dword [rsp + 0x20], 0xa0
lea r9, [0x180320088]
mov edx, 0xa1
mov ecx, 4
lea r8d, [rdx - 0x60]
call fcn.1800fe080
mov ebx, dword [rsp + 0x34]
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.1800ff5c0
movsxd rdx, ebx
mov rcx, r14
call fcn.1800ff5c0
mov rcx, r14
call fcn.1800fd820
movsxd rdx, dword [rsp + 0x40]
mov rcx, r15
call fcn.1800ff5c0
mov rcx, r15
call fcn.1800fd820
mov dword [rsp + 0x48], ebp
not ebp
mov dword [rsp + 0x30], ebp
mov ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x30]
and ecx, r12d
or eax, ecx
jmp 0x1801241a1
mov ecx, dword [rsp + 0x40]
lea rdx, [0x1803200a0]
mov r8d, 0xa4
call fcn.1800fd770
mov r15, rax
test rax, rax
jne 0x180123c62
mov dword [rsp + 0x20], 0xa7
lea r9, [0x1803200b8]
jmp 0x180123bc6
mov ecx, dword [rsp + 0x40]
add rdi, rbx
movsxd rax, ecx
add r15, rax
test ecx, ecx
jle 0x180123cae
mov edx, ecx
nop word [rax + rax]
mov eax, ebx
lea ecx, [rbx - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec r15
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub ebx, eax
mov eax, ecx
and eax, 1
sub rdi, rax
and cl, byte [rdi]
mov byte [r15], cl
sub rdx, 1
jne 0x180123c80
movzx ebp, byte [r15]
lea rdi, [r13 + 1]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
mov r9d, dword [rsp + 0x34]
lea rbx, [r15 + 1]
dec ebp
mov qword [rsp + 0x60], r13
add rdi, r15
shr ebp, 0x1f
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, r13d
neg ebp
call fcn.180123440
test eax, eax
jne 0x180123bd9
mov edx, esi
test r13d, r13d
jle 0x180123dc1
cmp r13d, 0x40
jb 0x180123dc1
lea eax, [r13 - 1]
movsxd rcx, eax
lea r8, [rsp + 0x70]
add r8, rcx
lea rax, [rcx + rbx]
lea rcx, [rsp + 0x70]
cmp rcx, rax
ja 0x180123d2b
cmp r8, rbx
jae 0x180123dc1
mov ecx, r13d
and ecx, 0x8000003f
jge 0x180123d3d
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r13d
mov r8, rsi
sub eax, ecx
mov rcx, rbx
movsxd r9, eax
lea rax, [rsp + 0x70]
sub rcx, rax
nop dword [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 [rcx + rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [rcx + rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmm1, xmmword [rcx + rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmm1, xmmword [rcx + rax + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
cmp r8, r9
jl 0x180123d60
movsxd rdx, edx
cmp rdx, r13
jge 0x180123de7
lea rax, [rsp + 0x70]
sub rbx, rax
lea rcx, [rsp + 0x70]
add rcx, rdx
inc rdx
movzx eax, byte [rbx + rcx]
xor byte [rcx], al
cmp rdx, r13
jl 0x180123dd1
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x70]
mov ebx, dword [rsp + 0x34]
mov r9d, r13d
mov edx, ebx
mov qword [rsp + 0x20], rax
mov rcx, r14
call fcn.180123440
test eax, eax
jne 0x180123bdd
mov r8d, esi
test ebx, ebx
jle 0x180123ec0
cmp ebx, 0x40
jb 0x180123ec0
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rdi]
lea rdx, [rcx + r14]
cmp r14, rax
ja 0x180123e3f
cmp rdx, rdi
jae 0x180123ec0
mov ecx, ebx
and ecx, 0x8000003f
jge 0x180123e50
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebx
mov rdx, rdi
sub eax, ecx
mov rcx, r14
movsxd r9, eax
sub rdx, r14
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, r14
cmp rax, r9
jl 0x180123e60
movsxd rbx, dword [rsp + 0x30]
dec rbx
movsxd rax, r8d
cmp rax, rbx
jge 0x180123ef0
sub rdi, r14
lea rdx, [rax + r14]
mov r8, rbx
sub r8, rax
nop dword [rax]
movzx eax, byte [rdi + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180123ee0
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.18013afe0
test eax, eax
je 0x180123bd9
mov r8, r13
lea rdx, [rsp + 0xb0]
mov rcx, r14
mov rdi, r13
call fcn.1800fd2e0
mov r9d, esi
mov r11d, r13d
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebp, ecx
cmp r13, rbx
jge 0x180123fbc
mov r10, r13
nop dword [rax]
movzx r8d, byte [r10 + r14]
inc r10
mov eax, r8d
xor eax, 1
lea edx, [rax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, r9d
not eax
neg edx
and eax, edx
or r9d, edx
mov dword [rsp + 0x30], eax
not eax
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
and ecx, r11d
and esi, eax
inc r11d
lea eax, [r8 - 1]
or esi, ecx
shr eax, 0x1f
neg eax
or eax, r9d
and ebp, eax
cmp r10, rbx
jl 0x180123f60
mov dword [rsp + 0x38], esi
xor esi, esi
mov r10d, dword [rsp + 0x3c]
mov r11d, 1
mov ebx, dword [rsp + 0x34]
mov ecx, r10d
mov r12d, ebx
mov eax, r10d
sub r12d, dword [rsp + 0x38]
mov r8d, ebx
dec r12d
sub r8d, r13d
sub ecx, r12d
mov dword [rsp + 0x38], r12d
xor ecx, r12d
xor eax, r12d
or ecx, eax
mov eax, r10d
xor ecx, r10d
lea r13d, [r8 - 1]
shr ecx, 0x1f
dec ecx
and ecx, r9d
and ebp, ecx
lea ecx, [r8 - 1]
xor eax, ecx
mov edx, ecx
sub edx, r10d
xor edx, r10d
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
mov dword [rsp + 0x30], edx
not edx
mov dword [rsp + 0x3c], edx
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x3c]
and eax, r13d
and ecx, r10d
or ecx, eax
mov dword [rsp + 0x48], ecx
cmp r13d, r11d
jle 0x1801240cf
sub r8d, r12d
lea r12, [rdi + 1]
lea esi, [r8 - 1]
nop
mov eax, esi
and eax, r11d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, ebx
sub eax, r11d
dec ecx
movsxd r9, eax
cmp r12, r9
jge 0x1801240b7
movzx ebx, cl
lea rax, [r12 + r14]
mov r10d, ebx
movsxd rdi, r11d
not r10d
sub r9, r12
movzx ecx, byte [rdi + rax]
lea rax, [rax + 1]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x3c], r10d
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
and r8b, cl
movzx ecx, byte [rax - 1]
and dl, cl
or dl, r8b
mov byte [rax - 1], dl
sub r9, 1
jne 0x180124084
mov ebx, dword [rsp + 0x34]
add r11d, r11d
cmp r11d, r13d
jl 0x180124050
mov r12d, dword [rsp + 0x38]
xor esi, esi
mov rdi, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x48]
movsxd r10, ecx
test ecx, ecx
jle 0x18012414b
mov r11, qword [rsp + 0x68]
lea r8, [r14 + 1]
mov r9d, r12d
shr r9d, 0x1f
add r8, rdi
nop dword [rax]
mov ecx, esi
lea r11, [r11 + 1]
shr ecx, 0x1f
lea r8, [r8 + 1]
movzx eax, cl
mov edx, esi
sub edx, r12d
xor al, r9b
shr edx, 0x1f
inc esi
xor dl, r9b
or dl, al
movzx eax, bpl
xor dl, cl
neg dl
movzx ecx, dl
and ecx, eax
movzx eax, byte [r8 - 1]
mov dword [rsp + 0x48], ecx
not ecx
mov dword [rsp + 0x30], ecx
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x30]
and dl, al
movzx eax, byte [r11 - 1]
and cl, al
or cl, dl
mov byte [r11 - 1], cl
sub r10, 1
jne 0x1801240f0
mov edx, 0xa1
mov dword [rsp + 0x20], 0x108
lea r9, str..crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x28]
call fcn.1800fe080
mov ecx, ebp
and ecx, 1
call fcn.1800fea00
jmp 0x180123bdd
mov edx, 0xa1
mov dword [rsp + 0x20], 0x99
lea r9, [0x180320058]
mov ecx, 4
lea r8d, [rdx - 0x28]
call fcn.1800fe080
mov eax, r12d
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800ff1f0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret