Function at 0x180248710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
movzx edx, byte [rcx + 4]
lea r9, str.0123456789abcdef
mov rsi, rcx
mov eax, edx
movzx ecx, byte [rcx + 5]
and eax, 0xf
shr rdx, 4
movzx r8d, byte [rax + r9]
movzx eax, byte [rdx + r9]
mov byte [rbp - 0x2f], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
mov byte [rbp - 0x30], r8b
movzx eax, byte [rax + r9]
mov byte [rbp - 0x2e], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 6]
mov byte [rbp - 0x2d], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x2c], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 7]
mov byte [rbp - 0x2b], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x2a], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 8]
mov byte [rbp - 0x29], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x28], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 9]
mov byte [rbp - 0x27], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x26], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0xa]
mov byte [rbp - 0x25], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x24], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0xb]
mov byte [rbp - 0x23], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x22], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0xc]
mov byte [rbp - 0x21], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x20], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0xd]
mov byte [rbp - 0x1f], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x1e], al
movzx eax, byte [rcx + r9]
mov byte [rbp - 0x1d], al
movzx ecx, byte [rsi + 0xe]
mov eax, ecx
shr rcx, 4
and eax, 0xf
movzx eax, byte [rax + r9]
mov byte [rbp - 0x1c], al
movzx eax, byte [rcx + r9]
mov byte [rbp - 0x1b], al
movzx ecx, byte [rsi + 0xf]
mov eax, ecx
shr rcx, 4
and eax, 0xf
movzx eax, byte [rax + r9]
mov byte [rbp - 0x1a], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x10]
mov byte [rbp - 0x19], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x18], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x11]
mov byte [rbp - 0x17], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x16], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x12]
mov byte [rbp - 0x15], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x14], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x13]
mov byte [rbp - 0x13], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x12], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x14]
mov byte [rbp - 0x11], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0x10], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x15]
mov byte [rbp - 0xf], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0xe], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x16]
mov byte [rbp - 0xd], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0xc], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x17]
mov byte [rbp - 0xb], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 0xa], al
movzx eax, byte [rcx + r9]
mov byte [rbp - 9], al
movzx ecx, byte [rsi + 0x18]
lea rbx, [rsi + 0x98]
mov eax, ecx
xorps xmm0, xmm0
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 8], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x19]
mov byte [rbp - 7], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 6], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x1a]
mov byte [rbp - 5], al
mov eax, ecx
and eax, 0xf
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 4], al
movzx eax, byte [rcx + r9]
movzx ecx, byte [rsi + 0x1b]
mov byte [rbp - 3], al
mov eax, ecx
and eax, 0xf
mov byte [rsi + 0x44], 0
mov dword [rsi + 0x48], 0xc0
mov dword [rsi + 0x94], 0x10
shr rcx, 4
movzx eax, byte [rax + r9]
mov byte [rbp - 2], al
movups xmmword [rbx], xmm0
movzx eax, byte [rcx + r9]
mov byte [rbp - 1], al
movups xmmword [rbx + 0x10], xmm0
mov byte [rsi + 0x8c], 0
test r8b, r8b
je 0x180248ac6
xor r8d, r8d
lea r11, [rsi + 0x4c]
mov eax, r8d
mov rcx, rbx
nop dword [rax]
add eax, 0x20
mov dword [rcx], r8d
lea rcx, [rcx + 4]
cmp eax, 0xc0
jl 0x180248a30
lea r10, [rbp - 0x30]
mov r9, r11
sub r10, r11
nop dword [rax + rax]
movsx ecx, byte [r10 + r9]
test r11, r11
je 0x180248a5d
mov byte [r9], cl
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180248a69
lea eax, [rcx - 0x30]
jmp 0x180248a7f
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x180248a75
lea eax, [rcx - 0x57]
jmp 0x180248a7f
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x180248abf
lea eax, [rcx - 0x37]
mov ecx, r8d
test r8d, r8d
jns 0x180248a8b
lea ecx, [r8 + 7]
sar ecx, 3
inc r9
movsxd rcx, ecx
lea rdx, [rbx + rcx*4]
mov ecx, r8d
xor ecx, 1
inc r8d
and ecx, 7
shl ecx, 2
shl eax, cl
or dword [rdx], eax
cmp r8d, 0x30
jl 0x180248a50
lea rcx, [rsi + 0x44]
call fcn.180243040
cmp eax, 1
je 0x180248ac6
mov eax, 1
jmp 0x180248ace
mov dword [rsi], 1
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret