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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffdc
mov ebx, edx
mov edi, eax
mov byte [esp], 0
cmp dword [edi + 0x380], 0
je 0x5e6f7a
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [edi + 0xc28]
jbe 0x5e6d5f
call sub.kernel32.dll_GetTickCount_1
add eax, 0x7d0
mov dword [edi + 0xc28], eax
mov eax, 0xa
call fcn.00403484
cmp eax, 3
jge 0x5e6d5f
push 1
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x2e0]
call fcn.006758f8
test eax, eax
jle 0x5e6d5f
mov byte [edi + 0x2c], bl
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x3fc], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x384], eax
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0xe9
mov eax, edi
call fcn.006633cc
mov eax, 0x10
call fcn.00403484
sub eax, 8
add eax, dword [edi + 0x24]
mov dword [esp + 8], eax
mov eax, 0x10
call fcn.00403484
sub eax, 8
add eax, dword [edi + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
push 2
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x2e0]
mov eax, edi
call fcn.00670890
mov byte [esp], 1
jmp 0x5e6f7a
mov ecx, dword [edi + 0x1b0]
mov edx, dword [edi + 0x380]
mov eax, edi
call fcn.005ea2bc
test al, al
je 0x5e6f4d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x3fc]
cmp eax, dword [edi + 0xb60]
jle 0x5e6f47
mov byte [edi + 0x2c], bl
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x3fc], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x384], eax
movzx eax, byte [edi + 0x2c]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x28]
push eax
mov cx, 0x1391
mov dx, 0x9a
mov eax, edi
call fcn.0066835c
push 1
mov ecx, dword [edi + 0x112]
shr ecx, 0x10
movzx eax, word [edi + 0x112]
sub cx, ax
movsx ecx, cx
movzx edx, ax
mov eax, edi
call fcn.0066b858
mov dword [esp + 4], eax
mov eax, dword [edi + 0x380]
mov eax, dword [eax + 0x24]
mov edx, eax
dec edx
inc eax
sub eax, edx
jl 0x5e6f1c
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x380]
mov eax, dword [eax + 0x28]
mov edx, eax
dec edx
inc eax
sub eax, edx
jl 0x5e6f0e
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0x14]
push eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x2e0]
call fcn.00673738
test al, al
je 0x5e6f00
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], 0
je 0x5e6f00
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5e6f00
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
call fcn.0041fbf0
test eax, eax
je 0x5e6ef2
cmp byte [eax], 1
jne 0x5e6ef2
mov esi, dword [eax + 1]
test esi, esi
je 0x5e6ef2
cmp byte [esi + 0x2e4], 0
jne 0x5e6ef2
cmp byte [esi + 0x2ec], 0
jne 0x5e6ef2
mov edx, esi
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x5e6ef2
cmp byte [esi + 0x319], 0
je 0x5e6ec7
cmp byte [edi + 0x31b], 0
je 0x5e6ef2
movzx eax, word [esp + 4]
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
push 0x1f4
mov cx, 0xdc
mov edx, edi
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x18]
inc dword [esp + 0x10]
dec dword [esp + 0x20]
jne 0x5e6e76
inc dword [esp + 0xc]
dec dword [esp + 0x1c]
jne 0x5e6e28
inc dword [esp + 8]
dec dword [esp + 0x18]
jne 0x5e6e0a
mov eax, dword [edi + 0x380]
mov edx, dword [eax + 0x24]
push edx
mov eax, dword [eax + 0x28]
push eax
push 0xc
push 0
push 0x168
xor ecx, ecx
mov dx, 0xc9
mov eax, edi
call fcn.006633cc
mov eax, edi
call fcn.00667e24
mov byte [esp], 1
jmp 0x5e6f7a
mov eax, dword [edi + 0x380]
mov edx, dword [eax + 0x2e0]
cmp edx, dword [edi + 0x2e0]
jne 0x5e6f73
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x84]
jmp 0x5e6f7a
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x74]
movzx eax, byte [esp]
add esp, 0x24
pop edi
pop esi
pop ebx
ret