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

Disassembly:
sub esp, 0x74
push ebp
mov ebp, 1
push esi
mov dword [esp + 0x24], ebp
cmp dword [0x101d08b0], 0x2f18
mov esi, dword [esp + 0x94]
test esi, esi
jg 0x1006ae8b
pop esi
xor eax, eax
pop ebp
add esp, 0x74
ret
push ebx
mov ebx, dword [esp + 0x84]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x1006aeae
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1006aeae
pop ebx
pop esi
mov eax, ebp
pop ebp
add esp, 0x74
ret
imul esi, esi, 0x3e8
push edi
mov dword [esp + 0x30], esi
cmp dword [0x101d08b4], 0xffffabbe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
cmp dword [0x101d08c8], 0xffff89b0
mov ah, ah
cmp dword [0x101d08c8], 0xffff89b0
mov dword [esp + 0x10], 0
cmp dword [0x101d08c4], 0xab9
mov esi, esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
push ecx
push edx
push ebx
call fcn.1005fe00
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x28
test eax, eax
jne 0x1006afe6
cmp dword [0x101d08b4], 0x5441
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [esp + 0x28]
cmp eax, esi
jae 0x1006afd1
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x1006af73
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1006afd1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
push ecx
push edx
push ebx
call fcn.1005fe00
add esp, 0x28
test eax, eax
jne 0x1006afde
push 0x64
call edi
cmp dword [0x101d08b8], 0x2d0b
call ebp
sub eax, dword [esp + 0x28]
cmp eax, esi
jb 0x1006af61
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x74
ret
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov ah, ah
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x28]
cmp eax, esi
jae 0x1006b1c9
jmp 0x1006b000
cmp dword [0x101d08b4], 0x5441
mov esi, esi
xor ebp, ebp
mov dword [esp + 0x20], ebp
push ebx
pop ebx
mov eax, dword [ebx + 0x1c]
cmp eax, ebp
je 0x1006b02a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1006b18e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
push ecx
push edx
push ebx
call fcn.1005fe00
add esp, 0x28
test eax, eax
jne 0x1006b096
mov ebp, 1
mov dword [esp + 0x2c], ebp
cmp dword [0x101d08c4], 0xab9
push 0x64
call edi
cmp dword [0x101d08cc], 0x4dfc
jmp 0x1006b17a
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x60]
jne 0x1006b1b1
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x64]
jne 0x1006b1b1
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x24]
jne 0x1006b1b1
mov edi, dword [esp + 0x20]
imul eax, ecx
cmp eax, 4
mov edx, dword [esp + 0x10]
mov ecx, edi
jb 0x1006b0e6
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1006b0ea
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1006b0d2
cmp eax, ebp
je 0x1006b147
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x1006b139
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1006b147
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x1006b139
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1006b147
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x1006b139
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1006b147
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x1006b147
test esi, esi
mov eax, 1
jg 0x1006b149
or eax, 0xffffffff
jmp 0x1006b149
xor eax, eax
xor ebp, ebp
cmp eax, ebp
jne 0x1006b196
push edi
call fcn.1012dedf
add esp, 4
mov dword [esp + 0x20], ebp
cmp dword [0x101d08d4], 0x121
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
push ecx
pop ecx
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x28]
cmp eax, esi
jb 0x1006b000
jmp 0x1006b1c9
mov ebp, 1
nop
jmp 0x1006b1c9
mov dh, dh
mov edx, dword [esp + 0x20]
push edx
call fcn.1012dedf
add esp, 4
mov dword [esp + 0x20], 0
mov dh, dh
jmp 0x1006b1c9
mov bh, bh
mov eax, dword [esp + 0x20]
push eax
call fcn.1012dedf
add esp, 4
mov dword [esp + 0x20], 0
nop
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1012dedf
add esp, 4
mov dword [esp + 0x10], 0
cmp dword [0x101d08d0], 0x4c94
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
add esp, 0x74
ret