Function at 0x427151
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.00426fc0
lea eax, [edi + 0xbc]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp + 8], 0
jl 0x42743d
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x16f4]
push eax
mov dword [esp + 0x14], eax
call fcn.00499a0f
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x50]
pop ecx
xor ecx, ecx
sub eax, ecx
mov esi, 0x259
je 0x4273e2
dec eax
je 0x4271bc
dec eax
je 0x4271ea
dec eax
jne 0x427408
mov dword [esp + 0x14], ecx
call ebx
mov dword [esp + 0xc], eax
call ebx
push eax
mov eax, edi
call fcn.00426fc0
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
jne 0x4272f7
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jmp 0x427313
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x14], eax
call ebx
push eax
mov eax, edi
call fcn.00426fc0
mov ecx, dword [edi + 0x44]
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.0041bd77
push eax
push dword [esp + 0x10]
push esi
jmp 0x427285
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, 0xe406
call fcn.0041de52
test eax, eax
je 0x427408
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.00426fc0
mov ecx, dword [edi + 0x44]
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0041bd77
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.004b1f10
mov esi, dword [edi + 0x4c]
push edx
push eax
call fcn.00434ae7
mov esi, eax
call ebx
push eax
mov eax, edi
call fcn.00426fc0
cmp esi, 0xc8
je 0x427218
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, 0xe407
call fcn.0041de52
cmp eax, 1
jne 0x427408
mov esi, 0xc8
jmp 0x427408
xor ecx, ecx
push ecx
push dword [esp + 0x14]
cdq
push edx
push eax
call fcn.004b1f10
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.0041bd77
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.004b1f10
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.00426fc0
mov eax, esi
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 2
jne 0x4273be
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, 0xe406
mov dword [esp + 0x40], esi
call fcn.0041de52
test eax, eax
je 0x427408
inc dword [ebp + 8]
push dword [ebp + 8]
push str.offset:__d_n
call fcn.00413df9
pop ecx
pop ecx
xor ecx, ecx
jmp 0x4271bc
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 0x4272d5
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
push edi
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x44]
mov eax, 0xe407
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
call fcn.0041de52
push dword [esp + 8]
call fcn.0049ac10
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.00426fc0
mov eax, dword [edi + 0x44]
push edi
push esi
push 0xe408
push dword [eax]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8