Function at 0x67152490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672994a0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x220], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
or ebx, 0xffffffff
test esi, esi
je 0x671525dd
cmp esi, 0x104
jbe 0x67152578
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6728531a
add esp, 4
mov dword [ebp - 0x228], eax
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x6715256a
push esi
mov esi, dword [ebp - 0x228]
lea eax, [ebp - 0x228]
push esi
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [ebp - 0x220]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x220], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x228]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
push esi
call fcn.67285397
jmp 0x671525da
mov esi, dword [ebp - 0x228]
push esi
call fcn.67285397
jmp 0x671525da
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [ebp - 0x220]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x220], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x224]
mov eax, dword [eax]
test eax, eax
je 0x671525c6
cmp eax, 0xffffffff
je 0x671525dd
mov eax, dword [ebp - 0x224]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671525dd
mov eax, dword [ebp - 0x224]
cmp eax, 0x674c7cb4
je 0x671525dd
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov esi, dword [ebp - 0x220]
cmp dword [esi + 4], 2
jl 0x671526ae
mov eax, dword [esi]
mov esi, dword [ebp - 0x220]
cmp eax, 1
je 0x671525fe
test eax, eax
jne 0x67152604
cmp dword [esi + 0xc], 0x10
je 0x6715261c
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x220]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp - 0x220]
cmp dword [esi + 4], 1
jle 0x671526ae
mov eax, dword [esi + 0xc]
cmp word [eax + esi + 2], 0x3a
jne 0x671526ae
movzx eax, word [esi + eax]
lea ecx, [ebp - 0x222]
mov word [ebp - 0x222], ax
lea eax, [ebp - 0x226]
push eax
call sym.Qt5Core.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
mov ecx, dword [esi]
movzx eax, word [eax]
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x220]
cmp ecx, 1
je 0x67152669
test ecx, ecx
jne 0x6715266f
cmp dword [eax + 0xc], 0x10
je 0x67152681
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x220]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], eax
call sym.Qt5Core.dll_public:_class_QCharRef____thiscall_QCharRef::operator_short_int_
mov esi, dword [ebp - 0x220]
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [edi + 4], esi
mov eax, dword [esi]
test eax, eax
je 0x671526cb
cmp eax, 0xffffffff
je 0x671526cb
mov eax, dword [ebp - 0x220]
lock inc dword [eax]
xor eax, eax
mov dword [edi + 8], 0xfffefffe
mov word [edi + 0xc], ax
mov eax, dword [ebp - 0x220]
mov eax, dword [eax]
test eax, eax
je 0x671526fb
cmp eax, 0xffffffff
je 0x67152712
mov ecx, dword [ebp - 0x220]
lock xadd dword [ecx], ebx
dec ebx
setne cl
test cl, cl
jne 0x67152712
mov eax, dword [ebp - 0x220]
cmp eax, 0x674c7cb4
je 0x67152712
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.67284a63
mov esp, ebp
pop ebp
ret