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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
lea eax, [edi + 0xbc]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp + 8], 0
jl 0x42a916
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x16f4]
push eax
mov dword [esp + 0x14], eax
call fcn.0043b860
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x50]
pop ecx
xor ecx, ecx
sub eax, ecx
mov esi, 0x259
je 0x42a8bb
dec eax
je 0x42a6a4
dec eax
je 0x42a6d2
dec eax
jne 0x42a8e1
mov dword [esp + 0x14], ecx
call ebx
mov dword [esp + 0xc], eax
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
jne 0x42a7df
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jmp 0x42a7fb
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x14], eax
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
mov ecx, dword [edi + 0x44]
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.004266b5
push eax
push dword [esp + 0x10]
push esi
jmp 0x42a76d
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
call ebx
sub eax, dword [esp + 0x14]
push edi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc8], eax
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0x44]
mov eax, 0x1411
call fcn.00428715
test eax, eax
je 0x42a8e1
inc dword [ebp + 8]
and dword [esp + 0xc], 0
call ebx
mov dword [esp + 0x14], eax
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
mov ecx, dword [edi + 0x44]
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004266b5
push eax
push dword [esp + 0x10]
xor ecx, ecx
push ecx
mov eax, dword [ebp + 8]
push dword [esp + 0x20]
cdq
push edx
push eax
call fcn.0044afa0
mov esi, dword [edi + 0x4c]
push edx
push eax
call fcn.00437c35
mov esi, eax
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
cmp esi, 0xc8
je 0x42a700
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
push edi
push eax
push dword [edi + 0x44]
mov eax, 0x1412
call fcn.00428715
cmp eax, 1
jne 0x42a8e1
mov esi, 0xc8
jmp 0x42a8e1
xor ecx, ecx
push ecx
push dword [esp + 0x14]
cdq
push edx
push eax
call fcn.0044afa0
sub eax, 1
sbb edx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 0x48]
mov esi, dword [eax]
mov ecx, dword [edi + 0x44]
lea eax, [esp + 0x14]
push eax
push dword [ebp + 8]
call fcn.004266b5
push eax
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [esp + 0x28]
xor ecx, ecx
push dword [esp + 0x28]
cdq
push ecx
push dword [esp + 0x28]
push edx
push eax
call fcn.0044afa0
mov ecx, dword [edi + 0x48]
push edx
push eax
call dword [esi + 8]
mov esi, eax
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
mov eax, esi
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 2
jne 0x42a897
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
call ebx
sub eax, dword [esp + 0xc]
push edi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc8], eax
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0x44]
mov eax, 0x1411
mov dword [esp + 0x40], esi
call fcn.00428715
test eax, eax
je 0x42a8e1
inc dword [ebp + 8]
xor ecx, ecx
jmp 0x42a6a4
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
lea eax, [esp + 0x28]
jmp 0x42a7bd
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
push edi
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x44]
mov eax, 0x1412
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
call fcn.00428715
push dword [esp + 8]
call fcn.0043c56a
pop ecx
push 0
lea eax, [edi + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
mov eax, dword [edi + 0x44]
push edi
push esi
push 0x1413
push dword [eax]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8