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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
add ebx, 8
mov esi, dword [0x5bc024]
xor eax, eax
push ebp
push 0x56a3ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp eax, dword [edx + 0x45c]
jne 0x56a01f
mov byte [0x5c1670], 1
jmp 0x56a026
mov byte [0x5c1670], 2
mov byte [0x5c15e4], 0
mov byte [0x5c15e5], 0
mov byte [0x5c15e6], 1
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 1
jg 0x56a393
mov eax, dword [ebp + 8]
inc dword [eax - 0xc]
mov eax, dword [ebp + 8]
push eax
call fcn.00569b5c
pop ecx
cmp byte [0x5c1748], 1
je 0x56a06e
cmp byte [0x5c1748], 7
jne 0x56a0e4
cmp dword [0x5c15b0], 0
jne 0x56a082
cmp dword [0x5c15ac], 0
jbe 0x56a0e4
jmp 0x56a084
jle 0x56a0e4
mov eax, dword [ebx]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov cl, 0xc
call fcn.00596290
cmp al, 1
jne 0x56a0e4
push 0
push 1
lea edx, [ebp - 8]
mov eax, dword [0x5bba10]
call fcn.00405c9c
lea eax, [ebp - 8]
push eax
push dword [0x5c15b0]
push dword [0x5c15ac]
lea eax, [ebp - 0xc]
call fcn.00408fe8
mov edx, dword [ebp - 0xc]
pop eax
call fcn.00403f20
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
xor ecx, ecx
call fcn.004d473c
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x5c15e3], 0
mov eax, dword [ebx]
mov word [eax + 0x1e4], 0
mov eax, dword [ebx]
xor edx, edx
call fcn.005aa9ac
cmp byte [0x5c1748], 1
je 0x56a10a
cmp byte [0x5c1748], 7
jne 0x56a184
cmp dword [0x5c15b0], 0
jne 0x56a11e
cmp dword [0x5c15ac], 0
jbe 0x56a184
jmp 0x56a120
jle 0x56a184
mov eax, dword [ebx]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov cl, 0xc
call fcn.00596290
cmp al, 1
je 0x56a184
lea edx, [ebp - 8]
mov eax, dword [0x5bbd74]
call fcn.00405c9c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
call fcn.00403f20
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
mov dl, 2
call fcn.004d8cd0
lea edx, [ebp - 8]
mov eax, dword [0x5bbd74]
call fcn.00405c9c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
call fcn.00403f20
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.005a9738
jmp 0x56a1d0
lea edx, [ebp - 8]
mov eax, dword [0x5bb920]
call fcn.00405c9c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
call fcn.00403f20
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
mov dl, 2
call fcn.004d8cd0
lea edx, [ebp - 8]
mov eax, dword [0x5bb920]
call fcn.00405c9c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
call fcn.00403f20
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.005a9738
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 0
push 1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
xor ecx, ecx
mov dl, 1
call fcn.004d82f0
mov eax, dword [ebp - 8]
mov edx, dword [esi]
call fcn.00404028
jne 0x56a1d7
mov eax, dword [ebx]
cmp word [eax + 0x1e4], 0x18f
jle 0x56a20c
mov byte [ebp - 1], 0
jmp 0x56a393
mov eax, dword [ebx]
cmp word [eax + 0x1e4], 0
jg 0x56a23c
mov eax, dword [ebx]
cmp byte [eax + 0x268], 0
je 0x56a23c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dl, 5
call fcn.00594cf0
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0x32
jbe 0x56a1d7
push 0
push 1
lea edx, [ebp - 8]
mov eax, dword [0x5bbe18]
call fcn.00405c9c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
call fcn.00403f20
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
xor ecx, ecx
call fcn.004d473c
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x1a0]
call fcn.00403d34
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 0
push 1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
xor ecx, ecx
mov dl, 1
call fcn.004d82f0
mov eax, dword [ebp - 8]
mov edx, dword [esi]
call fcn.00404028
jne 0x56a289
mov eax, dword [ebx]
cmp word [eax + 0x1e4], 0x18f
jle 0x56a2be
mov byte [ebp - 1], 0
jmp 0x56a393
mov eax, dword [ebx]
cmp word [eax + 0x1e4], 0
jg 0x56a2f0
mov eax, dword [ebx]
cmp byte [eax + 0x268], 0
je 0x56a2f0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dl, 5
call fcn.00594cf0
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0x1388
jbe 0x56a289
mov eax, dword [ebx]
call fcn.005aaa04
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x268], 0
je 0x56a33e
mov eax, dword [ebx]
cmp byte [eax + 0x268], 0
je 0x56a33e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [esi]
call fcn.00404028
je 0x56a33e
mov eax, dword [ebx]
cmp word [eax + 0x1e4], 0x12b
jg 0x56a33e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x1e4], 0x12b
jle 0x56a393
mov eax, dword [ebx]
mov ax, word [eax + 0x1e4]
cmp ax, 0xc8
jl 0x56a35c
cmp ax, 0x12b
jg 0x56a35c
test ax, ax
je 0x56a35c
xor eax, eax
jmp 0x56a35e
mov al, 1
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dx, word [eax + 0x1e4]
cmp dx, 0x12b
jg 0x56a37f
mov eax, dword [ebp + 8]
test dx, dx
je 0x56a37f
xor eax, eax
jmp 0x56a381
mov al, 1
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
pop ecx
call fcn.0059b488
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a3b5
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403cc0
ret