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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xb0]
mov eax, dword [edi + 0xac]
sbb eax, dword [edi + 0xb4]
cmp eax, dword [edi + 0x24]
ja 0x10141ac0
jb 0x10141aa9
cmp ecx, dword [edi + 0x20]
jae 0x10141ac0
inc dword [edi + 0xb8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.101418c0
cmp eax, 1
jne 0x10141ae3
inc dword [edi + 0xbc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
inc dword [edi + 0xc0]
mov ebx, dword [edi + 0x10]
push 0x38
mov dword [edi + 0xb0], eax
lea eax, [ebp - 0x3c]
push 0
push eax
mov dword [edi + 0xb4], ecx
call fcn.10425c00
mov ecx, dword [0x11d0c5b8]
add esp, 0xc
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x54], 0
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x44], esi
cmp byte [esi + 8], 0
jne 0x10141b42
call fcn.10450c0b
cmp byte [esi + 8], 0
xorps xmm0, xmm0
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xbe2c]
mov eax, dword [eax + 0x11cc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], 0x38
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x4e564441
mov dword [ebp - 0x38], 0x10002
mov dword [ebp - 0x34], 0x38
mov dword [ebp - 0x30], 0x4e564458
mov dword [ebp - 0x2c], 0x200001e
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0x22
mov dword [ebp - 8], ebx
jne 0x10141bc0
call fcn.10450c0b
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + 0xbe2c]
mov edx, dword [ebx + 0x10b4]
test edx, edx
je 0x10141c66
mov eax, dword [ebx]
test eax, eax
je 0x10141c66
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x10141c66
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10141c66
cmp dword [eax + 0xd45c], 1
jne 0x10141c5b
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebx + 0x1428]
push eax
call esi
mov ecx, dword [ebx + 0x10b4]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x50], xmm0
push eax
call esi
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebx + 0x1428]
mov eax, dword [ebp - 0x4c]
sbb eax, dword [ebx + 0x142c]
add dword [ebx + 0x1420], ecx
mov esi, dword [ebp - 0x44]
adc dword [ebx + 0x1424], eax
mov eax, dword [ebp - 0x40]
jmp 0x10141c62
lea eax, [ebp - 0x64]
push eax
push ecx
call edx
test eax, eax
js 0x10141c6c
cmp dword [ebp - 0x10], 1
je 0x10141c74
or byte [edi + 0xd], 1
mov byte [edi + 0xc], 0
mov ecx, edi
call fcn.101418c0
test eax, eax
je 0x10141c85
bsr ecx, eax
inc ecx
jmp 0x10141c87
xor ecx, ecx
lea eax, [ecx + 0x12]
lea eax, [eax + eax*2]
cmp byte [edi + eax*4], 0
lea ebx, [edi + eax*4]
lea eax, [ecx + ecx*2]
lea edi, [edi + eax*4]
je 0x10141ca4
mov eax, dword [edi + 0xe0]
jmp 0x10141cb2
call fcn.1005cc60
mov byte [ebx], 1
mov dword [edi + 0xe0], eax
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x10]
add ecx, ecx
mov dword [eax + 0x30658], ecx
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x30658], 0
jne 0x10141cdc
mov dword [eax + 0x30658], 0x200
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret