Function at 0x4cee9f
Capabilities:
Get common file path

Disassembly:
push 0x64
mov eax, 0x594f9a
call fcn.00584fd1
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], edi
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], edi
call sym.txupd.exe_class_CTXStringW___cdecl_Util::FS::CombinePath_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea eax, [ebp - 0x54]
push 0x5b7810
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_FS::CombineQNC_wchar_t_const___wchar_t_const__
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.txupd.exe_int___cdecl_FS::CreateFileW_wchar_t_const___unsigned_long_int__struct_ITXFile___
add esp, 0xc
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x54]
inc bl
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, bl
mov eax, dword [ebp - 0x30]
je 0x4cef3e
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x4cef37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x4cf258
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
lea ecx, [ebp - 0x68]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
push dword [ebp - 0x40]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.0049f0c7
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x5c], eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
push 0x64
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
push 0x5a9b80
push dword [ebp - 0x40]
lea eax, [ebp - 0x70]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
call sym.txupd.exe_class_CTXStringW___cdecl_Util::FS::CombinePath_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0x18
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea eax, [ebp - 0x40]
push 0x5b7810
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_FS::CombineQNC_wchar_t_const___wchar_t_const__
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0x1002
mov ecx, eax
mov byte [ebp - 4], 9
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.txupd.exe_int___cdecl_FS::CreateFileW_wchar_t_const___unsigned_long_int__struct_ITXFile___
add esp, 0xc
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x40]
inc bl
mov byte [ebp - 4], 8
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, bl
je 0x4cf056
mov eax, dword [ebp - 0x3c]
cmp eax, edi
mov byte [ebp - 4], 7
je 0x4cf02a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x30]
jmp 0x4cef29
push 0x38
push str.1.2.3
push edi
push 8
push 0xfffffffffffffff1
lea eax, [esi + 0x14]
push 8
push 0xffffffffffffffff
push eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [ebp - 0x6c], eax
mov dword [eax], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
call fcn.004185d0
add esp, 0x20
cmp eax, edi
jne 0x4cf019
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edi
mov ebx, 0x100000
cmp dword [ebp - 0x44], ebx
ja 0x4cf0a3
mov ebx, dword [ebp - 0x44]
sub dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push ebx
push eax
mov byte [ebp - 4], 0xa
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x4c]
cmp eax, edi
je 0x4cf019
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x50]
mov ecx, esi
mov byte [ebp - 4], 0xb
call sym.txupd.exe_private:_bool___thiscall_CZipFiles::ZipBuffer_void_const___unsigned_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
test al, al
je 0x4cf185
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x40]
call fcn.00417e40
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x54], eax
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x34]
call fcn.00472ab0
cmp dword [ebp - 0x34], edi
mov ebx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xc
jne 0x4cf138
lea eax, [ebp - 0x34]
push eax
call sym.txupd.exe_int___cdecl_Util::Data::CreateTXBuffer_struct_ITXBuffer___
pop ecx
push dword [ebp - 0x34]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x50]
test eax, eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0xb
jl 0x4cf1ac
cmp dword [ebp - 0x44], edi
je 0x4cf1bb
cmp eax, edi
je 0x4cf15e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x4c]
cmp eax, edi
mov byte [ebp - 4], 8
je 0x4cf096
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4cf096
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x4c]
cmp eax, edi
mov byte [ebp - 4], 8
je 0x4cf019
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4cf019
cmp eax, edi
je 0x4cf185
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x34], edi
jmp 0x4cf185
cmp eax, edi
je 0x4cf1c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x4c]
cmp eax, edi
mov byte [ebp - 4], 8
je 0x4cf1e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
mov dword [ebp - 0x58], 8
call fcn.004ceac2
push dword [ebp - 0x6c]
inc dword [esi + 0x10]
call fcn.00419440
mov eax, dword [ebp - 0x3c]
cmp eax, edi
pop ecx
mov byte [ebp - 4], 7
je 0x4cf221
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x4cf256
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
call fcn.00585054
ret 8