Function at 0x1401adaa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
lea rax, [rsp + 0x28]
lea r15, [rsp + 0x33]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [r15 - 0xb], rcx
mov dword [r15 - 4], 0xaaaaaaaa
test edx, edx
js 0x1401adc97
mov rcx, r15
sub rcx, rax
cmp rcx, 9
jle 0x1401ade05
cmp edx, 0xf423f
ja 0x1401adcd0
cmp edx, 0x270f
ja 0x1401adbd9
cmp edx, 0x63
ja 0x1401adb90
cmp edx, 9
ja 0x1401adb79
or dl, 0x30
mov byte [rax], dl
mov ecx, 1
add rax, rcx
mov rdi, rax
mov r15, rax
lea r12, [rsp + 0x28]
sub rdi, r12
movabs rax, 0x7ffffffffffffff8
cmp rdi, rax
jae 0x1401addfd
cmp rdi, 0x16
ja 0x1401ade49
mov byte [rsi + 0x17], dil
mov rbx, rsi
cmp r12, r15
je 0x1401adb65
lea rdx, [rsp + 0x28]
mov rcx, rbx
mov r8, rdi
call fcn.1402357f0
add rbx, rdi
mov byte [rbx], 0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, edx
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx ecx, word [rdx + rcx*2]
mov word [rax], cx
mov ecx, 2
jmp 0x1401adb18
movzx ecx, dx
shr ecx, 2
imul r8d, ecx, 0x147b
shr r8d, 0x11
imul r9d, r8d, 0x64
mov ecx, edx
sub ecx, r9d
cmp edx, 0x3e7
ja 0x1401adca7
or r8b, 0x30
mov byte [rax], r8b
movzx ecx, cx
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx ecx, word [rdx + rcx*2]
mov word [rax + 1], cx
mov ecx, 3
jmp 0x1401adb18
mov ecx, edx
mov r8d, 0xd1b71759
imul r8, rcx
shr r8, 0x2d
imul r9d, r8d, 0x2710
mov ecx, edx
sub ecx, r9d
cmp edx, 0x1869f
jbe 0x1401adc4c
mov edx, r8d
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx edx, word [r8 + rdx*2]
mov word [rax], dx
mov edx, ecx
and edx, 0xffff
shr edx, 2
imul edx, edx, 0x147b
shr edx, 0x11
imul r9d, edx, 0x64
sub ecx, r9d
movzx edx, word [r8 + rdx*2]
mov word [rax + 2], dx
and ecx, 0xffff
movzx ecx, word [r8 + rcx*2]
mov word [rax + 4], cx
mov ecx, 6
jmp 0x1401adb18
or r8b, 0x30
mov byte [rax], r8b
mov edx, ecx
and edx, 0xffff
shr edx, 2
imul edx, edx, 0x147b
shr edx, 0x11
imul r8d, edx, 0x64
sub ecx, r8d
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx edx, word [r8 + rdx*2]
mov word [rax + 1], dx
and ecx, 0xffff
movzx ecx, word [r8 + rcx*2]
mov word [rax + 3], cx
mov ecx, 5
jmp 0x1401adb18
lea rax, [rsp + 0x29]
mov byte [rax - 1], 0x2d
neg edx
jmp 0x1401adad8
movzx edx, r8w
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx edx, word [r8 + rdx*2]
mov word [rax], dx
movzx ecx, cx
movzx ecx, word [r8 + rcx*2]
mov word [rax + 2], cx
mov ecx, 4
jmp 0x1401adb18
mov ecx, edx
cmp edx, 0x5f5e0ff
jbe 0x1401ade82
imul r8, rcx, 0x55e63b89
shr r8, 0x39
imul r9d, r8d, 0x5f5e100
mov ecx, edx
sub ecx, r9d
cmp edx, 0x3b9ac9ff
ja 0x1401add78
or r8b, 0x30
mov byte [rax], r8b
mov edx, ecx
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
imul r8d, edx, 0xf4240
sub ecx, r8d
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx edx, word [r8 + rdx*2]
mov word [rax + 1], dx
imul rdx, rcx, 0x68db9
shr rdx, 0x20
imul r9d, edx, 0x2710
sub ecx, r9d
movzx edx, word [r8 + rdx*2]
mov word [rax + 3], dx
imul edx, ecx, 0x147b
shr edx, 0x13
imul r9d, edx, 0x64
sub ecx, r9d
movzx edx, word [r8 + rdx*2]
mov word [rax + 5], dx
movzx ecx, cx
movzx ecx, word [r8 + rcx*2]
mov word [rax + 7], cx
mov ecx, 9
jmp 0x1401adb18
mov r8d, r8d
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx r8d, word [rdx + r8*2]
mov word [rax], r8w
mov r8d, ecx
imul r8, r8, 0x431bde83
shr r8, 0x32
imul r9d, r8d, 0xf4240
sub ecx, r9d
movzx r8d, word [rdx + r8*2]
mov word [rax + 2], r8w
imul r8, rcx, 0x68db9
shr r8, 0x20
imul r9d, r8d, 0x2710
sub ecx, r9d
movzx r8d, word [rdx + r8*2]
mov word [rax + 4], r8w
imul r8d, ecx, 0x147b
shr r8d, 0x13
imul r9d, r8d, 0x64
sub ecx, r9d
movzx r8d, word [rdx + r8*2]
mov word [rax + 6], r8w
movzx ecx, cx
movzx ecx, word [rdx + rcx*2]
mov word [rax + 8], cx
mov ecx, 0xa
jmp 0x1401adb18
mov rcx, rsi
call fcn.140236a90
mov r8d, edx
or r8d, 1
bsr r8d, r8d
xor r8d, 0xffffffe0
imul r8d, r8d, 0x4d1
add r8d, 0x9ef1
shr r8d, 0xc
lea r9, [0x1402a0760]
cmp edx, dword [r9 + r8*4]
sbb r8d, 0
inc r8d
mov rdi, r15
cmp rcx, r8
jge 0x1401adae8
jmp 0x1401adb21
and rax, rdi
add rax, 8
mov r14, rdi
or r14, 7
cmp r14, 0x17
cmove r14, rax
inc r14
mov rcx, r14
call fcn.1401ef3e0
mov rbx, rax
mov qword [rsi], rax
bts r14, 0x3f
mov qword [rsi + 0x10], r14
mov qword [rsi + 8], rdi
jmp 0x1401adb4d
imul r8, rcx, 0x431bde83
shr r8, 0x32
imul r9d, r8d, 0xf4240
mov ecx, edx
sub ecx, r9d
cmp edx, 0x98967f
ja 0x1401adf03
add r8b, 0x30
mov byte [rax], r8b
mov edx, ecx
mov r8d, 0xd1b71759
imul r8, rdx
shr r8, 0x2d
imul edx, r8d, 0x2710
sub ecx, edx
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx r8d, word [rdx + r8*2]
mov word [rax + 1], r8w
imul r8d, ecx, 0x147b
shr r8d, 0x13
imul r9d, r8d, 0x64
sub ecx, r9d
movzx r8d, word [rdx + r8*2]
mov word [rax + 3], r8w
movzx ecx, cx
movzx ecx, word [rdx + rcx*2]
mov word [rax + 5], cx
mov ecx, 7
jmp 0x1401adb18
mov edx, r8d
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx edx, word [r8 + rdx*2]
mov word [rax], dx
mov edx, ecx
mov r9d, 0xd1b71759
imul r9, rdx
shr r9, 0x2d
imul edx, r9d, 0x2710
sub ecx, edx
movzx edx, word [r8 + r9*2]
mov word [rax + 2], dx
imul edx, ecx, 0x147b
shr edx, 0x13
imul r9d, edx, 0x64
sub ecx, r9d
movzx edx, word [r8 + rdx*2]
mov word [rax + 4], dx
movzx ecx, cx
movzx ecx, word [r8 + rcx*2]
mov word [rax + 6], cx
mov ecx, 8
jmp 0x1401adb18