Function at 0x40e64c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x16c
mov ebx, dword [ebp + 8]
mov eax, dword [sym.imp.QtCore4.dll_QString::shared_null]
mov dword [ebx], eax
lock inc dword [eax]
setne dl
lea eax, [ebp - 0x138]
mov dword [ebp - 0x14c], eax
mov ecx, 0x104
xor eax, eax
mov edi, dword [ebp - 0x14c]
rep stosb byte es:[edi], al
lea eax, [ebp - 0x138]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x23
mov dword [esp], 0
call sub.SHELL32.DLL_SHGetFolderPathA
sub esp, 0x14
lea esi, [ebp - 0x2c]
mov dword [esp + 8], 0xffffffff
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov dword [esp], esi
mov eax, dword [method.QString.fromAscii_char_const__int_]
mov dword [ebp - 0x140], eax
call eax
push ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [method.QString.operator_QString_const_]
mov eax, dword [ebp - 0x2c]
lock dec dword [eax]
setne dl
test dl, dl
je 0x40e8a4
xor esi, esi
mov byte [ebp - 0x141], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x4874a4
mov edi, dword [method.QString.fromAscii_helper_char_const__int_]
call edi
mov dword [ebp - 0x20], eax
mov esi, 1
mov dword [esp + 8], 1
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov eax, dword [method.QString.endsWith_QString_const__Qt::CaseSensitivity__const]
mov dword [ebp - 0x13c], eax
call eax
test al, al
je 0x40e8b8
xor esi, esi
mov eax, dword [ebp - 0x20]
lock dec dword [eax]
setne dl
test dl, dl
je 0x40e890
mov eax, esi
test al, al
jne 0x40e82c
mov edi, dword [method.QString.append_QString_const_]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
lea esi, [ebp - 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x4874a4
mov dword [esp], esi
call dword [ebp - 0x140]
push eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x34]
lock dec dword [eax]
setne dl
test dl, dl
je 0x40e87c
mov dword [ebp - 0x28], 0x486530
mov dword [esp + 8], 0
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
lea esi, [ebp - 0x28]
mov dword [esp], esi
call fcn.0044ad34
mov eax, dword [ebp - 0x28]
mov edi, dword [eax - 4]
test edi, edi
js 0x40e7e5
mov dword [esp], esi
call fcn.00449a34
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [method.QString.toWCharArray_wchar_t__const]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0044ad34
mov dword [esp], esi
call fcn.0040c61c
mov eax, dword [ebp - 0x28]
lea esi, [eax - 0xc]
cmp esi, 0x486524
jne 0x40e914
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
lea esi, [ebp - 0x30]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x4874a4
mov dword [esp], esi
call dword [ebp - 0x140]
push edx
mov dword [esp + 4], esi
mov dword [esp], ebx
mov edi, dword [method.QString.append_QString_const_]
call edi
mov eax, dword [ebp - 0x30]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x40e76a
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x40e76a
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x40e7ad
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x40e75a
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x40e6f8
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x4874a2
call edi
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x141], 1
mov dword [esp + 8], 1
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp - 0x13c]
test al, al
sete al
mov esi, eax
mov eax, dword [ebp - 0x24]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x40e749
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x40e749
cmp dword [0x49e25c], 0
jne 0x40e942
mov eax, dword [esi + 8]
lea edx, [eax - 1]
mov dword [esi + 8], edx
test eax, eax
jg 0x40e820
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00449f54
jmp 0x40e820
mov dword [esp + 4], 0xffffffff
sub eax, 4
mov dword [esp], eax
call fcn.0042a2e0
jmp 0x40e926