Function at 0x1400de850
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1401a1460]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rdx, str.GoogleGoogleEarth
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
call fcn.1400de320
movzx eax, al
test eax, eax
jne 0x1400de8ba
call fcn.140013090
movzx eax, al
test eax, eax
je 0x1400de8fb
lea rcx, [rsp + 0x80]
call fcn.1400de750
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140011380
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400de96f
mov eax, dword [rsp + 0x2b8]
bts eax, 0xf
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400de93d
xor eax, eax
cmp eax, 1
je 0x1400de93d
xor eax, eax
test eax, eax
je 0x1400de93d
jmp 0x1400de935
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140011380
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::constructor_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QDir::exists_void_const___ptr64]
movzx eax, al
test eax, eax
jne 0x1400de9b2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QDir::mkpath_class_QString_const____ptr64_const___ptr64]
xor eax, eax
cmp eax, 1
je 0x1400de9e5
xor eax, eax
test eax, eax
je 0x1400de9e5
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QDir::exists_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400de9db
mov dword [rsp + 0x4c], 1
jmp 0x1400de9e3
mov dword [rsp + 0x4c], 0
jmp 0x1400de9b9
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14011f470
add rsp, 0x2a8
ret