Function at 0x140083930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x140083d59
cmp dword [rdx + 4], 0
je 0x140083d59
cmp dword [rdx + 8], 0
je 0x140083d59
cmp dword [rdx], 0
je 0x140083d59
cmp qword [rdx + 0x18], 0
je 0x14008398b
cmp dword [rdx + 0x10], 0
jne 0x1400839ba
cmp qword [rdx + 0x28], 0
je 0x140083998
cmp dword [rdx + 0x20], 0
jne 0x1400839ba
cmp qword [rdx + 0x38], 0
je 0x1400839a5
cmp dword [rdx + 0x30], 0
jne 0x1400839ba
cmp qword [rdx + 0x48], 0
je 0x140083d59
cmp dword [rdx + 0x40], 0
je 0x140083d59
test rdi, rdi
je 0x140083d59
cmp dword [r8 + 4], 0
je 0x140083d59
cmp dword [r8 + 8], 0
je 0x140083d59
cmp dword [r8], 0
je 0x140083d59
cmp qword [r8 + 0x18], 0
je 0x1400839f1
cmp dword [r8 + 0x10], 0
jne 0x140083a23
cmp qword [r8 + 0x28], 0
je 0x1400839ff
cmp dword [r8 + 0x20], 0
jne 0x140083a23
cmp qword [r8 + 0x38], 0
je 0x140083a0d
cmp dword [r8 + 0x30], 0
jne 0x140083a23
cmp qword [r8 + 0x48], 0
je 0x140083d59
cmp dword [r8 + 0x40], 0
je 0x140083d59
mov rax, qword [rcx]
mov edx, 0x100
mov byte [rsp + 0x88], 0
mov bpl, 0x7f
mov byte [rsp + 0x40], 0xff
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x42], 0xff
call qword [rax + 8]
mov r8, qword [rsi]
mov edx, 0x100
mov rcx, rsi
mov r15, rax
call qword [r8 + 8]
mov r14, rax
test r15, r15
je 0x140083d41
mov rcx, rsi
test rax, rax
je 0x140083d31
mov r8d, dword [rbx + 0x10]
lea rax, [rsp + 0x43]
imul r8d, dword [rbx + 8]
mov r9d, 0x133
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x18800
call fcn.14005cb90
mov r12d, eax
test eax, eax
jne 0x140083d5f
mov r8d, dword [rdi + 0x10]
lea rax, [rsp + 0x43]
imul r8d, dword [rdi + 8]
mov r9d, 0x1cd
mov rdx, qword [rdi + 0x18]
mov rcx, rsi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x42]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x18800
call fcn.14005cb90
mov r12d, eax
test eax, eax
jne 0x140083d5f
lea r8, [0x14018fba1]
xor edi, edi
mov r11, r14
mov r9, r8
mov r10d, edi
sub r11, r8
mov ebx, pe_nt_image_headers64
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea r9, [r9 + 2]
imul rax, rax, 0x13fb
add rax, r10
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r9 - 2], al
movzx eax, byte [r9 - 2]
imul rcx, rax, 0x13fb
lea rax, [r10 - 0x3fb]
sub r10, 0x7f6
add rax, rcx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r9 - 1], al
sub rbx, 1
jne 0x140083b30
mov r10, r15
mov r9, rdi
sub r10, r8
mov r11d, pe_nt_image_headers64
nop dword [rax]
movzx eax, byte [r8 - 1]
lea r8, [r8 + 2]
imul rax, rax, 0xd52
add rax, r9
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r10 + r8 - 2], al
movzx eax, byte [r8 - 2]
imul rcx, rax, 0xd52
lea rax, [r9 + 0x2ae]
add r9, 0x55c
add rax, rcx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r10 + r8 - 1], al
sub r11, 1
jne 0x140083ba0
mov rax, r15
lea rcx, [0x1401bd980]
lea edx, [r11 + 2]
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140083c10
mov rax, qword [rsp + 0xa0]
mov qword [rax], r14
movzx eax, byte [rsp + 0x88]
mov qword [r13], r15
movzx r9d, byte [rax + r15]
movzx eax, byte [rsp + 0x40]
movzx r11d, byte [rax + r15]
movzx eax, byte [rsp + 0x41]
movzx r8d, byte [rax + r14]
movzx eax, byte [rsp + 0x42]
mov edx, r8d
sub edx, r9d
mov ecx, edx
sar ecx, 0x1f
movzx r10d, byte [rax + r14]
mov eax, ecx
xor eax, edx
sub eax, ecx
cmp eax, 0xf
jg 0x140083cb9
movzx ebp, r8b
jmp 0x140083cd3
lea eax, [r8 - 0xf]
cmp r9d, eax
jge 0x140083cc6
lea ebp, [r9 + 0xf]
lea eax, [r8 + 0xf]
cmp r9d, eax
jbe 0x140083cd3
lea ebp, [r9 - 0xf]
mov rax, qword [rsp + 0xa8]
lea r8d, [r10 + 0x19]
cmp r11d, r10d
mov edx, r10d
cmova edx, r11d
mov byte [rax], r9b
mov rax, qword [rsp + 0xb0]
movzx ecx, dl
mov byte [rax], dl
sub dl, 0x19
mov rax, qword [rsp + 0xb8]
cmp ecx, r8d
movzx edx, dl
cmovbe edx, r10d
mov byte [rax], bpl
mov rax, qword [rsp + 0xc0]
mov byte [rax], dl
mov rax, qword [rsp + 0xc8]
mov dword [rax], edi
mov rax, qword [rsp + 0xd0]
mov dword [rax], edi
jmp 0x140083d5f
mov rax, qword [rsi]
mov rdx, r15
call qword [rax + 0x10]
mov eax, 0xfffffffd
jmp 0x140083d62
test r14, r14
je 0x140083d52
mov rax, qword [rsi]
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x10]
mov eax, 0xfffffffd
jmp 0x140083d62
mov r12d, 0xfffffffc
mov eax, r12d
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret