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

Disassembly:
push 0x48
mov eax, 0x447a78
call fcn.004329d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x108]
xor ebx, ebx
cmp eax, ebx
jne 0x410fed
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.0042f294
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x410ddc
call fcn.0041b94b
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.0042a0c1
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.0042acc1
push eax
push 0x44d1a8
call fcn.00423373
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x410ff5
cmp dword [edi + 0x14], ebx
je 0x410ff5
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov dword [ebp + 0xc], 0xc8
call fcn.00429b0f
test eax, eax
jne 0x410e47
mov eax, 0x80004005
jmp 0x410e54
push dword [ebp + 0xc]
call fcn.004097bc
cmp eax, ebx
pop ecx
jge 0x410e5a
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.00429ae8
lea ecx, [ebp - 0x1c]
call fcn.00401b04
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 0x410fb1
jmp 0x410ea5
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 0x410fb1
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 0x410f74
push fcn.004088d8
push fcn.00401b04
push 3
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0042e70f
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.00408f3a
push ebx
push dword [ebp - 0x14]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x20], eax
call fcn.00408e51
push ebx
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
call fcn.00408e51
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.004088d8
push 3
push 4
mov eax, esi
push eax
call fcn.0042e7d2
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.00405b1b
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 0x410ea2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004088d8
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.0042a83b
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.00406fee
call fcn.00432aa8
ret 0xc
call fcn.004071b0
int3