Function at 0x1400f5f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x140521398]
xor rax, rsp
mov qword [rsp + 0x50], rax
inc qword [rcx + 8]
mov r8, qword [rcx]
mov rax, qword [rdx]
mov qword [rsi + 8], rax
mov rax, qword [rdx]
cmp rax, r8
je 0x1400f5ff4
mov rbx, rcx
mov ecx, dword [0x1405315b8]
add ecx, dword [rdx + 8]
add ecx, dword [0x1405315a0]
je 0x1400f6060
mov qword [rax], rsi
mov rcx, qword [rdx]
mov rax, r8
cmp rcx, qword [r8]
jne 0x1400f6074
jmp 0x1400f6071
mov qword [r8], rsi
lea rdx, [r8 + 8]
mov eax, dword [0x1404d4094]
mov ecx, dword [0x1404d3e94]
add eax, ecx
add eax, 0x9cb484fa
cdqe
add rax, qword [0x1404d40f8]
mov dword [rsp + 0x20], 0x5b0dd135
lea r9, [rsp + 0x48]
mov rcx, rsi
call qword [case.0x1401138cb.0]
mov rdx, qword [rsp + 0x48]
mov eax, dword [0x1404d407c]
sub eax, dword [0x1404d3e94]
add eax, 0x634d4db2
cdqe
add rax, qword [0x1404d40c0]
mov rcx, rsi
mov r8d, 0x781e3f86
call qword [case.0x1401138cb.0]
mov rcx, rsi
jmp 0x1400f6097
mov qword [rax + 0x10], rsi
mov rax, qword [rdx]
cmp rax, qword [r8 + 0x10]
jne 0x1400f6074
lea rax, [r8 + 0x10]
mov qword [rax], rsi
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rsi
mov r13, qword [rsi + 8]
cmp byte [r13 + 0x18], 0
je 0x1400f60f0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 8]
mov rsi, qword [rsp + 0x30]
add rcx, 0x18
mov eax, 0xe956
add eax, dword [0x1404d4064]
cdqe
add rax, qword [0x1404d4148]
mov edx, dword [0x1404d3e94]
mov r8d, edx
xor r8d, 0x89727121
and edx, 0x9727121
lea edx, [r8 + rdx*2]
call qword [case.0x1401138cb.0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1403bbdf0
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsp + 0x30]
lea rax, [r12 + 8]
lea rcx, [r13 + 0x18]
mov edi, 0xe956
lea r15, [rsp + 0x48]
jmp 0x1400f616e
mov qword [r14], rsi
mov eax, dword [0x1404d4074]
add eax, edi
cdqe
add rax, qword [0x1404d40b0]
mov rcx, r13
mov rdx, rbp
mov r8d, 0x4d754bfa
call qword [case.0x1401138cb.0]
mov qword [r13 + 8], rsi
mov eax, dword [0x1404d4090]
add eax, edi
cdqe
add rax, qword [0x1404d40f0]
mov rcx, r12
mov rdx, r15
mov r8d, 0x6046ccb2
call qword [case.0x1401138cb.0]
mov rax, qword [rsp + 0x48]
mov r13, qword [rax]
lea rcx, [r13 + 0x18]
cmp byte [r13 + 0x18], 0
jne 0x1400f6089
mov r8, qword [r13 + 8]
mov rdx, qword [r8]
cmp r13, rdx
je 0x1400f6350
cmp byte [rdx + 0x18], 0
je 0x1400f6390
mov rbp, qword [r13]
mov eax, dword [0x1404d4050]
mov ecx, dword [0x1404d3e94]
add eax, ecx
add eax, 0x9cb484fa
cdqe
add rax, qword [0x1404d40c8]
mov rcx, r12
mov rdx, rbp
mov r8d, 0x55d763bf
call qword [case.0x1401138cb.0]
test al, 1
je 0x1400f629e
lea rcx, [rbp + 0x10]
mov rax, qword [rbp + 0x10]
mov qword [r13], rax
mov eax, dword [0x1404d409c]
add eax, edi
cdqe
add rax, qword [0x1404d4120]
mov r8d, dword [0x1404d3e94]
mov edx, 0x6dbe12da
add r8d, edx
mov rdx, r15
call qword [case.0x1401138cb.0]
mov rsi, qword [rsp + 0x48]
lea rcx, [rsi + 0x19]
mov eax, dword [0x1404d405c]
add eax, edi
cdqe
add rax, qword [0x1404d4110]
mov edx, 0xcd3dbda
call qword [case.0x1401138cb.0]
test al, 1
je 0x1400f6224
mov qword [rsi + 8], r13
mov rcx, qword [r13 + 8]
lea rdx, [rbp + 8]
mov eax, dword [0x1404d40a0]
add eax, edi
cdqe
add rax, qword [0x1404d4108]
mov dword [rsp + 0x20], 0x225c58a0
mov r8, rbx
mov r9, r15
call qword [case.0x1401138cb.0]
mov rcx, qword [rsp + 0x48]
mov eax, dword [0x1404d4058]
add eax, edi
cdqe
add rax, qword [0x1404d4150]
mov rdx, r15
mov r8d, 0x95ca6a29
call qword [case.0x1401138cb.0]
mov rax, qword [rsp + 0x48]
cmp qword [rax], r13
je 0x1400f6290
mov rcx, qword [r13 + 8]
lea rax, [rcx + 0x10]
cmp qword [rcx + 0x10], r13
cmovne rax, rcx
mov qword [rax], rbp
mov qword [rbp + 0x10], r13
mov qword [r13 + 8], rbp
mov r12, r13
mov eax, dword [0x1404d4098]
mov ecx, dword [0x1404d3e94]
add eax, ecx
add eax, 0x9cb484fa
cdqe
add rax, qword [0x1404d4138]
mov rcx, r12
mov rdx, r15
mov r8d, 0xe2d5ffc5
call qword [case.0x1401138cb.0]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rcx, qword [rax]
mov rcx, qword [rcx + 8]
mov byte [rcx + 0x18], 0
mov rax, qword [rax]
mov r13, qword [rax + 8]
mov rsi, qword [r13 + 0x10]
mov rax, qword [rsi]
mov qword [r13 + 0x10], rax
mov rax, qword [rsi]
cmp byte [rax + 0x19], 0
jne 0x1400f6302
mov qword [rax + 8], r13
mov rax, qword [r13 + 8]
mov qword [rsi + 8], rax
mov rax, qword [rbx]
cmp qword [rax + 8], r13
je 0x1400f6425
mov r8, qword [r13 + 8]
mov rcx, qword [r8]
mov eax, dword [0x1404d4080]
add eax, edi
cdqe
add rax, qword [0x1404d4118]
mov dword [rsp + 0x20], 0x28dca7c9
mov rdx, r13
mov r9, r15
call qword [case.0x1401138cb.0]
mov rax, qword [rsp + 0x48]
jmp 0x1400f6429
mov rdx, qword [r8 + 0x10]
movzx r8d, byte [0x1404d3e90]
add r8b, 0xab
cmp byte [rdx + 0x18], r8b
jne 0x1400f63ae
mov byte [rcx], 1
mov byte [rdx + 0x18], 1
mov rcx, qword [rax]
mov rcx, qword [rcx + 8]
movzx edx, byte [0x1404d3e90]
add dl, 0xab
mov byte [rcx + 0x18], dl
jmp 0x1400f63a2
mov byte [rcx], 1
mov byte [rdx + 0x18], 1
mov rcx, qword [rax]
mov rcx, qword [rcx + 8]
mov byte [rcx + 0x18], 0
mov rax, qword [rax]
mov r12, qword [rax + 8]
jmp 0x1400f6134
mov rsi, qword [r13 + 0x10]
cmp r12, rsi
jne 0x1400f6450
mov rax, qword [rsi]
mov qword [r13 + 0x10], rax
mov rax, qword [rsi]
movzx ecx, byte [0x1404d3e90]
add cl, 0xab
cmp byte [rax + 0x19], cl
jne 0x1400f63d8
mov qword [rax + 8], r13
mov rax, qword [r13 + 8]
mov qword [rsi + 8], rax
mov r14, qword [rbx]
mov rcx, qword [r14 + 8]
mov eax, dword [0x1404d406c]
add eax, edi
cdqe
add rax, qword [0x1404d4140]
mov edx, dword [0x1404d3e94]
mov r8d, edx
xor r8d, 0x41731307
and edx, 0x41731307
lea r8d, [r8 + rdx*2]
mov rdx, r13
call qword [case.0x1401138cb.0]
test al, 1
je 0x1400f6434
add r14, 8
jmp 0x1400f6443
add rax, 8
mov qword [rax], rsi
mov qword [rsi], r13
jmp 0x1400f6130
mov rax, qword [r13 + 8]
lea r14, [rax + 0x10]
cmp qword [rax], r13
cmove r14, rax
mov qword [r14], rsi
mov qword [rsi], r13
mov qword [r13 + 8], rsi
mov r12, r13
mov eax, dword [0x1404d4060]
add eax, edi
cdqe
add rax, qword [0x1404d40b8]
mov rcx, r12
lea rdx, [rsp + 0x40]
mov r8, r15
mov r9d, 0x59624cd0
call qword [case.0x1401138cb.0]
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
movzx ecx, byte [0x1404d3e90]
add cl, 0xac
mov byte [rax + 0x18], cl
mov rcx, qword [rsi]
add rcx, 8
mov eax, dword [0x1404d4084]
sub eax, dword [0x1404d3e94]
add eax, 0x634d4db2
cdqe
add rax, qword [0x1404d40e8]
mov rdx, r15
mov r8d, 0xd6b0622b
call qword [case.0x1401138cb.0]
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
mov rcx, qword [rsi]
mov eax, dword [0x1404d4068]
add eax, edi
cdqe
add rax, qword [0x1404d4128]
mov rdx, r15
mov r8d, 0xb54d707d
call qword [case.0x1401138cb.0]
mov rax, qword [rsp + 0x48]
mov r13, qword [rax]
mov rsi, qword [r13]
mov rax, qword [rsi + 0x10]
mov qword [r13], rax
mov rbp, qword [rsi + 0x10]
mov eax, dword [0x1404d4070]
mov r8d, dword [0x1404d3e94]
add eax, r8d
add eax, 0x9cb484fa
cdqe
add rax, qword [0x1404d40d8]
add r8d, 0xe25206aa
mov rcx, rbp
mov rdx, r15
call qword [case.0x1401138cb.0]
mov rax, qword [rsp + 0x48]
cmp byte [rax], 0
jne 0x1400f656d
add rbp, 8
mov eax, dword [0x1404d408c]
add eax, edi
cdqe
add rax, qword [0x1404d40d0]
mov r8d, dword [0x1404d3e94]
mov ecx, 0x37bc4bb1
add r8d, ecx
mov rcx, r13
mov rdx, rbp
call qword [case.0x1401138cb.0]
lea rbp, [rsi + 0x10]
mov rax, qword [r13 + 8]
mov qword [rsi + 8], rax
mov rcx, qword [rbx]
mov eax, dword [0x1404d4078]
add eax, edi
cdqe
add rax, qword [0x1404d40e0]
mov rdx, r15
mov r8d, 0xa028f22
call qword [case.0x1401138cb.0]
mov r14, qword [rsp + 0x48]
mov eax, dword [0x1404d4054]
add eax, edi
cdqe
add rax, qword [0x1404d4100]
mov rcx, r14
mov rdx, r13
mov r8d, 0x56cbde5e
call qword [case.0x1401138cb.0]
test al, 1
jne 0x1400f610a
mov r9, qword [r13 + 8]
lea r8, [r9 + 0x10]
mov rcx, qword [r9 + 0x10]
mov eax, dword [0x1404d4088]
add eax, edi
cdqe
add rax, qword [0x1404d4130]
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 0x82b6f1bd
mov rdx, r13
call qword [case.0x1401138cb.0]
mov r14, qword [rsp + 0x48]
jmp 0x1400f610a