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

Disassembly:
push 0x834
mov eax, 0x10bdd1b
call fcn.01074cb8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [esi]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x838], eax
xor eax, eax
inc dword [0x10cd50c]
push eax
mov ebx, 0x9bf
push ebx
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x820], eax
add edi, 4
call fcn.01088aa0
push eax
push 0x931
call fcn.01088aa0
push eax
push dword [ebp - 0x82c]
mov ecx, esi
call dword [edi]
mov edi, dword [esi]
push 0x7f02
push 0
mov dword [ebp - 0x81c], eax
add edi, 0x1c
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x828], eax
call edi
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x820]
push eax
push dword [ebp - 0x838]
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call fcn.010694a6
push dword [ebp - 0x828]
mov dword [ebp - 0x818], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp dword [ebp - 0x818], 0
je 0x106ae25
push dword [ebp - 0x818]
push 0xdb0013f
push dword [ebp - 0x82c]
call fcn.01089421
mov edi, dword [esi]
push 0x933
add edi, 8
call fcn.01088aa0
push eax
push dword [ebp - 0x81c]
mov ecx, esi
call dword [edi]
push 0x10d046c
push 0x204
call fcn.01074e00
pop ecx
pop ecx
mov dword [ebp - 0x834], eax
and dword [ebp - 4], 0
test eax, eax
je 0x106add5
and dword [eax], 0
mov edi, eax
jmp 0x106add7
xor edi, edi
or dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x106adf3
push 0x8007000e
push 0xdb8013f
call fcn.010893e6
jmp 0x106b0e9
push dword [ebp - 0x818]
lea eax, [edi + 4]
push 0x100
xor ecx, ecx
push eax
mov dword [edi], 4
mov word [eax], cx
call fcn.01069d08
mov eax, dword [esi]
push edi
push dword [ebp - 0x81c]
mov ecx, esi
call dword [eax + 0xc]
jmp 0x106b0e9
call edi
sub eax, dword [ebp - 0x824]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [esi]
mov ecx, esi
push eax
push dword [ebp - 0x81c]
mov dword [ebp - 0x828], eax
call dword [edx + 0x10]
mov edi, dword [esi]
push 0x932
add edi, 8
call fcn.01088aa0
push eax
push dword [ebp - 0x81c]
mov ecx, esi
call dword [edi]
push ebx
call fcn.01088aa0
xor edi, edi
mov dword [ebp - 0x824], eax
cmp eax, edi
jne 0x106ae80
mov dword [ebp - 0x824], 0x1013438
mov eax, dword [ebp - 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x106ae89
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, 0x10000
jb 0x106aeb0
push 0x80070216
push 0xddf013f
jmp 0x106ade9
add ebx, 0x10
lea eax, [ebx + ebx]
push eax
push edi
mov dword [ebp - 0x840], ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x818], eax
cmp eax, edi
jne 0x106aee2
push 0x8007000e
push 0xde5013f
call fcn.010893e6
jmp 0x106b0d4
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x814], edi
cmp dword [eax], edi
jbe 0x106b0ca
jmp 0x106aefe
mov ebx, dword [ebp - 0x840]
mov eax, dword [ebp - 0x820]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x814]
push 0x100721c
push dword [ebp - 0x830]
lea edi, [eax + ecx*8]
push dword [0x10cd50c]
push dword [0x10cfb54]
push dword [edi]
push dword [edi + 4]
call fcn.0103e39e
inc dword [ebp - 0x830]
test eax, eax
je 0x106af46
push eax
push 0xdf3013f
call fcn.010893e6
push dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
push dword [ebp - 0x814]
push dword [ebp + 0x10]
push 0x10133d8
push 0x400
push eax
call fcn.0102dd8f
add esp, 0x18
push dword [ebp - 0x824]
xor eax, eax
push ebx
push dword [ebp - 0x818]
mov word [ebp - 0x12], ax
call fcn.0102d982
cmp dword [ebp - 0x814], 0
push dword [ebp - 0x828]
mov ebx, dword [esi]
push dword [ebp - 0x818]
push 0x934
jne 0x106afbe
add ebx, 0x14
call fcn.01088aa0
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x81c]
mov ecx, esi
call dword [ebx]
jmp 0x106afd8
add ebx, 4
call fcn.01088aa0
push eax
lea eax, [ebp - 0x810]
push eax
mov ecx, esi
call dword [ebx]
mov dword [ebp - 0x81c], eax
mov ebx, dword [esi]
push 0x7f02
push 0
add ebx, 0x1c
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [ebx]
push dword [edi]
mov ebx, eax
push dword [edi + 4]
push dword [ebp - 0x83c]
push dword [ebp - 0x838]
call fcn.01069a35
mov dword [ebp - 0x834], eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x834]
mov eax, dword [esi]
push dword [ebp - 0x81c]
mov ecx, esi
call dword [eax + 8]
push 0x10d046c
push 0x204
call fcn.01074e00
pop ecx
pop ecx
mov dword [ebp - 0x834], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x106b051
and dword [eax], 0
mov ebx, eax
jmp 0x106b053
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x106b06c
push 0x8007000e
push 0xe25013f
call fcn.010893e6
jmp 0x106b0b0
push 0x204
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebx], 3
push dword [edi]
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx + 8], eax
mov ecx, dword [edi]
mov dword [ebx + 4], ecx
push dword [edi]
push dword [edi + 4]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
push ebx
push dword [ebp - 0x81c]
mov ecx, esi
call dword [eax + 0xc]
inc dword [ebp - 0x814]
mov eax, dword [ebp - 0x820]
mov ecx, dword [ebp - 0x814]
cmp ecx, dword [eax]
jb 0x106aef8
mov dword [ebp - 0x814], 1
cmp dword [ebp - 0x818], 0
je 0x106b0e9
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x820], 0
je 0x106b0fe
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x814]
call fcn.01074d4a
ret 0x14