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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53ab58
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x18]
call fcn.00405404
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov byte [ebp - 0x31], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x53a6bd
mov eax, dword [ebp - 0x40]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jle 0x53aab1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x19]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0053a12c
mov dl, 1
mov eax, dword [0x41abf8]
call fcn.00404474
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x53a962
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00537e64
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00536f7c
mov dl, byte [ebp - 0x19]
mov eax, dword [ebp - 8]
call fcn.00536fd4
lea edx, [ebp - 0x50]
movzx eax, word [ebp - 0x26]
call fcn.0040a764
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 8]
call fcn.00536fa8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00537014
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.005370a4
xor eax, eax
push ebp
push 0x53a951
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x53a906
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x53a8fc
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x53a8fc
cmp dword [ebp - 0x14], 0
jle 0x53a7aa
mov eax, dword [0x5a3a54]
mov eax, dword [eax]
cmp byte [eax + 0x24], 0
je 0x53a7aa
lea eax, [ebp - 0x18]
call fcn.00405404
jmp 0x53a8fc
mov eax, dword [ebp - 8]
call fcn.005381b8
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x2c], eax
push 1
call sub.kernel32.dll_Sleep_2
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0xc]
jae 0x53a80a
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x53a7f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ab1d
mov eax, dword [ebp - 8]
call fcn.00536ddc
sub al, 2
je 0x53a80a
sub al, 2
je 0x53a80a
add al, 0xf9
sub al, 5
jae 0x53a7ba
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x53a82d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ab1d
mov eax, dword [ebp - 8]
call fcn.00536ddc
sub al, 0xb
je 0x53a841
sub al, 2
jne 0x53a8de
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4b8], 0xc8
je 0x53a86a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ab1d
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00537098
call fcn.0041fb70
mov eax, dword [ebp - 8]
call fcn.00537098
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00405b34
mov eax, dword [ebp - 8]
call fcn.00537098
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0x18]
call fcn.00405904
push eax
mov eax, dword [ebp - 8]
call fcn.00537098
pop edx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00539edc
test al, al
je 0x53a8d8
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x18]
call fcn.004076a8
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
call fcn.0040569c
mov byte [ebp - 0xd], 1
jmp 0x53a8fc
mov eax, dword [ebp - 8]
call fcn.00536ddc
cmp al, 0xe
jne 0x53a8f0
mov byte [ebp - 0x31], 1
jmp 0x53a8fc
inc dword [ebp - 0x14]
dec dword [ebp - 0x3c]
jne 0x53a77d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53a927
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a958
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005370a4
mov eax, dword [ebp - 0x30]
call fcn.004044a4
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00537e64
ret
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x53ab1d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x53aad1
mov eax, dword [ebp - 0x4c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jle 0x53ab16
mov eax, dword [ebp - 0x18]
call fcn.004058a4
lea edx, [ebp - 0x58]
call fcn.0053a374
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x18]
call fcn.0040549c
push 1
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xd]
mov eax, dword [0x5a3a54]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.004ec464
test al, al
je 0x53ab1d
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
jmp 0x53ab1d
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ab5f
lea eax, [ebp - 0x58]
call fcn.00405404
lea eax, [ebp - 0x54]
call fcn.00405c1c
lea eax, [ebp - 0x50]
call fcn.00405404
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00405428
lea eax, [ebp - 0x18]
call fcn.00405404
ret