Function at 0x1001a87c
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 [0x35f42ac]
xor eax, eax
mov dword [ebp - 0x50], edx
cmp dword [ebp + 8], eax
jle 0x1001a8c2
add edx, 0x53c
mov ecx, dword [edx]
test ecx, ecx
je 0x1001a8b9
cmp dword [ecx + 0x334], 1
je 0x1001ab28
inc eax
add edx, 4
cmp eax, dword [ebp + 8]
jl 0x1001a8a6
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 0x1001a9b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103bcc54]
cmp eax, 0x7d0
jb 0x1001a9b7
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.100060cc
pop ecx
mov dword [ebp - 0x4c], eax
cmp dword [0x103b3d9c], eax
jle 0x1001a9b7
mov eax, dword [0x12b5b20]
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 0x1001a9a9
add eax, 0x64
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1001a9a9
and dword [ebp - 0x3c], eax
mov eax, dword [0x103b3d9c]
sub eax, dword [ebp - 0x4c]
test eax, eax
jle 0x1001a99e
push 1
push dword [ebp - 0x54]
call fcn.1003875f
mov eax, dword [0x103b3d9c]
sub eax, dword [ebp - 0x4c]
inc dword [ebp - 0x3c]
pop ecx
pop ecx
cmp dword [ebp - 0x3c], eax
jl 0x1001a982
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 0x1001a957
cmp dword [0x103b3f74], 1
jne 0x1001aa87
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103bcc54]
cmp eax, 0x7d0
jb 0x1001aa87
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.100060cc
mov esi, eax
pop ecx
cmp dword [0x103b3e50], esi
jle 0x1001aa87
mov eax, dword [0x12b5b20]
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 0x1001aa7f
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 0x1001aa7f
and dword [ebp - 0x3c], eax
mov eax, dword [0x103b3e50]
sub eax, esi
test eax, eax
jle 0x1001aa74
push 1
push edi
call fcn.1003875f
mov eax, dword [0x103b3e50]
inc dword [ebp - 0x3c]
sub eax, esi
pop ecx
pop ecx
cmp dword [ebp - 0x3c], eax
jl 0x1001aa5b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103bcc54], eax
add ebx, 4
dec dword [ebp - 0x44]
jne 0x1001aa34
xor ebx, ebx
cmp dword [ebp + 8], ebx
jle 0x1001ab1d
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 0x1001ab49
cmp byte [ebp + 0x10], 1
mov edi, dword [esi + 0xe44]
jne 0x1001aabe
cmp edi, dword [0x103b37c4]
jmp 0x1001aacb
push esi
call fcn.10019855
cmp eax, dword [0x103b387c]
pop ecx
jge 0x1001ab49
cmp dword [esi + 0xd54], 0
jle 0x1001ab49
push 0x10090f44
add esi, 0x64
push esi
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x1001ab49
cmp byte [ebp + 0xc], 1
je 0x1001ab59
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
jne 0x1001ab0c
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x40], ebx
jne 0x1001ab49
cmp dword [0x103bcc0c], eax
je 0x1001ab1d
jmp 0x1001ab49
cmp byte [ebp + 0x10], 0
jne 0x1001ab34
cmp ebx, dword [0x103bcc0c]
jle 0x1001ab49
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.10083a34
leave
ret
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + eax*4 + 0x53c]
cmp dword [eax + 0xe44], edi
jle 0x1001ab49
mov dword [ebp - 0x40], ebx
add dword [ebp - 0x3c], 4
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x1001aa9d
jmp 0x1001ab1d
mov eax, ebx
jmp 0x1001ab25