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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov edi, eax
xor ebx, ebx
mov ebp, dword [edi + 0x380]
test ebp, ebp
je 0x5e7e2b
cmp byte [edi + 0xc20], 0
je 0x5e7d03
mov ecx, 7
mov edx, ebp
mov eax, edi
call fcn.005ea2bc
test al, al
je 0x5e7d03
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x3fc]
cmp eax, dword [edi + 0xb60]
jle 0x5e7cfc
mov eax, esi
mov byte [edi + 0x2c], al
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, 0x14da
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], eax
mov eax, dword [edi + 0x414]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x5e7cf5
inc ebx
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [edi + 0x414]
call fcn.0041fbf0
mov esi, dword [eax]
test esi, esi
je 0x5e7cea
cmp byte [esi + 0x2e4], 0
jne 0x5e7cea
cmp byte [esi + 0x2ec], 0
jne 0x5e7cea
mov edx, esi
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x5e7cea
cmp byte [esi + 0x319], 0
je 0x5e7ca2
cmp byte [edi + 0x31b], 0
je 0x5e7cea
movzx eax, word [esp]
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, edi
mov eax, edi
mov ebp, dword [eax]
call dword [ebp + 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, edi
call fcn.006633cc
inc dword [esp + 4]
dec ebx
jne 0x5e7c5c
mov eax, edi
call fcn.00667e24
mov bl, 1
jmp 0x5e7e2b
push 0x1391
mov edx, esi
mov cl, 4
mov eax, edi
call fcn.005e9e7c
test al, al
jne 0x5e7e29
mov ecx, 6
mov edx, dword [edi + 0x380]
mov eax, edi
call fcn.005ea2bc
test al, al
je 0x5e7e2b
mov eax, dword [edi + 0x380]
push eax
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x24]
mov eax, edi
call fcn.0066a398
test al, al
je 0x5e7e2b
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x3fc]
cmp eax, dword [edi + 0xb60]
jle 0x5e7e25
mov eax, esi
mov byte [edi + 0x2c], al
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, 0x14d9
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], eax
movzx edx, word [esp]
push edx
mov eax, dword [edi + 0x380]
movzx edx, word [eax + 0x24]
movzx eax, word [eax + 0x28]
shl eax, 0x10
or edx, eax
push edx
push 5
mov eax, dword [edi + 0x380]
push eax
push 0
push 0x2bc
mov cx, 0xdc
mov edx, edi
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov eax, dword [edi + 0x380]
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, edi
call fcn.006633cc
mov eax, edi
call fcn.00667e24
mov bl, 1
jmp 0x5e7e2b
mov bl, 1
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret