Function at 0x1400c4ca0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x14014d470]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
lea rdx, str.GoogleGoogleEarth
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
call fcn.1400c47f0
movzx eax, al
test eax, eax
jne 0x1400c4cf8
call fcn.140013270
movzx eax, al
test eax, eax
je 0x1400c4d2c
lea rcx, [rsp + 0x70]
call fcn.1400c4ba0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140011860
mov rdx, rax
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 0x1400c4da6
mov eax, dword [rsp + 0x2a8]
bts eax, 0xf
lea rcx, [rsp + 0x70]
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 0x1400c4d7e
xor eax, eax
cmp eax, 1
je 0x1400c4d6d
xor eax, eax
test eax, eax
je 0x1400c4d6b
jmp 0x1400c4d63
jmp 0x1400c4d7e
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140011860
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x58]
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]
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 0x1400c4de8
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 0x1400c4e1d
xor eax, eax
test eax, eax
je 0x1400c4e1b
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 0x1400c4e11
mov dword [rsp + 0x4c], 1
jmp 0x1400c4e19
mov dword [rsp + 0x4c], 0
jmp 0x1400c4def
jmp 0x1400c4e2e
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140101630
add rsp, 0x290
pop rdi
ret