Function at 0x140009140
Capabilities:
Get common file path
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10e0]
mov eax, 0x11e0
call fcn.14007b510
sub rsp, rax
mov rax, qword [0x14009c010]
xor rax, rsp
mov qword [rbp + 0x10d0], rax
mov rsi, rcx
call fcn.140008e00
xor r14d, r14d
mov qword [rbp + 0x10], r14
movabs r12, 0xac239599d229e7f5
mov qword [rbp + 0x80], r12
movabs r15, 0xc35c56bcfb4a3ffe
mov qword [rbp + 0x88], r15
movabs rax, 0xf749516775e60cc7
mov qword [rbp + 0x90], rax
movabs r13, 0x32b48e42ed9875d0
mov qword [rbp + 0x98], r13
movabs rax, 0x75c762056f6bde59
mov qword [rbp + 0xa0], rax
movabs rax, 0xbc92dfe82d7a08a2
mov qword [rbp + 0xa8], rax
movabs rax, 0x798d8fa39a63994b
mov qword [rbp + 0xb0], rax
movabs rax, 0x64c1492ed64aca34
mov qword [rbp + 0xb8], rax
movabs rax, 0x6fa40df15c4c2d9d
mov qword [rbp + 0xc0], rax
movabs rcx, 0x42af13945be54d26
mov qword [rbp + 0xc8], rcx
movabs rax, 0xac5795ead250e7a6
mov qword [rbp - 0x80], rax
movabs rax, 0xc31f56e0fb273f9b
mov qword [rbp - 0x78], rax
movabs rax, 0xf72c511575940cb2
mov qword [rbp - 0x70], rax
movabs rax, 0x32db8e01edec75be
mov qword [rbp - 0x68], rax
movabs rax, 0x75a862776f1fde37
mov qword [rbp - 0x60], rax
movabs rax, 0xbce6df8d2d2908ce
mov qword [rbp - 0x58], rax
movabs rax, 0x79ff8fc69a309917
mov qword [rbp - 0x50], rax
movabs rax, 0x64a4494dd623ca42
mov qword [rbp - 0x48], rax
movabs rax, 0x6fa40df15c102dee
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
movdqa xmm0, xmmword [rbp - 0x80]
pxor xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [rbp - 0x70]
pxor xmm1, xmmword [rbp + 0x90]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [rbp - 0x60]
pxor xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [rbp - 0x50]
pxor xmm1, xmmword [rbp + 0xb0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [rbp - 0x40]
pxor xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
lea rax, [rbp - 0x80]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140009340
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.1400045a0
nop
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x140009360
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400046d0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400093e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009842
call fcn.140050434
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
cmp qword [rbp + 0x30], 0
je 0x1400097f3
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400097f3
mov rbx, qword [rbp + 0x10]
lea rdx, [rbp + 0xd0]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r15
movabs rax, 0xac5095e0d25ae7db
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r15
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rbp + 0x60], r14
movdqa xmm0, xmmword [0x1400907c0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r14w
lea rax, [rbp + 0xd0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400094b0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x60]
call fcn.1400045a0
nop
mov qword [rsp + 0x50], r14
movdqa xmm0, xmmword [0x1400907c0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov r8d, 4
lea rdx, [0x14008f918]
lea rcx, [rsp + 0x50]
call fcn.1400045a0
nop
lea r9, [rbp + 0x60]
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.14000a0e0
nop
mov r8, rdi
inc r8
cmp word [rsi + r8*2], 0
jne 0x140009513
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.1400046d0
mov qword [rbp - 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rax, [rsp + 0x70]
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140009560
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.1400046d0
mov qword [rbp + 0x40], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp - 0x30]
call fcn.1400044f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400044f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400044f0
nop
lea rcx, [rbp + 0x60]
call fcn.1400044f0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r15
movabs r14, 0xf749516775e60cc7
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r13
movabs rax, 0xac4495f8d244e7bc
mov qword [rsp + 0x50], rax
movabs rax, 0xc32856ddfb1a3f9b
mov qword [rsp + 0x58], rax
movabs rax, 0xf749516775e60caf
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rbp + 0x70]
movdqa xmmword [rsp + 0x60], xmm1
mov eax, dword [rbp + 0x50]
add eax, eax
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rcx, qword [rbp + 0x40]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r15
movabs rax, 0xac4695e9d250e7a1
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r15
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
mov dword [rbp + 0x18], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edi, eax
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r13
movabs rax, 0xac4c95ebd25be7b0
mov qword [rsp + 0x50], rax
movabs rax, 0xc33256d3fb093f8c
mov qword [rsp + 0x58], rax
movabs rax, 0xf725510875940cb3
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rbp + 0x70]
movdqa xmmword [rsp + 0x60], xmm1
mov dword [rbp + 0x18], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edi, eax
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r15
movabs rax, 0xac5195f8d25de7a6
mov qword [rsp + 0x70], rax
movabs rax, 0xc35c56bcfb4a3f8a
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
mov dword [rbp + 0x18], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edi, eax
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1400097e6
mov rcx, rsi
call fcn.140008e00
xor bl, bl
jmp 0x1400097e8
mov bl, 1
lea rcx, [rbp + 0x40]
call fcn.1400044f0
jmp 0x1400097f5
xor bl, bl
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x14000980f
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400047d0
movzx eax, bl
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.1400503d0
lea r11, [rsp + 0x11e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005c7f0
nop
int3