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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x2f99460]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x48], ecx
test esi, esi
jle 0x1001f17b
add ecx, 0x53c
mov edx, dword [ecx]
test edx, edx
je 0x1001f173
cmp dword [edx + 0x334], 1
je 0x1001f438
inc eax
add ecx, 4
cmp eax, esi
jl 0x1001f160
cmp dword [0x1019c11c], 1
push ebx
push edi
jne 0x1001f287
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101a359c]
cmp eax, 0x7d0
jb 0x1001f287
mov eax, dword [0x1019c090]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push eax
call esi
mov edx, dword [0x1019c090]
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0x148
push edx
call esi
lea eax, [ebp - 0x38]
push eax
call fcn.10006d10
mov ebx, eax
add esp, 4
cmp dword [0x1019c06c], ebx
jle 0x1001f287
mov ecx, dword [0xe7c850]
mov edx, dword [ecx + 0x3fc]
mov eax, dword [edx + 0x330]
mov ecx, dword [eax + 0x330]
mov eax, dword [ecx + 0x6bc]
add eax, 0x53c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0x3c
mov edi, dword [eax]
test edi, edi
je 0x1001f279
lea ecx, [edi + 0x64]
lea eax, [ebp - 0x38]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001f240
test dl, dl
je 0x1001f23c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001f240
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001f220
xor eax, eax
jmp 0x1001f245
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001f279
mov eax, dword [0x1019c06c]
sub eax, ebx
xor esi, esi
test eax, eax
jle 0x1001f26e
push 1
push edi
call fcn.10038c10
mov edx, dword [0x1019c06c]
inc esi
sub edx, ebx
add esp, 8
cmp esi, edx
jl 0x1001f256
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101a359c], eax
mov eax, dword [ebp - 0x3c]
add eax, 4
dec dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
jne 0x1001f212
cmp dword [0x1019c244], 1
jne 0x1001f397
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101a359c]
cmp eax, 0x7d0
jb 0x1001f397
mov eax, dword [0x1019c144]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push eax
call esi
mov edx, dword [0x1019c144]
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0x148
push edx
call esi
lea eax, [ebp - 0x38]
push eax
call fcn.10006d10
mov ebx, eax
add esp, 4
cmp dword [0x1019c120], ebx
jle 0x1001f397
mov ecx, dword [0xe7c850]
mov edx, dword [ecx + 0x3fc]
mov eax, dword [edx + 0x330]
mov ecx, dword [eax + 0x330]
mov eax, dword [ecx + 0x6bc]
add eax, 0x53c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0x3c
lea esp, [esp]
mov edi, dword [eax]
test edi, edi
je 0x1001f389
lea ecx, [edi + 0x64]
lea eax, [ebp - 0x38]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001f350
test dl, dl
je 0x1001f34c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001f350
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001f330
xor eax, eax
jmp 0x1001f355
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001f389
mov eax, dword [0x1019c120]
sub eax, ebx
xor esi, esi
test eax, eax
jle 0x1001f37e
push 1
push edi
call fcn.10038c10
mov edx, dword [0x1019c120]
inc esi
sub edx, ebx
add esp, 8
cmp esi, edx
jl 0x1001f366
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101a359c], eax
mov eax, dword [ebp - 0x40]
add eax, 4
dec dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
jne 0x1001f320
xor esi, esi
cmp dword [ebp + 8], esi
jle 0x1001f42e
mov eax, dword [ebp - 0x48]
mov bl, byte [ebp + 0x10]
add eax, 0x53c
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
test edx, edx
je 0x1001f45c
mov edi, dword [edx + 0xe44]
cmp bl, 1
jne 0x1001f3d0
cmp edi, dword [0x1019ba94]
jmp 0x1001f3df
push edx
call fcn.1001db50
add esp, 4
cmp eax, dword [0x1019bb4c]
jge 0x1001f45c
cmp dword [edx + 0xd54], 0
jle 0x1001f45c
add edx, 0x64
push 0x10098c54
push edx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
jne 0x1001f45c
cmp byte [ebp + 0xc], 1
je 0x1001f46c
mov eax, dword [ebp - 0x44]
cmp eax, 0xffffffff
jne 0x1001f41f
mov dword [ebp - 0x44], esi
test bl, bl
jne 0x1001f45c
cmp dword [0x101a3554], eax
je 0x1001f42e
jmp 0x1001f45c
test bl, bl
jne 0x1001f447
cmp esi, dword [0x101a3554]
jle 0x1001f45c
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
pop edi
mov dword [0x101a3554], eax
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + eax*4 + 0x53c]
cmp dword [eax + 0xe44], edi
jle 0x1001f45c
mov dword [ebp - 0x44], esi
add dword [ebp - 0x3c], 4
inc esi
cmp esi, dword [ebp + 8]
jl 0x1001f3b0
jmp 0x1001f42e
mov ecx, dword [ebp - 4]
pop edi
pop ebx
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret