Function at 0x208fa1ecc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rdx
mov dword [rbp + 0xf0], r8d
mov qword [rbp + 0xf8], r9
mov ecx, dword [rbp + 0xf0]
mov rax, qword [rbp + 0xe0]
lea rdx, [rax + 0x94]
mov rax, qword [rbp + 0xe8]
mov r8, rcx
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x208fa2177
mov dword [rbp + 0xbc], 0
jmp 0x208fa1f4c
mov eax, dword [rbp + 0xbc]
mov edx, eax
mov eax, dword [rbp + 0xbc]
mov byte [rbp + rax - 0x60], dl
add dword [rbp + 0xbc], 1
cmp dword [rbp + 0xbc], 0xff
jbe 0x208fa1f33
mov dword [rbp + 0xb8], 0
mov dword [rbp + 0xbc], 0
jmp 0x208fa1ff4
mov eax, dword [rbp + 0xbc]
movzx eax, byte [rbp + rax - 0x60]
movzx eax, al
mov dword [rbp + 0xac], eax
mov edx, dword [rbp + 0xac]
mov eax, dword [rbp + 0xb8]
lea ecx, [rdx + rax]
mov eax, dword [rbp + 0xbc]
mov edx, 0
div dword [rbp + 0xf0]
mov eax, edx
mov edx, eax
mov rax, qword [rbp + 0xe8]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, ecx
and eax, 0xff
mov dword [rbp + 0xb8], eax
mov eax, dword [rbp + 0xb8]
movzx edx, byte [rbp + rax - 0x60]
mov eax, dword [rbp + 0xbc]
mov byte [rbp + rax - 0x60], dl
mov eax, dword [rbp + 0xac]
mov edx, eax
mov eax, dword [rbp + 0xb8]
mov byte [rbp + rax - 0x60], dl
add dword [rbp + 0xbc], 1
cmp dword [rbp + 0xbc], 0xff
jbe 0x208fa1f71
mov edx, dword [rbp + 0xf0]
mov rax, qword [rbp + 0xe0]
lea rcx, [rax + 0x94]
mov rax, qword [rbp + 0xe8]
mov r8, rdx
mov rdx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rbp + 0xe0]
add rax, 0xa4
mov rcx, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x58]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x48]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rbx
mov rcx, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x28]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rbx
mov rcx, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
mov qword [rax + 0x40], rcx
mov qword [rax + 0x48], rbx
mov rcx, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
mov qword [rax + 0x50], rcx
mov qword [rax + 0x58], rbx
mov rcx, qword [rbp]
mov rbx, qword [rbp + 8]
mov qword [rax + 0x60], rcx
mov qword [rax + 0x68], rbx
mov rcx, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x18]
mov qword [rax + 0x70], rcx
mov qword [rax + 0x78], rbx
mov rcx, qword [rbp + 0x20]
mov rbx, qword [rbp + 0x28]
mov qword [rax + 0x80], rcx
mov qword [rax + 0x88], rbx
mov rcx, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x38]
mov qword [rax + 0x90], rcx
mov qword [rax + 0x98], rbx
mov rcx, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x48]
mov qword [rax + 0xa0], rcx
mov qword [rax + 0xa8], rbx
mov rcx, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x58]
mov qword [rax + 0xb0], rcx
mov qword [rax + 0xb8], rbx
mov rcx, qword [rbp + 0x60]
mov rbx, qword [rbp + 0x68]
mov qword [rax + 0xc0], rcx
mov qword [rax + 0xc8], rbx
mov rcx, qword [rbp + 0x70]
mov rbx, qword [rbp + 0x78]
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rbx
mov rcx, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x88]
mov qword [rax + 0xe0], rcx
mov qword [rax + 0xe8], rbx
mov rcx, qword [rbp + 0x90]
mov rbx, qword [rbp + 0x98]
mov qword [rax + 0xf0], rcx
mov qword [rax + 0xf8], rbx
jmp 0x208fa22bf
mov rax, qword [rbp + 0xe0]
add rax, 0xa4
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rbx
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 0x18]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rbx
mov rcx, qword [rax + 0x20]
mov rbx, qword [rax + 0x28]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rbx
mov rcx, qword [rax + 0x30]
mov rbx, qword [rax + 0x38]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rbx
mov rcx, qword [rax + 0x40]
mov rbx, qword [rax + 0x48]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rbx
mov rcx, qword [rax + 0x50]
mov rbx, qword [rax + 0x58]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rbx
mov rcx, qword [rax + 0x60]
mov rbx, qword [rax + 0x68]
mov qword [rbp], rcx
mov qword [rbp + 8], rbx
mov rcx, qword [rax + 0x70]
mov rbx, qword [rax + 0x78]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rbx
mov rcx, qword [rax + 0x80]
mov rbx, qword [rax + 0x88]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rbx
mov rcx, qword [rax + 0x90]
mov rbx, qword [rax + 0x98]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rbx
mov rcx, qword [rax + 0xa0]
mov rbx, qword [rax + 0xa8]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rbx
mov rcx, qword [rax + 0xb0]
mov rbx, qword [rax + 0xb8]
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rbx
mov rcx, qword [rax + 0xc0]
mov rbx, qword [rax + 0xc8]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rbx
mov rcx, qword [rax + 0xd0]
mov rbx, qword [rax + 0xd8]
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rbx
mov rcx, qword [rax + 0xe0]
mov rbx, qword [rax + 0xe8]
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rbx
mov rdx, qword [rax + 0xf8]
mov rax, qword [rax + 0xf0]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
mov dword [rbp + 0xb4], 0
mov dword [rbp + 0xb0], 0
mov dword [rbp + 0xbc], 0
jmp 0x208fa23c4
mov eax, dword [rbp + 0xb4]
lea edx, [rax + 1]
mov eax, edx
sar eax, 0x1f
shr eax, 0x18
add edx, eax
movzx edx, dl
sub edx, eax
mov dword [rbp + 0xb4], edx
mov eax, dword [rbp + 0xb4]
cdqe
movzx eax, byte [rbp + rax - 0x60]
movzx eax, al
mov dword [rbp + 0xac], eax
mov edx, dword [rbp + 0xb0]
mov eax, dword [rbp + 0xac]
add edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x18
add edx, eax
movzx edx, dl
sub edx, eax
mov dword [rbp + 0xb0], edx
mov eax, dword [rbp + 0xb0]
cdqe
movzx edx, byte [rbp + rax - 0x60]
mov eax, dword [rbp + 0xb4]
cdqe
mov byte [rbp + rax - 0x60], dl
mov eax, dword [rbp + 0xac]
mov edx, eax
mov eax, dword [rbp + 0xb0]
cdqe
mov byte [rbp + rax - 0x60], dl
mov eax, dword [rbp + 0xb4]
cdqe
movzx edx, byte [rbp + rax - 0x60]
mov eax, dword [rbp + 0xb0]
cdqe
movzx eax, byte [rbp + rax - 0x60]
add eax, edx
movzx eax, al
cdqe
movzx eax, byte [rbp + rax - 0x60]
mov byte [rbp + 0xab], al
mov edx, dword [rbp + 0xbc]
mov rax, qword [rbp + 0xf8]
add rax, rdx
movzx eax, byte [rax]
mov ecx, dword [rbp + 0xbc]
mov rdx, qword [rbp + 0x108]
add rdx, rcx
xor al, byte [rbp + 0xab]
mov byte [rdx], al
add dword [rbp + 0xbc], 1
mov eax, dword [rbp + 0xbc]
cmp eax, dword [rbp + 0x100]
jb 0x208fa22e2
nop
nop
add rsp, 0x148
pop rbx
pop rbp
ret