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

Disassembly:
push 0x44
mov eax, 0x4680fc
call fcn.00445fa2
mov esi, ecx
and dword [ebp - 0x2c], 0
call fcn.004099e3
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x4241e5
mov ecx, dword [esi + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4244e1
mov ecx, dword [esi + 0x70]
lea ebx, [esi + 0x18]
push ebx
push esi
call fcn.00423322
push 0x48af4c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
je 0x42420c
cmp dword [esi + 0x24], 0
je 0x4244c8
mov dword [ebp - 0x10], 0xffffdd5e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x14]
lea edi, [esi + 0x1c]
push dword [esi + 0x20]
lea ecx, [esi + 0x28]
push dword [edi]
call fcn.004225b9
cmp dword [edi], 0
mov dword [ebp - 0x24], eax
jle 0x424273
cmp dword [ebp - 0x10], 0xffffdd5e
je 0x424273
push dword [ebx]
push dword [ebp - 0x10]
call fcn.004230ad
pop ecx
push eax
mov ecx, esi
call fcn.00422ffb
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x424273
jge 0x424263
neg eax
push 0
push 1
push edi
push eax
push 4
call fcn.00417881
add esp, 0x14
xor eax, eax
cmp dword [ebp - 0x24], eax
jne 0x42442e
mov dword [ebp - 0x28], eax
call fcn.004239d0
lea ecx, [esi + 0x28]
mov dword [ebp - 0x20], eax
call fcn.0042158e
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00423a0e
xor edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042345d
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x20]
jl 0x4242e0
cmp eax, dword [ebp - 0x1c]
jge 0x42436c
cmp eax, dword [ebp - 0x20]
mov ebx, 0x10000
jl 0x424305
cmp eax, dword [ebp - 0x1c]
jge 0x424305
lea ecx, [esi + 0x28]
call fcn.0042158e
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
cdq
idiv ecx
mov ebx, eax
push 0x28
call fcn.00446abf
pop ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
cmp eax, edi
je 0x42432f
mov ecx, dword [esi + 0x14]
imul ecx, ecx, 0xa
add ecx, dword [ebp - 0x14]
push esi
push ebx
push ecx
mov ecx, eax
call fcn.004233d0
mov ebx, eax
jmp 0x424331
xor ebx, ebx
mov byte [ebp - 4], 1
cmp ebx, edi
mov dword [ebp - 0x38], ebx
je 0x42436c
mov ecx, ebx
call fcn.00422f80
mov eax, dword [ebx + 4]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042345d
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
call fcn.0042345d
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
jmp 0x4242d2
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0xa4]
add ecx, dword [ebp - 0x18]
sub ecx, eax
push ecx
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor edi, edi
cmp eax, 0x102
je 0x4243af
cmp eax, edi
je 0x4243ce
cmp dword [ebp - 0x4c], 2
jle 0x4243f2
push eax
lea ecx, [ebp - 0x50]
call fcn.00401f98
jmp 0x42436c
cmp dword [ebp - 0x40], edi
jle 0x4243f2
push edi
lea ecx, [ebp - 0x44]
call fcn.00444baa
mov ecx, dword [eax]
push 1
call fcn.00422fab
inc edi
cmp edi, dword [ebp - 0x40]
jl 0x4243b4
jmp 0x4243f2
cmp dword [ebp - 0x40], edi
jle 0x4243eb
push edi
lea ecx, [ebp - 0x44]
call fcn.00444baa
mov ecx, dword [eax]
push 1
call fcn.00422fab
inc edi
cmp edi, dword [ebp - 0x40]
jl 0x4243d3
mov dword [ebp - 0x2c], 1
xor edi, edi
cmp dword [ebp - 0x40], edi
jle 0x424414
push edi
lea ecx, [ebp - 0x44]
call fcn.00444baa
mov ecx, dword [eax]
test ecx, ecx
je 0x42440e
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
cmp edi, dword [ebp - 0x40]
jl 0x4243f9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004113ac
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004113ac
jmp 0x424440
push eax
push dword [ebp - 0x24]
call fcn.004230ad
pop ecx
push eax
mov ecx, esi
call fcn.00422ffb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
mov edi, eax
jne 0x4244c8
cmp dword [ebp - 0x24], ebx
jne 0x424478
lea eax, [esi + 0x1c]
cmp dword [eax], ebx
jle 0x424478
push ebx
push 1
push eax
mov eax, edi
sub eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, 0x3e8
div ecx
push eax
push 3
call fcn.00417881
add esp, 0x14
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xa0]
mov ecx, edi
sub ecx, dword [ebp - 0x18]
cmp ecx, eax
jae 0x42449e
mov ecx, dword [esi + 0x10]
sub eax, edi
add eax, dword [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4244c8
push 0xc8
push ebx
mov ecx, esi
call fcn.00423a2f
mov ecx, dword [esi + 0x70]
lea ebx, [esi + 0x18]
push ebx
push esi
call fcn.00423322
push 0x48af4c
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x4241f2
push 0x48af4c
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0xc8
push 1
mov ecx, esi
call fcn.00423a2f
xor eax, eax
call fcn.00446041
ret