Function at 0x140075ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov eax, 0xffffff53
test rcx, rcx
je 0x140076300
mov rdi, r9
test r9, r9
je 0x140076300
mov rsi, rcx
mov r9d, dword [rsp + 0xc0]
mov r13d, dword [rsp + 0xb0]
mov ebx, dword [rsp + 0xa8]
lea ecx, [rbx + r13]
cmp ecx, r9d
ja 0x140076300
cmp dword [rsi + 0x2c], r9d
jne 0x140076300
test byte [rsi + 0x32], 1
jne 0x1400762fe
movzx r9d, byte [rsp + 0xa0]
movzx r10d, byte [rsi + 0x30]
cmp r10b, 0xff
je 0x14007608c
mov eax, 0xfffffe8e
cmp r10b, r9b
jne 0x140076300
cmp word [rsi + 0x24], r8w
jne 0x140076300
cmp dword [rsi + 0x28], edx
je 0x140076098
jmp 0x140076300
mov byte [rsi + 0x30], r9b
mov word [rsi + 0x24], r8w
mov dword [rsi + 0x28], edx
lea rbp, [rsi + 0x18]
mov r14, qword [rsi + 0x18]
test r14, r14
je 0x140076191
mov eax, dword [r14 + 8]
mov r8d, dword [r14 + 0xc]
add r8d, eax
cmp eax, ebx
seta r9b
cmp ecx, r8d
seta dl
or dl, r9b
xor r12d, r12d
cmp dl, 1
jne 0x140076121
cmp r8d, ebx
jae 0x140076121
xor dl, 1
mov r8d, 1
nop dword [rax]
mov r12, r14
mov r14, qword [r14]
test r14, r14
je 0x140076215
mov eax, dword [r14 + 8]
mov r9d, dword [r14 + 0xc]
add r9d, eax
cmp eax, ebx
seta r10b
cmp ecx, r9d
seta r11b
or r11b, r10b
movzx edx, dl
cmove edx, r8d
cmp r11b, 1
jne 0x14007611c
cmp r9d, ebx
jb 0x1400760e0
test dl, dl
sete dl
test dl, dl
je 0x140076289
test r12, r12
jne 0x1400761d9
mov r12, rbp
cmp ecx, eax
jae 0x1400761d9
mov eax, 0xfffffe39
cmp byte [rsi + 0x31], 9
ja 0x140076300
mov r15d, r13d
lea rcx, [r15 + 0x10]
call fcn.14003fcc0
test rax, rax
je 0x140076285
mov r12, rax
mov qword [rax], 0
mov dword [rax + 8], ebx
mov dword [rax + 0xc], r13d
mov rcx, rax
add rcx, 0x10
mov rdx, rdi
mov r8, r15
call fcn.1400ca7f0
mov qword [rsi + 0x18], r12
mov qword [r12], r14
jmp 0x140076260
mov r14d, r13d
lea rcx, [r14 + 0x10]
call fcn.14003fcc0
test rax, rax
je 0x140076269
mov r15, rax
mov qword [rax], 0
mov dword [rax + 8], ebx
mov dword [rax + 0xc], r13d
mov rcx, rax
add rcx, 0x10
mov rdx, rdi
mov r8, r14
call fcn.1400ca7f0
mov qword [rsi + 0x18], r15
mov dword [rsi + 0x20], r13d
inc byte [rsi + 0x31]
jmp 0x140076289
mov r8, r14
mov r8, qword [r8]
test r8, r8
je 0x1400761f0
mov eax, dword [r8 + 0xc]
add eax, dword [r8 + 8]
cmp eax, ecx
jbe 0x1400761dc
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov rdx, r14
mov r9d, ebx
call fcn.140076320
test rax, rax
cmove rax, r14
mov qword [r12], rax
jmp 0x140076289
test dl, dl
jne 0x140076289
mov eax, 0xfffffe39
cmp byte [rsi + 0x31], 9
ja 0x140076300
mov r14d, r13d
lea rcx, [r14 + 0x10]
call fcn.14003fcc0
test rax, rax
je 0x14007627b
mov r15, rax
mov qword [rax], 0
mov dword [rax + 8], ebx
mov dword [rax + 0xc], r13d
mov rcx, rax
add rcx, 0x10
mov rdx, rdi
mov r8, r14
call fcn.1400ca7f0
mov qword [r12], r15
add dword [rsi + 0x20], r13d
inc byte [rsi + 0x31]
jmp 0x140076289
mov qword [rbp], 0
mov eax, 0xfffffed1
jmp 0x140076300
mov qword [r12], 0
jmp 0x140076289
mov qword [rbp], r14
mov ecx, dword [rsi + 0x20]
cmp ecx, dword [rsi + 0x2c]
jne 0x1400762fe
cmp byte [rsi + 0x31], 1
jne 0x1400762fe
mov rax, qword [rbp]
cmp dword [rax + 8], 0
jne 0x1400762fe
cmp dword [rax + 0xc], ecx
jne 0x1400762fe
mov qword [rsi + 8], rax
lea rcx, [rax + 0x10]
mov qword [rsi + 0x10], rcx
or byte [rsi + 0x32], 1
mov qword [rsi + 0x18], 0
mov byte [rsi + 0x31], 0
movzx ecx, byte [rsi + 0x30]
mov byte [rax + 4], cl
mov ecx, dword [rsi + 0x2c]
mov edx, ecx
shr edx, 0x10
mov byte [rax + 5], dl
mov byte [rax + 6], ch
mov byte [rax + 7], cl
mov ecx, dword [rsi + 0x28]
mov byte [rax + 8], ch
mov byte [rax + 9], cl
mov word [rax + 0xa], 0
mov byte [rax + 0xc], 0
mov ecx, dword [rsi + 0x2c]
mov edx, ecx
shr edx, 0x10
mov byte [rax + 0xd], dl
mov byte [rax + 0xe], ch
mov byte [rax + 0xf], cl
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret