Function at 0x66aef0
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x300
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x48], rdx
mov dword [rbp + 0x44], r8d
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0
nop
mov rcx, qword [rbp + 0x38]
call fcn.00410080
mov word [rbp + 0xf6], 0
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0xf6]
mov r8d, dword [rbp + 0x44]
xor r9, r9
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x66b016
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0xf6]
mov r8d, 0x105
call fcn.00411f10
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
xor rcx, rcx
test rax, rax
je 0x66b028
mov ecx, dword [rax - 4]
cmp ecx, 2
jg 0x66b51c
mov eax, dword [rbp + 0x44]
cmp eax, 0x26
jg 0x66b068
cmp eax, 0x26
je 0x66b15b
sub eax, 0x1a
test eax, eax
je 0x66b2d5
sub eax, 2
test eax, eax
je 0x66b3c9
sub eax, 7
test eax, eax
jne 0x66b51c
jmp 0x66b4a2
sub eax, 0x28
test eax, eax
je 0x66b07f
sub eax, 3
test eax, eax
jne 0x66b51c
jmp 0x66b218
lea rcx, [rbp + 0xe8]
lea rdx, [0x0066b574]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xe8]
call fcn.0047ce80
mov rax, qword [rbp + 0x38]
cmp qword [rax], 0
jne 0x66b51c
lea rcx, [0x0066b58c]
call sub.kernel32.dll_GetModuleHandleW
lea rcx, [rbp + 0xe0]
mov rdx, rax
call fcn.0048c160
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xe0]
call fcn.0047f420
mov rax, qword [0x00bb6fe0]
cmp dword [rax], 5
jle 0x66b121
lea rcx, [rbp + 0xd8]
call fcn.0066a8f0
mov rcx, qword [rbp + 0x38]
mov edx, 3
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
lea r9, [0x0066b5b4]
mov rax, qword [rbp + 0xd8]
mov qword [rsp + 0x20], rax
call fcn.00412390
jmp 0x66b51c
lea rcx, [rbp + 0xd0]
call fcn.0066a8f0
mov rcx, qword [rbp + 0x38]
mov edx, 3
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
lea r9, [0x0066b5d0]
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x20], rax
call fcn.00412390
jmp 0x66b51c
call fcn.0066cdd0
test al, al
je 0x66b189
lea rcx, [rbp + 0xc8]
lea rdx, [0x0066b610]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xc8]
call fcn.0047ce80
jmp 0x66b1ac
lea rcx, [rbp + 0xc0]
lea rdx, [0x0066b640]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xc0]
call fcn.0047ce80
mov rax, qword [rbp + 0x38]
cmp qword [rax], 0
jne 0x66b51c
lea rcx, [0x0066b58c]
call sub.kernel32.dll_GetModuleHandleW
lea rcx, [rbp + 0xb8]
mov rdx, rax
call fcn.0048c160
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xb8]
call fcn.0047f420
call fcn.0066cdd0
test al, al
je 0x66b203
mov rcx, qword [rbp + 0x38]
lea rdx, [0x0066b668]
call fcn.00412180
jmp 0x66b51c
mov rcx, qword [rbp + 0x38]
lea rdx, [0x0066b6a0]
call fcn.00412180
jmp 0x66b51c
call fcn.0066cdd0
test al, al
je 0x66b246
lea rcx, [rbp + 0xb0]
lea rdx, [0x0066b6cc]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xb0]
call fcn.0047ce80
jmp 0x66b269
lea rcx, [rbp + 0xa8]
lea rdx, [0x0066b708]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xa8]
call fcn.0047ce80
mov rax, qword [rbp + 0x38]
cmp qword [rax], 0
jne 0x66b51c
lea rcx, [0x0066b58c]
call sub.kernel32.dll_GetModuleHandleW
lea rcx, [rbp + 0xa0]
mov rdx, rax
call fcn.0048c160
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xa0]
call fcn.0047f420
call fcn.0066cdd0
test al, al
je 0x66b2c0
mov rcx, qword [rbp + 0x38]
lea rdx, [0x0066b73c]
call fcn.00412180
jmp 0x66b51c
mov rcx, qword [rbp + 0x38]
lea rdx, [0x0066b78c]
call fcn.00412180
jmp 0x66b51c
lea rcx, [rbp + 0x98]
lea rdx, [0x0066b7d0]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x98]
call fcn.0047ce80
mov rax, qword [rbp + 0x38]
cmp qword [rax], 0
jne 0x66b51c
lea rcx, [0x0066b58c]
call sub.kernel32.dll_GetModuleHandleW
lea rcx, [rbp + 0x90]
mov rdx, rax
call fcn.0048c160
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x90]
call fcn.0047f420
mov rax, qword [0x00bb6fe0]
cmp dword [rax], 5
jle 0x66b383
lea rcx, [rbp + 0x88]
call fcn.0066a8f0
mov rcx, qword [rbp + 0x38]
mov edx, 4
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
lea r9, [0x0066b5b4]
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
lea rax, [0x0066b7ec]
mov qword [rsp + 0x28], rax
call fcn.00412390
jmp 0x66b51c
lea rcx, [rbp + 0x80]
call fcn.0066a8f0
mov rcx, qword [rbp + 0x38]
mov edx, 4
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
lea r9, [0x0066b5d0]
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea rax, [0x0066b81c]
mov qword [rsp + 0x28], rax
call fcn.00412390
jmp 0x66b51c
lea rcx, [rbp + 0x78]
lea rdx, [0x0066b84c]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x78]
call fcn.0047ce80
mov rax, qword [rbp + 0x38]
cmp qword [rax], 0
jne 0x66b51c
lea rcx, [0x0066b58c]
call sub.kernel32.dll_GetModuleHandleW
lea rcx, [rbp + 0x70]
mov rdx, rax
call fcn.0048c160
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x70]
call fcn.0047f420
mov rax, qword [0x00bb6fe0]
cmp dword [rax], 5
jle 0x66b465
lea rcx, [rbp + 0x68]
call fcn.0066a8f0
mov rcx, qword [rbp + 0x38]
mov edx, 4
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
lea r9, [0x0066b5b4]
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea rax, [0x0066b874]
mov qword [rsp + 0x28], rax
call fcn.00412390
jmp 0x66b51c
lea rcx, [rbp + 0x60]
call fcn.0066a8f0
mov rcx, qword [rbp + 0x38]
mov edx, 4
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
lea r9, [0x0066b5d0]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0066b8a0]
mov qword [rsp + 0x28], rax
call fcn.00412390
jmp 0x66b51c
lea rcx, [rbp + 0x58]
lea rdx, [0x0066b8f0]
call fcn.0048d420
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x58]
call fcn.0047ce80
mov rax, qword [rbp + 0x38]
cmp qword [rax], 0
jne 0x66b51c
lea rcx, [0x0066b58c]
call sub.kernel32.dll_GetModuleHandleW
lea rcx, [rbp + 0x50]
mov rdx, rax
call fcn.0048c160
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x50]
call fcn.0047f420
mov rax, qword [0x00bb6fe0]
cmp dword [rax], 5
jle 0x66b50c
mov rcx, qword [rbp + 0x38]
lea rdx, [0x0066b914]
call fcn.00412180
jmp 0x66b51c
mov rcx, qword [rbp + 0x38]
lea rdx, [0x0066b93c]
call fcn.00412180
nop
lea rcx, [rbp + 0x50]
mov edx, 0x14
call fcn.00410160
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x300]
pop rbp
ret