Function at 0x4c7e50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff552
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c7a50
push str.TencentQQSkins_skin.ini
push eax
lea ecx, [ebp - 0x10]
xor esi, esi
push ecx
mov dword [ebp - 4], esi
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x10
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.Common.dll_int___cdecl_FS::IsFileExist_wchar_t_const__]
add esp, 4
cmp eax, esi
je 0x4c7ee0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call edi
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004c7c50
test eax, eax
jne 0x4c7f09
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x572660]
cmp eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], esi
jne 0x4c7fae
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov dword [0x572660], eax
je 0x4c81db
mov dword [ebp - 0x1c], str.Succeed_to_LoadLibrary
mov dword [ebp - 0x2c], str.file
mov dword [ebp - 0x28], str.func
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x58], 0x301
mov dword [ebp - 0x54], esi
call edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], 3
call ebx
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x1c]
push eax
push 0x5233fc
lea ecx, [ebp - 0x60]
push str.NewSkinMgr
push ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
mov eax, dword [0x572660]
add esp, 0x14
cmp eax, esi
je 0x4c81db
push str.DwmIsCompositionEnabled
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
mov dword [ebp - 0x20], eax
je 0x4c81c8
mov dword [ebp - 0x1c], str.Succeed_to_Getfunc
mov dword [ebp - 0x2c], str.file
mov dword [ebp - 0x28], str.func
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x58], 0x30a
mov dword [ebp - 0x54], esi
call edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], 3
call ebx
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x1c]
push eax
push 0x5233fc
lea ecx, [ebp - 0x60]
push str.NewSkinMgr
push ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
lea edx, [ebp - 0x14]
push edx
call dword [ebp - 0x20]
test eax, eax
jge 0x4c80aa
mov dword [ebp - 0x20], str.Failed_to_Access_DwmIsCompositionEnabled
mov dword [ebp - 0x2c], str.file
mov dword [ebp - 0x28], str.func
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x58], 0x30d
mov dword [ebp - 0x54], esi
call edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], 3
call ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x20]
push ecx
push 0x5233fc
lea edx, [ebp - 0x60]
push str.NewSkinMgr
push edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
mov eax, dword [0x572660]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x572660], esi
mov dword [ebp - 0x20], str.Succeed_to_Get_Aeros_State
mov dword [ebp - 0x2c], str.file
mov dword [ebp - 0x28], str.func
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x58], 0x312
mov dword [ebp - 0x54], esi
call edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], 3
call ebx
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x20]
push edx
push 0x5233fc
lea eax, [ebp - 0x60]
push str.NewSkinMgr
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
cmp dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], str.file
mov dword [ebp - 0x28], str.func
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x54], esi
je 0x4c8179
mov dword [ebp - 0x20], str.Aeros_State:_Open
mov dword [ebp - 0x58], 0x315
call edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], 3
call ebx
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x20]
push edx
push 0x5233fc
lea eax, [ebp - 0x60]
push str.NewSkinMgr
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
jmp 0x4c81db
mov dword [ebp - 0x20], str.Aeros_State:_Close
mov dword [ebp - 0x58], 0x319
call edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], 3
call ebx
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x20]
push edx
push 0x5233fc
lea eax, [ebp - 0x60]
push str.NewSkinMgr
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
jmp 0x4c81db
mov ecx, dword [0x572660]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x572660], esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret