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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522ad4
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 0x98]
call eax
call fcn.00512780
movzx ecx, al
test ecx, ecx
jne 0x4bf189
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0xc]
call edx
cmp eax, dword [ebp - 0x2c]
jae 0x4bf189
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x4bf177
mov ecx, dword [ebp + 0x18]
push ecx
push 0xa
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.004beda0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
call eax
jmp 0x4bf348
mov ecx, dword [0x56a3fc]
and ecx, 1
jne 0x4bf1cf
mov edx, dword [0x56a3fc]
or edx, 1
mov dword [0x56a3fc], edx
mov dword [ebp - 4], 0
push 0
push 0xe
push 0xe
call dword [sym.imp.Dump.dll_lvalue_of]
add esp, 0xc
shl eax, 1
cdq
mov ecx, 3
idiv ecx
mov dword [0x56a3f8], eax
mov dword [ebp - 4], 0xffffffff
movzx edx, byte [ebp - 0x26]
test edx, edx
je 0x4bf2f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
mov eax, dword [0x56a3fc]
and eax, 2
jne 0x4bf225
mov ecx, dword [0x56a3fc]
or ecx, 2
mov dword [0x56a3fc], ecx
mov dword [ebp - 4], 1
push 0
push 0x80
push 0x28
call dword [sym.imp.Dump.dll_lvalue_of]
add esp, 0xc
mov dword [0x56a3f4], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 0
push 0x4e20
push 0x2e
call dword [sym.imp.Dump.dll_lvalue_of]
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [0x56a3fc]
and ecx, 4
jne 0x4bf29c
mov edx, dword [0x56a3fc]
or edx, 4
mov dword [0x56a3fc], edx
mov dword [ebp - 4], 2
push 0
push 0x3e8
push 3
call dword [sym.imp.Dump.dll_lvalue_of]
add esp, 0xc
mov dword [0x56a3f0], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [0x56a3f8]
jle 0x4bf2f1
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [0x56a3f4]
jle 0x4bf2f1
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x68]
jle 0x4bf2f1
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 0x58]
call eax
cmp eax, dword [0x56a3f0]
jae 0x4bf2f1
mov ecx, dword [ebp + 0x18]
push ecx
push 5
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.004beda0
jmp 0x4bf348
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
jl 0x4bf348
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0x2c], eax
jbe 0x4bf348
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x24]
call eax
cmp eax, dword [0x56a264]
jge 0x4bf348
movzx ecx, byte [ebp - 0x27]
test ecx, ecx
jne 0x4bf348
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x2bf20
jbe 0x4bf348
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.004bed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x14