Function at 0x48154f
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x40
mov eax, 0x4d43b2
call fcn.004cbc30
mov edi, ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
call fcn.00426b90
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x24]
push str..FS_AddFileSystem
push eax
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
add esp, 0x14
push 0x4dcd18
mov ecx, eax
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.CTXFileSystemMgr::AddFileSystem
xor ebx, ebx
inc ebx
push ebx
push 0xb9
lea eax, [ebp - 0x4c]
push str.....SourceCommonFileSystemFileSystemMgr.cpp
push eax
call fcn.0045ba29
add esp, 0x1c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea esi, [edi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.0047e1fd
lea ecx, [ebp - 0x1c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x30]
call fcn.004742e9
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.0047cf82
test al, al
push esi
jne 0x48162f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0045baa8
mov eax, esi
call fcn.004cbd08
ret 0x18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, edi
call fcn.0047da53
test eax, eax
je 0x481764
lea ecx, [ebp - 0x18]
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 esi, eax
test esi, esi
je 0x481764
cmp dword [esi + 4], ebx
jne 0x481717
lea eax, [ebp - 0x18]
push 0x4ec5d8
push eax
call sym.QQProtectUpd.exe_bool___cdecl_operator_class_CTXStringW_const___wchar_t_const__
test al, al
pop ecx
pop ecx
je 0x4816c3
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044d92a
jmp 0x48170f
push 0x4fed54
add esi, 8
lea eax, [ebp + 0xc]
push esi
push eax
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 8
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0044d92a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov dword [ebp + 8], ebx
jmp 0x4818c4
push dword [ebp + 0x18]
lea ecx, [ebp - 0x14]
push dword [ebp + 0x14]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
mov ecx, edi
call fcn.00481389
mov esi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x481619
cmp dword [ebp + 8], 0
jne 0x481859
lea ecx, [ebp - 0x1c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
push str..rdb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0xa
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0044d92a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x4817d3
mov dword [ebp + 8], 6
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0044d92a
jmp 0x48184d
push 0x4ed000
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0044d92a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [ebp - 0x10]
je 0x48181d
mov dword [ebp + 8], 2
jmp 0x4817c8
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x481841
push 0
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x481846
test bl, 0x10
je 0x481879
mov dword [ebp + 8], 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp dword [ebp + 8], 2
je 0x481865
cmp dword [ebp + 8], 4
jne 0x4818c4
mov ecx, dword [0x52d178]
test ecx, ecx
je 0x4818c4
cmp dword [ebp + 0x14], 0
je 0x4818b3
push 0
jmp 0x4818b6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov esi, 0x80004005
jmp 0x481619
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047d83b
mov dword [ebp + 8], eax
and dword [ebp - 0x20], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x30]
lea esi, [edi + 0x24]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.004c8d82
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.004742e9
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.0047cf82
test al, al
jne 0x48194f
lea ecx, [ebp - 0x30]
call fcn.0049cb7b
cmp dword [eax + 4], 0
je 0x48194f
lea ecx, [ebp - 0x30]
call fcn.0049cb7b
mov ebx, dword [eax + 4]
mov esi, dword [ebx]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x18]
lea ecx, [ebp - 0x10]
push dword [ebp + 0x14]
add esi, 0x1c
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push ebx
call dword [esi]
mov esi, eax
test esi, esi
jge 0x48194f
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 7
je 0x48173b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x48173b
xor esi, esi
cmp dword [ebp - 0x20], esi
je 0x481885
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, esi
mov byte [ebp - 4], 0xe
je 0x481976
mov ecx, eax
call fcn.0047dc11
mov esi, eax
push dword [ebp + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0xd
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 8]
call fcn.0044d92a
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0xc]
call fcn.0044f63c
lea ebx, [edi + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov ecx, edi
call fcn.004811cd
push ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 7
je 0x4819ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor esi, esi
jmp 0x481619