Function at 0x4d7080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x4d73a5
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov byte [rsp + 3], 0
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x60], rdx
cmp rdx, 3
jl 0x4d70d3
jmp 0x4d70fc
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 1
mov byte [rsp + 3], 0
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov qword [rsp + 0x48], 1
jmp 0x4d7107
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x60], rdx
cmp qword [rsp + 0x48], rdx
jl 0x4d7125
nop dword [rax + rax]
jmp 0x4d71be
mov rdx, qword [rsp + 0x90]
add rdx, qword [rsp + 0x48]
cmp byte [rdx], 0x5d
je 0x4d7139
jmp 0x4d71b2
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x18], 1
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x40], 0
mov byte [rsp + 1], 0
mov qword [rsp + 8], 0
nop dword [rax]
cmp qword [rsp + 0x18], rdx
jge 0x4d7189
jmp 0x4d71a6
mov qword [rsp + 0x40], 0
mov byte [rsp + 1], 0
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 8], rdx
jmp 0x4d72db
mov rdx, qword [rsp + 0x18]
mov qword [rsp + 8], rdx
jmp 0x4d71e7
jmp 0x4d71b4
inc qword [rsp + 0x48]
jmp 0x4d7107
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 1
mov byte [rsp + 3], 0
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov rdx, qword [rsp + 8]
cmp qword [rsp + 0x28], rdx
setg byte [rsp + 6]
jg 0x4d71fa
jmp 0x4d720e
mov rdx, qword [rsp + 0x70]
add rdx, qword [rsp + 8]
cmp byte [rdx], 0x30
setae byte [rsp + 6]
jmp 0x4d7210
jmp 0x4d7210
movzx edx, byte [rsp + 6]
mov byte [rsp + 7], dl
test dl, dl
jne 0x4d721f
jmp 0x4d7233
mov rdx, qword [rsp + 0x70]
add rdx, qword [rsp + 8]
cmp byte [rdx], 0x39
setbe byte [rsp + 7]
jmp 0x4d7235
jmp 0x4d7235
cmp byte [rsp + 7], 0
jne 0x4d7245
nop dword [rax]
jmp 0x4d72d9
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rdx
cmp rdx, 0xf4240
setg byte [rsp + 5]
jg 0x4d7260
jmp 0x4d7262
jmp 0x4d7272
cmp qword [rsp + 0x20], 0xfffffffffff0bdc0
setl byte [rsp + 5]
jmp 0x4d7272
movzx edx, byte [rsp + 5]
mov byte [rsp], dl
jmp 0x4d7280
test dl, dl
jne 0x4d7286
jmp 0x4d72a2
mov qword [rsp + 0x40], 0
mov byte [rsp + 1], 0
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 8], rdx
nop
jmp 0x4d72db
mov rdx, qword [rsp + 0x40]
lea rdx, [rdx + rdx*4]
mov rsi, qword [rsp + 0x70]
add rsi, qword [rsp + 8]
movzx esi, byte [rsi]
add esi, 0xffffffd0
movzx esi, sil
lea rdx, [rsi + rdx*2]
mov qword [rsp + 0x40], rdx
mov byte [rsp + 1], 1
jmp 0x4d72cf
inc qword [rsp + 8]
jmp 0x4d71e7
jmp 0x4d72db
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x58], rdx
movzx esi, byte [rsp + 1]
mov byte [rsp + 4], sil
mov rsi, qword [rsp + 8]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x50], rdx
movzx edx, byte [rsp + 4]
mov byte [rsp + 2], dl
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rdx
movzx edx, byte [rsp + 2]
mov esi, edx
xor edx, 1
mov byte [rsp + 6], dl
nop
test sil, sil
jne 0x4d7327
jmp 0x4d7338
mov rdx, qword [rsp + 0x10]
cmp qword [rsp + 0x48], rdx
setne byte [rsp + 6]
jmp 0x4d733a
jmp 0x4d733a
cmp byte [rsp + 6], 0
nop
jne 0x4d7344
jmp 0x4d7371
mov qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x48]
inc rdx
mov qword [rsp + 0x30], rdx
mov byte [rsp + 3], 0
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov rdx, qword [rsp + 0x50]
dec rdx
mov qword [rsp + 0x38], rdx
mov rdx, qword [rsp + 0x48]
inc rdx
mov qword [rsp + 0x30], rdx
mov byte [rsp + 3], 1
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov ecx, 1
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045dde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004d7080