Function at 0x480014
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x4d40d5
call fcn.004cbc30
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
xor esi, esi
inc esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0047d90d
test eax, eax
je 0x480510
lea ecx, [ebp - 0x20]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
mov ecx, edi
call fcn.0047e57e
mov edi, eax
cmp edi, ebx
je 0x480510
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x480094
lea eax, [ebp - 0x14]
push eax
add edi, 8
push edi
push dword [ebp + 8]
call fcn.0048204f
add esp, 0xc
jmp 0x48051b
cmp eax, 2
je 0x480315
cmp eax, 4
je 0x480315
cmp eax, 5
je 0x480315
cmp eax, 6
jne 0x480510
push dword [ebp + 0xc]
mov ebx, str.....SourceCommonFileSystemFileSystemMgr.cpp
push str.ConvertToPureFile_QNC_s
push 0x4ecde0
push 2
push str.CTXFileSystemMgr::ConvertToPureFile
push 0x536
push ebx
call fcn.00442b40
add esp, 0x1c
lea ecx, [ebp - 0x1c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
mov esi, 0x104
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
and dword [ebp - 0x18], 0
push 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.0042cf20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
add eax, eax
push eax
push 0
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
lea ecx, [ebp - 0x18]
call fcn.0042cf60
push eax
call fcn.00415630
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004821eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x10
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
add esp, 0x10
push 0x4e0c10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.0044d92a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
mov edi, dword [esi]
mov byte [ebp - 4], 0x14
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
mov ecx, dword [ebp - 0x3c]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push esi
call dword [edi + 0x4c]
test eax, eax
lea ecx, [ebp - 0x40]
setge byte [ebp - 0xd]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
cmp byte [ebp - 0xd], 0
je 0x4802d0
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push str.ConvertToPureFile_Ok__TempFileName_s
push 0x4ecde0
push 2
push str.CTXFileSystemMgr::ConvertToPureFile
push 0x54e
push ebx
call fcn.0042d2a0
mov ecx, dword [ebp + 8]
add esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0x10
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 0xe
je 0x4802a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x48051e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 0xe
je 0x4802fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
jmp 0x4804fc
lea ecx, [ebp - 0x1c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
mov esi, 0x104
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], ebx
call fcn.0042cf20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
add eax, eax
push eax
push ebx
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
lea ecx, [ebp - 0x18]
call fcn.0042cf60
push eax
call fcn.00415630
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004821eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
add esp, 0x10
push 0x4e0c10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0044d92a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov edi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov dword [ebp - 0x44], eax
mov esi, dword [edi]
mov ecx, ebx
mov byte [ebp - 4], 0xb
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
mov ecx, dword [ebp - 0x44]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push edi
call dword [esi + 0x4c]
test eax, eax
lea ecx, [ebp - 0x40]
setge bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
test bl, bl
je 0x4804bc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 5
je 0x4804a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
jmp 0x4802ba
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 5
je 0x4804e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor esi, esi
inc esi
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp + 8]
call fcn.004cbd08
ret 8