Function at 0x180064a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180064a20
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
lea rdx, str.LegacyFontSize
lea rcx, [rsp + 0x120]
call fcn.1800043ea
cvttsd2si eax, qword [rsp + 0x180]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x168]
call fcn.180006cd0
cdqe
mov rcx, qword [rsp + 0x168]
mov edx, dword [rsp + 0x30]
mov dword [rcx + rax], edx
lea rcx, [rsp + 0x120]
call fcn.18000489a
nop
cmp qword [0x1806406d0], 0
jne 0x180064b98
lea rax, [rsp + 0x60]
lea rcx, [0x1802866b8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x26
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x12
movzx eax, word [rsp + rax + 0x60]
test eax, eax
je 0x180064ad5
mov dword [rsp + 0x2c], 1
jmp 0x180064add
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x180064b40
mov dword [rsp + 0x24], 0
jmp 0x180064b06
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x13
jge 0x180064b40
movsxd rax, dword [rsp + 0x24]
movzx eax, word [rsp + rax*2 + 0x60]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
add eax, 0xa
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov word [rsp + rcx*2 + 0x60], ax
jmp 0x180064afc
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.180002662
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [0x1806406d0], rax
mov dword [rsp + 0x28], 0
jmp 0x180064b83
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x13
jge 0x180064b98
movsxd rax, dword [rsp + 0x28]
xor ecx, ecx
mov word [rsp + rax*2 + 0x60], cx
jmp 0x180064b79
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x98]
mov rdi, rax
mov rsi, qword [rsp + 0x170]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa8]
mov rdi, rax
mov rsi, qword [rsp + 0x178]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movsd xmm0, qword [0x18028a7d8]
movsd qword [rsp + 0xb8], xmm0
movsd xmm0, qword [0x18028a7d8]
movsd qword [rsp + 0xc0], xmm0
lea rax, [rsp + 0xc8]
mov rdi, rax
mov rsi, qword [rsp + 0x188]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xorps xmm0, xmm0
movss dword [rsp + 0xd8], xmm0
lea rax, [rsp + 0xdc]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
xorps xmm0, xmm0
movsd qword [rsp + 0xf0], xmm0
xorps xmm0, xmm0
movsd qword [rsp + 0xf8], xmm0
movzx eax, byte [rsp + 0x190]
mov byte [rsp + 0x100], al
movzx eax, byte [rsp + 0x198]
mov byte [rsp + 0x101], al
movzx eax, byte [rsp + 0x1a0]
mov byte [rsp + 0x102], al
xorps xmm0, xmm0
movss dword [rsp + 0x104], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x108], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x10c], xmm0
movss xmm0, dword [0x18028a7b0]
movss dword [rsp + 0x110], xmm0
mov rax, qword [0x1806406d0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180064d07
mov eax, 8
imul rax, rax, 0x4f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x160]
call qword [rsp + 0x58]
nop
add rsp, 0x148
pop rdi
pop rsi
ret