Function at 0x140003000
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x840
mov rax, qword [0x140015008]
xor rax, rsp
mov qword [rsp + 0x830], rax
lea rcx, str.SHELL32.DLL
mov byte [0x140019ae8], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
lea rbp, [0x140019ae8]
mov rdi, rax
test rax, rax
je 0x14000308d
lea rdx, str.SHGetSpecialFolderPathA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003084
lea r8d, [rbx + 0x26]
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call rax
movzx ecx, byte [0x140019ae8]
cmp eax, 1
cmovne ecx, ebx
mov byte [0x140019ae8], cl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [0x140019ae8], bl
lea rsi, [0x140018e50]
jne 0x1400031f0
lea rcx, str.SHFOLDER.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400030f8
lea rdx, str.SHGetFolderPathA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400030ef
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x26]
mov qword [rsp + 0x20], rbp
call rax
movzx ecx, byte [0x140019ae8]
test eax, eax
cmovne ecx, ebx
mov byte [0x140019ae8], cl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [0x140019ae8], bl
jne 0x1400031f0
lea rcx, [rsp + 0x30]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
mov r11d, eax
xor eax, eax
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp r11, rcx
je 0x140003148
movzx eax, word [0x140011fc4]
mov word [rsp + 0x30], ax
movzx eax, byte [0x140011fc6]
mov byte [rsp + 0x32], al
jmp 0x1400031a4
movzx ecx, byte [rsp + 0x30]
mov edi, ebx
test cl, cl
je 0x1400031a4
cmp cl, 0x5c
mov r9d, 1
mov rdx, rbx
cmove eax, r9d
mov ecx, ebx
movsxd r8, eax
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x30]
test al, al
je 0x1400031a4
cmp al, 0x5c
jne 0x140003194
cmp r8, r9
jne 0x14000318d
cmp rdx, 2
jle 0x140003194
mov ecx, r9d
jmp 0x140003194
test r8, r8
cmove ecx, r9d
inc edi
inc rdx
test ecx, ecx
je 0x140003170
movsxd rax, edi
mov byte [rsp + rax + 0x30], bl
xor eax, eax
lea rdi, [rsp + 0x30]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.Program_Files_]
mov qword [rdi - 1], rax
mov rax, qword [0x140011fd0]
mov qword [rdi + 7], rax
nop word [rax + rax]
movzx ecx, byte [rsp + rbx + 0x30]
inc rbx
mov byte [rbx + rsi + 0xc97], cl
test cl, cl
jne 0x1400031d0
cmp byte [0x140019ae8], cl
jne 0x1400031f0
or eax, 0xffffffff
jmp 0x140003253
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rsi + 0xc96], 0x5c
je 0x14000321c
mov rdi, rbp
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x140011f70]
mov word [rdi - 1], ax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
mov rax, qword [str.VBVBVoicemeeterVAIOs]
mov qword [rdi - 1], rax
mov rax, qword [0x140012748]
mov qword [rdi + 7], rax
mov eax, dword [0x140012750]
mov dword [rdi + 0xf], eax
movzx eax, word [0x140012754]
mov word [rdi + 0x13], ax
xor eax, eax
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140004650
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret