Function at 0x140006820
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor esi, esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rax
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
mov ebx, 7
mov r8d, ebx
lea rdx, str.dbg.exe
lea rcx, [rsp + 0x20]
call fcn.140010850
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x50], xmm1
mov r8d, 0xa
lea rdx, str.x64dbg.exe
lea rcx, [rsp + 0x40]
call fcn.140010850
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
mov r8d, 0xc
lea rdx, [0x140015a98]
lea rcx, [rsp + 0x60]
call fcn.140010850
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
mov r8d, 0xb
lea rdx, str.x64_dbg.dll
lea rcx, [rbp - 0x80]
call fcn.140010850
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
mov r8d, 0xb
lea rdx, str.x32_dbg.dll
lea rcx, [rbp - 0x60]
call fcn.140010850
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
mov r8d, 0xa
lea rdx, str.x96dbg.exe
lea rcx, [rbp - 0x40]
call fcn.140010850
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
mov r8d, 0xa
lea rdx, str.x64gui.dll
lea rcx, [rbp - 0x20]
call fcn.140010850
nop
lea rax, [rsp + 0x20]
mov qword [rbp], rax
lea rax, [rbp]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp]
lea rcx, [rbp + 0x68]
call fcn.14000d9b0
nop
lea r9, [fcn.1400036c0]
mov r8d, ebx
mov edx, 0x20
lea rcx, [rsp + 0x20]
call fcn.14001297c
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], rsi
movups xmmword [rbp + 0x28], xmm0
movdqu xmmword [rbp + 0x38], xmm1
mov r8d, 3
lea rdx, [0x140015b18]
lea rcx, [rbp + 0x28]
call fcn.140010850
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, qword [rbp + 0x20]
je 0x140006a07
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, ebx
mov word [rbp + 0x28], si
add qword [rbp + 0x18], 0x20
jmp 0x140006a18
lea r8, [rbp + 0x28]
lea rcx, [rbp + 0x10]
call fcn.140011980
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x140006a54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d24
call fcn.140012c8c
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
mov r8d, 0xa
lea rdx, str.C:Windows
lea rcx, [rbp + 0x28]
call fcn.140010850
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, qword [rbp + 0x20]
je 0x140006a9e
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov word [rbp + 0x28], si
add qword [rbp + 0x18], 0x20
jmp 0x140006aaf
lea r8, [rbp + 0x28]
lea rcx, [rbp + 0x10]
call fcn.140011980
mov rbx, qword [rbp + 0x40]
cmp rbx, 7
jbe 0x140006aeb
lea rdx, [rbx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ae6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d24
call fcn.140012c8c
mov qword [rbp], rsi
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140015610]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rbx, 0xffffffffffffffff
xorps xmm0, xmm0
test eax, eax
js 0x140006b60
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
mov rdx, qword [rbp]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140006b30
lea rcx, [rbp + 0x48]
call fcn.140010850
mov rcx, qword [rbp]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbp + 0x58]
movups xmmword [rbp + 0x38], xmm1
jmp 0x140006b80
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rsi
xor r8d, r8d
lea rdx, [0x140015a78]
lea rcx, [rbp + 0x28]
call fcn.140010850
nop
cmp qword [rbp + 0x38], 0
je 0x140006bb4
mov rax, qword [rbp + 0x18]
cmp rax, qword [rbp + 0x20]
je 0x140006ba4
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.14000eb10
add qword [rbp + 0x18], 0x20
jmp 0x140006bb4
lea r8, [rbp + 0x28]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140011b50
mov qword [rbp], rsi
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140015600]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
test eax, eax
js 0x140006c2b
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
mov rdx, qword [rbp]
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140006bf0
mov r8, rbx
lea rcx, [rbp + 0x80]
call fcn.140010850
mov rcx, qword [rbp]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x58], xmm1
jmp 0x140006c4b
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rsi
xor r8d, r8d
lea rdx, [0x140015a78]
lea rcx, [rbp + 0x48]
call fcn.140010850
nop
cmp qword [rbp + 0x58], 0
je 0x140006c7f
mov rax, qword [rbp + 0x18]
cmp rax, qword [rbp + 0x20]
je 0x140006c6f
lea rdx, [rbp + 0x48]
mov rcx, rax
call fcn.14000eb10
add qword [rbp + 0x18], 0x20
jmp 0x140006c7f
lea r8, [rbp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140011b50
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
cmp rbx, rdi
je 0x140006ca9
nop dword [rax]
lea rdx, [rbp + 0x68]
mov rcx, rbx
call fcn.140006160
test al, al
jne 0x140006ca9
add rbx, 0x20
cmp rbx, rdi
jne 0x140006c90
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x140006ced
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ce7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ce7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012c8c
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x140006d31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006d2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012c8c
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140006d8b
mov rdx, qword [rbp + 0x18]
call fcn.140010d60
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006d7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012c8c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rsi
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140006dd9
mov rdx, qword [rbp + 0x70]
call fcn.140010d60
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x68]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006dd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006dd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012c8c
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140012920
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret