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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
mov edi, dword [ebx + 0x410]
test edi, edi
je 0x627407
cmp byte [ebx + 0xda8], 0
je 0x6272e5
mov ecx, 7
mov edx, edi
mov eax, ebx
call fcn.00629820
test al, al
je 0x6272e5
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x48c]
cmp eax, dword [ebx + 0xce0]
jle 0x6272dc
mov eax, esi
mov byte [ebx + 0x2c], al
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x48c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x414], eax
movzx eax, byte [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [ebx + 0x28]
push eax
mov cx, 0x14da
mov dx, 0x9a
mov eax, ebx
call fcn.006a9ba0
push 1
mov ecx, dword [ebx + 0x158]
mov eax, dword [ebx + 0x154]
sub ecx, eax
mov edx, eax
mov eax, ebx
call fcn.006ad27c
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x4a4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6272d5
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x4a4]
call fcn.00420a68
mov esi, dword [eax]
test esi, esi
je 0x6272c9
cmp byte [esi + 0x370], 0
jne 0x6272c9
cmp byte [esi + 0x378], 0
jne 0x6272c9
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x6272c9
cmp byte [esi + 0x3a5], 0
je 0x627282
cmp byte [ebx + 0x3a7], 0
je 0x6272c9
mov eax, dword [ebp - 8]
push eax
movzx eax, word [esi + 0x24]
movzx edx, word [esi + 0x28]
shl edx, 0x10
or eax, edx
push eax
push 5
push esi
push 0
push 0x2bc
mov cx, 0xdc
mov edx, ebx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov eax, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x28]
push eax
push 0x18
push 0
push 0x258
xor ecx, ecx
mov dx, 0xc9
mov eax, ebx
call fcn.006a4724
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x62723d
mov eax, ebx
call fcn.006a965c
mov byte [ebp - 1], 1
jmp 0x627407
push 0x1391
mov edx, esi
mov cl, 4
mov eax, ebx
call fcn.006293f8
test al, al
jne 0x627403
mov ecx, 6
mov edx, dword [ebx + 0x410]
mov eax, ebx
call fcn.00629820
test al, al
je 0x627407
mov eax, dword [ebx + 0x410]
push eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
mov eax, ebx
call fcn.006abc14
test al, al
je 0x627407
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x48c]
cmp eax, dword [ebx + 0xce0]
jle 0x6273fd
mov eax, esi
mov byte [ebx + 0x2c], al
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x48c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x414], eax
movzx eax, byte [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [ebx + 0x28]
push eax
mov cx, 0x14d9
mov dx, 0x9a
mov eax, ebx
call fcn.006a9ba0
push 1
mov ecx, dword [ebx + 0x158]
mov eax, dword [ebx + 0x154]
sub ecx, eax
mov edx, eax
mov eax, ebx
call fcn.006ad27c
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebx + 0x410]
movzx edx, word [eax + 0x24]
movzx eax, word [eax + 0x28]
shl eax, 0x10
or edx, eax
push edx
push 5
mov eax, dword [ebx + 0x410]
push eax
push 0
push 0x2bc
mov cx, 0xdc
mov edx, ebx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x18]
mov eax, dword [ebx + 0x410]
mov edx, dword [eax + 0x24]
push edx
mov eax, dword [eax + 0x28]
push eax
push 0x17
push 0
push 0x258
xor ecx, ecx
mov dx, 0xc9
mov eax, ebx
call fcn.006a4724
mov eax, ebx
call fcn.006a965c
mov byte [ebp - 1], 1
jmp 0x627407
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret