Function at 0x1400bf6d6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401ce5d0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x438
mov rax, qword [0x1402a7088]
xor rax, rsp
mov qword [rsp + 0x420], rax
xor edx, edx
mov eax, dword [rsp + 0x448]
mov ecx, 0x20
div ecx
mov dword [rsp + 0x28], eax
xor edx, edx
mov eax, dword [rsp + 0x448]
mov ecx, 0x20
div ecx
mov eax, edx
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x78], 1
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x4c], eax
mov eax, 0x20
sub eax, dword [rsp + 0x4c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov ecx, 1
mov qword [rsp + 0x70], rcx
movzx ecx, al
mov rax, qword [rsp + 0x70]
shl rax, cl
dec rax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
not eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x440]
mov eax, dword [rax]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x440]
mov ecx, dword [rcx + rax*4 + 4]
call fcn.1400c24ad
mov ecx, 0x20
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x34], eax
jbe 0x1401ce699
mov byte [rsp + 0x20], 1
jmp 0x1401ce69e
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0x440]
mov eax, dword [rax]
add eax, dword [rsp + 0x28]
cmp eax, 0x73
jbe 0x1401ce6c1
mov byte [rsp + 0x21], 1
jmp 0x1401ce6c6
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1401ce6fc
lea rcx, [rsp + 0x80]
call fcn.1400c496a
mov rdx, rax
mov rcx, qword [rsp + 0x440]
call fcn.1400c1a99
xor al, al
jmp 0x1401ce88d
mov rax, qword [rsp + 0x440]
mov eax, dword [rax]
add eax, dword [rsp + 0x28]
movzx ecx, byte [rsp + 0x23]
add eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x73
jbe 0x1401ce740
lea rcx, [rsp + 0x250]
call fcn.1400c496a
mov rdx, rax
mov rcx, qword [rsp + 0x440]
call fcn.1400c1a99
xor al, al
jmp 0x1401ce88d
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x1401ce756
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
dec eax
cmp dword [rsp + 0x24], eax
je 0x1401ce849
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
dec eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x440]
mov eax, dword [rax]
cmp dword [rsp + 0x38], eax
jae 0x1401ce7ae
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x440]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x3c], eax
jmp 0x1401ce7b6
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x440]
mov eax, dword [rax]
cmp dword [rsp + 0x40], eax
jae 0x1401ce7e4
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x440]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x44], eax
jmp 0x1401ce7ec
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x54]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x4c]
shl eax, cl
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x5c]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x50]
shr eax, cl
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x440]
mov edx, dword [rsp + 0x68]
mov dword [rcx + rax*4 + 4], edx
jmp 0x1401ce74c
mov dword [rsp + 0x2c], 0
jmp 0x1401ce85d
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
je 0x1401ce87d
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x440]
mov dword [rcx + rax*4 + 4], 0
jmp 0x1401ce853
mov rax, qword [rsp + 0x440]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov al, 1
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400c1a6c
add rsp, 0x438
ret