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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0x18], 0
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov esi, ecx
push eax
call fcn.00457acf
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x458061
mov eax, dword [esi]
push ebx
push edi
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esi + 0x30]
imul eax, eax, 0x3e8
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
je 0x457e2c
cmp dword [eax], ebx
jne 0x458049
mov eax, dword [esi + 0x78]
cmp dword [eax + 0x70], ebx
jle 0x457e83
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x457e40
cmp dword [ecx], 0
jne 0x457e83
mov eax, dword [eax + 0x6c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x457e7a
mov eax, dword [edi + 0x50]
test eax, eax
je 0x457e7a
push 0
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x457e7a
mov ecx, dword [edi + 0x50]
call fcn.004566a1
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x457e76
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [edi + 0x50], 0
mov eax, dword [esi + 0x78]
inc ebx
cmp ebx, dword [eax + 0x70]
jl 0x457e34
mov edx, dword [esi + 0x38]
xor edi, edi
cmp edx, edi
je 0x457e94
cmp dword [edx], edi
jne 0x458049
mov eax, dword [esi + 0x78]
xor ebx, ebx
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0x70]
test ecx, ecx
jle 0x45803f
test edx, edx
je 0x457eb0
cmp dword [edx], 0
jne 0x457ed2
mov ecx, dword [eax + 0x6c]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x457eca
cmp dword [ecx + 0x28], 0x15
je 0x457eca
inc ebx
cmp dword [ecx + 0x50], 0
je 0x457eca
inc dword [ebp - 4]
mov ecx, dword [eax + 0x70]
inc edi
cmp edi, ecx
jl 0x457ea7
test ebx, ebx
je 0x45803f
test edx, edx
je 0x457ee7
cmp dword [edx], 0
jne 0x458049
mov edi, dword [ebp - 4]
cmp edi, ebx
jge 0x457f9e
cmp edi, dword [esi + 0x80]
jge 0x457f9e
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
test ecx, ecx
jle 0x457f8e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x457f20
cmp dword [ecx], 0
jne 0x457f84
mov eax, dword [eax + 0x6c]
mov ecx, dword [ebp - 8]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x457f76
cmp dword [edi + 0x28], 0x15
je 0x457f76
cmp dword [edi + 0x50], 0
jne 0x457f76
mov eax, dword [edi + 0x48]
cmp eax, dword [esi + 0x28]
jge 0x457f76
call ebx
sub eax, dword [edi + 0x4c]
cmp eax, dword [ebp - 0x1c]
jbe 0x457f76
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push edi
call fcn.00457721
test eax, eax
jne 0x457f76
call ebx
inc dword [edi + 0x48]
inc dword [ebp - 0x10]
inc dword [ebp - 4]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x80]
jge 0x457f84
inc dword [ebp - 8]
mov eax, dword [esi + 0x78]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x70]
jl 0x457f14
cmp dword [ebp - 0x10], 0
jg 0x457e1b
mov edx, dword [esi + 0x38]
test edx, edx
je 0x457f9e
cmp dword [edx], 0
jne 0x458049
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x78]
mov edi, dword [eax + 0x70]
test edi, edi
jle 0x45803f
test edx, edx
je 0x457fc3
cmp dword [edx], 0
jne 0x457ff5
mov ecx, dword [eax + 0x6c]
mov ebx, dword [ebp - 8]
mov ecx, dword [ecx + ebx*4]
test ecx, ecx
je 0x457fed
cmp dword [ecx + 0x28], 0x15
je 0x457fed
inc dword [ebp - 0x10]
cmp dword [ecx + 0x50], 0
je 0x457fe2
inc dword [ebp - 4]
mov ecx, dword [ecx + 0x48]
cmp ecx, dword [esi + 0x28]
jge 0x457fed
inc dword [ebp - 0x14]
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x457fba
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45803f
test edx, edx
je 0x458005
cmp dword [edx], 0
jne 0x458049
cmp dword [ebp - 4], 0
jne 0x458011
cmp dword [ebp - 0x14], 0
je 0x458045
cmp eax, dword [esi + 0x80]
jge 0x45802b
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00457635
test eax, eax
je 0x457e1b
push dword [esi + 0x38]
push 0x1f4
call fcn.00424d61
pop ecx
pop ecx
jmp 0x457e1b
and dword [ebp - 0xc], 0
jmp 0x458049
or dword [ebp - 0xc], 0xffffffff
mov esi, dword [esi + 0x38]
pop edi
test esi, esi
pop ebx
je 0x45805e
cmp dword [esi], 0
je 0x45805e
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop esi
leave
ret 8