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

Disassembly:
push 0x48
mov eax, 0x447a33
call fcn.00432960
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x108]
xor ebx, ebx
cmp eax, ebx
jne 0x410fee
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.0042f224
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x410ddd
call fcn.0041b8db
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.0042a051
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.0042ac51
push eax
push 0x44d1a4
call fcn.004232f6
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x410ff6
cmp dword [edi + 0x14], ebx
je 0x410ff6
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov dword [ebp + 0xc], 0xc8
call fcn.00429a9f
test eax, eax
jne 0x410e48
mov eax, 0x80004005
jmp 0x410e55
push dword [ebp + 0xc]
call fcn.004097a7
cmp eax, ebx
pop ecx
jge 0x410e5b
push eax
call fcn.004017d0
push ebx
lea eax, [ebp - 0x14]
push eax
push 5
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.00429a78
lea ecx, [ebp - 0x1c]
call fcn.00408979
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 0x410fb2
jmp 0x410ea6
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 0x410fb2
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 0x410f75
push fcn.004089a3
push fcn.00408979
push 3
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0042e69f
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.00408f25
push ebx
push dword [ebp - 0x14]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x20], eax
call fcn.00408e3c
push ebx
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
call fcn.00408e3c
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.004013f9
mov eax, dword [ebp - 0x18]
add esp, 0x2c
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
push fcn.004089a3
push 3
push 4
mov eax, esi
push eax
call fcn.0042e762
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.00405b3a
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 0x410ea3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004089a3
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.0042a7cb
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0040e1fe
call fcn.00432a38
ret 0xc
call fcn.00407285
int3