Function at 0x140038ff0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1860
call fcn.140222df0
sub rsp, rax
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x1850], rax
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x640]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0x104
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003979d
lea rax, [rsp + 0x430]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8, 0xffffffffffffffff
lea rdx, [0x1402efcac]
mov rcx, qword [rsp + 0x1880]
call fcn.140056750
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x1880]
call fcn.1400375d0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14000c690
lea r9, [rsp + 0x430]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x640]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x240]
call fcn.14000a800
cmp dword [rsp + 0x48], 0
je 0x14003979d
mov qword [rsp + 0x50], 0xffffffffffffffff
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x430]
call fcn.1400f24d0
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14003979d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x14011b940]
mov r8d, 0xffe
lea rdx, [rsp + 0x850]
lea rcx, [rsp + 0x320]
call fcn.140048480
nop
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 5
mov qword [rsp + 0x70], 1
lea r8, [rsp + 0x60]
mov edx, 2
lea rcx, [rsp + 0x320]
call fcn.140056800
lea r8, [rsp + 0x68]
xor edx, edx
lea rcx, [rsp + 0x320]
call fcn.140056800
lea r8, [rsp + 0x70]
mov edx, 1
lea rcx, [rsp + 0x320]
call fcn.140056800
lea rdx, [rsp + 0x320]
mov rcx, qword [rsp + 0x1878]
call fcn.140042c00
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x50]
call fcn.1400f25c0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400396b9
lea rcx, [rsp + 0x220]
call fcn.14000a280
nop
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x1fc]
mov edx, eax
lea rcx, [rsp + 0x100]
call fcn.1400486c0
movzx eax, word [rsp + 0x1fa]
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.1400486c0
movzx eax, word [rsp + 0x1f8]
mov edx, eax
lea rcx, [rsp + 0x120]
call fcn.1400486c0
movzx eax, word [rsp + 0x1f6]
mov edx, eax
lea rcx, [rsp + 0x130]
call fcn.1400486c0
movzx eax, word [rsp + 0x1f2]
mov edx, eax
lea rcx, [rsp + 0x140]
call fcn.1400486c0
movzx eax, word [rsp + 0x1f0]
mov edx, eax
lea rcx, [rsp + 0x150]
call fcn.1400486c0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x150]
lea rdx, str..bak._04d_02d_02d__02d_02d_02d
lea rcx, [rsp + 0x220]
call fcn.1400434a0
lea r8, [rsp + 0x220]
mov rdx, qword [rsp + 0x1880]
lea rcx, [rsp + 0x200]
call fcn.140025010
nop
mov rcx, qword [rsp + 0x1880]
call fcn.14000c690
xor edx, edx
mov rcx, rax
call fcn.1400f1be0
movzx eax, al
test eax, eax
je 0x14003969e
lea rcx, [rsp + 0x200]
call fcn.14000c690
xor edx, edx
mov rcx, rax
call fcn.1400f1be0
movzx eax, al
test eax, eax
je 0x1400393f4
lea rcx, [rsp + 0x200]
call fcn.14000c690
mov rcx, rax
call fcn.1400f23b0
test eax, eax
je 0x1400393f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x260]
call fcn.1400f1950
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.14001e490
lea rcx, [rsp + 0x200]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.14001e490
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x170]
lea rcx, str.Failed_to_delete___S_:__S
call fcn.140103300
nop
lea rcx, [rsp + 0x260]
call fcn.14000a800
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003969e
lea rcx, [rsp + 0x200]
call fcn.14000c690
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x1880]
call fcn.14000c690
mov qword [rsp + 0x90], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400f1ee0
test eax, eax
jne 0x1400395e3
mov rcx, qword [rsp + 0x1880]
call fcn.14000c690
mov rcx, rax
call fcn.1400f23b0
test eax, eax
jne 0x140039548
mov rcx, qword [rsp + 0x1880]
call fcn.14000c690
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x430]
call fcn.1400f1ee0
test eax, eax
je 0x140039543
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x280]
call fcn.1400f1950
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.14001e490
mov rcx, qword [rsp + 0x1880]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.14001e490
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x1a0]
call fcn.14001e490
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x1a0]
lea rcx, [0x1402efd28]
call fcn.1401033a0
nop
lea rcx, [rsp + 0x280]
call fcn.14000a800
mov byte [rsp + 0x40], 0
jmp 0x1400395de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x2a0]
call fcn.1400f1950
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.14001e490
mov rcx, qword [rsp + 0x1880]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.14001e490
lea r8, [rsp + 0x1b0]
lea rdx, [rsp + 0x1c0]
lea rcx, str.Failed_to_remove___S_:__S
call fcn.140103300
nop
lea rcx, [rsp + 0x2a0]
call fcn.14000a800
mov byte [rsp + 0x40], 0
jmp 0x14003969e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x2c0]
call fcn.1400f1950
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.14001e490
lea rcx, [rsp + 0x200]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.14001e490
mov rcx, qword [rsp + 0x1880]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.14001e490
lea r9, [rsp + 0x1d0]
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0xf0]
lea rcx, str.Failed_to_copy___S__to___S_:__S
call fcn.1401033a0
nop
lea rcx, [rsp + 0x2c0]
call fcn.14000a800
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x200]
call fcn.14000a800
nop
lea rcx, [rsp + 0x220]
call fcn.14000a800
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140039782
mov rax, qword [rsp + 0x1870]
mov dword [rax + 0x48], 2
mov rax, qword [rsp + 0x1870]
add rax, 8
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0x1880]
lea rdx, str.Failed_to_serialize_kvgroup_to_file
lea rcx, [rsp + 0x300]
call fcn.14001b910
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea r8, reloc.msi.dll_MsiEnumClientsA
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x2e0]
call fcn.140024fb0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call fcn.140020060
nop
lea rcx, [rsp + 0x2e0]
call fcn.14000a800
nop
lea rcx, [rsp + 0x300]
call fcn.14000a800
lea rcx, [rsp + 0x430]
call fcn.1400f23b0
nop
lea rcx, [rsp + 0x320]
call fcn.140049c90
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x1850]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x1860
pop rdi
ret