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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53adc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x57382c]
cmp dword [eax], 0
je 0x53ada7
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x53ada7
mov eax, dword [0x573ce8]
cmp byte [eax], 0
je 0x53a6d7
mov eax, dword [0x57382c]
mov eax, dword [eax]
movzx eax, word [eax + 0x53]
mov edx, dword [0x573e3c]
cmp eax, dword [edx]
jge 0x53a6d7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5743b4]
sub eax, dword [edx]
mov edx, dword [0x57378c]
imul edx, dword [edx], 0x3e8
cmp eax, edx
jbe 0x53a6d7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5743b4]
mov dword [edx], eax
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53add0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a641
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a6b8
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53addc
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a676
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a6b8
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53adec
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a6ab
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a6b8
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x34
jne 0x53a60c
cmp byte [ebp - 9], 0
jne 0x53a6d7
push 0xffffff
mov ecx, 0xff
mov edx, 0x53ae04
mov eax, dword [0x5ddd8c]
call fcn.00531b30
mov eax, dword [0x573b3c]
cmp byte [eax], 0
je 0x53a800
mov eax, dword [0x57382c]
mov eax, dword [eax]
movzx eax, word [eax + 0x55]
mov edx, dword [0x573c5c]
cmp eax, dword [edx]
jge 0x53a800
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x574220]
sub eax, dword [edx]
mov edx, dword [0x5735f0]
imul edx, dword [edx], 0x3e8
cmp eax, edx
jbe 0x53a800
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x574220]
mov dword [edx], eax
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53ae28
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a76a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a7e1
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53ae34
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a79f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a7e1
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53ae44
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a7d4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a7e1
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x34
jne 0x53a735
cmp byte [ebp - 9], 0
jne 0x53a800
push 0xffffff
mov ecx, 0xff
mov edx, 0x53ae5c
mov eax, dword [0x5ddd8c]
call fcn.00531b30
mov eax, dword [0x573f08]
cmp byte [eax], 0
je 0x53a961
mov eax, dword [0x57382c]
mov eax, dword [eax]
movzx eax, word [eax + 0x53]
mov edx, dword [0x574080]
cmp eax, dword [edx]
jge 0x53a961
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x573678]
sub eax, dword [edx]
mov edx, dword [0x5739d4]
imul edx, dword [edx], 0x3e8
cmp eax, edx
jbe 0x53a961
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x573678]
mov dword [edx], eax
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53ae80
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a896
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a942
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53ae8c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a8cb
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a942
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53ae94
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a900
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a942
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
lea eax, [edx + eax*4]
mov edx, 0x53aea0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
jne 0x53a935
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53a942
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x34
jne 0x53a85e
cmp byte [ebp - 9], 0
jne 0x53a961
push 0xffffff
mov ecx, 0xff
mov edx, 0x53aeb0
mov eax, dword [0x5ddd8c]
call fcn.00531b30
mov eax, dword [0x574374]
cmp byte [eax], 0
je 0x53aa41
mov eax, dword [0x57382c]
mov eax, dword [eax]
movzx eax, word [eax + 0x53]
mov edx, dword [0x573574]
cmp eax, dword [edx]
jge 0x53aa41
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x573b00]
sub eax, dword [edx]
mov edx, dword [0x573e60]
imul edx, dword [edx], 0x3e8
cmp eax, edx
jbe 0x53aa41
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x573b00]
mov dword [edx], eax
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [0x5741ec]
lea edx, [ecx + edx*4]
call fcn.00404e50
mov eax, dword [ebp - 0x14]
mov edx, dword [0x573cac]
mov edx, dword [edx]
call fcn.00404ff8
jne 0x53a9fd
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53aa06
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x34
jne 0x53a9bf
cmp byte [ebp - 9], 0
jne 0x53aa41
push 0xffffff
push 0x53aedc
mov eax, dword [0x573cac]
push dword [eax]
push 0x53aef0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404f6c
mov edx, dword [ebp - 0x18]
mov ecx, 0xff
mov eax, dword [0x5ddd8c]
call fcn.00531b30
mov eax, dword [0x573c2c]
cmp byte [eax], 0
je 0x53ab11
mov eax, dword [0x57382c]
mov eax, dword [eax]
movzx eax, word [eax + 0x73]
imul eax, eax, 0x64
mov edx, dword [0x57382c]
mov edx, dword [edx]
movzx edx, word [edx + 0x71]
mov ecx, edx
xor edx, edx
div ecx
mov edx, dword [0x573eec]
movzx edx, byte [edx]
cmp eax, edx
ja 0x53ab11
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x574324]
sub eax, dword [edx]
cmp eax, 0x1388
jbe 0x53ab11
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x574324]
mov dword [edx], eax
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
cmp byte [edx + eax*4 + 0xf], 0x3c
jne 0x53aae9
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
cmp byte [edx + eax*4 + 0x12], 1
jne 0x53aae9
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53aaf2
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x34
jne 0x53aaaa
cmp byte [ebp - 9], 0
jne 0x53ab11
push 0xffffff
mov ecx, 0xff
mov edx, 0x53af0c
mov eax, dword [0x5ddd8c]
call fcn.00531b30
mov eax, dword [0x57414c]
cmp dword [eax], 0
je 0x53ac28
mov eax, dword [0x57414c]
mov eax, dword [eax]
cmp word [eax + 0x71], 0
jbe 0x53ac28
mov eax, dword [0x57414c]
mov eax, dword [eax]
cmp word [eax + 0x73], 0
jbe 0x53ac28
mov eax, dword [0x573d34]
cmp byte [eax], 0
je 0x53ac28
mov eax, dword [0x57414c]
mov eax, dword [eax]
movzx eax, word [eax + 0x73]
imul eax, eax, 0x64
mov edx, dword [0x57414c]
mov edx, dword [edx]
movzx edx, word [edx + 0x71]
mov ecx, edx
xor edx, edx
div ecx
mov edx, dword [0x574010]
movzx edx, byte [edx]
cmp eax, edx
ja 0x53ac28
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5743f0]
sub eax, dword [edx]
cmp eax, 0x1388
jbe 0x53ac28
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5743f0]
mov dword [edx], eax
mov byte [ebp - 9], 0
mov eax, dword [0x573dc8]
mov eax, dword [eax]
dec eax
test eax, eax
jl 0x53ac09
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0xf], 0x3c
jne 0x53ac01
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0x12], 1
jne 0x53ac01
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538df4
mov byte [ebp - 9], 1
jmp 0x53ac09
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x53abc2
cmp byte [ebp - 9], 0
jne 0x53ac28
push 0xffffff
mov ecx, 0xff
mov edx, 0x53af38
mov eax, dword [0x5ddd8c]
call fcn.00531b30
mov eax, dword [0x5739c0]
cmp byte [eax], 0
je 0x53acd6
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5740d8]
sub eax, dword [edx]
mov edx, dword [0x573c44]
movzx edx, byte [edx]
imul edx, edx, 0x3e8
imul edx, edx, 0x3c
cmp eax, edx
jb 0x53acd6
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5740d8]
mov dword [edx], eax
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
cmp byte [edx + eax*4 + 0xf], 0x3c
jne 0x53acae
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5741ec]
cmp byte [edx + eax*4 + 0x12], 2
jne 0x53acae
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538440
mov byte [ebp - 9], 1
jmp 0x53acb7
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x34
jne 0x53ac6f
cmp byte [ebp - 9], 0
jne 0x53acd6
push 0xffffff
mov ecx, 0xff
mov edx, 0x53af68
mov eax, dword [0x5ddd8c]
call fcn.00531b30
mov eax, dword [0x57414c]
cmp dword [eax], 0
je 0x53ada7
mov eax, dword [0x573aa0]
cmp byte [eax], 0
je 0x53ada7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5741a0]
sub eax, dword [edx]
mov edx, dword [0x573d38]
movzx edx, byte [edx]
imul edx, edx, 0x3e8
imul edx, edx, 0x3c
cmp eax, edx
jb 0x53ada7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5741a0]
mov dword [edx], eax
mov byte [ebp - 9], 0
mov eax, dword [0x573dc8]
mov eax, dword [eax]
dec eax
test eax, eax
jl 0x53ad88
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0xf], 0x3c
jne 0x53ad80
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0x12], 2
jne 0x53ad80
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538df4
mov byte [ebp - 9], 1
jmp 0x53ad88
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x53ad41
cmp byte [ebp - 9], 0
jne 0x53ada7
push 0xffffff
mov ecx, 0xff
mov edx, 0x53af38
mov eax, dword [0x5ddd8c]
call fcn.00531b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53adc9
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404c10
ret