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

Disassembly:
mov ecx, dword [0x1008f570]
mov eax, dword [0x1008b908]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x100229c3
cmp dword [0x1008f9c8], 0
je 0x100229c3
mov eax, dword [0x1008b908]
push esi
mov ecx, dword [eax + 0x2bc]
mov eax, dword [0x10090454]
mov ecx, dword [eax + ecx]
call fcn.10017440
mov esi, eax
test esi, esi
je 0x100229b7
mov ecx, dword [0x1008f570]
push 0x10090858
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x100229b7
mov edx, dword [0x1008fb44]
add edx, eax
cmp edx, eax
jbe 0x100229b7
mov ecx, esi
call edx
test eax, eax
jle 0x100229b7
mov eax, dword [0x1008b908]
mov ecx, dword [eax + 0x2bc]
mov eax, dword [0x10090454]
mov ecx, dword [eax + ecx]
call fcn.10017440
test eax, eax
je 0x10022757
mov edx, dword [0x1008b908]
movss xmm0, dword [0x1007b224]
mov ecx, dword [edx + 0x27c]
comiss xmm0, dword [eax + ecx]
ja 0x10022780
push 0
push 0
push 0
push 0
push 4
mov dword [0x1008b0e8], 0x100146f0
call fcn.100146f0
mov edx, dword [0x1008b908]
mov dword [0x1008ecf0], 0
mov ecx, dword [edx + 0x2bc]
mov eax, dword [0x10090454]
mov esi, dword [eax + ecx]
call fcn.10016950
mov edx, dword [0x1008b908]
mov ecx, dword [edx + 0x2b4]
imul ecx, esi
add ecx, eax
mov eax, dword [edx + 0x2d0]
add eax, dword [edx + 0x2b8]
xor edx, edx
mov eax, dword [eax + ecx]
mov ecx, 0x186a0
div ecx
sub edx, 0x1388
cmp edx, 0x3e8
jae 0x10022949
mov ecx, dword [0x1008f9c8]
cmp ecx, 1
jne 0x100227e5
mov dword [0x10093010], 0x1f4
jmp 0x1002283e
cmp ecx, 2
jne 0x100227f6
mov dword [0x10093010], 0xc8
jmp 0x1002283e
cmp ecx, 3
jne 0x10022807
mov dword [0x10093010], 0x96
jmp 0x1002283e
cmp ecx, 4
jne 0x10022818
mov dword [0x10093010], 0x64
jmp 0x1002283e
cmp ecx, 5
jne 0x10022829
mov dword [0x10093010], 0x32
jmp 0x1002283e
mov eax, dword [0x10093010]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x10093010], eax
push 2
mov dword [0x1008fc5c], 0x10014750
call fcn.10014750
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10022899
cmp byte [0x10091b18], 0
je 0x10022879
cmp dword [0x10091b1c], 0
je 0x100228a0
call esi
cmp dword [0x10091b1c], eax
ja 0x100228a0
mov byte [0x10091b18], 1
call esi
add eax, dword [0x10093010]
mov dword [0x1008fb94], eax
mov dword [0x1008ecf0], 1
jmp 0x100228a0
mov byte [0x10091b18], 0
call esi
cmp dword [0x1008fb94], eax
ja 0x100228e0
cmp dword [0x1008ecf0], 1
jne 0x100228e0
push 0
push 0
push 0
push 0
push 2
mov dword [0x1008b0e8], 0x100146f0
call fcn.100146f0
call esi
add eax, 0x32
mov dword [0x1008ecf0], 2
mov dword [0x1008fb94], eax
call esi
cmp dword [0x1008fb94], eax
mov eax, dword [0x1008ecf0]
ja 0x10022923
cmp eax, 2
jne 0x10022923
push 0
push 0
push 0
push 0
push 4
mov dword [0x1008b0e8], 0x100146f0
call fcn.100146f0
call esi
add eax, 0x64
mov dword [0x1008ecf0], 3
mov dword [0x1008fb94], eax
jmp 0x10022928
cmp eax, 3
jne 0x1002294b
push 0
push 1
push 0x45
push 0x33
mov dword [0x1008b8ac], 0x10014720
call fcn.10014720
mov dword [0x1008ecf0], 4
pop esi
ret
cmp eax, 4
jne 0x10022973
push 0
push 3
push 0x45
push 0x33
mov dword [0x1008b8ac], 0x10014720
call fcn.10014720
mov dword [0x1008ecf0], 5
jmp 0x10022978
cmp eax, 5
jne 0x1002299b
push 0
push 1
push 0x45
push 0x31
mov dword [0x1008b8ac], 0x10014720
call fcn.10014720
mov dword [0x1008ecf0], 6
pop esi
ret
cmp eax, 6
jne 0x10022949
push 0
push 3
push 0x45
push 0x31
mov dword [0x1008b8ac], 0x10014720
call fcn.10014720
mov dword [0x1008ecf0], 0
pop esi
ret
mov dword [0x1008ecf0], 0
ret