Function at 0x1400393e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x10], 0
je 0x140039451
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x28]
call rax
cmp eax, 0
jne 0x140039430
mov dword [rsp + 0x74], 0
jmp 0x140039475
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x30], 0
jne 0x14003944c
mov dword [rsp + 0x74], 1
jmp 0x140039475
jmp 0x140039451
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xc0]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0xc8]
setae al
and al, 1
movzx eax, al
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
setne al
xor al, 0xff
test al, 1
jne 0x14003948c
jmp 0x1400396a6
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0xc0]
mov rcx, qword [rsp + 0x48]
cmp rax, qword [rcx + 0xc8]
jae 0x1400394dc
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + 0xc0]
mov rdx, rax
add rdx, 1
mov qword [rcx + 0xc0], rdx
mov al, byte [rax]
mov byte [rsp + 0x57], al
jmp 0x14003951f
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x30], 0
je 0x14003951a
mov rcx, qword [rsp + 0x48]
call fcn.140022e10
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + 0xc0]
mov rdx, rax
add rdx, 1
mov qword [rcx + 0xc0], rdx
mov al, byte [rax]
mov byte [rsp + 0x57], al
jmp 0x14003951f
mov byte [rsp + 0x57], 0
movzx eax, byte [rsp + 0x57]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xff
jne 0x1400396a1
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x10], 0
je 0x14003959e
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x28]
call rax
cmp eax, 0
jne 0x14003957d
mov dword [rsp + 0x64], 0
jmp 0x1400395c2
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x30], 0
jne 0x140039599
mov dword [rsp + 0x64], 1
jmp 0x1400395c2
jmp 0x14003959e
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0xc0]
mov rcx, qword [rsp + 0x58]
cmp rax, qword [rcx + 0xc8]
setae al
and al, 1
movzx eax, al
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1400395da
mov dword [rsp + 0x34], 0xff
jmp 0x1400396ae
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0xc0]
mov rcx, qword [rsp + 0x38]
cmp rax, qword [rcx + 0xc8]
jae 0x14003962a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 0xc0]
mov rdx, rax
add rdx, 1
mov qword [rcx + 0xc0], rdx
mov al, byte [rax]
mov byte [rsp + 0x47], al
jmp 0x14003966d
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x30], 0
je 0x140039668
mov rcx, qword [rsp + 0x38]
call fcn.140022e10
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 0xc0]
mov rdx, rax
add rdx, 1
mov qword [rcx + 0xc0], rdx
mov al, byte [rax]
mov byte [rsp + 0x47], al
jmp 0x14003966d
mov byte [rsp + 0x47], 0
movzx eax, byte [rsp + 0x47]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14003969c
cmp dword [rsp + 0x24], 0xff
je 0x14003969c
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x1400396ae
jmp 0x140039528
jmp 0x1400393e9
mov dword [rsp + 0x34], 0xff
mov eax, dword [rsp + 0x34]
add rsp, 0x78
ret