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

Disassembly:
mov eax, 0x109671e
call fcn.01077478
sub esp, 0x18
mov eax, dword [0x10a6184]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x10a6184
cmp eax, edi
mov dword [ebp - 0x24], ebx
je 0x101b246
test byte [eax + 0x1c], 1
je 0x101b246
cmp byte [eax + 0x19], 5
jb 0x101b246
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 8]
push 0x10047d4
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0106ae69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x14], ebx
call dword [ecx + 0x20]
mov esi, eax
mov eax, dword [0x10a6184]
cmp eax, edi
mov dword [ebp - 0x10], esi
je 0x101b2a0
test byte [eax + 0x1c], 2
je 0x101b2a0
movzx ecx, byte [eax + 0x19]
xor edx, edx
cmp esi, ebx
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x101b2a0
push dword [ebp - 0x14]
push esi
push 0x10047d4
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
mov eax, dword [0x10a6184]
cmp esi, ebx
jl 0x101b413
cmp dword [ebp - 0x14], ebx
jge 0x101b2b0
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
push 0x100494c
call esi
mov edi, 0x1004800
push edi
mov ebx, eax
call esi
push 0x10047f8
mov dword [ebp - 0x1c], eax
call esi
mov esi, dword [ebp + 0x18]
and dword [ebp - 0x20], 0
add esp, 0xc
mov ecx, esi
call fcn.01009f04
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x9c4
add eax, dword [ebp - 0x1c]
mov ecx, esi
lea ebx, [eax + ebx + 1]
push ebx
call fcn.0100a53f
push edi
mov ecx, esi
call fcn.0100a88e
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jle 0x101b3e6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
jbe 0x101b3e0
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10a6184]
cmp eax, 0x10a6184
je 0x101b37b
test byte [eax + 0x1c], 2
je 0x101b37b
movzx ecx, byte [eax + 0x19]
xor edx, edx
cmp dword [ebp - 0x10], ebx
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x101b37b
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x10047d4
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010190e1
cmp dword [ebp - 0x10], ebx
jl 0x101b3cf
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov edi, dword [eax - 0xc]
push dword [ebp - 0x1c]
push esi
push dword [ebp + 0x14]
call fcn.0102e9a3
mov eax, dword [esi]
cmp edi, dword [eax - 0xc]
jae 0x101b3ad
inc dword [ebp - 0x20]
push 0x10047f8
mov ecx, esi
call fcn.0100a88e
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x101b3be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jb 0x101b31f
jmp 0x101b3e0
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x101b3e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push 0x100494c
mov ecx, esi
call fcn.0100a88e
push 0xffffffffffffffff
mov ecx, esi
call fcn.0100a2eb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x10], ebx
mov eax, dword [0x10a6184]
jge 0x101b41a
mov dword [ebp - 0x10], 0x80040365
cmp eax, 0x10a6184
pop edi
pop esi
pop ebx
je 0x101b479
test byte [eax + 0x1c], 1
je 0x101b479
movzx eax, byte [eax + 0x19]
xor ecx, ecx
cmp dword [ebp - 0x10], ecx
setl cl
dec ecx
and ecx, 3
inc ecx
inc ecx
cmp eax, ecx
jl 0x101b479
mov ecx, dword [ebp + 0x18]
push 0xf3c
lea eax, [ebp + 8]
push eax
call fcn.0100a846
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
mov dword [ebp - 0x24], 1
push dword [eax]
mov eax, dword [0x10a6184]
push dword [ebp - 0x10]
push 0x10047d4
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102eef0
test byte [ebp - 0x24], 1
je 0x101b48a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.01009cd1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword fs:[0], ecx
leave
ret 0x18