Function at 0x1401443c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
movsxd rdi, dword [rsp + 0x140]
mov qword [rsp + 0x120], rcx
mov r15, r8
mov ebx, r9d
mov dword [rsp + 0x128], edx
call fcn.1400c3ca0
mov rcx, rax
mov rbp, rax
call fcn.1400c5b40
mov esi, eax
mov eax, dword [rsp + 0x128]
test eax, eax
jle 0x140144441
test ebx, ebx
jle 0x140144441
cmp ebx, edi
jg 0x14014441d
lea eax, [rsi + rsi + 2]
cmp edi, eax
jge 0x140144460
mov r8d, 0x79
mov edx, 0xa1
mov ecx, 4
mov dword [rsp + 0x20], 0xe9
lea r9, str.rsa_oaep.c
call fcn.1400ba710
mov r15d, 0xffffffff
mov eax, r15d
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, edi
mov r8d, 0x97
lea rdx, str.rsa_oaep.c
sub eax, esi
lea r14d, [rax - 1]
mov dword [rsp + 0x38], eax
mov ecx, r14d
call fcn.14006d260
mov r8d, 0x98
lea rdx, str.rsa_oaep.c
mov ecx, edi
mov r12, rax
call fcn.14006d260
mov r13, rax
test r12, r12
je 0x140144950
test rax, rax
je 0x140144950
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
movsxd r8, ebx
mov rdx, r15
movsxd rbx, esi
sub rdi, r8
lea r15, [rsp + 0x50]
lea rcx, [r13 + rdi]
lea rdi, [rbx + 1]
call sub.msvcrt.dll_memcpy
movzx eax, byte [r13]
mov r9d, r14d
mov edx, esi
mov qword [rsp + 0x20], rbp
lea r11, [r13 + rdi]
mov rcx, r15
mov r8, r11
mov byte [rsp + 0x4f], al
mov qword [rsp + 0x40], r11
call fcn.140142f10
test eax, eax
jne 0x140144928
test esi, esi
mov r11, qword [rsp + 0x40]
jle 0x140144700
lea rax, [r13 + 0x11]
lea rdx, [r13 + 1]
cmp r15, rax
lea rax, [rsp + 0x60]
lea ecx, [rsi - 1]
setae r8b
cmp rdx, rax
setae al
or r8b, al
je 0x140144a90
cmp ecx, 0xe
jbe 0x140144a90
movdqu xmm0, xmmword [r13 + 1]
mov eax, esi
pxor xmm0, xmmword [rsp + 0x50]
shr eax, 4
movaps xmmword [rsp + 0x50], xmm0
cmp eax, 1
je 0x1401445a3
movdqu xmm0, xmmword [r13 + 0x11]
pxor xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
cmp eax, 2
je 0x1401445a3
movdqu xmm0, xmmword [r13 + 0x21]
pxor xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
cmp eax, 3
je 0x1401445a3
movdqu xmm0, xmmword [r13 + 0x31]
pxor xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x80], xmm0
mov eax, esi
and eax, 0xfffffff0
test sil, 0xf
je 0x140144700
movsxd rdx, eax
mov ecx, eax
movzx ecx, byte [r13 + rcx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 1]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 2]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 3]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 4]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 5]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 6]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 7]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 8]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 9]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 0xa]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 0xb]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 0xc]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
lea edx, [rax + 0xd]
cmp esi, edx
jle 0x140144700
movsxd rdx, edx
add eax, 0xe
movzx ecx, byte [r13 + rdx + 1]
xor byte [rsp + rdx + 0x50], cl
cmp esi, eax
jle 0x140144700
cdqe
movzx edx, byte [r13 + rax + 1]
xor byte [rsp + rax + 0x50], dl
nop dword [rax + rax]
mov qword [rsp + 0x20], rbp
mov r8, r15
mov r9d, esi
mov edx, r14d
mov rcx, r12
mov qword [rsp + 0x40], r11
call fcn.140142f10
mov r15d, eax
test eax, eax
jne 0x140144928
test r14d, r14d
jle 0x1401448e8
mov eax, dword [rsp + 0x38]
lea rdx, [r13 + rbx + 0x11]
mov r11, qword [rsp + 0x40]
sub eax, 2
cmp r12, rdx
lea rdx, [r12 + 0x10]
setae cl
cmp r11, rdx
setae dl
or cl, dl
je 0x140144ac0
cmp eax, 0xe
jbe 0x140144ac0
mov edx, r14d
xor eax, eax
shr edx, 4
shl rdx, 4
nop
movdqu xmm0, xmmword [r11 + rax]
movdqu xmm1, xmmword [r12 + rax]
pxor xmm0, xmm1
movups xmmword [r12 + rax], xmm0
add rax, 0x10
cmp rax, rdx
jne 0x140144770
mov eax, r14d
and eax, 0xfffffff0
test r14b, 0xf
je 0x1401448e8
movsxd rdx, eax
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 1]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 2]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 3]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 4]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 5]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 6]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 7]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 8]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 9]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 0xa]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 0xb]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 0xc]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
lea edx, [rax + 0xd]
cmp r14d, edx
jle 0x1401448e8
movsxd rdx, edx
add eax, 0xe
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
cmp r14d, eax
jle 0x1401448e8
cdqe
movzx edx, byte [r11 + rax]
xor byte [r12 + rax], dl
nop dword [rax]
mov qword [rsp + 0x20], rbp
lea r11, [rsp + 0x90]
xor r9d, r9d
movsxd rdx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
mov r8, r11
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x28], 0
call fcn.1400bc350
test eax, eax
jne 0x140144988
nop word [rax + rax]
mov r15d, 0xffffffff
mov rcx, r12
call fcn.14006d560
test r13, r13
je 0x140144447
mov rcx, r13
call fcn.14006d560
jmp 0x140144447
mov r8d, 0x41
mov edx, 0xa1
mov ecx, 4
mov dword [rsp + 0x20], 0x9a
lea r9, str.rsa_oaep.c
call fcn.1400ba710
test r12, r12
jne 0x140144928
mov r15d, 0xffffffff
jmp 0x140144936
mov r11, qword [rsp + 0x38]
movzx ebp, byte [rsp + 0x4f]
mov r8, rbx
mov rcx, r12
mov rdx, r11
call fcn.14006cd10
mov edx, ebp
sub ebp, 1
not edx
and ebp, edx
mov edx, eax
sub eax, 1
not edx
and eax, edx
and eax, ebp
mov edx, eax
sar edx, 0x1f
cmp esi, r14d
jge 0x140144a5f
xor ecx, ecx
jmp 0x1401449d4
add rdi, 1
movzx r8d, byte [r12 + rbx]
xor ebx, r15d
mov eax, r8d
xor eax, 1
movzx eax, al
mov r9d, eax
sub eax, 1
not r9d
and eax, r9d
mov r9d, ecx
not r9d
sar eax, 0x1f
and ebx, r9d
or ecx, eax
and ebx, eax
mov eax, r8d
sub r8d, 1
not eax
xor r15d, ebx
mov rbx, rdi
and eax, r8d
sar eax, 0x1f
or eax, ecx
and edx, eax
cmp r14d, edi
jg 0x1401449d0
test ecx, edx
je 0x140144a5f
lea eax, [r15 + 1]
sub r14d, eax
mov r15d, r14d
cmp dword [rsp + 0x128], r14d
jge 0x140144ae8
mov r8d, 0x6d
mov edx, 0xa1
mov ecx, 4
mov dword [rsp + 0x20], 0xdd
lea r9, str.rsa_oaep.c
call fcn.1400ba710
mov r8d, 0x79
mov edx, 0xa1
mov ecx, 4
mov dword [rsp + 0x20], 0xe9
lea r9, str.rsa_oaep.c
call fcn.1400ba710
jmp 0x140144928
mov rax, r15
lea r8, [rsp + rcx + 0x51]
nop dword [rax + rax]
movzx ecx, byte [rdx]
xor byte [rax], cl
add rax, 1
add rdx, 1
cmp rax, r8
jne 0x140144aa0
jmp 0x140144700
xor edx, edx
nop word [rax + rax]
movzx ecx, byte [r11 + rdx]
xor byte [r12 + rdx], cl
mov rcx, rdx
add rdx, 1
cmp rcx, rax
jne 0x140144ac8
jmp 0x1401448e8
mov rcx, qword [rsp + 0x120]
cdqe
movsxd r8, r14d
lea rdx, [r12 + rax]
call sub.msvcrt.dll_memcpy
jmp 0x14014492e