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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp byte [0x102a767d], 0
je 0x100a9b86
mov eax, dword [0x100fac74]
cdq
sub eax, edx
sar eax, 1
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push edi
mov dword [ebp - 0xc], esi
subsd xmm0, qword [0x100f19d8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
call esi
movd xmm1, dword [0x879340c]
mov ebx, eax
movss xmm0, dword [0x102a7848]
mov edi, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 8], ebx
comiss xmm0, xmm1
ja 0x100a971a
comiss xmm1, dword [0x102a7850]
ja 0x100a971a
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a784c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a971a
comiss xmm1, dword [0x102a7854]
ja 0x100a971a
cmp edi, 0x201
jne 0x100a96ce
pop edi
pop esi
mov byte [0x102a785c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
sub eax, dword [0x102a7858]
mov byte [0x102a785c], 0
cmp eax, 0x1f4
jb 0x100a9b83
call esi
cmp byte [0x102a767d], 1
mov dword [0x102a7858], eax
jne 0x100a9709
mov byte [0x102a767d], 0
mov dword [0xe8cb3c], 0
jmp 0x100a971a
mov byte [0x102a767d], 1
mov dword [0xe8cb3c], 1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a7608]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a97e5
comiss xmm1, dword [0x102a7610]
ja 0x100a97e5
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a760c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a97e5
comiss xmm1, dword [0x102a7614]
ja 0x100a97e5
cmp edi, 0x201
jne 0x100a9780
pop edi
pop esi
mov byte [0x102a761c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102a761c], 0
sub eax, dword [0x102a7618]
cmp eax, 0x3e8
jb 0x100a9b83
call esi
cmp byte [0x102a767d], 1
mov dword [0x102a7618], eax
jne 0x100a97b5
mov byte [0x102a767d], 0
xor eax, eax
jmp 0x100a97c1
mov byte [0x102a767d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x13], 0
mov edx, 5
mov dword [ebp - 0x14], 0xe8f305c1
mov byte [ebp - 0x10], 2
call fcn.100b5210
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a75a8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a98c2
comiss xmm1, dword [0x102a75b0]
ja 0x100a98c2
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a75ac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a98c2
comiss xmm1, dword [0x102a75b4]
ja 0x100a98c2
cmp edi, 0x201
jne 0x100a984f
pop edi
pop esi
mov byte [0x102a75bc], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102a75bc], 0
sub eax, dword [0x102a75b8]
cmp eax, 0x1f4
jb 0x100a9b83
call esi
cmp byte [0x102a767d], 1
mov dword [0x102a75b8], eax
jne 0x100a9884
mov byte [0x102a767d], 0
xor eax, eax
jmp 0x100a9890
mov byte [0x102a767d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
cmp byte [0x102a6bfd], 1
jne 0x100a98b1
mov byte [0x102a6bfd], 0
mov dword [0xe8cb3c], 0
jmp 0x100a98c2
mov byte [0x102a6bfd], 1
mov dword [0xe8cb3c], 1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a73c8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a9958
comiss xmm1, dword [0x102a73d0]
ja 0x100a9958
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a73cc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a9958
comiss xmm1, dword [0x102a73d4]
ja 0x100a9958
mov ecx, dword [0x1088f10c]
lea eax, [ecx + 1]
cmp eax, 1
jle 0x100a995e
cmp edi, 0x201
jne 0x100a992a
pop edi
pop esi
mov byte [0x102a73dc], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102a73dc], 0
sub eax, dword [0x102a73d8]
cmp eax, 0x64
jb 0x100a9b83
call esi
mov ecx, dword [0x1088f10c]
dec ecx
mov dword [0x102a73d8], eax
mov dword [0x1088f10c], ecx
jmp 0x100a995e
mov ecx, dword [0x1088f10c]
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a7428]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a99dc
comiss xmm1, dword [0x102a7430]
ja 0x100a99dc
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a742c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100a99dc
comiss xmm1, dword [0x102a7434]
ja 0x100a99dc
lea eax, [ecx + 1]
cmp eax, dword [0x1088f110]
jge 0x100a99dc
cmp edi, 0x201
je 0x100a9b7c
mov eax, ebx
mov byte [0x102a743c], 0
sub eax, dword [0x102a7438]
cmp eax, 0x64
jb 0x100a9b83
call esi
inc dword [0x1088f10c]
mov dword [0x102a7438], eax
xor esi, esi
cmp dword [0x1088f108], esi
jle 0x100a9b83
movss xmm0, dword [ebp - 4]
xor ebx, ebx
addss xmm0, dword [0x100f1f50]
cvttss2si ecx, xmm0
mov dword [ebp - 4], ecx
movss xmm0, dword [0x100f1ddc]
mov edx, 0x790b10
movss xmm1, dword [0x102a766c]
addss xmm1, xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
push 0xf
push 0x10
addss xmm1, xmm0
cvttss2si eax, xmm1
push eax
push ecx
call edx
add esp, 0x10
test al, al
je 0x100a9b68
cmp edi, 0x201
je 0x100a9b7c
mov eax, dword [ebp - 8]
sub eax, dword [0x102a7438]
mov byte [0x102a743c], 0
cmp eax, 0x64
jb 0x100a9b83
mov eax, dword [0x1088f10c]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
imul eax, eax, 0x34
cmp byte [eax + 0x1088dce8], 0
je 0x100a9b83
call dword [ebp - 0xc]
mov dword [0x102a7438], eax
mov eax, dword [0x1088f10c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*2]
imul eax, edi, 0x34
cmp byte [eax + 0x1088dce3], 0
je 0x100a9afb
cmp byte [0x102a767d], 1
jne 0x100a9aae
mov byte [0x102a767d], 0
xor eax, eax
jmp 0x100a9aba
mov byte [0x102a767d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
cmp byte [0x102a78bd], 1
mov eax, dword [0x1088f10c]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [0x1088f114], eax
jne 0x100a9ae8
xor eax, eax
mov byte [0x102a78bd], 0
mov dword [0xe8cb3c], eax
jmp 0x100a9b65
mov eax, 1
mov byte [0x102a78bd], 1
mov dword [0xe8cb3c], eax
jmp 0x100a9b65
push edi
mov ecx, 0x1088dcb8
call fcn.100aa400
mov ecx, eax
test ecx, ecx
je 0x100a9b65
xorps xmm0, xmm0
mov dword [0x1088f114], edi
mov ax, word [ecx + 0xc]
mov dl, 0x24
movups xmmword [ebp - 0x37], xmm0
mov word [ebp - 0x2c], ax
mov al, byte [ecx + 0xe]
movups xmmword [ebp - 0x27], xmm0
mov word [ebp - 0x17], 0
movq xmm0, qword [ecx + 4]
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x34], xmm0
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
movzx edx, dl
mov dword [ebp - 0x38], 0x5ff24c1
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x29], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
call fcn.100b5210
mov edi, dword [ebp + 8]
inc esi
add ebx, 0x14
cmp esi, dword [0x1088f108]
jge 0x100a9b83
mov ecx, dword [ebp - 4]
jmp 0x100a9a00
mov byte [0x102a743c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4