Function at 0x478cd0
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x4bbf80
call fcn.00492ffe
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
xor esi, esi
mov dword [ebp - 4], ebx
inc esi
mov dword [ebp - 0x248], esi
call fcn.0047b449
lea ecx, [ebp - 0x238]
push ecx
mov ecx, eax
call fcn.0047b4a3
push eax
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x238]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x20a
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00495f40
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
push esi
lea eax, [ebp - 0x240]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x23c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::right_int_]
push 0x5c
lea ecx, [ebp - 0x238]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_int_]
push esi
push dword [ebp - 0x238]
call fcn.0046e0b7
pop ecx
pop ecx
lea ecx, [ebp - 0x240]
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x478e39
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x23c]
mov eax, dword [eax + 4]
dec eax
push eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::left_int_]
push eax
lea ecx, [ebp - 0x23c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x240]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x23c]
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
cmp dword [ebp - 0x220], 7
lea eax, [ebp - 0x234]
cmova eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x234]
call fcn.00412b56
lea eax, [ebp - 0x23c]
mov ecx, edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push 0x4c0870
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_char_const__]
mov ebx, dword [ebp - 0x244]
test ebx, ebx
je 0x478f71
mov ecx, ebx
call fcn.00403440
test eax, eax
je 0x478f71
mov ecx, ebx
call fcn.00403440
mov ecx, eax
call fcn.00404886
mov ecx, ebx
test eax, eax
je 0x478ebd
push 0xffffffffffffffff
call fcn.00403440
mov ecx, eax
call fcn.00404886
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const___int_]
add esp, 0xc
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
jmp 0x478f65
call fcn.00403440
mov ecx, eax
call fcn.00404886
mov ebx, eax
mov dword [ebp - 0x240], ebx
test ebx, ebx
je 0x478f71
push ebx
call fcn.004983b0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
pop ecx
xor ecx, ecx
mov dword [ebp - 0x244], eax
push ecx
push ecx
push eax
push ebx
push ecx
push ecx
call edi
xor ecx, ecx
mov esi, eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00493242
push esi
mov ebx, eax
push 0
push ebx
call fcn.004700dc
add esp, 0x10
push esi
push ebx
push dword [ebp - 0x244]
push dword [ebp - 0x240]
push 0
push 0
call edi
push 0xffffffffffffffff
lea eax, [ebp - 0x238]
push ebx
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x238]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
push 2
push ebx
call fcn.00492f8c
pop ecx
pop ecx
lea ecx, [ebp - 0x238]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x23c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, edi
call fcn.00492fbc
ret