Function at 0x4daa20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4dad1a
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x28], 0x4034b50
nop
cmp rbx, 4
jl 0x4daa52
xor edx, edx
jmp 0x4daa60
xor eax, eax
xor ebx, ebx
add rsp, 0x68
pop rbp
ret
inc rdx
nop
cmp rdx, 4
jge 0x4daa77
movzx esi, byte [rsp + rdx + 0x28]
movzx r8d, byte [rax + rdx]
cmp r8b, sil
je 0x4daa5c
jmp 0x4daa52
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x78], rax
mov edi, 0x1e
call fcn.004dae00
test bl, bl
jne 0x4daae5
movabs r8, 0x746e65746e6f435b
mov qword [rsp + 0x55], r8
movabs r8, 0x79545f746e65746e
mov qword [rsp + 0x58], r8
movabs r8, 0x6c6d782e5d736570
mov qword [rsp + 0x60], r8
mov rbx, qword [rsp + 0x80]
cmp rbx, 0x31
jge 0x4daadc
mov rax, qword [rsp + 0x78]
jmp 0x4dab05
mov rax, qword [rsp + 0x78]
xor ecx, ecx
jmp 0x4daaee
add rsp, 0x68
pop rbp
ret
inc rcx
cmp rcx, 0x13
jge 0x4dab37
movzx r8d, byte [rsp + rcx + 0x55]
movzx r9d, byte [rax + rcx + 0x1e]
cmp r9b, r8b
je 0x4daaeb
movabs r8, 0x722e2f736c65725f
mov qword [rsp + 0x4a], r8
movabs r8, 0x736c65722e2f736c
mov qword [rsp + 0x4d], r8
cmp rbx, 0x29
jge 0x4dab30
xor ecx, ecx
jmp 0x4dad12
xor ecx, ecx
jmp 0x4dacf2
xor ecx, ecx
test cl, cl
je 0x4dab5d
movabs r8, 0x73706f7250636f64
mov qword [rsp + 0x38], r8
cmp rbx, 0x26
jl 0x4dacc5
xor ecx, ecx
jmp 0x4dacd2
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x16
jb 0x4dacbb
mov edi, dword [rax + 0x12]
add edi, 0x31
mov dword [rsp + 0x2c], edi
mov rcx, rdx
mov esi, 0x1770
call fcn.004dafa0
cmp rax, 0xffffffffffffffff
je 0x4dacb1
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x2c]
lea rdi, [rdx + rax]
lea rdi, [rdi + 0x1e]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov esi, 0x1770
mov rax, qword [rsp + 0x78]
nop dword [rax + rax]
call fcn.004dafa0
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x2c]
add rdx, r8
cmp rax, 0xffffffffffffffff
je 0x4daca7
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x30], rax
lea rdi, [rdx + rax]
lea rdi, [rdi + 0x3c]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x78]
call fcn.004dae00
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
lea r8, [rsi + rdx]
test bl, bl
jne 0x4daca1
mov qword [rsp + 0x40], r8
lea rdi, [rsi + rdx]
lea rdi, [rdi + 0x56]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov esi, 0x1770
call fcn.004dafa0
cmp rax, 0xffffffffffffffff
je 0x4dac91
mov rdx, qword [rsp + 0x40]
lea rdi, [rax + rdx]
lea rdi, [rdi + 0x74]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.004dae00
test bl, bl
je 0x4dac81
add rsp, 0x68
pop rbp
ret
mov eax, 6
mov ebx, 1
add rsp, 0x68
pop rbp
ret
mov eax, 6
mov ebx, 1
add rsp, 0x68
pop rbp
ret
add rsp, 0x68
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x68
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x68
pop rbp
ret
mov ecx, 0x16
call fcn.004646e0
xor eax, eax
xor ebx, ebx
add rsp, 0x68
pop rbp
ret
inc rcx
cmp rcx, 8
jge 0x4dab5d
movzx r8d, byte [rsp + rcx + 0x38]
movzx r9d, byte [rax + rcx + 0x1e]
cmp r9b, r8b
je 0x4daccf
jmp 0x4dacc5
inc rcx
cmp rcx, 0xb
jge 0x4dad0d
movzx r8d, byte [rsp + rcx + 0x4a]
movzx r9d, byte [rax + rcx + 0x1e]
cmp r9b, r8b
je 0x4dacef
xor ecx, ecx
jmp 0x4dad12
mov ecx, 1
xor ecx, 1
jmp 0x4dab39
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004623e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004daa20