Function at 0x67179f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672809c2
mov eax, dword fs:[0]
push eax
sub esp, 0x244
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov bl, byte [ebp + 0xc]
or edi, 0xffffffff
mov dword [ebp - 4], 0
test bl, bl
jne 0x6717a006
lea eax, [ebp - 0x18]
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qAppFileName_void_
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sym.Qt5Core.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call sym.Qt5Core.dll_public:_class_QString___thiscall_QFileInfo::path_void_
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.6701ca70
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
test eax, eax
je 0x67179fc1
cmp eax, edi
je 0x67179fd0
mov eax, dword [ebp - 0x28]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67179fd0
push 4
push 2
push dword [ebp - 0x28]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
lea ecx, [ebp - 0x38]
call sym.Qt5Core.dll_public:_void___thiscall_QFileInfo::destructor_void_
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x67179ff7
cmp eax, 0xffffffff
je 0x6717a006
mov eax, dword [ebp - 0x18]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a006
push 4
push 2
push dword [ebp - 0x18]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
lea eax, [ebp - 0x240]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x250], 0x104
push 0x104
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
cmp esi, 0x104
jbe 0x6717a06b
cmp esi, dword [ebp - 0x250]
lea ecx, [ebp - 0x250]
mov edx, esi
cmovl edx, dword [ebp - 0x250]
push edx
push esi
call fcn.6713e2a0
push esi
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
push esi
push dword [ebp - 0x248]
lea eax, [ebp - 0x2c]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_
add esp, 0xc
mov ecx, dword [eax]
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x6717a0af
cmp eax, 0xffffffff
je 0x6717a0be
mov eax, dword [ebp - 0x2c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a0be
push 4
push 2
push dword [ebp - 0x2c]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x240]
cmp eax, ecx
je 0x6717a0d8
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.6701ca70
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x6717a10b
cmp ecx, 0xffffffff
je 0x6717a118
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6717a118
push 4
push 2
push eax
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
test bl, bl
jne 0x6717a23b
lea eax, [ebp - 0x30]
push str.PATH
push eax
call sym.Qt5Core.dll_class_QByteArray___cdecl_qgetenv_char_const__
add esp, 8
mov eax, dword [eax]
mov byte [ebp - 4], 7
mov edx, dword [eax + 0xc]
add edx, eax
je 0x6717a14e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6717a143
sub ecx, esi
jmp 0x6717a150
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 - 0x24], eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
je 0x6717a180
cmp eax, 0xffffffff
je 0x6717a18f
mov eax, dword [ebp - 0x30]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a18f
push 4
push 1
push dword [ebp - 0x30]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
push 1
push ecx
mov eax, esp
push ecx
mov ecx, 0x3b
mov dword [eax], 1
mov eax, esp
mov word [eax], cx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call sym.Qt5Core.dll_public:_class_QStringList___thiscall_QString::split_class_QChar__class_QFlags_enum_Qt::SplitBehaviorFlags___enum_Qt::CaseSensitivity_
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.67113c60
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
test eax, eax
je 0x6717a1e1
cmp eax, 0xffffffff
je 0x6717a209
mov eax, dword [ebp - 0x20]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a209
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
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.6701d9e0
push esi
call sym.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__
add esp, 4
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x6717a22c
cmp eax, 0xffffffff
je 0x6717a23b
mov eax, dword [ebp - 0x24]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a23b
push 4
push 2
push dword [ebp - 0x24]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x6717a27d
cmp eax, 0xffffffff
je 0x6717a28c
mov eax, dword [ebp - 0x34]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a28c
push 4
push 2
push dword [ebp - 0x34]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
push 0x67366f58
push 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QLatin1String_
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, edx
test ecx, ecx
jle 0x6717a36d
lea ebx, [esi + 0x5c]
nop word [eax + eax]
lea ecx, [edx + esi]
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
test eax, eax
je 0x6717a2db
cmp eax, 0xffffffff
je 0x6717a2db
mov eax, dword [ebp + 0xc]
lock inc dword [eax]
push 1
push ecx
mov eax, esp
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xc]
mov word [eax], bx
call sym.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const
test al, al
jne 0x6717a301
push ecx
mov eax, esp
lea ecx, [ebp + 0xc]
mov word [eax], bx
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QChar_
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test ebx, ebx
jne 0x6717a3fd
test eax, eax
je 0x6717a345
cmp eax, 0xffffffff
je 0x6717a354
mov eax, dword [ebp + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a354
push 4
push 2
push dword [ebp + 0xc]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x14]
inc esi
mov ebx, 0x5c
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, edx
cmp esi, ecx
jl 0x6717a2c0
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x6717a38e
cmp eax, 0xffffffff
je 0x6717a39d
mov eax, dword [ebp - 0x1c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a39d
push 4
push 2
push dword [ebp - 0x1c]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xf
mov eax, dword [eax]
test eax, eax
je 0x6717a3c1
cmp eax, 0xffffffff
je 0x6717a3e9
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
jne 0x6717a3e9
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
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.6701d9e0
push esi
call sym.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x6717a41f
cmp eax, 0xffffffff
je 0x6717a36f
mov eax, dword [ebp + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6717a36f
push 4
push 2
push dword [ebp + 0xc]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x6717a36f