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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6514ea8d
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x6516c6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [0x6516c924], ebx
jne 0x6512305c
lea ecx, [esi + 0xad0]
mov dword [0x6516c924], 1
call fcn.65137230
lea edi, [esi + 0xad0]
push 1
mov ecx, edi
call fcn.65136890
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXBSTR::constructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call dword [sym.imp.Common.dll_public:_wchar_t_____thiscall_CTXBSTR::operator_void_]
mov ecx, dword [esi + 0x77c]
cmp ecx, ebx
jne 0x6512308f
lea ecx, [esi + 0x2c]
jmp 0x6512309a
cmp ecx, 1
jne 0x651230a0
lea ecx, [esi + 0x3d4]
push eax
call fcn.65111690
push ebx
push ebx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXBSTR_const__]
mov ecx, edi
call fcn.65136770
mov ecx, edi
call fcn.65136850
cmp dword [0x6516bb28], ebx
mov edi, eax
je 0x651230d7
mov ecx, esi
call fcn.65122f50
mov dword [0x6516bb28], ebx
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [esi + 0x780]
cmp esi, ebx
je 0x651230fd
mov ecx, dword [esi]
mov edx, dword [ecx + 0x8c]
push ebx
push esi
call edx
mov al, byte [0x6516c928]
test al, al
jne 0x6512325b
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x18], 0x65154128
mov dword [ebp - 0x68], str.file
mov dword [ebp - 0x64], str.func
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x94], 0xce
mov dword [ebp - 0x90], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x98], 2
call edi
lea ecx, [ebp - 0x7c]
push ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x18]
push edx
push 0x651584e0
lea eax, [ebp - 0x9c]
push str.PerfStand.LoadRDOCache.Begin
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
lea ecx, [ebp - 0xbc]
call fcn.6511f9e0
lea ecx, [ebp - 0xbc]
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KernelUtil.dll_void___cdecl_Version::GetVersionExW_struct_Version::tagVersionInfo__]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KernelUtil.dll_class_CTXStringW___cdecl_Util::Sys::GetGlobalSysDir_void_]
add esp, 8
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
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_Util::FS::LoadRDOCache_wchar_t_const___unsigned_long_int__]
add esp, 8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov dword [ebp - 0x14], 0x65154128
mov dword [ebp - 0x28], str.file
mov dword [ebp - 0x24], str.func
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x54], 0xd2
mov dword [ebp - 0x50], ebx
call esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], 2
call edi
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x14]
push eax
push 0x651584e0
lea ecx, [ebp - 0x5c]
push str.PerfStand.LoadRDOCache.End
push ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
lea ecx, [ebp - 0xbc]
mov byte [0x6516c928], 1
mov byte [ebp - 4], bl
call fcn.6511fa40
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXBSTR::destructor_void_]
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