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

Disassembly:
push 0x48
mov eax, 0x444833
call fcn.0042f6d6
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
sbb al, 0x8b
or byte [eax], 1
add byte [eax], al
xor ebx, ebx
cmp eax, ebx
jne 0x40f025
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
call dword [eax + 0x28]
mov dword [ebp - 0x10], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push 0x10000
call fcn.0042beb4
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x40edfe
call fcn.0041f4b6
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.0042720e
mov byte [ebp - 4], 2
push ebx
push ebx
push 0x4000002
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push dword [ebp + 0xc]
call fcn.00427e0e
push eax
push 0x449178
call fcn.004210c9
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x40f02d
cmp dword [edi + 0x14], ebx
je 0x40f02d
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov dword [ebp + 0xc], 0xc8
call fcn.00426c56
test eax, eax
jne 0x40ee69
mov eax, 0x80004005
jmp 0x40ee76
push dword [ebp + 0xc]
call fcn.00407cf2
cmp eax, ebx
pop ecx
jge 0x40ee7c
push eax
call fcn.00401668
push ebx
lea eax, [ebp - 0x14]
push eax
push 5
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.00426c2f
test eax, eax
je method.CTextHost.virtual_156
cmp dword [ebp - 0x14], ebx
jne 0x40eea3
push 0x2f76
push dword [ebp - 0x4c]
call fcn.00427199
lea ecx, [ebp - 0x1c]
call fcn.00406e8f
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10000
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x40efe9
jmp 0x40eedd
mov esi, dword [ebp + 8]
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x108], ebx
jne 0x40efe9
push dword [ebp - 0x14]
push 0x64
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
add dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
sub eax, dword [ebp - 0x20]
cmp eax, 0x42
jb 0x40efac
push fcn.00406fb9
push fcn.00406f8f
push 3
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0042b51a
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
lea esi, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
call fcn.004074c8
push ebx
push dword [ebp - 0x14]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x20], eax
call fcn.004073df
push ebx
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
call fcn.004073df
mov ecx, dword [ebp - 0x20]
push dword [ecx]
mov ecx, dword [ebp - 0x28]
push dword [ecx]
push dword [eax]
lea eax, [ebp - 0x1c]
push 0xbbd
push eax
call fcn.004012ab
mov eax, dword [ebp - 0x18]
add esp, 0x2c
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
push fcn.00406fb9
push 3
push 4
mov eax, esi
push eax
call fcn.0042b5dd
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
push 0x64
push dword [esi + 0x18]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, dword [esi + 0x14]
push dword [ebp - 0x28]
mov esi, dword [esi + 0x1c]
push eax
call fcn.00404a9a
mov eax, dword [edi]
push 0x10000
push dword [ebp - 0x10]
mov ecx, edi
call dword [eax + 0x34]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x40eeda
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406eb9
mov byte [ebp - 4], 2
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00427988
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0040e8e0
call fcn.0042f775
ret 0xc
call int.00405a33
int3