Function at 0x1402c3cf0
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.14035bd30
sub rsp, rax
mov rax, qword [0x140491ab8]
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 0x1402c3d8d
call fcn.14024da80
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.1401df250
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x30], ebp
jle 0x1402c448f
test ebx, ebx
jle 0x1402c448f
cmp r13d, ebx
jl 0x1402c4463
lea ecx, [rax*2 + 2]
cmp r13d, ecx
jl 0x1402c4463
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.1401d8b00
mov r15, rax
movsxd rax, r13d
mov qword [rsp + 0x78], rax
test r15, r15
jne 0x1402c3e38
call fcn.1401dcd70
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0xcf
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1401dce90
xor r8d, r8d
lea ecx, [r15 + 4]
mov edx, 0xc0100
call fcn.1401dcf90
jmp 0x1402c4400
mov r8d, 0xd3
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, rax
call fcn.1401d8b00
mov r14, rax
test rax, rax
jne 0x1402c3e88
call fcn.1401dcd70
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0xd5
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1401dce90
xor r8d, r8d
lea ecx, [r14 + 4]
mov edx, 0xc0100
call fcn.1401dcf90
jmp 0x1402c4400
movsxd rax, r13d
add rdi, rbx
add r14, rax
test r13d, r13d
jle 0x1402c3ece
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 0x1402c3ea0
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.1402c3aa0
test eax, eax
jne 0x1402c4400
mov r8d, dword [rsp + 0x38]
mov r10d, ebp
test r8d, r8d
jle 0x1402c400b
cmp r8d, 0x40
jb 0x1402c400b
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 0x1402c3f5c
cmp rdx, rbx
jae 0x1402c400b
mov ecx, r8d
and ecx, 0x8000003f
jge 0x1402c3f6e
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 0x1402c3fa0
movsxd rdx, r10d
cmp rdx, r13
jge 0x1402c4039
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 0x1402c4020
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.1402c3aa0
test eax, eax
jne 0x1402c4400
mov r8d, ebp
test ebx, ebx
jle 0x1402c4120
cmp ebx, 0x40
jb 0x1402c4120
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rdi]
lea rdx, [rcx + r15]
cmp r15, rax
ja 0x1402c4094
cmp rdx, rdi
jae 0x1402c4120
mov ecx, ebx
and ecx, 0x8000003f
jge 0x1402c40a5
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 0x1402c40c0
mov rbx, qword [rsp + 0x50]
movsxd rax, r8d
cmp rax, rbx
jge 0x1402c4150
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 0x1402c4140
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.1401e35e0
test eax, eax
je 0x1402c4405
mov r8, r13
lea rdx, [rsp + 0xc0]
mov rcx, r15
call fcn.1400012b0
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 0x1402c422a
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 0x1402c41d0
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 0x1402c4350
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 0x1402c4338
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 0x1402c4300
mov r8d, dword [rsp + 0x48]
lea rdx, [r13 + 1]
add r11d, r11d
cmp r11d, r12d
jl 0x1402c42c0
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 0x1402c43ca
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 0x1402c4370
call fcn.1401dcd70
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0x13a
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1401dce90
xor r8d, r8d
lea edx, [r8 + 0x79]
lea ecx, [rdx - 0x75]
call fcn.1401dcf90
mov ecx, esi
and ecx, 1
call fcn.1401d42c0
mov rbx, qword [rsp + 0x50]
mov edx, 0x40
lea rcx, [rsp + 0x80]
call fcn.140001240
mov r9d, 0x13f
lea r8, str.crypto_rsa_rsa_oaep.c
mov rdx, rbx
mov rcx, r15
call fcn.1401d8c40
mov rdx, qword [rsp + 0x78]
lea r8, str.crypto_rsa_rsa_oaep.c
mov r9d, 0x140
mov rcx, r14
call fcn.1401d8c40
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 0x1402c4492
call fcn.1401dcd70
lea r8, str.RSA_padding_check_PKCS1_OAEP_mgf1
mov edx, 0xc8
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1401dce90
xor r8d, r8d
lea edx, [r8 + 0x79]
lea ecx, [rdx - 0x75]
call fcn.1401dcf90
mov eax, r15d
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14035b0c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret