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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x403c
call fcn.0043f800
mov eax, dword [0x45b1d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x401c], eax
mov dword [ebp - 0x4020], esi
mov dword [ebp - 0x4018], edi
mov dword [ebp - 0x4010], edi
mov dword [ebp - 0x400c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4014], eax
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
mov dword [ebp - 0x4030], edi
mov dword [ebp - 0x402c], edi
jne 0x42a97e
mov eax, dword [ebp - 0x401c]
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x48]
mov ebx, dword [eax + 0x90]
mov eax, dword [eax + 0x94]
cmp eax, edi
mov dword [ebp - 0x4034], eax
jl 0x42a94e
jg 0x42a7b0
cmp ebx, edi
jbe 0x42a94e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp - 0x4034]
mov edi, dword [ebp - 0x4010]
sub edi, dword [ebp - 0x4030]
mov esi, dword [ebp - 0x400c]
sbb esi, dword [ebp - 0x402c]
push ebx
mov dword [ebp - 0x4024], eax
sub eax, dword [ebp - 0x4014]
push 0
push eax
call fcn.0043f0e0
push 0
push 0x3e8
push edx
push eax
call fcn.004439f0
cmp esi, edx
jl 0x42a88b
jg 0x42a809
cmp edi, eax
jbe 0x42a88b
push 0
push 0x3e8
push esi
push edi
call fcn.0043f0e0
mov edi, dword [ebp - 0x4034]
push edi
push ebx
push edx
push eax
call fcn.004439f0
mov esi, eax
sub esi, dword [ebp - 0x4024]
add esi, dword [ebp - 0x4014]
jmp 0x42a87f
cmp esi, 0xa
mov eax, esi
jle 0x42a840
push 0xa
pop eax
push eax
sub esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
jne 0x42a97e
mov eax, dword [ebp - 0x401c]
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x48]
cmp ebx, dword [eax + 0x90]
jne 0x42a960
cmp edi, dword [eax + 0x94]
jne 0x42a960
test esi, esi
jg 0x42a836
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x42a891
mov eax, dword [ebp - 0x4024]
mov esi, dword [ebp - 0x4020]
mov ecx, eax
sub ecx, dword [ebp - 0x4014]
cmp ecx, 0x3e8
jb 0x42a8c5
mov dword [ebp - 0x4014], eax
mov eax, dword [ebp - 0x4010]
mov dword [ebp - 0x4030], eax
mov eax, dword [ebp - 0x400c]
mov dword [ebp - 0x402c], eax
mov edi, dword [ebp - 0x4018]
mov ebx, dword [ebp - 0x401c]
mov eax, 0x4000
sub eax, edi
push eax
lea eax, [ebp + edi - 0x4008]
push eax
mov eax, ebx
call fcn.00429006
test eax, eax
jl 0x42a991
je 0x42a9f9
add edi, eax
cmp edi, 0x3c00
mov dword [ebp - 0x4018], edi
jl 0x42a966
mov ecx, dword [ebp - 0x400c]
push 0
lea eax, [ebp - 0x4008]
push eax
mov eax, dword [ebp - 0x4010]
add eax, dword [ebp + 0xc]
push edi
adc ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, ebx
call fcn.0042aa27
xor ecx, ecx
cmp eax, ecx
jl 0x42a975
je 0x42a9c2
mov eax, edi
cdq
add dword [ebp - 0x4010], eax
mov dword [ebp - 0x4018], ecx
adc dword [ebp - 0x400c], edx
jmp 0x42a966
or ebx, eax
jne 0x42a8c5
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42a966
mov esi, dword [ebp - 0x4020]
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
jne 0x42a97e
xor edi, edi
jmp 0x42a77a
cmp eax, 0xfffffffd
jne 0x42a9da
push eax
pop eax
jmp 0x42a9dd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d4ab
leave
ret 0x10
test edi, edi
jle 0x42a9f5
mov ecx, dword [ebp - 0x400c]
push 0
lea eax, [ebp - 0x4008]
push eax
mov eax, dword [ebp - 0x4010]
add eax, dword [ebp + 0xc]
push edi
adc ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, ebx
call fcn.0042aa27
test eax, eax
jl 0x42a975
jne 0x42a9f0
xor ecx, ecx
mov eax, edi
cdq
add eax, dword [ebp - 0x4010]
adc edx, dword [ebp - 0x400c]
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, ecx
jmp 0x42a980
or eax, 0xffffffff
mov ecx, dword [ebp - 0x4010]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x400c]
mov dword [esi + 4], ecx
jmp 0x42a980
push 0xfffffffffffffffe
pop ecx
jmp 0x42a9c2
push 0xfffffffffffffffe
jmp 0x42a97b
mov ecx, dword [ebp - 0x400c]
push 1
lea eax, [ebp - 0x4008]
push eax
mov eax, dword [ebp - 0x4010]
add eax, dword [ebp + 0xc]
push edi
adc ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, ebx
call fcn.0042aa27
test eax, eax
jge 0x42a9c0
jmp 0x42a975