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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x53a37f
cmp dword [eax + 8], 0
jg 0x53a37f
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bea4
xor eax, eax
push ebp
push 0x53a329
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
call fcn.00404250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53a33d
xor eax, eax
push ebp
push 0x53a365
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, 0x14
call fcn.00402e08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53a377
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x53a3bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jle 0x53a3bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.0041bce4
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x53a67a
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x874]
cmp byte [eax + 0x2a8], 0
jne 0x53a412
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov eax, dword [eax + 0xb1c]
cmp byte [eax + 0x2a8], 0
jne 0x53a412
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x690]
cmp byte [eax + 0x2a8], 0
je 0x53a4cc
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov eax, dword [eax + 0xb1c]
cmp byte [eax + 0x2a8], 0
je 0x53a44d
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [0x5452a8]
cmp edx, dword [eax + 0x4c]
jg 0x53a44d
mov edx, dword [0x5452a8]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x53a4d6
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x874]
cmp byte [eax + 0x2a8], 0
je 0x53a485
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [0x5452a8]
cmp edx, dword [eax + 0x4c]
jg 0x53a485
mov edx, dword [0x5452a8]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x53a4d6
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x690]
cmp byte [eax + 0x2a8], 0
je 0x53a4c0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [0x5452a8]
cmp edx, dword [eax + 0x4c]
jg 0x53a4c0
mov edx, dword [0x5452a8]
mov eax, dword [eax + 0x48]
add eax, 0xa
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x53a4d6
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x32
jmp 0x53a4d6
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x32
mov ebx, dword [0x54461c]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x18]
sub ebx, 0x32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cmp ebx, eax
jle 0x53a50b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x53a51d
mov edx, dword [ebp - 4]
add dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
jmp 0x53a51d
cmp ebx, eax
jge 0x53a51d
sub eax, ebx
mov edx, dword [ebp - 4]
add dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
push 0x96
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov eax, esi
add eax, eax
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
sar esi, 1
jns 0x53a543
adc esi, 0
sub edx, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, ebx
call fcn.0041a658
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov al, byte [eax + 4]
call fcn.0052eb4c
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.00467ecc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
sub ecx, esi
mov eax, esi
xor edx, edx
call fcn.0041a658
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
add edx, ebx
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 8]
call fcn.00466c14
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xc]
cmp eax, 5
jbe 0x53a67a
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cmp ebx, eax
jle 0x53a60f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x53a607
inc eax
mov edx, dword [ebp - 4]
add dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
jmp 0x53a62a
mov eax, dword [ebp - 4]
inc dword [eax + 0x20]
jmp 0x53a62a
cmp ebx, eax
jge 0x53a624
sub eax, ebx
inc eax
mov edx, dword [ebp - 4]
add dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
jmp 0x53a62a
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx]
cmp eax, dword [edx + 8]
jge 0x53a643
mov eax, dword [ebp - 4]
inc dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x14]
mov edx, dword [ebp - 4]
add ebx, dword [edx + 0x10]
cmp eax, ebx
jl 0x53a67a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
dec dword [eax + 8]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret