Function at 0x140030a98
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rax], 0
mov rax, qword [rsp + 0x108]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x108]
mov qword [rax + 0x10], 0
lea r8, [rsp + 0x38]
mov edx, 0x100
lea rcx, [rsp + 0x80]
call fcn.140032da8
mov dword [rsp + 0x2c], 0
jmp 0x140030b30
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x140030b63
lea rax, [rsp + 0x80]
mov qword [rsp + 0x128], rax
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
mov dl, byte [rsp + 0x2c]
mov byte [rcx + rax], dl
jmp 0x140030b26
mov dword [rsp + 0x3c], 0x2991
mov dword [rsp + 0x104], 0x6b03
mov dword [rsp + 0x110], 0x35fd
mov eax, dword [rsp + 0x104]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x140030b9e
mov dword [rsp + 0x110], 0x98ce
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x40], 0x59c5
mov dword [rsp + 0x98], 0x5a4d
mov dword [rsp + 0x9c], 0x611b
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140030c0b
mov dword [rsp + 0x9c], 0x826e
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x44], 0x6b67
mov dword [rsp + 0xa0], 0x9fdc
mov dword [rsp + 0xa4], 0x9afd
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140030c56
mov dword [rsp + 0xa4], 0x874b
mov dword [rsp + 0x24], 0
jmp 0x140030c6a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100
jge 0x140030ead
mov dword [rsp + 0x48], 0x8462
mov dword [rsp + 0xa8], 0x47cf
mov dword [rsp + 0xac], 0x30a8
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x140030cb3
mov dword [rsp + 0xac], 0x2b2a
lea rax, [rsp + 0x80]
mov qword [rsp + 0x130], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb0], eax
movsxd rcx, dword [rsp + 0x24]
xor edx, edx
mov rax, rcx
div qword [rsp + 0x180]
mov rax, rdx
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0xb0]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x4c], 0x3438
mov dword [rsp + 0xb4], 0x5692
mov dword [rsp + 0xb8], 0x7aff
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x140030d89
mov dword [rsp + 0xb8], 0x33f9
lea rax, [rsp + 0x80]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x148]
mov rcx, qword [rcx]
mov al, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov dword [rsp + 0x50], 0x3b4f
mov dword [rsp + 0xbc], 0x786a
mov dword [rsp + 0xc0], 0x6fd4
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140030deb
mov dword [rsp + 0xc0], 0x8758
lea rax, [rsp + 0x80]
mov qword [rsp + 0x150], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x158], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x160]
mov dl, byte [rdx]
mov byte [rcx + rax], dl
mov dword [rsp + 0x54], 0x3fd6
mov dword [rsp + 0xc4], 0x3b7b
mov dword [rsp + 0xc8], 0x59a4
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x140030e81
mov dword [rsp + 0xc8], 0x8211
lea rax, [rsp + 0x80]
mov qword [rsp + 0x168], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx]
mov dl, byte [rsp + 0x20]
mov byte [rcx + rax], dl
jmp 0x140030c60
mov dword [rsp + 0x58], 0x87ed
mov dword [rsp + 0xcc], 0x5c1d
mov dword [rsp + 0xd0], 0x3236
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140030ee8
mov dword [rsp + 0xd0], 0x995d
mov qword [rsp + 0x78], 0
jmp 0x140030f00
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1f0]
cmp qword [rsp + 0x78], rax
jae 0x140031253
mov dword [rsp + 0x5c], 0x9907
mov dword [rsp + 0xd4], 0x2759
mov dword [rsp + 0xd8], 0x2952
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140030f4e
mov dword [rsp + 0xd8], 0x6c46
mov eax, dword [rsp + 0x28]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x60], 0x9af0
mov dword [rsp + 0xdc], 0x3cfa
mov dword [rsp + 0xe0], 0x4d05
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140030fa3
mov dword [rsp + 0xe0], 0x6f5d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x170], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x64], 0x4f30
mov dword [rsp + 0xe4], 0xa0eb
mov dword [rsp + 0xe8], 0x5f15
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14003101e
mov dword [rsp + 0xe8], 0x7fb4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x178], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx]
mov al, byte [rcx + rax]
mov byte [rsp + 0x21], al
mov dword [rsp + 0x68], 0x71a8
mov dword [rsp + 0xec], 0x47da
mov dword [rsp + 0xf0], 0x5373
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x140031080
mov dword [rsp + 0xf0], 0x6a8c
lea rax, [rsp + 0x80]
mov qword [rsp + 0x1c8], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x1c8]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x188], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x190]
mov dl, byte [rdx]
mov byte [rcx + rax], dl
mov dword [rsp + 0x6c], 0x4ddd
mov dword [rsp + 0xf4], 0x4cc5
mov dword [rsp + 0xf8], 0x3f80
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x140031116
mov dword [rsp + 0xf8], 0x9fa8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x198]
mov rcx, qword [rcx]
mov dl, byte [rsp + 0x21]
mov byte [rcx + rax], dl
mov dword [rsp + 0x70], 0x2b50
mov dword [rsp + 0xfc], 0x88d8
mov dword [rsp + 0x100], 0x2bb5
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x140031178
mov dword [rsp + 0x100], 0x60b4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x1a0], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x1a8], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x1a8]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b0], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1b8]
movzx ecx, byte [rcx]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x1c0]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x1e8]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x1e8]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x140030ef3
lea rcx, [rsp + 0x80]
call fcn.14003a64c
add rsp, 0x1d8
ret