Function at 0x14011a840
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, pe_nt_image_headers64
call fcn.140186310
sub rsp, rax
mov rax, qword [0x140361e80]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x188]
xor esi, esi
mov ebp, dword [rsp + 0x180]
mov r15, rcx
mov qword [rsp + 0x70], rcx
mov r13d, 0xffffffff
mov rcx, qword [rsp + 0x198]
mov rdi, r8
mov qword [rsp + 0x60], rax
mov r14d, esi
mov rax, qword [rsp + 0x1a0]
mov r12d, esi
mov qword [rsp + 0x50], rax
movsxd rbx, r9d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x44], esi
test rcx, rcx
jne 0x14011a8e1
call fcn.1400cc2a0
mov rcx, rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
test rax, rax
cmove rax, rcx
mov qword [rsp + 0x50], rax
call fcn.1400d3890
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x30], esi
jle 0x14011b0a2
test ebx, ebx
jle 0x14011b0a2
cmp ebp, ebx
jl 0x14011b07e
lea ecx, [rax*2 + 2]
cmp ebp, ecx
jl 0x14011b07e
mov r13d, ebp
lea rdx, str.crypto_rsa_rsa_oaep.c
sub r13d, eax
mov r8d, 0x9d
dec r13d
movsxd rax, r13d
mov rcx, rax
mov qword [rsp + 0x80], rax
call fcn.1400a2f40
mov rbp, rax
movsxd rax, dword [rsp + 0x40]
test rbp, rbp
jne 0x14011a983
mov dword [rsp + 0x20], 0x9f
lea r9, str.crypto_rsa_rsa_oaep.c
mov edx, 0x99
mov ecx, 4
mov r8d, 0x41
call fcn.1400a41b0
movsxd rbx, dword [rsp + 0x40]
jmp 0x14011b01a
mov r8d, 0xa3
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, rax
call fcn.1400a2f40
mov r12, rax
test rax, rax
jne 0x14011a9aa
mov dword [rsp + 0x20], 0xa6
jmp 0x14011a95d
movsxd r9, dword [rsp + 0x40]
add rdi, rbx
mov eax, dword [rsp + 0x40]
add r12, r9
test eax, eax
jle 0x14011a9ef
mov edx, eax
nop
mov eax, ebx
lea ecx, [rbx - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec r12
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 [r12], cl
sub rdx, 1
jne 0x14011a9c0
movsxd rdi, dword [rsp + 0x4c]
lea rcx, [rsp + 0x90]
movzx r14d, byte [r12]
lea rbx, [r12 + 1]
mov rax, qword [rsp + 0x50]
dec r14d
mov qword [rsp + 0x38], r9
mov r8, rdi
inc r8
shr r14d, 0x1f
add r8, r12
mov qword [rsp + 0x78], rdi
mov r9d, r13d
mov qword [rsp + 0x58], r8
mov edx, edi
mov qword [rsp + 0x20], rax
neg r14d
call fcn.14011a0d0
test eax, eax
jne 0x14011b015
mov edx, esi
test edi, edi
jle 0x14011ab98
cmp edi, 8
jb 0x14011ab98
lea eax, [rdi - 1]
movsxd rcx, eax
lea r8, [rsp + 0x90]
add r8, rcx
lea rax, [rcx + rbx]
lea rcx, [rsp + 0x90]
cmp rcx, rax
ja 0x14011aa82
cmp r8, rbx
jae 0x14011ab98
cmp edi, 0x40
jb 0x14011ab40
mov ecx, edi
and ecx, 0x8000003f
jge 0x14011aa9c
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
sub eax, ecx
lea r8, [rsp + 0x90]
movsxd r11, eax
lea r9, [rsp + 0xa0]
sub r8, rbx
sub r9, rbx
lea rcx, [rbx + 0x20]
mov r10, 0xffffffffffffffe0
sub r10, rbx
nop word [rax + rax]
movdqu xmm0, xmmword [r8 + rcx - 0x20]
add edx, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
lea rax, [rcx + r10]
xorps xmm1, xmm0
movdqu xmmword [r8 + rcx - 0x60], xmm1
movdqu xmm0, xmmword [r9 + rcx - 0x60]
movdqu xmm1, xmmword [rcx - 0x50]
xorps xmm1, xmm0
movdqu xmmword [r9 + rcx - 0x60], xmm1
movdqu xmm0, xmmword [r8 + rcx - 0x40]
movdqu xmm1, xmmword [rcx - 0x40]
xorps xmm1, xmm0
movdqu xmmword [r8 + rcx - 0x40], xmm1
movdqu xmm0, xmmword [r9 + rcx - 0x40]
movdqu xmm1, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [r9 + rcx - 0x40], xmm1
cmp rax, r11
jl 0x14011aad0
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x14011ab98
mov ecx, edi
and ecx, 0x80000007
jge 0x14011ab51
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, edi
sub eax, ecx
movsxd r9, eax
mov r8, rbx
lea rax, [rsp + 0x90]
movsxd rcx, edx
sub r8, rax
nop dword [rax]
lea rax, [rsp + 0x90]
add edx, 8
add rax, rcx
add rcx, 8
movq xmm0, qword [rax]
movq xmm1, qword [r8 + rax]
xorps xmm1, xmm0
movq qword [rax], xmm1
cmp rcx, r9
jl 0x14011ab70
movsxd rdx, edx
cmp rdx, rdi
jge 0x14011abc9
lea rax, [rsp + 0x90]
sub rbx, rax
nop dword [rax + rax]
lea rcx, [rsp + 0x90]
add rcx, rdx
inc rdx
movzx eax, byte [rbx + rcx]
xor byte [rcx], al
cmp rdx, rdi
jl 0x14011abb0
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x90]
movsxd rbx, dword [rsp + 0x40]
mov r9d, edi
mov edx, r13d
mov qword [rsp + 0x20], rax
mov rcx, rbp
call fcn.14011a0d0
test eax, eax
jne 0x14011b013
mov r9, qword [rsp + 0x58]
mov edx, esi
test r13d, r13d
jle 0x14011ad23
cmp r13d, 8
jb 0x14011ad23
lea eax, [r13 - 1]
movsxd rcx, eax
lea rax, [rcx + r9]
lea r8, [rcx + rbp]
cmp rbp, rax
ja 0x14011ac2d
cmp r8, r9
jae 0x14011ad23
cmp r13d, 0x40
jb 0x14011acd8
mov ecx, r13d
and ecx, 0x8000003f
jge 0x14011ac49
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r13d
sub eax, ecx
mov r8, r9
movsxd r11, eax
sub r8, rbp
lea rcx, [rbp + 0x10]
mov r10, 0xfffffffffffffff0
sub r10, rbp
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [rcx + r8 - 0x10]
movdqu xmm2, xmmword [rcx + r8]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r10 + rcx]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + r8 - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + r8 - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r11
jl 0x14011ac70
mov eax, r13d
and al, 0x3f
cmp al, 8
jb 0x14011ad23
mov eax, r13d
and eax, 0x80000007
jge 0x14011ace9
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, r13d
sub ecx, eax
movsxd rax, edx
mov r8, r9
movsxd r10, ecx
sub r8, rbp
lea rcx, [rax + rbp]
nop
movq xmm0, qword [rcx]
add edx, 8
movq xmm1, qword [r8 + rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rbp
cmp rax, r10
jl 0x14011ad00
movsxd rax, edx
movsxd rcx, r13d
cmp rax, rcx
jge 0x14011ad51
sub r9, rbp
lea rdx, [rax + rbp]
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, byte [r9 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x14011ad40
mov rax, qword [rsp + 0x68]
lea r8, [rsp + 0xd0]
movsxd rdx, dword [rsp + 0x190]
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.14012daa0
test eax, eax
je 0x14011b013
mov r8, rdi
lea rdx, [rsp + 0xd0]
mov rcx, rbp
call fcn.1400012a0
movsxd rbx, r13d
mov r9d, esi
mov r11d, edi
mov r8, rdi
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and r14d, ecx
cmp rdi, rbx
jge 0x14011ae31
mov r10, rdi
mov r15d, esi
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r10 + rbp]
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 + 0x48], eax
not eax
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x48], eax
and ecx, r11d
mov eax, dword [rsp + 0x48]
inc r11d
and eax, r15d
mov r15d, ecx
or r15d, eax
lea eax, [r8 - 1]
shr eax, 0x1f
neg eax
or eax, r9d
and r14d, eax
cmp r10, rbx
jl 0x14011add0
mov dword [rsp + 0x44], r15d
mov r8, rdi
mov r15, qword [rsp + 0x70]
mov r11d, dword [rsp + 0x30]
mov r10d, r13d
sub r10d, dword [rsp + 0x44]
mov ecx, r11d
dec r10d
mov eax, r11d
sub ecx, r10d
mov dword [rsp + 0x48], r10d
xor ecx, r10d
xor eax, r10d
or ecx, eax
mov eax, r11d
xor ecx, r11d
shr ecx, 0x1f
dec ecx
and ecx, r9d
mov r9d, r13d
sub r9d, edi
and r14d, ecx
lea ebx, [r9 - 1]
xor eax, ebx
mov dword [rsp + 0x38], ebx
mov edx, ebx
sub edx, r11d
xor edx, r11d
or edx, eax
xor edx, ebx
shr edx, 0x1f
neg edx
mov dword [rsp + 0x30], edx
not edx
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x30], edx
mov edx, ebx
mov eax, dword [rsp + 0x30]
and edx, ecx
and r11d, eax
or edx, r11d
mov r11d, 1
mov dword [rsp + 0x30], edx
cmp ebx, r11d
jle 0x14011af6d
sub r9d, r10d
lea rdx, [r8 + 1]
mov qword [rsp + 0x60], rdx
lea r15d, [r9 - 1]
nop dword [rax + rax]
mov eax, r15d
and eax, r11d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, r13d
sub eax, r11d
dec ecx
movsxd r9, eax
cmp rdx, r9
jge 0x14011af4f
movzx ebx, cl
lea rax, [rdx + rbp]
mov r10d, ebx
movsxd rdi, r11d
sub r9, r8
not r10d
dec r9
nop dword [rax]
mov dword [rsp + 0x44], ebx
lea rax, [rax + 1]
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x44], r10d
mov edx, dword [rsp + 0x44]
movzx r8d, byte [rdi + rax - 1]
and r8b, cl
movzx ecx, byte [rax - 1]
and cl, dl
or r8b, cl
mov byte [rax - 1], r8b
sub r9, 1
jne 0x14011af10
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x78]
mov ebx, dword [rsp + 0x38]
add r11d, r11d
cmp r11d, ebx
jl 0x14011aed0
mov r15, qword [rsp + 0x70]
mov edi, dword [rsp + 0x4c]
mov r10d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x30]
test edx, edx
jle 0x14011afda
mov r11d, dword [rsp + 0x30]
mov r8d, r10d
movsxd r9, edi
shr r8d, 0x1f
sub r9, r15
add r9, rbp
nop word [rax + rax]
mov eax, esi
lea r15, [r15 + 1]
sub eax, r10d
inc esi
shr eax, 0x1f
xor al, r8b
or al, r8b
neg al
movzx ecx, al
movzx eax, r14b
and ecx, eax
mov dword [rsp + 0x38], ecx
not ecx
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x38]
movzx edx, byte [r9 + r15]
and dl, al
movzx eax, byte [r15 - 1]
and al, cl
or dl, al
mov byte [r15 - 1], dl
cmp esi, r11d
jl 0x14011af90
lea r9, str.crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0x107
mov edx, 0x99
mov ecx, 4
mov r8d, 0x79
call fcn.1400a41b0
mov ecx, r14d
and ecx, 1
call fcn.1400a44a0
movsxd rax, dword [rsp + 0x40]
mov rbx, rax
jmp 0x14011b01a
jmp 0x14011b01a
mov rbx, qword [rsp + 0x38]
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.140001240
mov rdx, qword [rsp + 0x80]
lea r8, str.crypto_rsa_rsa_oaep.c
mov r9d, 0x10b
mov rcx, rbp
call fcn.1400a30b0
mov r9d, 0x10c
lea r8, str.crypto_rsa_rsa_oaep.c
mov rdx, rbx
mov rcx, r12
call fcn.1400a30b0
mov dword [rsp + 0x38], r14d
not r14d
mov eax, dword [rsp + 0x38]
and eax, dword [rsp + 0x48]
mov dword [rsp + 0x38], r14d
mov ecx, dword [rsp + 0x38]
or eax, ecx
jmp 0x14011b0a5
lea r9, str.crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0x98
mov edx, 0x99
mov ecx, 4
mov r8d, 0x79
call fcn.1400a41b0
mov eax, r13d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140185590
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret