Function at 0x140046a1d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movsd qword [rbp + 0x20], xmm0
mov edx, 1
mov ecx, 0x20
call fcn.1400437be
mov qword [0x14073e790], rax
movsd xmm0, qword [rbp + 0x20]
mov rax, qword [rbp + 0x20]
movapd xmm2, xmm0
mov r8, rax
lea rax, str.__.15E
mov rdx, rax
lea rax, [0x14072fac0]
mov rcx, rax
call fcn.14000155f
mov dword [0x14073e798], eax
mov eax, dword [0x14073e798]
cmp eax, 0x16
jne 0x140046a9c
movzx eax, word [0x14072fad4]
mov word [0x14072fad5], ax
mov byte [0x14072fad4], 0x30
mov dword [0x14073e798], 0x17
movzx eax, byte [0x14072fad1]
cmp al, 0x39
jne 0x140046b00
movsd xmm0, qword [rbp + 0x20]
mov rax, qword [rbp + 0x20]
movapd xmm2, xmm0
mov r8, rax
lea rax, str.__.14E
mov rdx, rax
lea rax, [0x14072fae0]
mov rcx, rax
call fcn.14000155f
mov rax, qword [0x14072fae0]
mov qword [0x14072fac0], rax
mov rax, qword [0x14072fae8]
mov qword [0x14072fac8], rax
movzx eax, byte [0x14072faf0]
mov byte [0x14072fad0], al
mov byte [0x14072fad1], 0x30
mov byte [0x14072fad2], 0x44
mov dword [0x14073e7a8], 0x10
mov dword [0x14073e79c], 0x11
jmp 0x140046b6b
mov eax, dword [0x14073e79c]
cdqe
lea rdx, [0x14072fac0]
movzx eax, byte [rax + rdx]
cmp al, 0x30
jne 0x140046b45
mov eax, dword [0x14073e7a8]
sub eax, 1
mov dword [0x14073e7a8], eax
jmp 0x140046b5c
mov eax, dword [0x14073e79c]
cdqe
lea rdx, [0x14072fac0]
movzx eax, byte [rax + rdx]
cmp al, 0x2e
jne 0x140046b77
mov eax, dword [0x14073e79c]
sub eax, 1
mov dword [0x14073e79c], eax
mov eax, dword [0x14073e79c]
test eax, eax
jg 0x140046b1d
jmp 0x140046b78
nop
mov eax, dword [0x14073e7a8]
test eax, eax
jne 0x140046bba
mov rax, qword [0x14073e790]
mov dword [rax + 8], 2
mov rax, qword [0x14073e790]
mov rax, qword [rax]
mov byte [rax], 0x20
mov rax, qword [0x14073e790]
mov rax, qword [rax]
add rax, 1
mov byte [rax], 0x30
mov rax, qword [0x14073e790]
jmp 0x140046ef8
movzx eax, byte [0x14072fad4]
movzx eax, al
sub eax, 0x30
imul ecx, eax, 0x64
movzx eax, byte [0x14072fad5]
movzx eax, al
lea edx, [rax - 0x30]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
lea edx, [rcx + rax]
movzx eax, byte [0x14072fad6]
movzx eax, al
sub eax, 0x30
add eax, edx
mov dword [0x14073e7ac], eax
movzx eax, byte [0x14072fad3]
cmp al, 0x2d
jne 0x140046c11
mov eax, dword [0x14073e7ac]
neg eax
mov dword [0x14073e7ac], eax
mov eax, dword [0x14073e7ac]
cmp eax, 0xf
jg 0x140046c33
mov edx, dword [0x14073e7ac]
mov eax, dword [0x14073e7a8]
sub edx, eax
cmp edx, 0xffffffef
jge 0x140046dd9
mov dword [0x14073e7a4], 0
mov eax, dword [0x14073e7a8]
add eax, 2
mov dword [0x14073e7a0], eax
mov eax, dword [0x14073e7a8]
cmp eax, 1
jne 0x140046c66
mov eax, dword [0x14073e7a0]
sub eax, 1
mov dword [0x14073e7a0], eax
mov dword [0x14073e79c], 0
jmp 0x140046cbb
mov ecx, dword [0x14073e79c]
mov rax, qword [0x14073e790]
mov rdx, qword [rax]
mov eax, dword [0x14073e7a4]
cdqe
add rdx, rax
movsxd rax, ecx
lea rcx, [0x14072fac0]
movzx eax, byte [rax + rcx]
mov byte [rdx], al
mov eax, dword [0x14073e7a4]
add eax, 1
mov dword [0x14073e7a4], eax
mov eax, dword [0x14073e79c]
add eax, 1
mov dword [0x14073e79c], eax
mov edx, dword [0x14073e79c]
mov eax, dword [0x14073e7a0]
cmp edx, eax
jl 0x140046c72
mov dword [0x14073e79c], 0x12
jmp 0x140046d20
mov ecx, dword [0x14073e79c]
mov rax, qword [0x14073e790]
mov rdx, qword [rax]
mov eax, dword [0x14073e7a4]
cdqe
add rdx, rax
movsxd rax, ecx
lea rcx, [0x14072fac0]
movzx eax, byte [rax + rcx]
mov byte [rdx], al
mov eax, dword [0x14073e7a4]
add eax, 1
mov dword [0x14073e7a4], eax
mov eax, dword [0x14073e79c]
add eax, 1
mov dword [0x14073e79c], eax
mov eax, dword [0x14073e79c]
cmp eax, 0x13
jle 0x140046cd7
mov eax, dword [0x14073e7ac]
cdq
xor eax, edx
sub eax, edx
mov dword [0x14073e7ac], eax
mov dword [0x14073e7a0], 0x15
mov eax, dword [0x14073e7ac]
cmp eax, 0x63
jle 0x140046d5b
mov dword [0x14073e7a0], 0x14
mov eax, dword [0x14073e7a0]
mov dword [0x14073e79c], eax
jmp 0x140046db2
mov ecx, dword [0x14073e79c]
mov rax, qword [0x14073e790]
mov rdx, qword [rax]
mov eax, dword [0x14073e7a4]
cdqe
add rdx, rax
movsxd rax, ecx
lea rcx, [0x14072fac0]
movzx eax, byte [rax + rcx]
mov byte [rdx], al
mov eax, dword [0x14073e7a4]
add eax, 1
mov dword [0x14073e7a4], eax
mov eax, dword [0x14073e79c]
add eax, 1
mov dword [0x14073e79c], eax
mov eax, dword [0x14073e79c]
cmp eax, 0x16
jle 0x140046d69
mov rax, qword [0x14073e790]
mov edx, dword [0x14073e7a4]
mov dword [rax + 8], edx
mov rax, qword [0x14073e790]
jmp 0x140046ef8
nop
mov eax, dword [0x14073e7ac]
not eax
mov edx, eax
mov eax, dword [0x14073e7a8]
add eax, edx
mov dword [0x14073e79c], eax
mov eax, dword [0x14073e79c]
test eax, eax
jns 0x140046e06
mov dword [0x14073e79c], 0
mov byte [0x14072fa9c], 0x25
mov byte [0x14072fa9d], 0x20
mov byte [0x14072fa9e], 0x2e
mov eax, dword [0x14073e79c]
cmp eax, 9
jle 0x140046e3e
mov byte [0x14072fa9f], 0x31
mov eax, dword [0x14073e79c]
add eax, 0x26
mov byte [0x14072faa0], al
jmp 0x140046e54
mov byte [0x14072fa9f], 0x30
mov eax, dword [0x14073e79c]
add eax, 0x30
mov byte [0x14072faa0], al
mov byte [0x14072faa1], 0x66
mov byte [0x14072faa2], 0
mov rax, qword [0x14073e790]
mov rax, qword [rax]
mov rbx, qword [0x14073e790]
movsd xmm0, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x20]
movapd xmm2, xmm0
mov r8, rdx
lea rdx, [0x14072fa9c]
mov rcx, rax
call fcn.14000155f
mov dword [rbx + 8], eax
mov rax, qword [0x14073e790]
mov rax, qword [rax]
add rax, 1
movzx eax, byte [rax]
cmp al, 0x30
jne 0x140046ef1
mov rax, qword [0x14073e790]
mov eax, dword [rax + 8]
sub eax, 2
movsxd rcx, eax
mov rax, qword [0x14073e790]
mov rax, qword [rax]
lea rdx, [rax + 2]
mov rax, qword [0x14073e790]
mov rax, qword [rax]
add rax, 1
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memmove
mov rax, qword [0x14073e790]
mov edx, dword [rax + 8]
sub edx, 1
mov dword [rax + 8], edx
mov rax, qword [0x14073e790]
add rsp, 0x28
pop rbx
pop rbp
ret