Function at 0x1401299f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
mov rax, r8
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
movabs r10, 0xf66bf57038b2c5ff
add r10, qword [0x1405129b0]
movabs r11, 0xb38e006b9f3e4f52
sub r9, r11
mov rsi, r9
xor rsi, r10
and r9, r10
lea r9, [rsi + r9*2]
add r9, r11
mov qword [rcx + 8], r9
mov r9, qword [rdx]
mov qword [rax + 8], r9
mov r9, qword [rdx]
cmp r9, r8
je 0x140129a64
mov r10d, 0xacb9b953
add r10d, dword [0x1405129b8]
cmp dword [rdx + 8], r10d
jne 0x140129a74
mov qword [r9 + 0x10], rax
mov rdx, qword [rdx]
cmp rdx, qword [r8 + 0x10]
jne 0x140129a85
lea rdx, [r8 + 0x10]
jmp 0x140129a82
mov qword [r8], rax
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], rax
mov rcx, rax
jmp 0x140129a9a
mov qword [r9], rax
mov r9, qword [rdx]
mov rdx, r8
cmp r9, qword [r8]
jne 0x140129a85
mov qword [rdx], rax
mov r9, qword [rax + 8]
movzx edx, byte [0x1405759c4]
add dl, byte [r9 + 0x18]
je 0x140129aa2
mov rcx, qword [r8 + 8]
mov byte [rcx + 0x18], 1
pop rbx
pop rdi
pop rsi
ret
lea r10, [rax + 8]
lea r11, [r9 + 0x18]
mov rdx, rax
jmp 0x140129ae5
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi], r9
cmove r11, rsi
mov qword [r11], r10
mov qword [r10], r9
mov qword [r9 + 8], r10
lea r10, [rdx + 8]
mov r9, qword [rdx + 8]
lea r11, [r9 + 0x18]
movzx ebx, byte [0x1405129bc]
add bl, 0x9b
cmp byte [r9 + 0x18], bl
jne 0x140129a96
mov rdi, qword [r9 + 8]
mov rsi, qword [rdi]
cmp r9, rsi
je 0x140129b50
cmp byte [rsi + 0x18], 0
je 0x140129bb0
mov r10, qword [r9]
cmp rdx, r10
jne 0x140129c02
mov rdx, qword [r10 + 0x10]
mov qword [r9], rdx
mov rdx, qword [r10 + 0x10]
cmp byte [rdx + 0x19], 0
jne 0x140129b1c
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 0x140129bf0
mov r11, qword [r9 + 8]
lea rdx, [r11 + 0x10]
cmp qword [r11 + 0x10], r9
cmovne rdx, r11
jmp 0x140129bf4
mov rsi, qword [rdi + 0x10]
cmp byte [rsi + 0x18], 0
je 0x140129bc5
mov r10, qword [r9 + 0x10]
cmp rdx, r10
jne 0x140129c68
mov rdx, qword [r10]
mov qword [r9 + 0x10], rdx
mov rdx, qword [r10]
movzx r11d, byte [0x1405129bc]
add r11b, 0x9b
cmp byte [rdx + 0x19], r11b
jne 0x140129b87
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 0x140129c57
mov r11, qword [r9 + 8]
lea rdx, [r11 + 0x10]
cmp qword [r11], r9
cmove rdx, r11
jmp 0x140129c5b
mov byte [r11], 1
mov byte [rsi + 0x18], 1
mov rdx, qword [r10]
mov rdx, qword [rdx + 8]
mov byte [rdx + 0x18], 0
jmp 0x140129be4
mov byte [r11], 1
mov byte [rsi + 0x18], 1
mov rdx, qword [r10]
mov rdx, qword [rdx + 8]
movzx r9d, byte [0x1405129bc]
add r9b, 0x9b
mov byte [rdx + 0x18], r9b
mov rdx, qword [r10]
mov rdx, qword [rdx + 8]
jmp 0x140129ac9
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]
mov byte [r9 + 0x18], 1
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 + 0x10]
mov r11, qword [r10]
mov qword [r9 + 0x10], r11
mov r11, qword [r10]
cmp byte [r11 + 0x19], 0
jne 0x140129c39
mov qword [r11 + 8], r9
mov r11, qword [r9 + 8]
mov qword [r10 + 8], r11
mov r11, qword [rcx]
cmp qword [r11 + 8], r9
jne 0x140129ab0
add r11, 8
jmp 0x140129abf
add rdx, 8
mov qword [rdx], r10
mov qword [r10], r9
mov qword [r9 + 8], r10
mov rdx, r9
mov r9, qword [rdx + 8]
mov byte [r9 + 0x18], 1
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]
movzx ebx, byte [0x1405759c5]
add bl, byte [r11 + 0x19]
jne 0x140129ca5
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 0x140129cc8
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi + 0x10], r9
cmovne r11, rsi
jmp 0x140129ccc
add r11, 8
mov qword [r11], r10
mov qword [r10 + 0x10], r9
jmp 0x140129ac5