Function at 0x1802e6a40
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, 0x110
call fcn.1803e3dd0
sub rsp, rax
mov rax, qword [0x18053d0c0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x178]
xor ebp, ebp
mov r13d, dword [rsp + 0x170]
mov r12, rcx
mov qword [rsp + 0x60], rcx
mov r15d, 0xffffffff
mov rcx, qword [rsp + 0x188]
mov rdi, r8
mov qword [rsp + 0x70], rax
mov esi, ebp
mov rax, qword [rsp + 0x190]
mov r14d, ebp
mov qword [rsp + 0x40], rax
movsxd rbx, r9d
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x34], ebp
test rcx, rcx
jne 0x1802e6add
call fcn.180296d90
mov rcx, rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
test rax, rax
cmove rax, rcx
mov qword [rsp + 0x40], rax
call fcn.180212300
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x30], ebp
jle 0x1802e71df
test ebx, ebx
jle 0x1802e71df
cmp r13d, ebx
jl 0x1802e71b3
lea ecx, [rax*2 + 2]
cmp r13d, ecx
jl 0x1802e71b3
mov ecx, r13d
lea rdx, str.crypto_rsa_rsa_oaep.c
sub ecx, eax
mov r8d, 0xcd
lea eax, [rcx - 1]
mov dword [rsp + 0x48], eax
cdqe
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.18020e610
mov r15, rax
movsxd rax, r13d
mov qword [rsp + 0x78], rax
test r15, r15
jne 0x1802e6b88
call fcn.18020d3a0
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0xcf
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.18020d4c0
xor r8d, r8d
lea ecx, [r15 + 4]
mov edx, 0xc0100
call fcn.18020d5c0
jmp 0x1802e7150
mov r8d, 0xd3
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, rax
call fcn.18020e610
mov r14, rax
test rax, rax
jne 0x1802e6bd8
call fcn.18020d3a0
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0xd5
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.18020d4c0
xor r8d, r8d
lea ecx, [r14 + 4]
mov edx, 0xc0100
call fcn.18020d5c0
jmp 0x1802e7150
movsxd rax, r13d
add rdi, rbx
add r14, rax
test r13d, r13d
jle 0x1802e6c1e
mov rdx, r13
nop dword [rax]
mov eax, ebx
lea ecx, [rbx - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec r14
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 [r14], cl
sub rdx, 1
jne 0x1802e6bf0
movsxd rax, dword [rsp + 0x38]
lea rbx, [r14 + 1]
movzx esi, byte [r14]
mov edx, eax
mov rcx, qword [rsp + 0x40]
dec esi
mov r9d, dword [rsp + 0x48]
mov r13, rax
lea rdi, [rax + 1]
mov qword [rsp + 0x20], rcx
add rdi, r14
shr esi, 0x1f
mov r8, rdi
lea rcx, [rsp + 0x80]
neg esi
call fcn.1802e67f0
test eax, eax
jne 0x1802e7150
mov r8d, dword [rsp + 0x38]
mov r10d, ebp
test r8d, r8d
jle 0x1802e6d5b
cmp r8d, 0x40
jb 0x1802e6d5b
lea eax, [r8 - 1]
movsxd rcx, eax
lea rdx, [rsp + 0x80]
add rdx, rcx
lea rax, [rcx + rbx]
lea rcx, [rsp + 0x80]
cmp rcx, rax
ja 0x1802e6cac
cmp rdx, rbx
jae 0x1802e6d5b
mov ecx, r8d
and ecx, 0x8000003f
jge 0x1802e6cbe
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r8d
lea rdx, [rsp + 0x80]
sub eax, ecx
lea r9, [rsp + 0x90]
cdqe
lea rcx, [rbx + 0x20]
sub rdx, rbx
mov qword [rsp + 0x68], rax
sub r9, rbx
mov r11, 0xffffffffffffffe0
sub r11, rbx
nop
movdqu xmm0, xmmword [rdx + rcx - 0x20]
add r10d, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
lea rax, [r11 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rdx + rcx - 0x60], xmm1
movdqu xmm0, xmmword [r9 + rcx - 0x60]
movdqu xmm1, xmmword [rcx - 0x50]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmmword [r9 + rcx - 0x60], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + rdx - 0x40], xmm1
movdqu xmm0, xmmword [rcx + r9 - 0x40]
movdqu xmm1, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + r9 - 0x40], xmm1
cmp rax, qword [rsp + 0x68]
jl 0x1802e6cf0
movsxd rdx, r10d
cmp rdx, r13
jge 0x1802e6d89
lea rax, [rsp + 0x80]
sub rbx, rax
nop
lea rcx, [rsp + 0x80]
add rcx, rdx
inc rdx
movzx eax, byte [rbx + rcx]
xor byte [rcx], al
cmp rdx, r13
jl 0x1802e6d70
mov rax, qword [rsp + 0x40]
mov r9d, r8d
mov ebx, dword [rsp + 0x48]
lea r8, [rsp + 0x80]
mov edx, ebx
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.1802e67f0
test eax, eax
jne 0x1802e7150
mov r8d, ebp
test ebx, ebx
jle 0x1802e6e70
cmp ebx, 0x40
jb 0x1802e6e70
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rdi]
lea rdx, [rcx + r15]
cmp r15, rax
ja 0x1802e6de4
cmp rdx, rdi
jae 0x1802e6e70
mov ecx, ebx
and ecx, 0x8000003f
jge 0x1802e6df5
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebx
mov rdx, rdi
sub eax, ecx
sub rdx, r15
mov r9, 0xfffffffffffffff0
movsxd r10, eax
sub r9, r15
lea rcx, [r15 + 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rcx + rdx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1802e6e10
mov rbx, qword [rsp + 0x50]
movsxd rax, r8d
cmp rax, rbx
jge 0x1802e6ea0
sub rdi, r15
lea rdx, [rax + r15]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx eax, byte [rdx + rdi]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1802e6e90
mov rax, qword [rsp + 0x58]
lea r8, [rsp + 0xc0]
movsxd rdx, dword [rsp + 0x180]
xor r9d, r9d
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.1801ffd30
test eax, eax
je 0x1802e7155
mov r8, r13
lea rdx, [rsp + 0xc0]
mov rcx, r15
call fcn.1800012b0
mov rdi, qword [rsp + 0x50]
mov r9d, ebp
mov ebx, dword [rsp + 0x38]
mov r11d, ebx
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and esi, ecx
cmp r13, rdi
jge 0x1802e6f7a
mov r10, r13
mov r12d, ebp
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r10 + r15]
mov eax, r9d
not eax
mov edx, r8d
xor edx, 1
inc r10
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or r9d, edx
mov dword [rsp + 0x3c], eax
not eax
mov dword [rsp + 0x34], eax
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x34]
and ecx, r11d
and r12d, eax
inc r11d
lea eax, [r8 - 1]
or r12d, ecx
shr eax, 0x1f
neg eax
or eax, r9d
and esi, eax
cmp r10, rdi
jl 0x1802e6f20
mov dword [rsp + 0x34], r12d
mov r12, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x30]
mov ecx, r11d
mov r8d, dword [rsp + 0x48]
mov eax, r11d
mov r10d, r8d
mov edx, r8d
sub r10d, dword [rsp + 0x34]
sub edx, ebx
dec r10d
sub ecx, r10d
mov dword [rsp + 0x3c], r10d
xor ecx, r10d
xor eax, r10d
or ecx, eax
mov eax, r11d
xor ecx, r11d
shr ecx, 0x1f
dec ecx
and ecx, r9d
lea r9d, [rdx - 1]
and esi, ecx
xor eax, r9d
mov ecx, r9d
sub ecx, r11d
xor ecx, r11d
or ecx, eax
xor ecx, r9d
shr ecx, 0x1f
neg ecx
mov dword [rsp + 0x30], ecx
not ecx
mov dword [rsp + 0x34], ecx
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
and eax, r9d
and ecx, r11d
mov r11d, 1
or ecx, eax
mov dword [rsp + 0x40], ecx
cmp r9d, r11d
jle 0x1802e70a0
sub edx, r10d
mov r12d, r9d
lea ebp, [rdx - 1]
lea rdx, [r13 + 1]
nop
mov eax, ebp
and eax, r11d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, r8d
sub eax, r11d
dec ecx
movsxd r9, eax
cmp rdx, r9
jge 0x1802e7088
movzx ebx, cl
lea rax, [rdx + r15]
mov r10d, ebx
movsxd rdi, r11d
sub r9, r13
not r10d
dec r9
nop dword [rax + rax]
movzx ecx, byte [rax + rdi]
lea rax, [rax + 1]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], r10d
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
and r8b, cl
movzx ecx, byte [rax - 1]
and dl, cl
or dl, r8b
mov byte [rax - 1], dl
sub r9, 1
jne 0x1802e7050
mov r8d, dword [rsp + 0x48]
lea rdx, [r13 + 1]
add r11d, r11d
cmp r11d, r12d
jl 0x1802e7010
mov r12, qword [rsp + 0x60]
xor ebp, ebp
mov r10d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
movsxd r9, ecx
test ecx, ecx
jle 0x1802e711a
mov r8d, r10d
shr r8d, 0x1f
sub r13, r12
lea r11, [r15 + r13]
nop word [rax + rax]
mov edx, ebp
lea r12, [r12 + 1]
sub edx, r10d
mov ecx, ebp
shr ecx, 0x1f
movzx eax, r8b
xor al, cl
shr edx, 0x1f
xor dl, r8b
inc ebp
or dl, al
movzx eax, sil
xor dl, cl
neg dl
movzx ecx, dl
and ecx, eax
movzx eax, byte [r11 + r12]
mov dword [rsp + 0x40], ecx
not ecx
mov dword [rsp + 0x30], ecx
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
and dl, al
movzx eax, byte [r12 - 1]
and cl, al
or cl, dl
mov byte [r12 - 1], cl
sub r9, 1
jne 0x1802e70c0
call fcn.18020d3a0
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0x13a
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.18020d4c0
xor r8d, r8d
lea edx, [r8 + 0x79]
lea ecx, [rdx - 0x75]
call fcn.18020d5c0
mov ecx, esi
and ecx, 1
call fcn.180217670
mov rbx, qword [rsp + 0x50]
mov edx, 0x40
lea rcx, [rsp + 0x80]
call fcn.180001240
mov r9d, 0x13f
lea r8, str.crypto_rsa_rsa_oaep.c
mov rdx, rbx
mov rcx, r15
call fcn.18020e750
mov rdx, qword [rsp + 0x78]
lea r8, str.crypto_rsa_rsa_oaep.c
mov r9d, 0x140
mov rcx, r14
call fcn.18020e750
mov dword [rsp + 0x40], esi
not esi
mov dword [rsp + 0x30], esi
mov ecx, dword [rsp + 0x40]
and ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x30]
or eax, ecx
jmp 0x1802e71e2
call fcn.18020d3a0
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0xc8
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.18020d4c0
xor r8d, r8d
lea edx, [r8 + 0x79]
lea ecx, [rdx - 0x75]
call fcn.18020d5c0
mov eax, r15d
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1803e3250
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret