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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e321
mov eax, dword fs:[0]
push eax
sub esp, 0x9ac
mov eax, dword [0x44ef24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x988], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x99c], ecx
mov dword [ebp - 0x9b8], ebx
mov edi, dword [eax + 0x30]
lea edx, [eax + 0x38]
mov eax, dword [edx]
mov dword [ebp - 4], 0
mov dword [ebp - 0x990], 0
mov dword [ebp - 0x994], 0
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edx]
mov dword [ebp - 0x984], edx
mov dword [eax + 4], eax
mov dword [edx + 4], 0
cmp ecx, dword [edx]
je 0x40dd33
mov ebx, edx
mov esi, dword [ecx]
push 0xc
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ecx, esi
cmp esi, dword [ebx]
jne 0x40dd17
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x984]
mov eax, dword [ebp - 0x988]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
cmp esi, eax
je 0x40ddd1
mov eax, dword [esi + 0x14]
cmp eax, dword [ebx + 0x10]
jne 0x40dd52
mov edi, esi
jmp 0x40ddbe
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40ddbe
mov ecx, dword [edx]
or dword [ebp - 0x994], eax
mov dword [ebp - 0x98c], ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x998], eax
lea eax, [esi + 0x10]
push eax
push dword [ebp - 0x998]
push ecx
mov ecx, edx
call fcn.0040be00
mov edx, dword [ebp - 0x984]
mov ecx, 0x15555554
mov dword [ebp - 0x980], eax
mov eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x40e15b
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x98c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x980]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x998]
mov dword [eax], ecx
mov eax, dword [ebp - 0x988]
mov esi, dword [esi]
mov eax, dword [eax + 0x30]
cmp esi, eax
jne 0x40dd46
cmp edi, eax
jne 0x40deca
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x9b4], ecx
mov dword [ebp - 0x9b0], eax
mov dword [ebp - 0x9ac], 0
mov dword [ebp - 0x9a8], edx
mov dword [ebp - 0x9a4], 0
call fcn.00404200
mov ecx, eax
test ecx, ecx
je 0x40e151
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9a0], eax
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x9a0]
mov dword [ebp - 0x9a4], eax
lea eax, [ebx + 8]
push eax
mov byte [ebp - 4], 1
call fcn.0040cfe0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x988]
lea ecx, [ebp - 0x9b4]
push ecx
mov dword [ebp - 0x9ac], eax
mov edi, dword [esi + 0x30]
lea ecx, [esi + 0x30]
mov eax, dword [edi + 4]
push eax
push edi
mov dword [ebp - 0x980], eax
call fcn.0040bed0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [esi + 0x34]
sub ecx, eax
cmp ecx, 1
jb 0x40e15b
inc eax
mov dword [ebp - 0x990], 1
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x980]
mov dword [edi + 4], edx
mov byte [ebp - 4], 0
mov dword [eax], edx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x9a0]
add edx, 0xfffffff0
mov edi, dword [eax + 4]
or eax, 0xffffffff
add edi, 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40df08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40df08
mov eax, dword [edi + 8]
cmp eax, dword [ebx]
ja 0x40df06
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea eax, [ebx + 8]
push eax
lea ecx, [edi + 0x1c]
call fcn.0040cfe0
mov eax, dword [ebx]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
add edi, 8
mov dword [ebp - 0x990], 1
jmp 0x40df08
xor edi, edi
cmp dword [ebx + 0xc], 0
je 0x40e035
test edi, edi
je 0x40e035
mov esi, dword [ebp - 0x984]
lea edx, [edi + 8]
push edx
mov eax, dword [esi]
mov dword [ebp - 0x980], eax
mov ecx, dword [eax + 4]
push ecx
mov dword [ebp - 0x98c], ecx
mov ecx, esi
push eax
call fcn.0040be00
mov ecx, eax
mov edx, 0x15555554
mov eax, dword [esi + 4]
sub edx, eax
cmp edx, 1
jb 0x40e165
inc eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x980]
push 0x948
push 0
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x98c]
mov dword [eax], ecx
lea eax, [ebp - 0x958]
push eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp - 0x97c], 0x4e504533
mov dword [ebp - 0x978], 0x96c
mov dword [ebp - 0x974], 1
mov dword [ebp - 0x970], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebx + 0x2c], 8
mov dword [ebp - 0x96c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x968], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x964], eax
lea eax, [ebx + 0x18]
mov dword [ebp - 0x960], 0
mov dword [ebp - 0x95c], 0
jb 0x40dfe2
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x7f
push eax
lea eax, [ebp - 0x958]
push eax
call esi
cmp dword [ebx + 0x44], 8
lea eax, [ebx + 0x30]
jb 0x40dfff
mov eax, dword [eax]
push 0x1f
push eax
lea eax, [ebp - 0x858]
push eax
call esi
push 0x403
push dword [edi + 0x14]
lea eax, [ebp - 0x818]
push eax
call esi
push 0x4d47534d
lea eax, [ebp - 0x97c]
push 0x96c
push eax
call fcn.00403470
add esp, 0xc
cmp dword [ebp - 0x990], 0
je 0x40e0fc
mov edx, dword [ebp - 0x988]
mov eax, dword [ebx + 0xc]
or eax, dword [ebp - 0x994]
mov ecx, dword [edx + 0x40]
mov dword [edx + 0x40], eax
je 0x40e098
test ecx, ecx
jne 0x40e098
push ecx
push 0x7d0
push 1
push dword [ebp - 0x99c]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0040d890
call fcn.004031d0
mov byte [ebp - 0x980], al
push dword [ebp - 0x980]
push dword [ebx + 0x10]
call fcn.00408590
mov ecx, eax
call fcn.0040d6a0
jmp 0x40e0fc
test eax, eax
jne 0x40e0fc
test ecx, ecx
je 0x40e0fc
push 1
push dword [ebp - 0x99c]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0040d890
call fcn.004031d0
mov byte [ebp - 0x980], al
call fcn.00408590
mov edi, eax
lea esi, [edi + 0x20]
push esi
mov dword [ebp - 0x98c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x10], 0
mov byte [ebp - 4], 2
je 0x40e0f5
push 0
push dword [ebp - 0x980]
mov ecx, edi
call fcn.0040eba0
mov dword [edi + 0x18], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebx + 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0040cdb0
mov edx, dword [ebx + 8]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e126
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427ee9
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00401cf0
push str.list_T__too_long
call fcn.004229c0
push str.list_T__too_long
call fcn.004229c0
int3