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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6791c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
lea ebp, [esp + 0x2c]
lea eax, [esp + 0x2c]
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
lea edi, [esp + 0x28]
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov esi, dword [0x72c930]
lea edx, [esp + 0x30]
mov eax, 0x72c930
mov byte [esp + 0x54], 1
mov dword [0x6e2c68], edx
call fcn.0058a1c0
cmp esi, eax
mov dword [esp + 0x24], eax
je 0x5695c5
mov eax, 0x72c928
call fcn.0058a1c0
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov edi, dword [0x72c928]
cmp edi, ebx
mov ebp, dword [esi]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], eax
mov dword [0x729534], esi
je 0x5694f7
mov ecx, dword [esp + 0x14]
test dword [edi + 0xc], ecx
je 0x5694e9
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 0x38]
push edx
call ebx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [0x7299fc]
call fcn.006665b0
push esi
mov ebp, eax
call dword [edi + 8]
add esp, 4
lea eax, [esp + 0x40]
push eax
call ebx
mov ebx, dword [0x7299fc]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.006665b0
sub eax, ebp
mov dword [esp + 0x10], eax
jns 0x5694c4
mov dword [esp + 0x10], 0
mov ecx, ebx
mov ebx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fimul dword [esp + 0x10]
fmul dword [0x727a04]
fadd dword [edi + 0x14]
fstp dword [edi + 0x14]
mov edi, dword [edi]
cmp edi, ebx
jne 0x569466
mov ebp, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
test eax, eax
mov dword [0x729534], 0
jne 0x569523
mov eax, dword [0x72952c]
push esi
push eax
call fcn.00599a60
add esp, 8
jmp 0x569536
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esi], ecx
cmp ebp, dword [esp + 0x24]
mov esi, ebp
jne 0x569445
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x28]
cmp edi, edx
je 0x569580
mov edi, edi
mov ecx, dword [edi]
mov esi, dword [edi + 4]
lea edx, [edi + 4]
mov dword [esi], ecx
mov dword [ecx + 4], esi
mov ecx, dword [0x72c934]
mov eax, edi
mov dword [ecx], eax
mov dword [0x72c934], eax
mov dword [eax], 0x72c930
mov dword [edx], ecx
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x28]
cmp edi, eax
jne 0x569550
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
cmp ebp, ecx
je 0x5695c5
lea esp, [esp]
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
lea edx, [ebp + 4]
mov dword [esi], ecx
mov dword [ecx + 4], esi
mov ecx, dword [0x72c934]
mov eax, ebp
mov dword [ecx], eax
mov dword [0x72c934], eax
mov dword [edx], ecx
mov dword [eax], 0x72c930
mov ebp, dword [esp + 0x30]
lea edx, [esp + 0x30]
cmp ebp, edx
jne 0x569590
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x28]
cmp edi, eax
mov dword [0x6e2c68], 0x72c930
mov byte [esp + 0x54], 0
je 0x56960c
lea esp, [esp]
mov eax, dword [edi]
mov ecx, edi
mov edi, dword [edi + 4]
push ecx
mov ecx, dword [0x72952c]
mov dword [edi], eax
push ecx
mov dword [eax + 4], edi
call fcn.00599a60
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x30]
add esp, 8
cmp edi, edx
jne 0x5695e0
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x30]
cmp ebp, eax
mov dword [esp + 0x54], 0xffffffff
je 0x56964a
lea esp, [esp]
mov eax, dword [ebp]
mov ecx, ebp
mov ebp, dword [ebp + 4]
push ecx
mov ecx, dword [0x72952c]
mov dword [ebp], eax
push ecx
mov dword [eax + 4], ebp
call fcn.00599a60
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x38]
add esp, 8
cmp ebp, edx
jne 0x569620
mov ecx, dword [esp + 0x4c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret