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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x10b5894]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x820], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [esi]
mov dword [ebp - 0x828], eax
xor eax, eax
inc dword [0x10b580c]
push eax
mov ebx, 0x9bf
push ebx
mov dword [ebp - 0x808], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x814], eax
add edi, 4
call fcn.0107a681
push eax
push 0x931
call fcn.0107a681
push eax
push dword [ebp - 0x820]
mov ecx, esi
call dword [edi]
mov edi, dword [esi]
push 0x7f02
push 0
mov dword [ebp - 0x810], 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 - 0x81c], eax
call edi
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x828]
push dword [ebp - 0x82c]
push dword [ebp - 0x820]
call fcn.0105d231
push dword [ebp - 0x81c]
mov dword [ebp - 0x80c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp dword [ebp - 0x80c], 0
je 0x105ea2f
push dword [ebp - 0x80c]
push 0xd16013f
push dword [ebp - 0x820]
call fcn.0107ae7f
mov edi, dword [esi]
push 0x933
add edi, 8
call fcn.0107a681
push eax
push dword [ebp - 0x810]
mov ecx, esi
call dword [edi]
push 0x204
call fcn.01067fb8
mov edi, eax
test edi, edi
pop ecx
jne 0x105e9fe
push 0x8007000e
push 0xd1e013f
call fcn.0107ae44
jmp 0x105ecb7
push dword [ebp - 0x80c]
lea eax, [edi + 4]
and word [eax], 0
push 0x100
push eax
mov dword [edi], 4
call fcn.0105d9ea
mov eax, dword [esi]
push edi
push dword [ebp - 0x810]
mov ecx, esi
call dword [eax + 0xc]
jmp 0x105ecb7
call edi
sub eax, dword [ebp - 0x818]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [esi]
mov ecx, esi
push eax
push dword [ebp - 0x810]
mov dword [ebp - 0x81c], eax
call dword [edx + 0x10]
mov edi, dword [esi]
push 0x932
add edi, 8
call fcn.0107a681
push eax
push dword [ebp - 0x810]
mov ecx, esi
call dword [edi]
push ebx
call fcn.0107a681
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x818], eax
jne 0x105ea8a
mov dword [ebp - 0x818], 0x1010e38
mov eax, dword [ebp - 0x818]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x105ea93
sub eax, ecx
sar eax, 1
lea ebx, [eax + 0x10]
lea eax, [ebx + ebx]
push eax
push edi
mov dword [ebp - 0x834], ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebp - 0x80c], eax
jne 0x105ead3
push 0x8007000e
push 0xd48013f
call fcn.0107ae44
jmp 0x105eca2
mov eax, dword [ebp - 0x814]
cmp dword [eax], edi
mov dword [ebp - 0x808], edi
jbe 0x105ec98
jmp 0x105eaef
mov ebx, dword [ebp - 0x834]
mov eax, dword [ebp - 0x814]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x808]
push 0x100697c
push dword [ebp - 0x824]
lea edi, [eax + ecx*8]
push dword [0x10b580c]
push dword [0x10b7ec4]
push dword [edi]
push dword [edi + 4]
call fcn.01037dee
inc dword [ebp - 0x824]
test eax, eax
je 0x105eb37
push eax
push 0xd56013f
call fcn.0107ae44
push dword [ebp - 0x820]
lea eax, [ebp - 0x804]
push dword [ebp - 0x808]
push dword [ebp + 0x10]
push 0x1010dd8
push 0x400
push eax
call fcn.01029706
and word [ebp - 6], 0
add esp, 0x18
push dword [ebp - 0x818]
push ebx
push dword [ebp - 0x80c]
call fcn.01028f74
cmp dword [ebp - 0x808], 0
push dword [ebp - 0x81c]
mov ebx, dword [esi]
push dword [ebp - 0x80c]
push 0x934
jne 0x105ebae
add ebx, 0x14
call fcn.0107a681
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x810]
mov ecx, esi
call dword [ebx]
jmp 0x105ebc8
add ebx, 4
call fcn.0107a681
push eax
lea eax, [ebp - 0x804]
push eax
mov ecx, esi
call dword [ebx]
mov dword [ebp - 0x810], 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 - 0x82c]
push dword [ebp - 0x828]
call fcn.0105d719
mov dword [ebp - 0x830], eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x830]
mov eax, dword [esi]
push dword [ebp - 0x810]
mov ecx, esi
call dword [eax + 8]
push 0x204
call fcn.01067fb8
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x105ec3a
push 0x8007000e
push 0xd88013f
call fcn.0107ae44
jmp 0x105ec7e
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 - 0x810]
mov ecx, esi
call dword [eax + 0xc]
inc dword [ebp - 0x808]
mov eax, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x808]
cmp ecx, dword [eax]
jb 0x105eae9
mov dword [ebp - 0x808], 1
cmp dword [ebp - 0x80c], 0
je 0x105ecb7
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x814], 0
pop edi
pop esi
pop ebx
je 0x105eccf
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x808]
xor ecx, ebp
call fcn.01068363
leave
ret 0x14