Function at 0x101430e
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x101ac60]
mov ecx, dword [0x101a20c]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [0x101a208]
xor ebx, ebx
xor esi, esi
inc esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x6c], 1
mov byte [ebp - 0x25], bl
call fcn.0100b23e
test eax, eax
je 0x1014389
push dword [ebp + 8]
push dword [0x1025834]
push dword [0x1025830]
push 0x101a4a0
call dword [sym.imp.ntdll.dll_RtlNumberGenericTableElementsAvl]
push eax
push 0x10044c8
push 2
push 0xf68
push 0x4e
call fcn.0100b327
add esp, 0x20
cmp dword [0x101a84c], 3
jne 0x10143a9
push ebx
push ebx
push 0x10
push dword [0x10257dc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, esi
jmp 0x10148bf
mov eax, dword [0x1025834]
push edi
push 2
pop esi
mov dword [0x1025824], esi
mov dword [ebp - 0x68], eax
call fcn.01011f81
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
call fcn.01011ebd
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.01009a9a
cmp eax, ebx
jne 0x101440d
call fcn.01011f25
call fcn.0100b23e
test eax, eax
je 0x1014406
push 0x100448c
push esi
push 0xf88
push 0x4e
call fcn.0100b327
add esp, 0x10
xor eax, eax
jmp 0x10148be
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1014445
cmp dword [ebp - 0x4c], ebx
jne 0x1014437
cmp dword [ebp - 0x48], ebx
je 0x1014445
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1014473
call fcn.0100b23e
test eax, eax
je 0x1014463
push 0x1003f48
push esi
push 0xf95
push 0x4e
call fcn.0100b327
add esp, 0x10
mov dword [ebp - 0x70], ebx
jmp 0x1014473
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x101a84c], 2
je 0x1014468
cmp dword [0x101a84c], 3
je 0x10148cd
add dword [ebp - 0x30], 1
adc dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x70], ebx
je 0x1014569
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1014569
cmp dword [ebp - 0x2c], ebx
ja 0x10144ba
cmp dword [ebp - 0x30], 1
jbe 0x10145ce
mov edi, dword [ebp - 0x38]
sub edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x34]
sbb esi, dword [ebp - 0x58]
push ebx
push 4
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.01017fa0
cmp esi, edx
jl 0x10145ce
jg 0x10144e6
cmp edi, eax
jbe 0x10145ce
mov esi, dword [0x101a208]
mov edi, dword [0x101a20c]
mov eax, esi
sub eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 8]
mov ecx, edi
sbb ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.01017fa0
push edi
push esi
push edx
push eax
call fcn.01018000
add eax, dword [ebp - 0x68]
mov ecx, dword [0x1025830]
add ecx, eax
mov dword [0x1025834], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov dword [0x1025828], ecx
mov dword [ebp - 0x58], eax
call fcn.01011f81
mov edi, dword [ebp - 0x38]
sub edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x34]
sbb esi, dword [ebp - 0x60]
push ebx
push 0x40
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.01017fa0
cmp esi, edx
jl 0x10145ce
jg 0x101455b
cmp edi, eax
jbe 0x10145ce
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
jmp 0x10145c4
mov eax, dword [ebp - 0x30]
and eax, 0x1f
or eax, ebx
je 0x10145ce
mov esi, dword [0x101a208]
mov edi, dword [0x101a20c]
mov eax, esi
sub eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 8]
mov ecx, edi
sbb ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.01017fa0
push edi
push esi
push edx
push eax
call fcn.01018000
add eax, dword [ebp - 0x68]
mov ecx, dword [0x1025830]
add ecx, eax
mov dword [0x1025834], eax
mov dword [0x1025828], ecx
call fcn.01011f81
mov eax, dword [ebp - 0x30]
and eax, 0x7f
xor ecx, ecx
or eax, ecx
je 0x10145ce
push 0x101a9ce
call fcn.01005f93
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x6c]
push 0x101a4a0
call fcn.0100ceaf
mov esi, dword [0x101a278]
mov edi, dword [0x101a27c]
mov ecx, dword [0x101a268]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], ebx
mov eax, dword [0x101a26c]
mov byte [ebp - 0x6c], bl
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
je 0x1014889
mov edx, dword [0x101a420]
test byte [edx + 0x1c], 0x10
je 0x101464c
cmp eax, dword [0x101a404]
jl 0x101464c
jg 0x1014632
cmp ecx, dword [0x101a400]
jbe 0x101464c
cmp eax, dword [0x101a40c]
jl 0x1014880
jg 0x101464c
cmp ecx, dword [0x101a408]
jb 0x1014880
push ebx
push ebx
call fcn.0100e397
test eax, eax
je 0x1014821
push dword [0x101a26c]
mov dword [ebp - 0x74], 1
push dword [0x101a268]
push dword [0x101a27c]
push dword [0x101a278]
call fcn.01008369
test eax, eax
je 0x10147d9
mov eax, dword [0x101a420]
push 8
pop ecx
push eax
mov esi, eax
lea edi, [ebp - 0x24]
push 0x101a4a0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ntdll.dll_RtlDeleteElementGenericTableAvl]
cmp al, bl
mov byte [ebp - 0x25], al
jne 0x10146c8
call fcn.0100b23e
test eax, eax
je 0x10146c8
push 0x1004210
push 1
push 0xff6
push 0x4e
call fcn.0100b327
add esp, 0x10
lea eax, [ebp - 0x24]
mov dword [0x101a420], eax
call fcn.0101234b
test eax, eax
je 0x101472f
mov eax, dword [0x101a424]
mov ecx, dword [eax]
mov edx, dword [0x101a27c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov esi, dword [eax]
mov ecx, dword [0x101a278]
mov edi, dword [eax + 4]
add esi, ecx
adc edi, edx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], edi
mov esi, dword [eax + 8]
sub esi, ecx
mov ecx, dword [eax + 0xc]
sbb ecx, edx
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
mov dword [ebp - 0x8c], esi
call fcn.0100857a
jmp 0x10147ac
call fcn.0100b23e
test eax, eax
je 0x1014774
push dword [0x101a854]
mov eax, dword [0x101a424]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
mov eax, dword [0x101a420]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 4]
push dword [eax]
push 0x1004428
push 1
push 0x1006
push 0x4e
call fcn.0100b327
add esp, 0x34
cmp dword [0x101a854], 0x4d5
jne 0x10147b2
mov eax, dword [0x101a424]
mov ecx, dword [eax]
mov dword [ebp - 0x94], ecx
mov ecx, dword [eax + 4]
push ebx
push eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.0100857a
mov dword [ebp - 0x74], ebx
mov dword [0x101a424], ebx
lea eax, [ebp - 0x25]
push eax
push 0x20
push dword [0x101a420]
push 0x101a4a0
call dword [sym.imp.ntdll.dll_RtlInsertElementGenericTableAvl]
test eax, eax
je 0x10148df
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x78]
jmp 0x10147ea
cmp edi, ebx
jl 0x10147f5
jg 0x10147e4
cmp esi, 1
jbe 0x10147f5
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x74], ebx
je 0x101465b
jmp 0x1014821
call fcn.0100b23e
test eax, eax
je 0x101481e
mov eax, dword [0x101a420]
push dword [eax + 4]
push dword [eax]
push 0x1004408
push 2
push 0x1032
push 0x4e
call fcn.0100b327
add esp, 0x18
mov dword [ebp - 0x44], ebx
mov eax, dword [0x101a9b4]
cmp eax, 0xffffffff
je 0x1014839
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x101a9b4], 0xffffffff
cmp dword [0x101a9b8], ebx
je 0x101487b
push dword [0x101a9b8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x1014841
push dword [0x101a9b8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x1014875
push 0x1047
push 0x100372c
push 0x10036c8
call fcn.01007320
mov dword [0x101a9b8], ebx
call fcn.01007a76
cmp dword [ebp - 0x44], ebx
jne 0x1014473
call fcn.01011f25
call fcn.0100b23e
test eax, eax
je 0x10148bb
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add eax, 0xffffffff
adc ecx, 0xffffffff
push ecx
push eax
push 0x10043d4
push 2
push 0x1053
push 0x4e
call fcn.0100b327
add esp, 0x18
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01017c5b
leave
ret 4
push ebx
push ebx
push 0x10
push dword [0x10257dc]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1014889
call fcn.0100b23e
test eax, eax
je 0x1014406
push 0x1004380
push 2
push 0x1020
jmp 0x10143fc