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

Disassembly:
push 0x38
push 0x1027e208
call fcn.102385f0
xor ebx, ebx
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.101797f2
push 0x2f
pop edi
push 2
pop esi
jmp 0x1017aefb
mov eax, dword [0x102ba1fc]
add eax, esi
mov dword [0x102ba1fc], eax
movzx ecx, word [eax]
sub ecx, 0x43
je 0x1017aeeb
sub ecx, esi
je 0x1017aee3
sub ecx, 0x27
je 0x1017aecd
sub ecx, 4
je 0x1017aec5
dec ecx
je 0x1017aebd
sub ecx, esi
je 0x1017aeb5
sub ecx, esi
jne 0x1017af46
add eax, esi
mov byte [ebp - 0x1a], 1
jmp 0x1017aef1
add eax, esi
mov byte [ebp - 0x19], 1
jmp 0x1017aef1
add eax, esi
mov byte [ebp - 0x1d], 1
jmp 0x1017aef1
add eax, esi
or dword [ebp - 0x24], 8
jmp 0x1017aef1
add eax, esi
mov dword [0x102ba1fc], eax
mov ecx, 0x1008f610
call fcn.101430b3
mov dword [ebp - 0x28], eax
jmp 0x1017aef6
add eax, esi
mov byte [ebp - 0x1b], 1
jmp 0x1017aef1
add eax, esi
or dword [ebp - 0x24], 0x10
mov dword [0x102ba1fc], eax
call fcn.101797f2
cmp ax, di
je 0x1017ae7c
mov eax, dword [0x102a5b74]
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0x1a], bl
je 0x1017af22
or eax, 0x100
mov dword [0x102a5b74], eax
push eax
call dword [sym.imp.dbghelp.dll_SymSetOptions]
cmp byte [ebp - 0x19], bl
jne 0x1017af6d
mov dword [ebp - 4], ebx
mov dl, byte [ebp - 0x1b]
mov ecx, dword [ebp - 0x24]
call fcn.1017ad75
mov dword [ebp - 4], 0xfffffffe
call fcn.1017af52
jmp 0x1017b0d3
xor edx, edx
mov ecx, 0x1001
call fcn.101f3103
mov byte [ebp - 0x1c], bl
mov eax, dword [0x102ba1fc]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
inc dword [0x102c8660]
mov dword [ebp - 4], 1
mov dl, byte [ebp - 0x1b]
mov ecx, dword [ebp - 0x24]
call fcn.1017ad75
mov byte [ebp - 0x1c], 1
push 0xfffffffffffffffe
pop edi
mov dword [ebp - 4], edi
jmp 0x1017afca
mov ecx, dword [0x102ba1fc]
jmp 0x1017b005
cmp ax, 0x3b
je 0x1017b012
cmp ax, 0x7e
je 0x1017b00f
cmp ax, 0x2e
je 0x1017b00f
cmp ax, 0x5b
je 0x1017b00f
cmp ax, 0x5d
je 0x1017b00f
cmp ax, 0x22
je 0x1017b00f
cmp ax, 0x2d
jne 0x1017b003
cmp word [ecx + 2], 0x3e
je 0x1017b00f
add ecx, esi
movzx eax, word [ecx]
test ax, ax
jne 0x1017afd2
jmp 0x1017b012
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1017b0b8
cmp byte [ebp - 0x1c], 0
jne 0x1017b0b8
cmp dword [0x102c7ff8], 0
je 0x1017b0b8
cmp dword [ebp - 0x28], 0
je 0x1017b047
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x28]
ja 0x1017b0b8
mov eax, dword [0x102d2d30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x102ba1fc], eax
mov dword [ebp - 4], esi
test byte [ebp - 0x24], 0x10
je 0x1017b06a
mov dword [0x102d2d30], 1
mov eax, dword [0x102c7ff8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x48], eax
movzx eax, byte [ebp - 0x1d]
push eax
push ecx
call fcn.101dbe54
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], edi
jmp 0x1017b0aa
test byte [ebp - 0x24], 0x10
je 0x1017b0b8
mov eax, dword [ebp - 0x38]
mov dword [0x102d2d30], eax
dec dword [0x102c8660]
cmp byte [ebp - 0x1a], 0
je 0x1017b0d3
mov eax, dword [ebp - 0x2c]
mov dword [0x102a5b74], eax
push eax
call dword [sym.imp.dbghelp.dll_SymSetOptions]
call fcn.10238635
ret