Function at 0x10008e34
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0xc8
mov eax, 0x1017adfb
call fcn.100854d6
mov esi, ecx
push dword [esi + 4]
lea ecx, [esi + 0x2ec]
call fcn.10035af5
push 0x28
call fcn.10062191
pop ecx
mov dword [ebp - 0x30], eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x10008e70
mov ecx, eax
call fcn.10012632
jmp 0x10008e72
xor eax, eax
or edi, 0xffffffff
push 0x28
mov dword [ebp - 4], edi
mov dword [esi + 0x358], eax
call fcn.10062191
pop ecx
mov dword [ebp - 0x30], eax
cmp eax, ebx
mov dword [ebp - 4], 1
je 0x10008e9d
mov ecx, eax
call fcn.10012632
jmp 0x10008e9f
xor eax, eax
push 0x10
mov dword [ebp - 4], edi
mov dword [esi + 0x35c], eax
call fcn.10062191
pop ecx
cmp eax, ebx
je 0x10008ebf
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x10008ec1
xor eax, eax
push 0x10
mov dword [ebp - 4], edi
mov dword [esi + 0x360], eax
call fcn.10062191
pop ecx
cmp eax, ebx
je 0x10008ee1
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x10008ee3
xor eax, eax
mov ecx, dword [esi + 0x358]
mov dword [ebp - 4], edi
mov dword [esi + 0x368], eax
call fcn.10012670
mov ecx, dword [esi + 0x35c]
call fcn.10012670
mov edi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ebx, [esi + 0x2c]
push str.CharDrawTabs
mov ecx, ebx
call edi
push str.CharacterDrawVal
mov ecx, ebx
mov dword [esi + 0x328], eax
call edi
push str.drawfirstbtn
mov ecx, ebx
mov dword [esi + 0x32c], eax
call edi
push str.drawsecondbtn
mov ecx, ebx
mov dword [esi + 0x34c], eax
call edi
push str.ClearAll
mov ecx, ebx
mov dword [esi + 0x350], eax
call edi
push str.ShortCutTips
mov ecx, ebx
mov dword [esi + 0x354], eax
call edi
push str.SearchShortCutTips
mov ecx, ebx
mov dword [esi + 0x36c], eax
call edi
push str.LatelyShortCutTips
mov ecx, ebx
mov dword [esi + 0x370], eax
call edi
push str.search_bottom
mov ecx, ebx
mov dword [esi + 0x374], eax
call edi
push str.lately_bottom
mov ecx, ebx
mov dword [esi + 0x330], eax
call edi
push str.char_bottom
mov ecx, ebx
mov dword [esi + 0x338], eax
call edi
push str.no_result
mov ecx, ebx
mov dword [esi + 0x334], eax
call edi
push str.no_result_hor
mov ecx, ebx
mov dword [esi + 0x348], eax
call edi
push str.symbol_hor
mov ecx, ebx
mov dword [esi + 0x33c], eax
call edi
push str.search_result
mov ecx, ebx
mov dword [esi + 0x340], eax
call edi
mov ecx, dword [esi + 0x328]
xor ebx, ebx
push ebx
mov dword [esi + 0x344], eax
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov ecx, dword [esi + 0x350]
mov eax, dword [ecx]
push 1
call dword [eax + 0x138]
mov ecx, dword [esi + 0x354]
mov eax, dword [ecx]
push ebx
call dword [eax + 0xcc]
mov ecx, esi
call fcn.10007c9d
mov ecx, esi
call fcn.100089df
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x48]
push eax
call edi
mov ecx, esi
call fcn.10007071
lea eax, [ebp - 0x40]
push eax
call edi
push 0x101862f4
lea ecx, [ebp - 0x2c]
call fcn.100015f0
mov eax, dword [esi + 0x32c]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
push ebx
mov dword [ebp - 4], 4
call dword [eax]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov edx, dword [eax]
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, eax
call dword [edx + 0x28]
mov ecx, eax
mov byte [ebp - 4], 5
call dword [sym.imp.DuiLib32.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003640
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push 0x101862dc
lea ecx, [ebp - 0x2c]
call fcn.10003640
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x378]
call fcn.10001d30
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x100090e5
lea eax, [ebp - 0x28]
mov ecx, dword [esi + 0x36c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x36c]
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
mov esi, dword [esi + 0x354]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xcc]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017c0
call fcn.10085559
ret