Function at 0x14020bdc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14046e630
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xe0]
mov ecx, dword [rcx + 0x70]
mov eax, dword [rax + 4]
sub eax, ecx
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe0]
mov ecx, dword [rcx + 0x80]
imul ecx, dword [rdx + 0x74]
add eax, ecx
cdq
mov rcx, qword [rsp + 0xe0]
idiv dword [rcx + 0x74]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0xc]
dec eax
mov rcx, qword [rsp + 0xe0]
sub eax, dword [rcx + 0x70]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe0]
mov ecx, dword [rcx + 0x80]
imul ecx, dword [rdx + 0x74]
add eax, ecx
cdq
mov rcx, qword [rsp + 0xe0]
idiv dword [rcx + 0x74]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 0
jge 0x14046e70d
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x128]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jl 0x14046e73b
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x128]
mov eax, dword [rax]
dec eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x80]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xe0]
imul eax, dword [rcx + 0x74]
mov rcx, qword [rsp + 0xe0]
add eax, dword [rcx + 0x70]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x90]
mov rcx, qword [rsp + 0xe0]
add eax, dword [rcx + 0xf0]
mov rcx, qword [rsp + 0xe0]
sub eax, dword [rcx + 0x84]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x74]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x64], eax
jmp 0x14046e7dd
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x64], eax
jg 0x14046ea19
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x128]
movsxd rcx, dword [rsp + 0x64]
mov rax, qword [rax + 8]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x4c], eax
jge 0x14046e85c
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x54], eax
jle 0x14046e85c
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x48], eax
jge 0x14046e85c
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax]
cmp dword [rsp + 0x50], eax
jle 0x14046e85c
mov dword [rsp + 0xb0], 1
jmp 0x14046e867
mov dword [rsp + 0xb0], 0
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0xa4], al
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x4c], eax
jge 0x14046e8c6
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x54], eax
jle 0x14046e8c6
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x48], eax
jge 0x14046e8c6
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax]
cmp dword [rsp + 0x50], eax
jle 0x14046e8c6
mov dword [rsp + 0xb4], 1
jmp 0x14046e8d1
mov dword [rsp + 0xb4], 0
movzx eax, byte [rsp + 0xb4]
mov byte [rsp + 0xa5], al
mov eax, dword [rsp + 0xe8]
and eax, 8
test eax, eax
je 0x14046e98a
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shr eax, 5
and eax, 1
test eax, eax
jne 0x14046e988
movzx eax, byte [rsp + 0xa4]
movzx ecx, byte [rsp + 0xa5]
cmp eax, ecx
je 0x14046e988
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shr eax, 1
and eax, 1
test eax, eax
jne 0x14046e938
mov dword [rsp + 0xb8], 1
jmp 0x14046e943
mov dword [rsp + 0xb8], 0
mov eax, dword [rsp + 0xb8]
and eax, 1
shl eax, 1
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
and ecx, 0xfffffffd
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x70], eax
jle 0x14046e976
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x74], eax
jge 0x14046e988
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x74], eax
jmp 0x14046e9f5
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shr eax, 5
and eax, 1
test eax, eax
jne 0x14046e9f5
movzx eax, byte [rsp + 0xa4]
movzx ecx, byte [rsp + 0xa5]
cmp eax, ecx
je 0x14046e9f5
movzx eax, byte [rsp + 0xa5]
and eax, 1
shl eax, 1
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
and ecx, 0xfffffffd
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x70], eax
jle 0x14046e9e3
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x74], eax
jge 0x14046e9f5
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x74]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
jmp 0x14046e7d3
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x70], eax
jg 0x14046ea5c
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
mov rax, qword [rsp + 0xe0]
call qword [rax + 0xb8]
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8d, dword [rsp + 0x74]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xe0]
call fcn.1402113e6
movzx eax, al
test eax, eax
je 0x14046eaa6
xor r8d, r8d
lea rdx, [rsp + 0x88]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
mov rcx, rsp
lea rdx, [0x1407d3a80]
call fcn.1402124fd
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0xd0
pop rdi
ret