Function at 0x46fbbe
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x4baf7f
call fcn.00492ffe
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x244], eax
call fcn.0047b449
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.0047b4a3
add edi, 0x24
push eax
mov ecx, edi
mov dword [ebp - 0x248], edi
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_]
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 - 0x238]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
push 1
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x238]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::right_int_]
push 0x5c
lea ecx, [ebp - 0x240]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_int_]
push esi
push dword [ebp - 0x240]
call fcn.0046e0b7
pop ecx
pop ecx
lea ecx, [ebp - 0x23c]
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x46fd19
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
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 - 0x238]
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 - 0x238]
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 - 0x238]
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]
mov ecx, ebx
call fcn.00403440
mov ecx, eax
call fcn.00404886
mov ecx, ebx
test eax, eax
je 0x46fd86
call fcn.00403440
mov ecx, eax
call fcn.00404886
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const___int_]
add esp, 0xc
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
jmp 0x46fe2e
call fcn.00403440
mov ecx, eax
call fcn.00404886
mov ebx, eax
mov dword [ebp - 0x240], ebx
test ebx, ebx
je 0x46fe3a
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 - 0x23c]
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 - 0x248]
lea eax, [ebp - 0x23c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
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 - 0x23c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp - 0x24c]
push edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [ebp - 0x238]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x24c]
call fcn.00492fbc
ret 8