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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x56bb58
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56db92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5d34c0]
cmp dword [eax], 0
je 0x56db5f
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
cmp byte [eax + 0x78], 0
jne 0x56db5f
mov eax, dword [0x5d368c]
cmp byte [eax], 0
jne 0x56db5f
mov eax, dword [0x5d323c]
cmp byte [eax], 0
je 0x56bc0b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d34a4]
sub eax, dword [edx]
xor edx, edx
push edx
push eax
mov eax, dword [0x5d3f98]
mov eax, dword [eax]
cdq
cmp edx, dword [esp + 4]
jne 0x56bbd2
cmp eax, dword [esp]
pop edx
pop eax
jae 0x56bc0b
jmp 0x56bbd6
pop edx
pop eax
jge 0x56bc0b
mov eax, dword [ebp - 4]
call fcn.0056bb2c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d34a4]
mov dword [edx], eax
mov eax, dword [0x5d3400]
inc dword [eax]
mov eax, dword [0x5d3400]
mov eax, dword [eax]
mov edx, dword [0x5d3dd8]
cmp eax, dword [edx]
jl 0x56bc0b
mov eax, dword [0x5d323c]
mov byte [eax], 0
mov eax, dword [0x5d3fa0]
cmp byte [eax], 0
jne 0x56db5f
mov eax, dword [0x5d3a48]
cmp byte [eax], 0
jne 0x56db5f
mov eax, dword [0x5d35bc]
cmp byte [eax], 0
je 0x56bc4f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3e20]
sub eax, dword [edx]
cmp eax, 0xfa0
jbe 0x56bc4f
mov eax, dword [0x5d35bc]
mov byte [eax], 0
jmp 0x56bc5d
mov eax, dword [0x5d35bc]
cmp byte [eax], 0
jne 0x56db5f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d36bc]
sub eax, dword [edx]
cmp eax, 0x1f4
jbe 0x56bcef
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d36bc]
mov dword [edx], eax
xor ebx, ebx
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x56bcef
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.00419afc
mov edi, eax
test edi, edi
je 0x56bce9
cmp byte [edi + 0x78], 0
jne 0x56bce9
cmp byte [edi + 0x188], 0
je 0x56bce9
mov byte [edi + 0x188], 0
movzx eax, word [edi + 0x122]
push eax
movzx ecx, word [edi + 0x120]
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
mov edx, dword [edi + 0x60]
call fcn.00533e50
inc ebx
cmp ebx, 2
jge 0x56bcef
inc esi
dec dword [ebp - 0x14]
jne 0x56bc98
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3b54]
sub eax, dword [edx]
cmp eax, 0xc8
jbe 0x56bd56
mov eax, dword [0x5d340c]
cmp byte [eax], 0
je 0x56bd56
mov eax, dword [0x5d3e28]
mov eax, dword [eax]
cmp byte [eax + 0x86c], 0
je 0x56bd56
mov eax, dword [0x5d3e28]
mov eax, dword [eax]
cmp byte [eax + 0x89c], 0
je 0x56bd56
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3ce8]
sub eax, dword [edx]
cmp eax, 0x3a98
jbe 0x56bd56
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3b54]
mov dword [edx], eax
mov eax, dword [ebp - 4]
call fcn.00576788
mov eax, dword [0x5d36f4]
cmp byte [eax], 0
je 0x56bdea
mov eax, dword [0x5d33b8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x56bdea
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d33fc]
sub eax, dword [edx]
mov edx, dword [0x5d3ed0]
cmp eax, dword [edx]
jbe 0x56bdea
mov eax, dword [0x5d36f4]
mov byte [eax], 0
mov eax, dword [0x5d33b8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x56bdde
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 0x10]
mov eax, dword [0x5d33b8]
mov eax, dword [eax]
mov edx, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x10], 0
je 0x56bdd8
mov edx, dword [0x5d32e4]
mov edx, dword [edx]
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.0053453c
inc esi
dec dword [ebp - 0x14]
jne 0x56bdaa
mov eax, dword [0x5d33b8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
call fcn.005b5b70
mov eax, dword [0x5d33a8]
cmp byte [eax], 0
je 0x56bf32
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [0x5d3234]
mov eax, dword [eax]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x56be30
cmp eax, 0x12c
jbe 0x56bf32
jmp 0x56be36
jle 0x56bf32
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3234]
mov dword [edx], eax
mov edx, dword [0x5d3280]
mov edx, dword [edx]
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
call fcn.005b4df8
mov ebx, eax
test ebx, ebx
jne 0x56bea9
mov eax, dword [0x5d3768]
cmp byte [eax], 0
jne 0x56bea9
push 0x56dba8
lea edx, [ebp - 0x18]
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x11c]
call fcn.005c8c80
push dword [ebp - 0x18]
push 0x56dbbc
mov eax, dword [ebp - 4]
add eax, 0x24
mov edx, 3
call fcn.00404794
mov eax, dword [ebp - 4]
call fcn.0056bb00
mov eax, dword [0x5d3768]
mov byte [eax], 1
test ebx, ebx
je 0x56bf32
movzx eax, word [ebx + 0x122]
push eax
movzx ecx, word [ebx + 0x120]
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx edx, word [eax + 0x122]
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx eax, word [eax + 0x120]
call fcn.005c40a0
cmp eax, 0xa
jg 0x56bf32
xor esi, esi
mov eax, dword [0x5d32b4]
mov eax, dword [eax]
cmp esi, dword [eax + 8]
jge 0x56bf32
mov eax, dword [0x5d32b4]
mov eax, dword [eax]
mov edx, esi
call fcn.00419afc
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x54]
cmp eax, 0xbb8
jae 0x56bf16
inc esi
jmp 0x56bee8
mov edx, 0x59
mov eax, ebx
call fcn.00402734
mov eax, dword [0x5d32b4]
mov eax, dword [eax]
mov edx, esi
call fcn.004199ec
jmp 0x56bee8
mov eax, dword [0x5d3624]
cmp dword [eax], 1
je 0x56bf62
mov eax, dword [0x5d3624]
cmp dword [eax], 2
jne 0x56bffe