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

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x102a893d], 0
push ebx
push edi
je 0x10058212
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 0x10057edc
comiss xmm1, dword [0x102a8b10]
ja 0x10057edc
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8b0c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057edc
comiss xmm1, dword [0x102a8b14]
ja 0x10057edc
mov byte [0x102a8b1e], 1
push 0x100ed2ab
jmp 0x10057f1e
mov byte [0x102a8b1e], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8b1f
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057f10
test dl, dl
je 0x10057f0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057f10
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057ef0
xor eax, eax
jmp 0x10057f15
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10057f2b
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 0x10057f7b
comiss xmm1, dword [0x102a8b70]
ja 0x10057f7b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8b6c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10057f7b
comiss xmm1, dword [0x102a8b74]
ja 0x10057f7b
mov byte [0x102a8b7e], 1
push 0x100ed2ab
jmp 0x10057fbe
mov byte [0x102a8b7e], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8b7f
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057fb0
test dl, dl
je 0x10057fac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057fb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057f90
xor eax, eax
jmp 0x10057fb5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10057fcb
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 0x1005801b
comiss xmm1, dword [0x102a8bd0]
ja 0x1005801b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8bcc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005801b
comiss xmm1, dword [0x102a8bd4]
ja 0x1005801b
mov byte [0x102a8bde], 1
push 0x100ed2ab
jmp 0x1005805e
mov byte [0x102a8bde], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8bdf
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10058050
test dl, dl
je 0x1005804c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10058050
add eax, 2
add ecx, 2
test dl, dl
jne 0x10058030
xor eax, eax
jmp 0x10058055
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1005806b
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 0x100580bb
comiss xmm1, dword [0x102a8c30]
ja 0x100580bb
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8c2c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100580bb
comiss xmm1, dword [0x102a8c34]
ja 0x100580bb
mov byte [0x102a8c3e], 1
push 0x100ed2ab
jmp 0x100580fe
mov byte [0x102a8c3e], 0
mov ecx, 0x100ed2ab
mov eax, 0x102a8c3f
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100580f0
test dl, dl
je 0x100580ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100580f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100580d0
xor eax, eax
jmp 0x100580f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1005810b
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 0x1005818b
comiss xmm1, dword [0x102a8c90]
ja 0x1005818b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8c8c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005818b
comiss xmm1, dword [0x102a8c94]
ja 0x1005818b
cmp dword [ebp + 8], 0x201
jne 0x10058165
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 0x10058212
call ebx
mov dword [0x102a8c98], eax
call fcn.10058220
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a8aa8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10058212
comiss xmm1, dword [0x102a8ab0]
ja 0x10058212
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a8aac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10058212
comiss xmm1, dword [0x102a8ab4]
ja 0x10058212
cmp dword [ebp + 8], 0x201
jne 0x100581e5
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 0x10058212
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