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

Disassembly:
push 0x834
mov eax, 0x10c0f07
call fcn.01077de8
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 [0x10d05b4]
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.0108bbbd
push eax
push 0x931
call fcn.0108bbbd
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.01069b97
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 0x106b516
push dword [ebp - 0x818]
push 0xdb0013f
push dword [ebp - 0x82c]
call fcn.0108c53e
mov edi, dword [esi]
push 0x933
add edi, 8
call fcn.0108bbbd
push eax
push dword [ebp - 0x81c]
mov ecx, esi
call dword [edi]
push 0x10d3534
push 0x204
call fcn.01077f1b
pop ecx
pop ecx
mov dword [ebp - 0x834], eax
and dword [ebp - 4], 0
test eax, eax
je 0x106b4c6
and dword [eax], 0
mov edi, eax
jmp 0x106b4c8
xor edi, edi
or dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x106b4e4
push 0x8007000e
push 0xdb8013f
call fcn.0108c503
jmp 0x106b7da
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.0106a3f9
mov eax, dword [esi]
push edi
push dword [ebp - 0x81c]
mov ecx, esi
call dword [eax + 0xc]
jmp 0x106b7da
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.0108bbbd
push eax
push dword [ebp - 0x81c]
mov ecx, esi
call dword [edi]
push ebx
call fcn.0108bbbd
xor edi, edi
mov dword [ebp - 0x824], eax
cmp eax, edi
jne 0x106b571
mov dword [ebp - 0x824], 0x1013548
mov eax, dword [ebp - 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x106b57a
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, 0x10000
jb 0x106b5a1
push 0x80070216
push 0xddf013f
jmp 0x106b4da
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 0x106b5d3
push 0x8007000e
push 0xde5013f
call fcn.0108c503
jmp 0x106b7c5
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x814], edi
cmp dword [eax], edi
jbe 0x106b7bb
jmp 0x106b5ef
mov ebx, dword [ebp - 0x840]
mov eax, dword [ebp - 0x820]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x814]
push 0x100730c
push dword [ebp - 0x830]
lea edi, [eax + ecx*8]
push dword [0x10d05b4]
push dword [0x10d2c04]
push dword [edi]
push dword [edi + 4]
call fcn.0103ea63
inc dword [ebp - 0x830]
test eax, eax
je 0x106b637
push eax
push 0xdf3013f
call fcn.0108c503
push dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
push dword [ebp - 0x814]
push dword [ebp + 0x10]
push 0x10134e8
push 0x400
push eax
call fcn.0102e3ff
add esp, 0x18
push dword [ebp - 0x824]
xor eax, eax
push ebx
push dword [ebp - 0x818]
mov word [ebp - 0x12], ax
call fcn.0102dff2
cmp dword [ebp - 0x814], 0
push dword [ebp - 0x828]
mov ebx, dword [esi]
push dword [ebp - 0x818]
push 0x934
jne 0x106b6af
add ebx, 0x14
call fcn.0108bbbd
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x81c]
mov ecx, esi
call dword [ebx]
jmp 0x106b6c9
add ebx, 4
call fcn.0108bbbd
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.0106a126
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 0x10d3534
push 0x204
call fcn.01077f1b
pop ecx
pop ecx
mov dword [ebp - 0x834], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x106b742
and dword [eax], 0
mov ebx, eax
jmp 0x106b744
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x106b75d
push 0x8007000e
push 0xe25013f
call fcn.0108c503
jmp 0x106b7a1
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 0x106b5e9
mov dword [ebp - 0x814], 1
cmp dword [ebp - 0x818], 0
je 0x106b7da
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x820], 0
je 0x106b7ef
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x814]
call fcn.01077e7a
ret 0x14