Function at 0x140105958
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 0x140105b7e
mov rcx, r15
sub rcx, rax
cmp rcx, 9
jle 0x140105c2a
cmp edx, 0xf423f
ja 0x140105b96
cmp edx, 0x270f
ja 0x140105a91
cmp edx, 0x63
ja 0x140105a48
cmp edx, 9
ja 0x140105a31
add 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 0x140105b8e
cmp rdi, 0x16
ja 0x140105c6e
mov byte [rsi + 0x17], dil
mov rbx, rsi
cmp r12, r15
je 0x140105a1d
lea rdx, [rsp + 0x28]
mov rcx, rbx
mov r8, rdi
call fcn.140111620
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 0x1401059d0
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 0x140105b55
add 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 0x1401059d0
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
ja 0x140105b03
add r8b, 0x30
mov byte [rax], r8b
mov edx, 0xffff
mov r8d, ecx
and r8d, edx
shr r8d, 2
imul r8d, r8d, 0x147b
shr r8d, 0x11
imul r9d, r8d, 0x64
sub ecx, r9d
lea r9, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx r8d, word [r9 + r8*2]
mov word [rax + 1], r8w
and ecx, edx
movzx ecx, word [r9 + rcx*2]
mov word [rax + 3], cx
mov ecx, 5
jmp 0x1401059d0
mov edx, r8d
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899GetSystemTimePreciseAsFileTime
movzx edx, word [r8 + rdx*2]
mov word [rax], dx
mov edx, 0xffff
mov r9d, ecx
and r9d, edx
shr r9d, 2
imul r9d, r9d, 0x147b
shr r9d, 0x11
imul r10d, r9d, 0x64
sub ecx, r10d
movzx r9d, word [r8 + r9*2]
mov word [rax + 2], r9w
and ecx, edx
movzx ecx, word [r8 + rcx*2]
mov word [rax + 4], cx
mov ecx, 6
jmp 0x1401059d0
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 0x1401059d0
lea rax, [rsp + 0x29]
mov byte [rax - 1], 0x2d
neg edx
jmp 0x140105990
mov rcx, rsi
call fcn.140165620
mov ecx, edx
cmp edx, 0x5f5e0ff
ja 0x140105cab
imul r8, rcx, 0x431bde83
shr r8, 0x32
imul r9d, r8d, 0xf4240
mov ecx, edx
sub ecx, r9d
cmp edx, 0x98967f
jbe 0x140105d53
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 0x1401059d0
mov r8d, edx
or r8d, 1
bsr r8d, r8d
xor r8d, 0xffffffe0
imul r8d, r8d, 0x4d1
add r8d, 0x9ef1
shr r8d, 0xc
lea r9, [0x1402a6188]
cmp edx, dword [r9 + r8*4]
sbb r8d, 0
inc r8d
mov rdi, r15
cmp rcx, r8
jge 0x1401059a0
jmp 0x1401059d9
mov rax, rdi
and rax, 0xfffffffffffffff8
add rax, 8
mov r14, rdi
or r14, 7
cmp r14, 0x17
cmove r14, rax
inc r14
mov rcx, r14
call fcn.14010cc14
mov rbx, rax
mov qword [rsi], rax
bts r14, 0x3f
mov qword [rsi + 0x10], r14
mov qword [rsi + 8], rdi
jmp 0x140105a05
imul r8, rcx, 0x55e63b89
shr r8, 0x39
imul r9d, r8d, 0x5f5e100
mov ecx, edx
sub ecx, r9d
cmp edx, 0x3b9ac9ff
jbe 0x140105db5
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 0x1401059d0
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 0x1401059d0
add 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 0x1401059d0