Function at 0x6713afb0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x6727c47d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x674c412c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x214]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea eax, [ebp]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
or ebx, 0xffffffff
test edi, edi
je 0x6713b102
cmp edi, 0x104
jbe 0x6713b0b7
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6726875f
add esp, 4
mov dword [ebp - 0x14], eax
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x6713b0a9
push edi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push edi
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x6713b08f
cmp eax, ebx
je 0x6713b0ac
mov eax, dword [ebp - 0x14]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713b0ac
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
push edi
call fcn.67268768
add esp, 4
jmp 0x6713b102
mov edi, dword [ebp - 0x14]
push edi
call fcn.67268768
add esp, 4
jmp 0x6713b102
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x6713b0f3
cmp eax, 0xffffffff
je 0x6713b102
mov eax, dword [ebp - 0x14]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713b102
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 2
jl 0x6713b191
mov eax, dword [ecx]
cmp eax, 1
je 0x6713b11a
test eax, eax
jne 0x6713b123
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0x10
je 0x6713b135
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 1
jle 0x6713b191
mov ecx, dword [eax + 0xc]
cmp word [ecx + eax + 2], 0x3a
jne 0x6713b191
mov ax, word [ecx + eax]
movzx ecx, ax
call sym.Qt5Core.dll_public:_static_unsigned_int___fastcall_QChar::toUpper_unsigned_int_
movzx edi, ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
cmp ecx, 1
je 0x6713b166
test ecx, ecx
jne 0x6713b16c
cmp dword [eax + 0xc], 0x10
je 0x6713b17b
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], 0
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
call sym.Qt5Core.dll_public:_class_QCharRef____thiscall_QCharRef::operator_short_int_
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.67112290
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x6713b1bc
cmp eax, 0xffffffff
je 0x6713b1cb
mov ecx, dword [ebp - 0x10]
lock xadd dword [ecx], ebx
dec ebx
setne cl
test cl, cl
jne 0x6713b1cb
push 4
push 2
push dword [ebp - 0x10]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.67267c3b
lea esp, [ebp + 0x20c]
pop ebp
ret