Function at 0x180007e60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13a0]
mov eax, 0x14a0
call fcn.1800405a0
sub rsp, rax
mov r15, r8
mov r12, rdx
mov r13, rcx
xor edi, edi
mov qword [rbp + 0x13f8], rdi
lea r9, [rbp + 0x13f8]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180043510]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
js 0x180007f17
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov rdx, qword [rbp + 0x13f8]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x180007ee1
lea rcx, [rsp + 0x30]
call fcn.1800037f0
mov rcx, qword [rbp + 0x13f8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x80], xmm1
jmp 0x180007f67
lea rdx, str.Failed_to_get_Program_Files_path._Error:
lea rcx, [0x18005b8f0]
call fcn.180004ea0
mov rcx, rax
mov edx, ebx
call fcn.180009c30
mov rcx, rax
call fcn.180005120
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
xor r8d, r8d
lea rdx, [0x180051a78]
lea rcx, [rsp + 0x70]
call fcn.1800037f0
nop
cmp qword [rbp - 0x80], 0
jne 0x180007fdf
mov qword [r13], rdi
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], 7
mov word [r13], di
xor r8d, r8d
lea rdx, [0x180051a78]
mov rcx, r13
call fcn.1800037f0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x180007fd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008776
call fcn.180014910
mov rax, r13
jmp 0x18000875b
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.180007b10
nop
mov rsi, qword [rbp - 0x70]
mov rbx, rsi
mov r14, qword [rbp - 0x68]
cmp rsi, r14
je 0x180008015
nop
mov rdx, rbx
call fcn.1800087c0
test al, al
jne 0x180008015
add rbx, 0x20
cmp rbx, r14
jne 0x180008000
cmp rbx, r14
je 0x1800080cd
lea rdi, [rbx + 0x20]
cmp rdi, r14
je 0x1800080b6
mov rdx, rdi
call fcn.1800087c0
test al, al
jne 0x1800080ad
cmp rbx, rdi
je 0x1800080a9
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18000807b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180008076
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180008782
mov rcx, r8
call fcn.180014910
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
add rbx, 0x20
add rdi, 0x20
jmp 0x180008022
cmp rbx, r14
je 0x1800080cd
mov rdx, r14
mov rcx, rbx
call fcn.18000a4d0
mov r14, rbx
mov qword [rbp - 0x68], rbx
cmp rsi, r14
je 0x1800086b8
call fcn.180017d34
mov dword [rbp + 0x1394], 0xffffffff
mov dword [rbp + 0x14], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x14], eax
inc rdx
cmp rdx, 0x270
jb 0x1800080f0
mov dword [rbp + 0x10], 0x270
mov rbx, r14
sub rbx, rsi
sar rbx, 5
dec ebx
cmp ebx, 0x80000000
jb 0x18000813c
cmp ebx, 0xffffffff
jne 0x18000813c
lea rcx, [rbp + 0x10]
call fcn.18000af70
mov edx, eax
jmp 0x180008184
lea edi, [rbx + 1]
xor r15d, r15d
mov r8d, r15d
mov eax, r15d
test ebx, ebx
je 0x18000815d
lea rcx, [rbp + 0x10]
call fcn.18000af70
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov r9d, edx
mov ecx, eax
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x180008176
cmp r9d, ebx
jne 0x180008142
xor edx, edx
mov eax, r8d
div edi
mov r15, qword [rbp + 0x13f0]
movsxd rdx, edx
shl rdx, 5
add rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.180009e80
nop
lea r8, [0x180052fc0]
mov rdx, r12
lea rcx, [rbp - 0x58]
call fcn.180009f80
mov rbx, rax
mov r9, r15
cmp qword [r15 + 0x18], 8
jb 0x1800081bb
mov r9, qword [r15]
lea r12, [r15 + 0x10]
mov rdx, qword [r12]
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x18000820a
lea r15, [rcx + rdx]
mov qword [rbx + 0x10], r15
mov rdi, rbx
cmp r8, 8
jb 0x1800081ea
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.180019900
xor eax, eax
mov word [rdi + r15*2], ax
mov r15, qword [rbp + 0x13f0]
jmp 0x18000821a
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.18000aca0
mov rbx, rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18000828b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008286
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008788
call fcn.180014910
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], di
lea r8, [0x180052fc0]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.180009f80
mov rbx, rax
cmp qword [r15 + 0x18], 8
jb 0x1800082c3
mov r15, qword [r15]
mov qword [rbp + 0x13f0], r15
mov rdx, qword [r12]
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x18000830d
lea r15, [rcx + rdx]
mov qword [rbx + 0x10], r15
mov rdi, rbx
cmp r8, 8
jb 0x1800082ee
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, qword [rbp + 0x13f0]
call fcn.180019900
xor eax, eax
mov word [rdi + r15*2], ax
xor edi, edi
jmp 0x180008320
mov qword [rsp + 0x20], rdx
mov r9, r15
mov rcx, rbx
call fcn.18000aca0
mov rbx, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x18000838f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000838a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000878e
call fcn.180014910
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], di
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18000852b
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 8]
movups xmmword [r13 + 0x10], xmm1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x180008429
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008424
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008794
call fcn.180014910
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x18000847e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008479
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000879a
call fcn.180014910
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
test rsi, rsi
je 0x1800084da
mov rdx, r14
mov rcx, rsi
call fcn.18000a4d0
mov rdx, qword [rbp - 0x60]
sub rdx, rsi
and rdx, 0xffffffffffffffe0
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800084d1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800087a6
mov rcx, rsi
call fcn.180014910
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x180007fd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000877c
call fcn.180014910
mov rax, r13
jmp 0x18000875b
mov rdx, qword [rbp + 0x13e8]
mov rcx, r13
call fcn.180009e80
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x18000857d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008578
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008794
call fcn.180014910
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800085d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800085cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000879a
call fcn.180014910
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x180008626
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008620
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800087a0
call fcn.180014910
nop
test rsi, rsi
je 0x18000866f
mov rdx, r14
mov rcx, rsi
call fcn.18000a4d0
mov rdx, qword [rbp - 0x60]
sub rdx, rsi
and rdx, 0xffffffffffffffe0
mov rax, rsi
cmp rdx, 0x1000
jb 0x180008666
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800087a6
mov rcx, rsi
call fcn.180014910
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x180007fd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000877c
jmp 0x180007fd2
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.No_subfolders_found_in_Program_Files.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
test rsi, rsi
je 0x18000871e
mov rdx, r14
mov rcx, rsi
call fcn.18000a4d0
mov rdx, qword [rbp - 0x60]
sub rdx, rsi
and rdx, 0xffffffffffffffe0
mov rax, rsi
cmp rdx, 0x1000
jb 0x180008715
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800087ac
mov rcx, rsi
call fcn.180014910
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x18000875b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008776
call fcn.180014910
mov rbx, qword [rsp + 0x14e0]
add rsp, 0x14a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800233b4
int3
call fcn.1800233b4
nop
call fcn.1800233b4
nop
call fcn.1800233b4
nop
call fcn.1800233b4
nop
call fcn.1800233b4
nop
call fcn.1800233b4
nop
call fcn.1800233b4
nop
call fcn.1800233b4
int3
call fcn.1800233b4
int3