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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 9
mov ebx, 0x861110
mov esi, eax
call ebx
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x1003e606
movd xmm1, dword [0x101fcaac]
movss xmm0, dword [0x101f7d6c]
mov eax, dword [0x101fcab4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003e61f
comiss xmm1, dword [0x101f7d74]
ja 0x1003e61f
movss xmm0, dword [0x101f7d70]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003e61f
comiss xmm2, dword [0x101f7d78]
ja 0x1003e61f
cmp dword [ebp + 8], 0x201
jne 0x1003e5cc
pop edi
pop esi
mov byte [0x101f7d80], 1
pop ebx
pop ebp
ret 4
sub esi, dword [0x101f7d7c]
mov byte [0x101f7d80], 0
cmp esi, 0x1f4
jb 0x1003e606
call edi
push 0xa
mov dword [0x101f7d7c], eax
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
push 0xa
test al, al
je 0x1003e60d
call ebx
mov edx, 0x85f9a0
mov ecx, eax
call edx
pop edi
pop esi
pop ebx
pop ebp
ret 4
call ebx
mov edx, 0x85ec50
mov ecx, eax
call edx
pop edi
pop esi
pop ebx
pop ebp
ret 4
movss xmm0, dword [0x101f7cdc]
comiss xmm0, xmm1
ja 0x1003e6b7
comiss xmm1, dword [0x101f7ce4]
ja 0x1003e6b7
movss xmm0, dword [0x101f7ce0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003e6b7
comiss xmm2, dword [0x101f7ce8]
ja 0x1003e6b7
cmp dword [ebp + 8], 0x201
jne 0x1003e66d
pop edi
pop esi
mov byte [0x101f7cf0], 1
pop ebx
pop ebp
ret 4
sub esi, dword [0x101f7cec]
mov byte [0x101f7cf0], 0
cmp esi, 0x1f4
jb 0x1003e606
call edi
push 3
mov dword [0x101f7cec], eax
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
pop edi
pop esi
pop ebx
test al, al
je 0x1003e6aa
mov dword [ebp + 8], 3
pop ebp
jmp fcn.10039df0
mov dword [ebp + 8], 3
pop ebp
jmp fcn.10039e10
movss xmm0, dword [0x101f7c4c]
comiss xmm0, xmm1
ja 0x1003e74d
comiss xmm1, dword [0x101f7c54]
ja 0x1003e74d
movss xmm0, dword [0x101f7c50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003e74d
comiss xmm1, dword [0x101f7c58]
ja 0x1003e74d
cmp dword [ebp + 8], 0x201
jne 0x1003e705
pop edi
pop esi
mov byte [0x101f7c60], 1
pop ebx
pop ebp
ret 4
sub esi, dword [0x101f7c5c]
mov byte [0x101f7c60], 0
cmp esi, 0x1f4
jb 0x1003e606
call edi
push 0x10
mov dword [0x101f7c5c], eax
call fcn.10039dd0
pop edi
pop esi
pop ebx
test al, al
je 0x1003e740
mov dword [ebp + 8], 0x10
pop ebp
jmp fcn.10039df0
mov dword [ebp + 8], 0x10
pop ebp
jmp fcn.10039e10
push 0x6f
mov ecx, 0x101f5d40
call fcn.10039e30
test al, al
je 0x1003e7bc
cmp dword [ebp + 8], 0x201
jne 0x1003e774
pop edi
pop esi
mov byte [0x101f7ca8], 1
pop ebx
pop ebp
ret 4
sub esi, dword [0x101f7ca4]
mov byte [0x101f7ca8], 0
cmp esi, 0x1f4
jb 0x1003e606
call edi
push 0xd
mov dword [0x101f7ca4], eax
call fcn.10039dd0
pop edi
pop esi
pop ebx
test al, al
je 0x1003e7af
mov dword [ebp + 8], 0xd
pop ebp
jmp fcn.10039df0
mov dword [ebp + 8], 0xd
pop ebp
jmp fcn.10039e10
push 0x71
mov ecx, 0x101f5d40
call fcn.10039e30
test al, al
je 0x1003e82b
cmp dword [ebp + 8], 0x201
jne 0x1003e7e3
pop edi
pop esi
mov byte [0x101f7d38], 1
pop ebx
pop ebp
ret 4
sub esi, dword [0x101f7d34]
mov byte [0x101f7d38], 0
cmp esi, 0x1f4
jb 0x1003e606
call edi
push 1
mov dword [0x101f7d34], eax
call fcn.10039dd0
pop edi
pop esi
pop ebx
test al, al
je 0x1003e81e
mov dword [ebp + 8], 1
pop ebp
jmp fcn.10039df0
mov dword [ebp + 8], 1
pop ebp
jmp fcn.10039e10
push 0x74
mov ecx, 0x101f5d40
call fcn.10039e30
test al, al
je 0x1003e606
cmp dword [ebp + 8], 0x201
jne 0x1003e856
pop edi
pop esi
mov byte [0x101f7e10], 1
pop ebx
pop ebp
ret 4
sub esi, dword [0x101f7e0c]
mov byte [0x101f7e10], 0
cmp esi, 0x1f4
jb 0x1003e606
call edi
push 6
mov dword [0x101f7e0c], eax
call fcn.10039dd0
pop edi
pop esi
pop ebx
test al, al
je 0x1003e891
mov dword [ebp + 8], 6
pop ebp
jmp fcn.10039df0
mov dword [ebp + 8], 6
pop ebp
jmp fcn.10039e10