Function at 0x449552
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
movsd qword [rbp - 0x40], xmm0
mov edx, 1
mov ecx, 0x20
call fcn.004462e2
mov qword [0x00c59a10], rax
movsd xmm1, qword [rbp - 0x40]
movsd xmm0, qword [rbp - 0x40]
movapd xmm2, xmm1
movq r8, xmm0
lea rdx, str.__.15E
lea rcx, [0x00c4acc0]
call fcn.004c5410
mov dword [0x00c59a18], eax
mov eax, dword [0x00c59a18]
cmp eax, 0x16
jne 0x4495d1
movzx eax, word [0x00c4acd4]
mov word [0x00c4acd5], ax
mov byte [0x00c4acd4], 0x30
mov dword [0x00c59a18], 0x17
movzx eax, byte [0x00c4acd1]
cmp al, 0x39
jne 0x449632
movsd xmm1, qword [rbp - 0x40]
movsd xmm0, qword [rbp - 0x40]
movapd xmm2, xmm1
movq r8, xmm0
lea rdx, str.__.14E
lea rcx, [0x00c4ace0]
call fcn.004c5410
mov rax, qword [0x00c4ace0]
mov qword [0x00c4acc0], rax
mov rax, qword [0x00c4ace8]
mov qword [0x00c4acc8], rax
movzx eax, byte [0x00c4acf0]
mov byte [0x00c4acd0], al
mov byte [0x00c4acd1], 0x30
mov byte [0x00c4acd2], 0x44
mov dword [0x00c59a28], 0x10
mov dword [0x00c59a1c], 0x11
mov eax, dword [0x00c59a1c]
test eax, eax
jle 0x4496a8
mov eax, dword [0x00c59a1c]
cdqe
lea rdx, [0x00c4acc0]
movzx eax, byte [rax + rdx]
cmp al, 0x30
jne 0x44967f
mov eax, dword [0x00c59a28]
sub eax, 1
mov dword [0x00c59a28], eax
jmp 0x449696
mov eax, dword [0x00c59a1c]
cdqe
lea rdx, [0x00c4acc0]
movzx eax, byte [rax + rdx]
cmp al, 0x2e
jne 0x4496a7
mov eax, dword [0x00c59a1c]
sub eax, 1
mov dword [0x00c59a1c], eax
jmp 0x44964d
nop
mov eax, dword [0x00c59a28]
test eax, eax
jne 0x4496ea
mov rax, qword [0x00c59a10]
mov dword [rax + 8], 2
mov rax, qword [0x00c59a10]
mov rax, qword [rax]
mov byte [rax], 0x20
mov rax, qword [0x00c59a10]
mov rax, qword [rax]
add rax, 1
mov byte [rax], 0x30
mov rax, qword [0x00c59a10]
jmp 0x449a2d
movzx eax, byte [0x00c4acd4]
movzx eax, al
sub eax, 0x30
imul ecx, eax, 0x64
movzx eax, byte [0x00c4acd5]
movzx eax, al
lea edx, [rax - 0x30]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
lea edx, [rcx + rax]
movzx eax, byte [0x00c4acd6]
movzx eax, al
sub eax, 0x30
add eax, edx
mov dword [0x00c59a2c], eax
movzx eax, byte [0x00c4acd3]
cmp al, 0x2d
jne 0x449741
mov eax, dword [0x00c59a2c]
neg eax
mov dword [0x00c59a2c], eax
mov eax, dword [0x00c59a2c]
cmp eax, 0xf
jg 0x449765
mov edx, dword [0x00c59a2c]
mov eax, dword [0x00c59a28]
sub edx, eax
mov eax, edx
cmp eax, 0xffffffef
jge 0x44990b
mov dword [0x00c59a24], 0
mov eax, dword [0x00c59a28]
add eax, 2
mov dword [0x00c59a20], eax
mov eax, dword [0x00c59a28]
cmp eax, 1
jne 0x449798
mov eax, dword [0x00c59a20]
sub eax, 1
mov dword [0x00c59a20], eax
mov dword [0x00c59a1c], 0
mov edx, dword [0x00c59a1c]
mov eax, dword [0x00c59a20]
cmp edx, eax
jge 0x4497fd
mov ecx, dword [0x00c59a1c]
mov rax, qword [0x00c59a10]
mov rdx, qword [rax]
mov eax, dword [0x00c59a24]
cdqe
add rdx, rax
movsxd rax, ecx
lea rcx, [0x00c4acc0]
movzx eax, byte [rax + rcx]
mov byte [rdx], al
mov eax, dword [0x00c59a24]
add eax, 1
mov dword [0x00c59a24], eax
mov eax, dword [0x00c59a1c]
add eax, 1
mov dword [0x00c59a1c], eax
jmp 0x4497a2
mov dword [0x00c59a1c], 0x12
mov eax, dword [0x00c59a1c]
cmp eax, 0x13
jg 0x44985d
mov ecx, dword [0x00c59a1c]
mov rax, qword [0x00c59a10]
mov rdx, qword [rax]
mov eax, dword [0x00c59a24]
cdqe
add rdx, rax
movsxd rax, ecx
lea rcx, [0x00c4acc0]
movzx eax, byte [rax + rcx]
mov byte [rdx], al
mov eax, dword [0x00c59a24]
add eax, 1
mov dword [0x00c59a24], eax
mov eax, dword [0x00c59a1c]
add eax, 1
mov dword [0x00c59a1c], eax
jmp 0x449807
mov eax, dword [0x00c59a2c]
cdq
xor eax, edx
sub eax, edx
mov dword [0x00c59a2c], eax
mov dword [0x00c59a20], 0x15
mov eax, dword [0x00c59a2c]
cmp eax, 0x63
jle 0x44988d
mov dword [0x00c59a20], 0x14
mov eax, dword [0x00c59a20]
mov dword [0x00c59a1c], eax
mov eax, dword [0x00c59a1c]
cmp eax, 0x16
jg 0x4498ef
mov ecx, dword [0x00c59a1c]
mov rax, qword [0x00c59a10]
mov rdx, qword [rax]
mov eax, dword [0x00c59a24]
cdqe
add rdx, rax
movsxd rax, ecx
lea rcx, [0x00c4acc0]
movzx eax, byte [rax + rcx]
mov byte [rdx], al
mov eax, dword [0x00c59a24]
add eax, 1
mov dword [0x00c59a24], eax
mov eax, dword [0x00c59a1c]
add eax, 1
mov dword [0x00c59a1c], eax
jmp 0x449899
mov rax, qword [0x00c59a10]
mov edx, dword [0x00c59a24]
mov dword [rax + 8], edx
mov rax, qword [0x00c59a10]
jmp 0x449a2d
nop
mov edx, dword [0x00c59a2c]
mov eax, dword [0x00c59a28]
sub edx, eax
mov eax, edx
not eax
mov dword [0x00c59a1c], eax
mov eax, dword [0x00c59a1c]
test eax, eax
jns 0x449938
mov dword [0x00c59a1c], 0
mov byte [0x00c4ac9c], 0x25
mov byte [0x00c4ac9d], 0x20
mov byte [0x00c4ac9e], 0x2e
mov eax, dword [0x00c59a1c]
cmp eax, 9
jle 0x449970
mov byte [0x00c4ac9f], 0x31
mov eax, dword [0x00c59a1c]
add eax, 0x26
mov byte [0x00c4aca0], al
jmp 0x449986
mov byte [0x00c4ac9f], 0x30
mov eax, dword [0x00c59a1c]
add eax, 0x30
mov byte [0x00c4aca0], al
mov byte [0x00c4aca1], 0x66
mov byte [0x00c4aca2], 0
mov rax, qword [0x00c59a10]
mov rax, qword [rax]
mov rbx, qword [0x00c59a10]
movsd xmm1, qword [rbp - 0x40]
movsd xmm0, qword [rbp - 0x40]
movapd xmm2, xmm1
movq r8, xmm0
lea rdx, [0x00c4ac9c]
mov rcx, rax
call fcn.004c5410
mov dword [rbx + 8], eax
mov rax, qword [0x00c59a10]
mov rax, qword [rax]
add rax, 1
movzx eax, byte [rax]
cmp al, 0x30
jne 0x449a26
mov rax, qword [0x00c59a10]
mov eax, dword [rax + 8]
sub eax, 2
movsxd rcx, eax
mov rax, qword [0x00c59a10]
mov rax, qword [rax]
lea rdx, [rax + 2]
mov rax, qword [0x00c59a10]
mov rax, qword [rax]
add rax, 1
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memmove
mov rax, qword [0x00c59a10]
mov edx, dword [rax + 8]
sub edx, 1
mov dword [rax + 8], edx
mov rax, qword [0x00c59a10]
add rsp, 0x28
pop rbx
pop rbp
ret