Function at 0x1801e58c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x78
mov rbp, rcx
lea rcx, [rsp + 0x38]
xor esi, esi
mov rbx, r9
mov r14, rdx
mov edi, esi
call fcn.1801704b0
mov rax, qword [rsp + 0xd0]
mov rcx, rbx
test rax, rax
cmove rax, rbx
mov qword [rsp + 0xd0], rax
call fcn.18016fcd0
movsxd r15, eax
test eax, eax
js 0x1801e5be6
mov ebx, dword [rsp + 0xd8]
cmp ebx, 0xffffffff
jne 0x1801e59b4
mov ebx, r15d
mov rcx, qword [rbp + 0x18]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0x70], r13
call fcn.180189ee0
mov rcx, rbp
lea r13d, [rax - 1]
call fcn.1801e44b0
mov r12d, eax
and r13d, 7
jne 0x1801e595e
mov byte [r14], sil
inc r14
dec r12d
cmp ebx, 0xfffffffe
jne 0x1801e59ed
mov ebx, r12d
sub ebx, r15d
sub ebx, 2
test ebx, ebx
jle 0x1801e5a2e
movsxd rbp, ebx
mov rcx, rbp
call fcn.180230da8
mov rdi, rax
test rax, rax
jne 0x1801e5a23
lea r9, str.Z:metasploit_payloadscmeterpreterdepslibresslcrypto_rsa_rsa_pss.c
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov edx, 0xfff
mov dword [rsp + 0x20], 0xeb
call fcn.1801727e0
jmp 0x1801e5bd9
cmp ebx, 0xfffffffe
jne 0x1801e59be
jmp 0x1801e592a
jge 0x1801e592a
lea r9, str.Z:metasploit_payloadscmeterpreterdepslibresslcrypto_rsa_rsa_pss.c
mov edx, 0xfff
mov ecx, 4
mov r8d, 0x88
mov dword [rsp + 0x20], 0xd8
call fcn.1801727e0
jmp 0x1801e5be6
lea eax, [r15 + 2]
add eax, ebx
cmp r12d, eax
jge 0x1801e5970
mov ecx, 4
lea r9, str.Z:metasploit_payloadscmeterpreterdepslibresslcrypto_rsa_rsa_pss.c
mov edx, 0xfff
lea r8d, [rcx + 0x6a]
mov dword [rsp + 0x20], 0xe5
call fcn.1801727e0
jmp 0x1801e5bd9
mov rdx, rbp
mov rcx, rax
call fcn.1801a3cb0
mov rdx, qword [rsp + 0xc8]
mov ebp, r12d
lea rcx, [rsp + 0x38]
sub ebp, r15d
xor r8d, r8d
lea eax, [rbp - 1]
cdqe
add rax, r14
mov qword [rsp + 0x30], rax
call fcn.18016ff60
test eax, eax
je 0x1801e5bd9
lea rdx, [0x180384a20]
lea rcx, [rsp + 0x38]
mov r8d, 8
call fcn.1801701a0
test eax, eax
je 0x1801e5bd9
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x38]
mov r8, r15
call fcn.1801701a0
test eax, eax
je 0x1801e5bd9
test ebx, ebx
je 0x1801e5ab6
lea rcx, [rsp + 0x38]
movsxd r8, ebx
mov rdx, rdi
call fcn.1801701a0
test eax, eax
je 0x1801e5bd9
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
xor r8d, r8d
call fcn.18016fe80
test eax, eax
je 0x1801e5bd9
mov rax, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x30]
lea edx, [rbp - 1]
mov r9d, r15d
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.1801e4b80
test eax, eax
jne 0x1801e5bd9
sub ebp, ebx
sub ebp, 2
movsxd rdx, ebp
add rdx, r14
inc rdx
xor byte [rdx - 1], 1
test ebx, ebx
jle 0x1801e5bb4
cmp ebx, 0x20
jb 0x1801e5b8a
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rdi]
lea r8, [rcx + rdx]
cmp rdx, rax
ja 0x1801e5b2f
cmp r8, rdi
jae 0x1801e5b8a
mov eax, ebx
and eax, 0x8000001f
jge 0x1801e5b3f
dec eax
or eax, 0xffffffe0
inc eax
mov r8d, ebx
sub r8d, eax
nop word [rax + rax]
movdqu xmm0, xmmword [rdx]
movsxd rax, esi
add rdx, 0x20
movdqu xmm1, xmmword [rax + rdi]
lea eax, [rsi + 0x10]
add esi, 0x20
movsxd rcx, eax
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
movdqu xmm0, xmmword [rdx - 0x10]
movdqu xmm1, xmmword [rcx + rdi]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x10], xmm1
cmp esi, r8d
jl 0x1801e5b50
movsxd r8, esi
movsxd r9, ebx
cmp r8, r9
jge 0x1801e5bb4
nop word [rax + rax]
movzx eax, byte [r8 + rdi]
inc r8
lea rdx, [rdx + 1]
xor byte [rdx - 1], al
cmp r8, r9
jl 0x1801e5ba0
test r13d, r13d
je 0x1801e5bcb
mov ecx, 8
mov eax, 0xff
sub ecx, r13d
sar eax, cl
and byte [r14], al
movsxd rax, r12d
mov esi, 1
mov byte [rax + r14 - 1], 0xbc
mov r12, qword [rsp + 0xb0]
mov r13, qword [rsp + 0x70]
mov rcx, rdi
call fcn.180230d68
lea rcx, [rsp + 0x38]
call fcn.1801701b0
mov eax, esi
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret