Function at 0x67191fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6729d0fb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov dword [ebp - 4], 0
or edi, 0xffffffff
cmp byte [ebp + 0xc], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jne 0x671920ff
lea eax, [ebp - 0x2c]
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qAppFileName_void_
mov esi, eax
push 0xa8
mov byte [ebp - 4], 1
call fcn.67284a71
add esp, 8
mov dword [ebp - 0x20], eax
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.670ff5d0
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x6719206a
lock inc dword [esi]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call sym.Qt5Core.dll_public:_class_QString___thiscall_QFileInfo::path_void_
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.67025060
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x671920a6
cmp eax, 0xffffffff
je 0x671920b6
mov eax, dword [ebp - 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671920b6
mov eax, dword [ebp - 0x10]
cmp eax, 0x674c7cb4
je 0x671920b6
push eax
call ebx
add esp, 4
test esi, esi
je 0x671920d0
mov eax, edi
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x671920d0
push ecx
mov ecx, esi
call fcn.67101bf0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x671920ef
cmp eax, 0xffffffff
je 0x671920ff
mov eax, dword [ebp - 0x2c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671920ff
mov eax, dword [ebp - 0x2c]
cmp eax, 0x674c7cb4
je 0x671920ff
push eax
call ebx
add esp, 4
lea eax, [ebp - 0x238]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x248], 0x104
push 0x104
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
cmp esi, 0x104
jbe 0x67192164
cmp esi, dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
mov edx, esi
cmovl edx, dword [ebp - 0x248]
push edx
push esi
call fcn.67153670
push esi
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
push esi
push dword [ebp - 0x240]
lea eax, [ebp - 0x1c]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
add esp, 0xc
mov dword [ebp - 0x10], 0x20
cmp eax, ecx
je 0x67192194
push eax
call ebx
add esp, 4
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24]
call fcn.67025060
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
test ecx, ecx
je 0x671921c7
cmp ecx, 0xffffffff
je 0x671921d4
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x671921d4
cmp eax, 0x674c7cb4
je 0x671921d4
push eax
call ebx
add esp, 4
cmp byte [ebp + 0xc], 0
jne 0x671922f7
lea eax, [ebp - 0x28]
push str.PATH
push eax
call sym.Qt5Core.dll_class_QByteArray___cdecl_qgetenv_char_const__
add esp, 8
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
add edx, eax
je 0x6719220c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x67192201
sub ecx, esi
jmp 0x6719220e
xor ecx, ecx
push ecx
push edx
call sym.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromLatin1_helper_char_const___int_
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
test eax, eax
je 0x6719223e
cmp eax, 0xffffffff
je 0x6719224e
mov eax, dword [ebp - 0x28]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6719224e
mov eax, dword [ebp - 0x28]
cmp eax, 0x674c7cb4
je 0x6719224e
push eax
call ebx
add esp, 4
push 1
mov eax, 0x3b
lea edx, [ebp - 0x1c]
push 1
mov word [ebp + 0xe], ax
lea ecx, [ebp - 0x18]
lea eax, [ebp + 0xe]
push 1
push eax
call fcn.670a00d0
add esp, 0x10
mov dword [ebp - 0x10], 0xa0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x24]
call fcn.670ddca0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x671922a5
cmp eax, 0xffffffff
je 0x671922c7
mov eax, dword [ebp - 0x18]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671922c7
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
add eax, 4
lea eax, [esi + eax*4]
push eax
mov eax, dword [esi + 8]
add eax, 4
lea eax, [esi + eax*4]
push eax
call fcn.67016bc0
push esi
call ebx
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
test ecx, ecx
je 0x671922ea
cmp ecx, 0xffffffff
je 0x671922f7
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x671922f7
cmp eax, 0x674c7cb4
je 0x671922f7
push eax
call ebx
add esp, 4
mov edx, dword [ebp + 8]
test edx, edx
jne 0x67192305
mov eax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x6719232d
xor eax, eax
cmp word [edx], ax
je 0x67192318
nop dword [eax]
inc eax
cmp word [edx + eax*2], 0
jne 0x67192310
push 0
add eax, eax
lea ecx, [ebp - 0x14]
push 0
push eax
call fcn.671e2a80
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
or ecx, 8
or ecx, 5
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
test cl, 2
je 0x67192377
mov eax, dword [ebp - 0x30]
and ecx, 0xfffffffd
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x67192367
cmp ecx, 0xffffffff
je 0x67192374
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x67192374
cmp eax, 0x674c7cb4
je 0x67192374
push eax
call ebx
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test cl, 1
je 0x671923b2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x671923a2
cmp eax, 0xffffffff
je 0x671923b2
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671923b2
mov eax, dword [ebp - 0x14]
cmp eax, 0x674c7cb4
je 0x671923b2
push eax
call ebx
add esp, 4
push 0x67414288
push 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QLatin1String_
mov eax, dword [ebp - 0x24]
xor esi, esi
mov dword [ebp - 0x28], esi
lea ecx, [eax + 0xc]
lea edx, [eax + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x20], edx
mov edx, dword [edx]
sub ecx, edx
test ecx, ecx
jle 0x67192535
nop word [eax + eax]
lea ecx, [edx + esi]
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x6719240b
cmp eax, 0xffffffff
je 0x6719240b
lock inc dword [esi]
push 1
push ecx
mov eax, esp
mov byte [ebp - 4], 0xd
mov ecx, 0x5c
mov word [eax], cx
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const
test al, al
jne 0x6719247f
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
cmp ecx, 1
je 0x67192436
test ecx, ecx
jne 0x67192449
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
and edx, 0x7fffffff
add ecx, 2
cmp ecx, edx
jbe 0x6719245d
mov eax, dword [eax + 4]
lea ecx, [ebp + 0xc]
push 1
add eax, 2
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov esi, 0x5c
mov ecx, dword [eax + 4]
add edx, eax
mov word [edx + ecx*2], si
inc dword [eax + 4]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 4]
add edx, eax
xor eax, eax
mov word [edx + ecx*2], ax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], 0x10
je 0x671924a6
mov eax, dword [esi + 4]
lea ecx, [ebp + 0xc]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x67192507
mov byte [ebp - 4], 0xc
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
test ecx, ecx
je 0x671924db
cmp ecx, 0xffffffff
je 0x671924e8
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x671924e8
cmp eax, 0x674c7cb4
je 0x671924e8
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x28], esi
mov edx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub eax, edx
cmp esi, eax
jge 0x67192535
mov eax, dword [ebp - 0x24]
jmp 0x671923f0
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
test ecx, ecx
je 0x67192523
cmp ecx, 0xffffffff
je 0x6719253a
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6719253a
cmp eax, 0x674c7cb4
je 0x6719253a
push eax
call ebx
mov edx, dword [ebp - 0x14]
add esp, 4
jmp 0x6719253a
xor edx, edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x67192559
cmp ecx, 0xffffffff
je 0x67192569
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x67192569
cmp eax, 0x674c7cb4
je 0x67192569
push eax
call ebx
mov edx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov esi, dword [ebp - 0x24]
test eax, eax
je 0x6719259a
cmp eax, 0xffffffff
je 0x67192586
lock xadd dword [esi], edi
dec edi
setne cl
test cl, cl
je 0x6719259a
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
add eax, 4
lea eax, [esi + eax*4]
push eax
mov eax, dword [esi + 8]
add eax, 4
lea eax, [esi + eax*4]
push eax
call fcn.67016bc0
push esi
call ebx
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret