Function at 0x5b8734
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 0x5b89cf
cmp byte [edi + 0xc20], 0
je 0x5b88a7
mov ecx, 7
mov edx, ebp
mov eax, edi
call fcn.005bae60
test al, al
je 0x5b88a7
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x3fc]
cmp eax, dword [edi + 0xb60]
jle 0x5b88a0
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.0060f9fc
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.00612ef8
mov dword [esp], eax
mov eax, dword [edi + 0x414]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x5b8899
inc ebx
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [edi + 0x414]
call fcn.0041fbfc
mov esi, dword [eax]
test esi, esi
je 0x5b888e
cmp byte [esi + 0x2e4], 0
jne 0x5b888e
cmp byte [esi + 0x2ec], 0
jne 0x5b888e
mov edx, esi
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x5b888e
cmp byte [esi + 0x319], 0
je 0x5b8846
cmp byte [edi + 0x31b], 0
je 0x5b888e
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.0060aa6c
inc dword [esp + 4]
dec ebx
jne 0x5b8800
mov eax, edi
call fcn.0060f4c4
mov bl, 1
jmp 0x5b89cf
push 0x1391
mov edx, esi
mov cl, 4
mov eax, edi
call fcn.005baa20
test al, al
jne 0x5b89cd
mov ecx, 6
mov edx, dword [edi + 0x380]
mov eax, edi
call fcn.005bae60
test al, al
je 0x5b89cf
mov eax, dword [edi + 0x380]
push eax
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x24]
mov eax, edi
call fcn.00611a38
test al, al
je 0x5b89cf
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x3fc]
cmp eax, dword [edi + 0xb60]
jle 0x5b89c9
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.0060f9fc
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.00612ef8
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.0060aa6c
mov eax, edi
call fcn.0060f4c4
mov bl, 1
jmp 0x5b89cf
mov bl, 1
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret