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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x40], 0xffffffff
mov edx, dword [0x2f98458]
xor eax, eax
mov dword [ebp - 0x50], edx
cmp dword [ebp + 8], eax
jle 0x1001a9d1
add edx, 0x53c
mov ecx, dword [edx]
test ecx, ecx
je 0x1001a9c8
cmp dword [ecx + 0x334], 1
je 0x1001ac37
inc eax
add edx, 4
cmp eax, dword [ebp + 8]
jl 0x1001a9b5
cmp dword [0x103b3e4c], 1
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x147
push edi
lea edi, [ebx + 1]
jne 0x1001aac6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103bcc54]
cmp eax, 0x7d0
jb 0x1001aac6
push 0
push 0
push ebx
push dword [0x103b3dc0]
call esi
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push dword [0x103b3dc0]
call esi
lea eax, [ebp - 0x38]
push eax
call fcn.10006150
pop ecx
mov dword [ebp - 0x4c], eax
cmp dword [0x103b3d9c], eax
jle 0x1001aac6
mov eax, dword [0xe7b850]
mov eax, dword [eax + 0x3fc]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x6bc]
add eax, 0x53c
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x3c
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1001aab8
add eax, 0x64
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1001aab8
and dword [ebp - 0x3c], eax
mov eax, dword [0x103b3d9c]
sub eax, dword [ebp - 0x4c]
test eax, eax
jle 0x1001aaad
push 1
push dword [ebp - 0x54]
call fcn.1003885f
mov eax, dword [0x103b3d9c]
sub eax, dword [ebp - 0x4c]
inc dword [ebp - 0x3c]
pop ecx
pop ecx
cmp dword [ebp - 0x3c], eax
jl 0x1001aa91
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103bcc54], eax
mov eax, dword [ebp - 0x48]
add eax, 4
dec dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
jne 0x1001aa66
cmp dword [0x103b3f74], 1
jne 0x1001ab96
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103bcc54]
cmp eax, 0x7d0
jb 0x1001ab96
push 0
push 0
push ebx
push dword [0x103b3e74]
call esi
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push dword [0x103b3e74]
call esi
lea eax, [ebp - 0x38]
push eax
call fcn.10006150
mov esi, eax
pop ecx
cmp dword [0x103b3e50], esi
jle 0x1001ab96
mov eax, dword [0xe7b850]
mov eax, dword [eax + 0x3fc]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x330]
mov ebx, dword [eax + 0x6bc]
add ebx, 0x53c
mov dword [ebp - 0x44], 0x3c
mov edi, dword [ebx]
test edi, edi
je 0x1001ab8e
lea eax, [edi + 0x64]
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1001ab8e
and dword [ebp - 0x3c], eax
mov eax, dword [0x103b3e50]
sub eax, esi
test eax, eax
jle 0x1001ab83
push 1
push edi
call fcn.1003885f
mov eax, dword [0x103b3e50]
inc dword [ebp - 0x3c]
sub eax, esi
pop ecx
pop ecx
cmp dword [ebp - 0x3c], eax
jl 0x1001ab6a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103bcc54], eax
add ebx, 4
dec dword [ebp - 0x44]
jne 0x1001ab43
xor ebx, ebx
cmp dword [ebp + 8], ebx
jle 0x1001ac2c
mov eax, dword [ebp - 0x50]
add eax, 0x53c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
test esi, esi
je 0x1001ac58
cmp byte [ebp + 0x10], 1
mov edi, dword [esi + 0xe44]
jne 0x1001abcd
cmp edi, dword [0x103b37c4]
jmp 0x1001abda
push esi
call fcn.10019963
cmp eax, dword [0x103b387c]
pop ecx
jge 0x1001ac58
cmp dword [esi + 0xd54], 0
jle 0x1001ac58
push 0x10090f64
add esi, 0x64
push esi
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x1001ac58
cmp byte [ebp + 0xc], 1
je 0x1001ac68
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
jne 0x1001ac1b
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x40], ebx
jne 0x1001ac58
cmp dword [0x103bcc0c], eax
je 0x1001ac2c
jmp 0x1001ac58
cmp byte [ebp + 0x10], 0
jne 0x1001ac43
cmp ebx, dword [0x103bcc0c]
jle 0x1001ac58
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x40]
mov dword [0x103bcc0c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10083e24
leave
ret
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + eax*4 + 0x53c]
cmp dword [eax + 0xe44], edi
jle 0x1001ac58
mov dword [ebp - 0x40], ebx
add dword [ebp - 0x3c], 4
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x1001abac
jmp 0x1001ac2c
mov eax, ebx
jmp 0x1001ac34