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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
cmp dword [ebx + 0x410], 0
je 0x627c7e
push 0x1391
mov edx, esi
mov cl, 2
mov eax, ebx
call fcn.006293f8
test al, al
jne 0x627c7a
mov ecx, 7
mov edx, dword [ebx + 0x410]
mov eax, ebx
call fcn.00629820
test al, al
je 0x627c7e
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 0x627c7e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x48c]
cmp eax, dword [ebx + 0xce0]
jle 0x627c74
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
push 0
push 0
mov eax, dword [ebx + 0x410]
push eax
push 0
push 0
mov ecx, esi
mov dx, 0xc0
mov eax, ebx
call fcn.006a4724
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 + 0x410]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [ebx + 0x28]
push eax
push 0
push 0x190
mov ecx, 4
mov dx, 0xea
mov eax, ebx
call fcn.006a4724
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x24]
mov edx, eax
sub edx, 2
add eax, 2
sub eax, edx
jl 0x627c6d
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x28]
mov edx, eax
sub edx, 2
add eax, 2
sub eax, edx
jl 0x627c61
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x36c]
call fcn.006b56c4
test al, al
je 0x627c55
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x627c55
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x627c55
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
call fcn.00420a68
test eax, eax
je 0x627c49
cmp byte [eax], 1
jne 0x627c49
mov esi, dword [eax + 1]
test esi, esi
je 0x627c49
cmp byte [esi + 0x370], 0
jne 0x627c49
cmp byte [esi + 0x378], 0
jne 0x627c49
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x627c49
cmp byte [esi + 0x3a5], 0
je 0x627bf5
cmp byte [ebx + 0x3a7], 0
je 0x627c49
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 3
push esi
push 0
mov eax, dword [esi + 0x24]
sub eax, dword [ebx + 0x24]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x28]
sub eax, dword [ebx + 0x28]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
sar ecx, 1
jns 0x627c2d
adc ecx, 0
mov eax, ecx
add eax, eax
add eax, eax
lea eax, [eax + eax*4]
add eax, 0x320
push eax
mov cx, 0xdc
mov edx, ebx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x18]
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x627b9a
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x627b53
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x627b33
mov eax, ebx
call fcn.006a965c
mov byte [ebp - 1], 1
jmp 0x627c7e
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret