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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp byte [0x1013f124], 0
push ebx
push esi
push edi
je 0x1009be0f
call fcn.1009ba40
mov byte [0x1013f124], 0
mov bl, byte [0x10189fbc]
cmp byte [0x1018312d], bl
je 0x1009be3b
test bl, bl
jne 0x1009be35
push 0x400
push 0
push 0x1013d91d
call fcn.100c5e70
add esp, 0xc
mov byte [0x1018312d], bl
cmp byte [0x10182128], 0
je 0x1009be59
cmp byte [0x1013d91c], 0
je 0x1009be59
call fcn.1009b120
mov byte [0x10182128], 0
cmp byte [0x10182129], 0
je 0x1009be6e
call fcn.1009af20
mov byte [0x10182129], 0
cmp byte [0x1018312c], 0
je 0x1009be83
call fcn.1009b3f0
mov byte [0x1018312c], 0
cmp byte [0x10186a5c], 0
je 0x1009bea1
mov byte [0x1018312c], 0
mov byte [0x1013e11e], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [0x101882dc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1009c0d3
cmp dword [esi + 0xb94], 0
je 0x1009c0d3
cmp byte [0x1018312e], 0
je 0x1009c0d3
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp byte [0x10186a5c], 0
mov ebx, eax
jne 0x1009c072
cmp byte [0x10189f7c], 0
jne 0x1009c072
cmp byte [0x1013920a], 0
je 0x1009c072
cmp byte [0x1013d91c], 0
je 0x1009c072
call edi
sub eax, ebx
cmp eax, 0x64
ja 0x1009c072
mov ecx, dword [esi + 0xb94]
xor edi, edi
cmp dword [ecx + 0x170], edi
jbe 0x1009c05d
mov ebx, ecx
mov eax, dword [ecx + 0x174]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x1009c048
cmp dword [eax + 0x18], 0
je 0x1009c048
cmp byte [0x1013e11e], 0
lea edx, [edi + 0x1013d91d]
jne 0x1009bf64
cmp byte [edx + 0x401], 0
je 0x1009bfc8
mov dword [edi*4 + 0x1018212c], 0
mov ecx, dword [edi*4 + 0x1013e124]
test ecx, ecx
je 0x1009bf8c
mov eax, dword [esi + 0xb94]
mov eax, dword [eax + 0x174]
mov eax, dword [eax + edi*4]
mov dword [eax + 0x18], ecx
cmp byte [edx + 0x401], 0
je 0x1009bf9d
cmp byte [edx], 0
sete al
mov byte [edx], al
cmp byte [0x1013e11e], 0
je 0x1009bfae
cmp byte [edx], 0
je 0x1009bfae
mov byte [edx], 0
mov dword [edi*4 + 0x1013e124], 0
mov byte [edx + 0x401], 0
mov ecx, dword [esi + 0xb94]
mov ebx, ecx
cmp byte [edx], 0
je 0x1009c026
cmp byte [0x1013dd1d], 0
je 0x1009c026
cmp dword [edi*4 + 0x1013e124], 0
jne 0x1009bff3
mov eax, dword [ebx + 0x174]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0x18]
mov dword [edi*4 + 0x1013e124], eax
mov eax, dword [esi + 0xb94]
mov eax, dword [eax + 0x174]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x1013e120]
mov eax, dword [eax*4 + 0x1013b91c]
mov dword [ecx + 0x18], eax
mov eax, dword [0x1013e120]
mov dword [edi*4 + 0x1018212c], eax
mov byte [edx], 0
mov ecx, dword [esi + 0xb94]
mov edx, dword [edi*4 + 0x10181128]
test edx, edx
je 0x1009c048
mov eax, dword [ecx + 0x174]
mov eax, dword [eax + edi*4]
mov dword [eax + 0x18], edx
mov dword [edi*4 + 0x10181128], 0
mov ecx, dword [esi + 0xb94]
inc edi
mov ebx, ecx
cmp edi, dword [ecx + 0x170]
jb 0x1009bf31
mov byte [0x1013dd1d], 0
mov byte [0x1013e11e], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xb94]
xor ecx, ecx
cmp dword [eax + 0x170], ecx
jbe 0x1009c0d3
mov eax, dword [eax + 0x174]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1009c0c4
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1009c0c4
mov edx, dword [ecx*4 + 0x1013e124]
test edx, edx
je 0x1009c0c4
cmp dword [ecx*4 + 0x10181128], 0
jne 0x1009c0c4
mov dword [ecx*4 + 0x10181128], eax
mov eax, dword [esi + 0xb94]
mov eax, dword [eax + 0x174]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x18], edx
mov eax, dword [esi + 0xb94]
inc ecx
cmp ecx, dword [eax + 0x170]
jb 0x1009c082
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret