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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x101ed6c8]
sub esp, 0x18
push ebx
push esi
push edi
test ecx, ecx
jne 0x10081771
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10081769
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x1008176b
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
test al, al
je 0x10081a70
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x100817aa
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100817a2
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x100817a4
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0x5e
call dword [eax]
test eax, eax
jne 0x10081a70
call fcn.100066b0
mov ecx, eax
call fcn.10003b20
mov dword [ebp - 8], eax
call fcn.100066b0
mov ecx, eax
call fcn.10003ba0
call fcn.100066b0
call fcn.100066b0
add eax, 0x144
cmp dword [eax + 0x14], 8
jb 0x100817ea
mov eax, dword [eax]
mov ecx, str.typeeasy.exe
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10081816
test dx, dx
je 0x10081812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10081816
add eax, 4
add ecx, 4
test dx, dx
jne 0x100817f0
xor eax, eax
jmp 0x1008181b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1008182c
call fcn.100142d0
mov dword [ebp - 8], eax
call fcn.10014340
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [ebp + 8], ecx
call fcn.100066b0
mov edi, eax
lea esi, [edi + 0x1c0]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esi]
sub edx, dword [edi + 0x1b8]
mov ecx, dword [esi + 4]
sbb ecx, dword [edi + 0x1bc]
push 0
push 0x3e8
push ecx
push edx
call fcn.10099e00
push dword [edi + 0x1cc]
push dword [edi + 0x1c8]
push edx
push eax
call fcn.100a4aa0
test edx, edx
jl 0x100818b4
jg 0x1008188a
cmp eax, 0x3e8
jbe 0x100818b4
lea eax, [edi + 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.10013f00
mov dword [edi + 0x10], eax
mov eax, dword [0x101e2ddc]
add esp, 8
mov dword [edi + 0x15c], eax
jmp 0x100818b7
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
cmp ebx, eax
mov dword [ebp - 0xc], eax
cmovg ebx, eax
call fcn.10006890
cmp dword [0x101ed760], 0
jne 0x100818f1
push 0x108
call fcn.10092352
add esp, 4
test eax, eax
je 0x100818ea
mov ecx, eax
call fcn.1004d350
jmp 0x100818ec
xor eax, eax
mov dword [0x101ed760], eax
call fcn.10006890
mov eax, dword [0x101ed760]
test eax, eax
jne 0x10081920
push 0x108
call fcn.10092352
add esp, 4
test eax, eax
je 0x10081919
mov ecx, eax
call fcn.1004d350
jmp 0x1008191b
xor eax, eax
mov dword [0x101ed760], eax
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x10081932
test ebx, ebx
je 0x10081a70
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 1
push 0x1019ac40
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
add ecx, 2
add esi, 3
add edi, ecx
mov ecx, dword [ebp - 0xc]
add esi, ebx
cmp edi, dword [ebp - 8]
cmovg edi, dword [ebp - 8]
cmp esi, ecx
cmovg esi, ecx
lea eax, [edx + esi]
cmp eax, ecx
jle 0x1008199c
sub esi, edx
sub esi, 3
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x100819c6
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100819be
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x100819c0
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push edi
push 0x8e
call dword [eax + 0x2c]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x100819fb
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100819f3
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x100819f5
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push esi
push 0x8f
call dword [eax + 0x2c]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x10081a30
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10081a28
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10081a2a
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push edi
push 0x8e
call dword [eax + 0xc]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x10081a65
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10081a5d
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10081a5f
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push esi
push 0x8f
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4