Function at 0x1402a4ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x78
call fcn.14036a3f0
sub rsp, rax
mov rax, qword [0x14041ae40]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x3c], 0
jge 0x1402a4b4b
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0xffffffff
jmp 0x1402a50c7
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
shl eax, 8
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
shl eax, 8
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rsp + 0x34]
mov dword [rsp + rax + 0x40], ecx
mov eax, 4
imul rax, rax, 1
mov ecx, dword [rsp + 0x30]
mov dword [rsp + rax + 0x40], ecx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
shr eax, 0x18
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
shr eax, 0x10
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
shr eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x30]
shr eax, 0x18
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x30]
shr eax, 0x10
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x30]
shr eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x30]
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x50], 0
je 0x1402a4f4b
cmp dword [rsp + 0x3c], 0
jne 0x1402a4ef2
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x40]
call fcn.1402a2ed0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x40]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
shr eax, 0x18
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x38]
shr eax, 0x10
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x38]
shr eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x38]
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x40]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
shr eax, 0x18
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x38]
shr eax, 0x10
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x38]
shr eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x38]
and eax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movsxd rcx, dword [rsp + 0x3c]
movzx ecx, byte [rsp + rcx + 0x58]
xor eax, ecx
mov rcx, qword [rsp + 0x88]
mov byte [rcx], al
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x3c]
inc eax
and eax, 7
mov dword [rsp + 0x3c], eax
jmp 0x1402a4d88
cmp dword [rsp + 0x4c], 0
je 0x1402a507f
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x40]
mov dword [rsp + 0x34], eax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x40]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
shr eax, 0x18
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
shr eax, 0x10
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
shr eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
shr eax, 0x18
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
shr eax, 0x10
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
shr eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, 4
imul rax, rax, 1
mov dword [rsp + rax + 0x40], 0
mov eax, 4
imul rax, rax, 0
mov dword [rsp + rax + 0x40], 0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14036a060
add rsp, 0x78
ret