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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff676
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x52a51c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
movzx edi, ax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov esi, dword [eax + 0x20]
add eax, 0x34
push eax
mov dword [ebp - 0x94], esi
call fcn.004082d0
mov byte [ebp - 4], 3
movzx ecx, word [esi + 0x1c]
mov eax, ecx
sub eax, dword [ebp + 0x14]
movzx edx, ax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa8], edx
mov esi, dword [eax + 0x1c]
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xc4], esi
cmp cx, word [ebp + 0x14]
ja 0x42fdc6
mov ecx, dword [ebp + 0x1c]
call fcn.00415b30
push esi
push dword [ebp - 0xb0]
mov ecx, 0x5532c0
mov bl, al
push dword [ebp - 0xb4]
call fcn.00419a30
jmp 0x430126
mov esi, dword [ebp - 0xa8]
mov eax, edi
mov edx, 0x80
mov dword [ebp - 0xb0], eax
mov ecx, edx
sub ecx, eax
movzx eax, si
cmp eax, ecx
jg 0x42fde9
movzx esi, si
jmp 0x42fdee
sub edx, edi
movzx esi, dx
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa8], esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xb0]
mov eax, ecx
mov edi, dword [ebp + 0xc]
shl eax, 9
add eax, ebx
movzx esi, si
mov ebx, dword [ebp + 0x10]
push eax
mov eax, esi
shl eax, 9
push eax
push ecx
mov ecx, dword [ebp + 0x24]
push ebx
push edi
push dword [ebp - 0xa0]
call fcn.00418a30
test al, al
je 0x42ff11
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x42fe56
add dword [eax + 0x38], esi
adc dword [eax + 0x3c], 0
add dword [eax + 0x20], esi
adc dword [eax + 0x24], 0
add dword [eax + 0x28], esi
adc dword [eax + 0x2c], 0
mov eax, dword [ebp + 0x2c]
mov ecx, 0x547270
push dword [ebp - 0xa0]
push dword [ebp - 0x98]
mov eax, dword [eax + 0x20]
push dword [ebp - 0x9c]
add dword [eax + 0x38], esi
adc dword [eax + 0x3c], 0
add dword [eax + 0x20], esi
adc dword [eax + 0x24], 0
add dword [eax + 0x28], esi
adc dword [eax + 0x2c], 0
call fcn.00419a30
mov eax, dword [ebp + 0x14]
movzx eax, ax
add eax, esi
add edi, 1
push 0
push eax
mov eax, dword [ebp - 0xa4]
adc ebx, 0
push ebx
push edi
add eax, 0x10000
push eax
sub esp, 8
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
sub esp, 8
lea eax, [ebp + 0x24]
mov ecx, esp
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
sub esp, 8
lea eax, [ebp + 0x1c]
mov ecx, esp
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx]
call fcn.00438b40
mov bl, al
jmp 0x430126
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x8d]
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ecx + 4]
push ebx
push edi
push dword [ebp - 0xa0]
mov byte [ebp - 0x8d], 0
call fcn.00416be0
test al, al
je 0x43004a
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x42ff70
add dword [eax + 0x38], esi
adc dword [eax + 0x3c], 0
add dword [eax + 0x20], esi
adc dword [eax + 0x24], 0
add dword [eax + 0x28], esi
adc dword [eax + 0x2c], 0
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + 0x20]
add dword [eax + 0x38], esi
adc dword [eax + 0x3c], 0
add dword [eax + 0x20], esi
adc dword [eax + 0x24], 0
add dword [eax + 0x28], esi
adc dword [eax + 0x2c], 0
cmp byte [ebp - 0x8d], 0
je 0x42ffaa
push dword [ebp - 0xa4]
mov ecx, dword [ebp + 0x24]
push ebx
push edi
push dword [ebp - 0xa0]
call fcn.00418bb0
push dword [ebp - 0xa0]
mov ecx, 0x541250
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
call fcn.00419a30
mov eax, dword [ebp + 0x14]
movzx eax, ax
add eax, esi
add edi, 1
push 0
push eax
mov eax, dword [ebp - 0xa4]
adc ebx, 0
push ebx
push edi
add eax, 0x10000
push eax
sub esp, 8
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
sub esp, 8
lea eax, [ebp + 0x24]
mov ecx, esp
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
sub esp, 8
lea eax, [ebp + 0x1c]
mov ecx, esp
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call fcn.00438b40
mov bl, al
jmp 0x430126
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp + 0x2c]
push eax
mov eax, dword [ebp - 0xac]
push dword [eax]
call fcn.00433620
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0043fab0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xa4]
push ecx
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x9c]
mov eax, dword [ebp + 0x2c]
push ecx
shld ebx, edi, 0x10
mov dword [ebp - 0x98], 0x10000
mov eax, dword [eax + 0x28]
push ebx
shl edi, 0x10
push edi
mov ecx, dword [eax + 0x10]
push eax
call fcn.00440700
lea ecx, [ebp - 0x2c]
call fcn.00407bb0
lea ecx, [ebp - 0x8c]
call fcn.00433c60
mov bl, 1
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edi, dword [ebp - 0xb8]
test edi, edi
je 0x43015a
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x43015a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
mov edx, esi
lock xadd dword [eax], edx
jne 0x43015a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x430188
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x430188
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
mov edx, esi
lock xadd dword [eax], edx
jne 0x430188
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edi, dword [ebp + 0x28]
test edi, edi
je 0x4301b6
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4301b6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
mov edx, esi
lock xadd dword [eax], edx
jne 0x4301b6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x30]
test edi, edi
je 0x4301e6
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4301e6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea edx, [edi + 8]
lock xadd dword [edx], esi
dec esi
jne 0x4301e6
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 0x2c