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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53b56e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x53b34f
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jle 0x53b536
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.00405da0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
mov dl, 1
call fcn.004ed158
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1e]
push eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x11]
mov eax, dword [ebp - 0x10]
call fcn.0053a12c
xor eax, eax
push ebp
push 0x53b52c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00537e64
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00536f7c
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 8]
call fcn.00536fd4
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x1e]
call fcn.0040a764
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00536fa8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00537014
mov dl, 1
mov eax, dword [0x41abf8]
call fcn.00404474
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x53b51b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.005370a4
mov eax, dword [ebp - 8]
call fcn.005381b8
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x24], eax
push 1
call sub.kernel32.dll_Sleep_2
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0xc]
jb 0x53b43a
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x53b43a
cmp eax, 0
je 0x53b46b
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x53b455
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53b536
mov eax, dword [ebp - 8]
call fcn.00536ddc
sub al, 2
je 0x53b46b
sub al, 2
je 0x53b46b
add al, 0xf9
sub al, 2
jae 0x53b412
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x53b486
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53b536
mov eax, dword [ebp - 8]
call fcn.00536ddc
cmp al, 0xb
jne 0x53b4e1
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
call fcn.004e6974
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0040a348
test al, al
je 0x53b4cf
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x28]
call fcn.0042026c
mov byte [ebp - 9], 1
jmp 0x53b4f1
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 0x53b588
call fcn.00405458
jmp 0x53b4f1
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 0x53b598
call fcn.00405458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b522
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005370a4
mov eax, dword [ebp - 0x28]
call fcn.004044a4
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00537e64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b575
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00405428
lea eax, [ebp - 0x30]
call fcn.00405c1c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405428
lea eax, [ebp - 0x10]
call fcn.00405404
ret