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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
push ebx
push edi
push 0xe
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0xb3]
mov byte [ebp - 0xb4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x284]
push eax
push 0x202
call dword [fcn.004421c0]
test eax, eax
je 0x416ca9
xor eax, eax
jmp 0x416f17
push 1
pop edi
push edi
push ebx
push ebx
push 0xff
push 3
push 2
call dword [0x4422ec]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x416f0f
push esi
lea ecx, [ebp - 0x38]
push 4
push ecx
push 2
push ebx
push eax
mov dword [ebp - 0x38], edi
call dword [0x442228]
cmp eax, 0xffffffff
je 0x416f05
push 0x10
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.004189f0
add esp, 0xc
mov word [ebp - 0x50], 2
push dword [ebp + 0x10]
call dword [fcn.00442248]
mov esi, dword [ebp + 8]
push 0x28
mov word [ebp - 0x4e], ax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x20], 0x45
call dword [fcn.00442248]
push dword [ebp + 0x10]
mov word [ebp - 0x1e], ax
mov word [ebp - 0x1c], di
mov word [ebp - 0x1a], bx
mov byte [ebp - 0x18], 0x80
mov byte [ebp - 0x17], 6
mov word [ebp - 0x16], bx
mov dword [ebp - 0x10], esi
call dword [fcn.00442248]
push 0x4000
mov word [ebp - 0x32], ax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0x50
mov byte [ebp - 0x27], 2
call dword [fcn.00442248]
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x40]
push eax
mov word [ebp - 0x22], bx
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [ebp - 0x3c]
mov eax, dword [ebp + 0x14]
cdq
push dword [ebp - 0x40]
push edx
push eax
call fcn.0041a590
add eax, dword [ebp - 8]
mov esi, edx
adc esi, dword [ebp - 4]
mov dword [ebp - 0x58], eax
mov word [ebp - 0x24], bx
call fcn.004191ca
cdq
mov ecx, 0x3e9
idiv ecx
add edx, 0x3e8
push edx
call dword [fcn.00442248]
mov word [ebp - 0x34], ax
call fcn.004191ca
mov edi, eax
shl edi, 0x10
call fcn.004191ca
or edi, eax
push edi
call dword [fcn.00442248]
movzx eax, ax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
inc dword [ebp + 0xc]
push eax
call dword [fcn.00442244]
push 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
pop edi
push edi
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], bl
mov byte [ebp - 0x6f], 6
call dword [fcn.00442248]
mov word [ebp - 0x6e], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push 0x20
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00418a50
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00418a50
lea eax, [ebp - 0xb4]
push 0x34
push eax
call fcn.0040cf6b
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x20]
push edi
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00418a50
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00418a50
push 4
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.004189f0
add esp, 0x44
lea eax, [ebp - 0xb4]
push 0x28
push eax
call fcn.0040cf6b
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x20]
push edi
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00418a50
add esp, 0x14
lea eax, [ebp - 0x50]
push 0x10
push eax
push ebx
lea eax, [ebp - 0xb4]
push 0x28
push eax
push dword [ebp - 0xc]
call dword [fcn.004422ac]
cmp eax, 0xffffffff
je 0x416ed9
add dword [ebp + 0x10], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
cmp eax, esi
jg 0x416f02
jl 0x416d94
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x58]
jae 0x416f02
jmp 0x416d94
call dword [fcn.004421dc]
push eax
lea eax, [ebp - 0xf4]
push 0x439bcc
push eax
call fcn.00418f47
lea eax, [ebp - 0xf4]
push eax
call fcn.00405616
add esp, 0x10
jmp 0x416f05
mov ebx, dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [fcn.004422e0]
pop esi
call dword [fcn.004421a8]
mov eax, ebx
pop edi
pop ebx
leave
ret