Function at 0x49a820
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x154]
xor edi, edi
cmp ebx, edi
je 0x49a9d0
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49a865
sub eax, edx
sar eax, 1
cmp eax, 0x100
jae 0x49a9d0
push 0x208
lea eax, [ebp - 0x21a]
push edi
push eax
mov word [ebp - 0x21c], di
call sub.MSVCR80.dll_memset
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004f6310
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
mov dword [ebp - 4], edi
mov edi, dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
push str.QQFace_
lea ecx, [ebp - 0x220]
call edi
push 0
lea ecx, [ebp - 0x220]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ebx
lea ecx, [ebp - 0x220]
call edi
push str..png
lea ecx, [ebp - 0x220]
call edi
lea ecx, [ebp - 0x220]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49a981
mov edi, dword [esi + 0xb4]
lea ecx, [ebp - 0x220]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::GetString_void_const]
push eax
lea ecx, [ebp - 0x224]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXBSTR::constructor_wchar_t_const__]
mov ebx, dword [edi]
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const]
mov ecx, dword [ebx + 0x2d0]
push eax
push edi
call ecx
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXBSTR::destructor_void_]
mov eax, dword [esi + 0x598]
push 0xe
push eax
push 0x1f4
call dword [sym.imp.Common.dll_int___cdecl_TXTimer::SetTimeout_unsigned_int__struct_ITXTimerCallback___unsigned_int_]
add esp, 0xc
jmp 0x49a997
mov eax, dword [esi + 0xb4]
mov edx, dword [eax]
push str.platformres:HomePageQQFaceDefault.png
push eax
mov eax, dword [edx + 0x2d0]
call eax
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x90]
push 0
push eax
call edx
mov esi, dword [esi + 0xb4]
mov eax, dword [esi]
mov ecx, dword [eax + 0xe0]
push esi
call ecx
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jmp 0x49a9e6
mov esi, dword [esi + 0xb4]
mov edx, dword [esi]
mov eax, dword [edx + 0x2d0]
push str.platformres:HomePageQQFaceGray.png
push esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret