Function at 0x140164080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
mov rax, r8
movabs r8, 0x70aa9a625287db77
mov r9, qword [rcx + 8]
add r9, r8
movabs r10, 0x5b6f4a0878cf64b2
sub r9, r10
movabs r11, 0x751a6c7bd0b125a9
sub r9, r11
add r9, r10
movabs r10, 0x213f074d003471bf
sub r9, r10
sub r9, r8
add r9, r10
movabs r8, 0xb3b5bfb6ee6caffc
sub r9, r8
add r9, r11
inc r9
movabs r10, 0xf3a2523f7bdc67b8
add r8, r10
add r8, r9
sub r8, r10
mov qword [rcx + 8], r8
mov r8, qword [rcx]
mov r9, qword [rdx]
mov qword [rax + 8], r9
mov r9, qword [rdx]
cmp r9, r8
je 0x14016411f
mov r10d, dword [rdx + 8]
add r10d, dword [0x1406126ec]
je 0x14016412f
mov qword [r9], rax
mov r9, qword [rdx]
mov rdx, r8
cmp r9, qword [r8]
jne 0x140164143
jmp 0x140164140
mov qword [r8], rax
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], rax
mov rcx, rax
jmp 0x140164152
mov qword [r9 + 0x10], rax
mov rdx, qword [rdx]
cmp rdx, qword [r8 + 0x10]
jne 0x140164143
lea rdx, [r8 + 0x10]
mov qword [rdx], rax
mov r9, qword [rax + 8]
cmp byte [r9 + 0x18], 0
je 0x140164159
mov rcx, qword [r8 + 8]
mov byte [rcx + 0x18], 1
pop rdi
pop rsi
ret
lea r10, [rax + 8]
lea r11, [r9 + 0x18]
mov rdx, rax
jmp 0x1401641a9
mov byte [r11], 1
mov byte [rsi + 0x18], 1
mov rdx, qword [r10]
mov rdx, qword [rdx + 8]
movzx r9d, byte [0x1405a2d70]
add r9b, 0x58
mov byte [rdx + 0x18], r9b
mov rdx, qword [r10]
mov rdx, qword [rdx + 8]
lea r10, [rdx + 8]
mov r9, qword [rdx + 8]
lea r11, [r9 + 0x18]
cmp byte [r9 + 0x18], 0
jne 0x14016414e
mov rdi, qword [r9 + 8]
mov rsi, qword [rdi]
cmp r9, rsi
je 0x140164200
cmp byte [rsi + 0x18], 0
je 0x140164170
mov r10, qword [r9]
cmp rdx, r10
jne 0x14016426a
mov rdx, qword [r10 + 0x10]
mov qword [r9], rdx
mov rdx, qword [r10 + 0x10]
cmp byte [rdx + 0x19], 0
jne 0x1401641dc
mov qword [rdx + 8], r9
mov rdx, qword [r9 + 8]
mov qword [r10 + 8], rdx
mov rdx, qword [rcx]
cmp qword [rdx + 8], r9
je 0x140164258
mov r11, qword [r9 + 8]
lea rdx, [r11 + 0x10]
cmp qword [r11 + 0x10], r9
cmovne rdx, r11
jmp 0x14016425c
mov rsi, qword [rdi + 0x10]
cmp byte [rsi + 0x18], 0
je 0x140164170
mov r10, qword [r9 + 0x10]
cmp rdx, r10
jne 0x14016430d
mov rdx, qword [r10]
mov qword [r9 + 0x10], rdx
mov rdx, qword [r10]
cmp byte [rdx + 0x19], 0
jne 0x14016422f
mov qword [rdx + 8], r9
mov rdx, qword [r9 + 8]
mov qword [r10 + 8], rdx
mov rdx, qword [rcx]
cmp qword [rdx + 8], r9
je 0x1401642fc
mov r11, qword [r9 + 8]
lea rdx, [r11 + 0x10]
cmp qword [r11], r9
cmove rdx, r11
jmp 0x140164300
add rdx, 8
mov qword [rdx], r10
mov qword [r10 + 0x10], r9
mov qword [r9 + 8], r10
mov rdx, r9
mov r9, qword [rdx + 8]
movzx r10d, byte [0x1405a2d70]
add r10b, 0x59
mov byte [r9 + 0x18], r10b
mov r9, qword [rdx + 8]
mov r9, qword [r9 + 8]
movzx r10d, byte [0x1405a2d70]
mov r11d, r10d
xor r11b, 0x58
and r10b, 0x58
add r10b, r10b
add r10b, r11b
mov byte [r9 + 0x18], r10b
mov r9, qword [rdx + 8]
mov r9, qword [r9 + 8]
mov r10, qword [r9 + 0x10]
mov r11, qword [r10]
mov qword [r9 + 0x10], r11
mov r11, qword [r10]
cmp byte [r11 + 0x19], 0
jne 0x1401642c4
mov qword [r11 + 8], r9
mov r11, qword [r9 + 8]
mov qword [r10 + 8], r11
mov rsi, qword [rcx]
lea r11, [rsi + 8]
cmp byte [0x1406126d0], 0
jne 0x1401642f1
cmp qword [rsi + 8], r9
je 0x1401642f1
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi], r9
cmove r11, rsi
mov qword [r11], r10
mov qword [r10], r9
jmp 0x14016437d
add rdx, 8
mov qword [rdx], r10
mov qword [r10], r9
mov qword [r9 + 8], r10
mov rdx, r9
mov r9, qword [rdx + 8]
movzx r10d, byte [0x1405a2d70]
add r10b, 0x59
mov byte [r9 + 0x18], r10b
mov r9, qword [rdx + 8]
mov r9, qword [r9 + 8]
mov byte [r9 + 0x18], 0
mov r9, qword [rdx + 8]
mov r9, qword [r9 + 8]
mov r10, qword [r9]
mov r11, qword [r10 + 0x10]
mov qword [r9], r11
mov r11, qword [r10 + 0x10]
cmp byte [r11 + 0x19], 0
jne 0x14016434f
mov qword [r11 + 8], r9
mov r11, qword [r9 + 8]
mov qword [r10 + 8], r11
mov r11, qword [rcx]
cmp qword [r11 + 8], r9
je 0x140164372
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi + 0x10], r9
cmovne r11, rsi
jmp 0x140164376
add r11, 8
mov qword [r11], r10
mov qword [r10 + 0x10], r9
mov qword [r9 + 8], r10
jmp 0x140164196