Function at 0x14034b470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
test r8d, r8d
js 0x14034ba01
mov r15, rcx
movzx r10d, word [rdx + 2]
xor eax, eax
test r10d, r10d
sete al
mov ebp, 0x8a
mov ecx, 7
cmove ecx, ebp
mov esi, 4
sub esi, eax
add r8d, 1
xor r11d, r11d
mov ebp, 0xffffffff
xor edi, edi
jmp 0x14034b4d1
mov r14d, ebp
mov ebp, r14d
mov edi, ebx
cmp r11, r8
je 0x14034ba01
mov r14d, r10d
movzx r10d, word [rdx + r11*4 + 6]
add r11, 1
lea ebx, [rdi + 1]
cmp ebx, ecx
jge 0x14034b4ea
cmp r14d, r10d
je 0x14034b4c0
cmp ebx, esi
jge 0x14034b5c0
mov r9d, r14d
mov ecx, dword [r15 + 0x1710]
jmp 0x14034b512
add ecx, ebp
mov dword [r15 + 0x1710], ecx
add ebx, 0xffffffff
je 0x14034b59d
movzx ebp, word [r15 + r9*4 + 0xaa6]
mov edi, 0x10
sub edi, ebp
movzx eax, word [r15 + r9*4 + 0xaa4]
mov esi, eax
shl esi, cl
or si, word [r15 + 0x170c]
mov word [r15 + 0x170c], si
cmp ecx, edi
jle 0x14034b500
mov r12, qword [r15 + 0x10]
mov edi, dword [r15 + 0x28]
lea ecx, [rdi + 1]
mov dword [r15 + 0x28], ecx
mov byte [r12 + rdi], sil
movzx r12d, byte [r15 + 0x170d]
mov rsi, qword [r15 + 0x10]
mov edi, dword [r15 + 0x28]
lea ecx, [rdi + 1]
mov dword [r15 + 0x28], ecx
mov byte [rsi + rdi], r12b
mov esi, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, sil
shr eax, cl
mov word [r15 + 0x170c], ax
lea ecx, [rsi + rbp]
add ecx, 0xfffffff0
mov dword [r15 + 0x1710], ecx
add ebx, 0xffffffff
jne 0x14034b512
xor ebx, ebx
test r10d, r10d
je 0x14034b9f2
xor ecx, ecx
cmp r14d, r10d
sete cl
mov esi, 4
sub esi, ecx
xor ecx, 7
jmp 0x14034b4c3
test r14d, r14d
je 0x14034b5dc
cmp r14d, ebp
jne 0x14034b696
mov r9d, dword [r15 + 0x1710]
mov edi, ebx
jmp 0x14034b7e3
cmp edi, 9
jg 0x14034b728
movzx ebx, word [r15 + 0xaea]
mov r9d, dword [r15 + 0x1710]
mov eax, 0x10
movzx ebp, word [r15 + 0xae8]
mov esi, ebp
mov ecx, r9d
shl esi, cl
sub eax, ebx
or si, word [r15 + 0x170c]
cmp r9d, eax
jle 0x14034b8f8
mov word [r15 + 0x170c], si
mov r9, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea eax, [rcx + 1]
mov dword [r15 + 0x28], eax
mov byte [r9 + rcx], sil
mov r9b, byte [r15 + 0x170d]
mov rcx, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea eax, [rsi + 1]
mov dword [r15 + 0x28], eax
mov byte [rcx + rsi], r9b
mov eax, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, al
shr ebp, cl
lea r9d, [rbx + rax]
add r9d, 0xfffffff0
mov esi, ebp
mov dword [r15 + 0x1710], r9d
add edi, 0xfffe
cmp r9d, 0xe
jge 0x14034b912
mov ecx, r9d
shl edi, cl
or esi, edi
mov word [r15 + 0x170c], si
add r9d, 3
jmp 0x14034b9e0
mov eax, r14d
movzx r12d, word [r15 + rax*4 + 0xaa6]
mov r9d, dword [r15 + 0x1710]
mov esi, 0x10
sub esi, r12d
movzx ebx, word [r15 + rax*4 + 0xaa4]
mov ebp, ebx
mov ecx, r9d
shl ebp, cl
or bp, word [r15 + 0x170c]
mov word [r15 + 0x170c], bp
cmp r9d, esi
jle 0x14034b7d9
mov rax, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea esi, [rcx + 1]
mov dword [r15 + 0x28], esi
mov byte [rax + rcx], bpl
mov al, byte [r15 + 0x170d]
mov rcx, qword [r15 + 0x10]
mov ebp, dword [r15 + 0x28]
lea esi, [rbp + 1]
mov dword [r15 + 0x28], esi
mov byte [rcx + rbp], al
mov eax, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, al
shr ebx, cl
mov word [r15 + 0x170c], bx
lea r9d, [r12 + rax]
add r9d, 0xfffffff0
jmp 0x14034b7dc
movzx ebx, word [r15 + 0xaee]
mov r9d, dword [r15 + 0x1710]
mov eax, 0x10
movzx ebp, word [r15 + 0xaec]
mov esi, ebp
mov ecx, r9d
shl esi, cl
sub eax, ebx
or si, word [r15 + 0x170c]
cmp r9d, eax
jle 0x14034b96c
mov word [r15 + 0x170c], si
mov r9, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea eax, [rcx + 1]
mov dword [r15 + 0x28], eax
mov byte [r9 + rcx], sil
mov r9b, byte [r15 + 0x170d]
mov rcx, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea eax, [rsi + 1]
mov dword [r15 + 0x28], eax
mov byte [rcx + rsi], r9b
mov eax, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, al
shr ebp, cl
lea r9d, [rbx + rax]
add r9d, 0xfffffff0
mov esi, ebp
mov dword [r15 + 0x1710], r9d
add edi, 0xfff6
cmp r9d, 0xa
jge 0x14034b986
mov ecx, r9d
shl edi, cl
or esi, edi
mov word [r15 + 0x170c], si
add r9d, 7
jmp 0x14034b9e0
add r9d, r12d
mov dword [r15 + 0x1710], r9d
movzx ebx, word [r15 + 0xae6]
mov eax, 0x10
movzx ebp, word [r15 + 0xae4]
mov esi, ebp
mov ecx, r9d
shl esi, cl
sub eax, ebx
or si, word [r15 + 0x170c]
cmp r9d, eax
jle 0x14034b885
mov word [r15 + 0x170c], si
mov r9, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea eax, [rcx + 1]
mov dword [r15 + 0x28], eax
mov byte [r9 + rcx], sil
mov r9b, byte [r15 + 0x170d]
mov rcx, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea eax, [rsi + 1]
mov dword [r15 + 0x28], eax
mov byte [rcx + rsi], r9b
mov eax, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, al
shr ebp, cl
lea r9d, [rbx + rax]
add r9d, 0xfffffff0
mov esi, ebp
mov dword [r15 + 0x1710], r9d
add edi, 0xfffd
cmp r9d, 0xf
jge 0x14034b89b
mov ecx, r9d
shl edi, cl
or esi, edi
mov word [r15 + 0x170c], si
add r9d, 2
jmp 0x14034b9e0
add r9d, ebx
mov dword [r15 + 0x1710], r9d
add edi, 0xfffd
cmp r9d, 0xf
jl 0x14034b86d
movzx ebx, di
mov ecx, r9d
shl edi, cl
or esi, edi
mov word [r15 + 0x170c], si
mov rax, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea ebp, [rcx + 1]
mov dword [r15 + 0x28], ebp
mov byte [rax + rcx], sil
mov al, byte [r15 + 0x170d]
mov rcx, qword [r15 + 0x10]
mov ebp, dword [r15 + 0x28]
lea edi, [rbp + 1]
mov dword [r15 + 0x28], edi
mov byte [rcx + rbp], al
mov r9d, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, r9b
shr ebx, cl
mov word [r15 + 0x170c], bx
add r9d, 0xfffffff2
jmp 0x14034b9e0
add r9d, ebx
mov dword [r15 + 0x1710], r9d
add edi, 0xfffe
cmp r9d, 0xe
jl 0x14034b67e
movzx ebx, di
mov ecx, r9d
shl edi, cl
or esi, edi
mov word [r15 + 0x170c], si
mov rax, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea ebp, [rcx + 1]
mov dword [r15 + 0x28], ebp
mov byte [rax + rcx], sil
mov al, byte [r15 + 0x170d]
mov rcx, qword [r15 + 0x10]
mov ebp, dword [r15 + 0x28]
lea edi, [rbp + 1]
mov dword [r15 + 0x28], edi
mov byte [rcx + rbp], al
mov r9d, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, r9b
shr ebx, cl
mov word [r15 + 0x170c], bx
add r9d, 0xfffffff3
jmp 0x14034b9e0
add r9d, ebx
mov dword [r15 + 0x1710], r9d
add edi, 0xfff6
cmp r9d, 0xa
jl 0x14034b7c1
movzx ebx, di
mov ecx, r9d
shl edi, cl
or esi, edi
mov word [r15 + 0x170c], si
mov rax, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea ebp, [rcx + 1]
mov dword [r15 + 0x28], ebp
mov byte [rax + rcx], sil
mov al, byte [r15 + 0x170d]
mov rcx, qword [r15 + 0x10]
mov ebp, dword [r15 + 0x28]
lea edi, [rbp + 1]
mov dword [r15 + 0x28], edi
mov byte [rcx + rbp], al
mov r9d, dword [r15 + 0x1710]
mov cl, 0x10
sub cl, r9b
shr ebx, cl
mov word [r15 + 0x170c], bx
add r9d, 0xfffffff7
nop
mov dword [r15 + 0x1710], r9d
xor ebx, ebx
test r10d, r10d
jne 0x14034b5a8
mov ecx, 0x8a
mov esi, 3
jmp 0x14034b4c3
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret