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

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x102a893d], 0
push ebx
push edi
je 0x100581c2
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
movd xmm1, dword [0x879340c]
mov edi, eax
movss xmm0, dword [0x102a8b08]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057e8c
comiss xmm1, dword [0x102a8b10]
ja 0x10057e8c
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8b0c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057e8c
comiss xmm1, dword [0x102a8b14]
ja 0x10057e8c
mov byte [0x102a8b1e], 1
push 0x100ed2ab
jmp 0x10057ece
mov byte [0x102a8b1e], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8b1f
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057ec0
test dl, dl
je 0x10057ebc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057ec0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057ea0
xor eax, eax
jmp 0x10057ec5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10057edb
push 0x100ee3e0
push 0x102a8b1f
call fcn.1001ef90
add esp, 8
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a8b68]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057f2b
comiss xmm1, dword [0x102a8b70]
ja 0x10057f2b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8b6c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057f2b
comiss xmm1, dword [0x102a8b74]
ja 0x10057f2b
mov byte [0x102a8b7e], 1
push 0x100ed2ab
jmp 0x10057f6e
mov byte [0x102a8b7e], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8b7f
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057f60
test dl, dl
je 0x10057f5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057f60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057f40
xor eax, eax
jmp 0x10057f65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10057f7b
push 0x100ee3e0
push 0x102a8b7f
call fcn.1001ef90
add esp, 8
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a8bc8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057fcb
comiss xmm1, dword [0x102a8bd0]
ja 0x10057fcb
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8bcc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057fcb
comiss xmm1, dword [0x102a8bd4]
ja 0x10057fcb
mov byte [0x102a8bde], 1
push 0x100ed2ab
jmp 0x1005800e
mov byte [0x102a8bde], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8bdf
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10058000
test dl, dl
je 0x10057ffc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10058000
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057fe0
xor eax, eax
jmp 0x10058005
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1005801b
push 0x100ee3e0
push 0x102a8bdf
call fcn.1001ef90
add esp, 8
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a8c28]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005806b
comiss xmm1, dword [0x102a8c30]
ja 0x1005806b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8c2c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005806b
comiss xmm1, dword [0x102a8c34]
ja 0x1005806b
mov byte [0x102a8c3e], 1
push 0x100ed2ab
jmp 0x100580ae
mov byte [0x102a8c3e], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8c3f
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100580a0
test dl, dl
je 0x1005809c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100580a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10058080
xor eax, eax
jmp 0x100580a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100580bb
push 0x100ee3e0
push 0x102a8c3f
call fcn.1001ef90
add esp, 8
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a8c88]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005813b
comiss xmm1, dword [0x102a8c90]
ja 0x1005813b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8c8c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005813b
comiss xmm1, dword [0x102a8c94]
ja 0x1005813b
cmp dword [ebp + 8], 0x201
jne 0x10058115
pop edi
mov byte [0x102a8c9c], 1
mov al, 1
pop ebx
pop ebp
ret 4
mov eax, edi
mov byte [0x102a8c9c], 0
sub eax, dword [0x102a8c98]
cmp eax, 0x190
jb 0x100581c2
call ebx
mov dword [0x102a8c98], eax
call fcn.100581d0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a8aa8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100581c2
comiss xmm1, dword [0x102a8ab0]
ja 0x100581c2
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8aac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100581c2
comiss xmm1, dword [0x102a8ab4]
ja 0x100581c2
cmp dword [ebp + 8], 0x201
jne 0x10058195
pop edi
mov byte [0x102a8abc], 1
mov al, 1
pop ebx
pop ebp
ret 4
sub edi, dword [0x102a8ab8]
mov byte [0x102a8abc], 0
cmp edi, 0x190
jb 0x100581c2
call ebx
mov dword [0x102a8ab8], eax
mov byte [0x102a893d], 0
mov dword [0xe8cb3c], 0
pop edi
xor al, al
pop ebx
pop ebp
ret 4