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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ebx
push ebp
push esi
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
xor ebx, ebx
or ebp, 0xffffffff
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 1
xor esi, esi
mov dword [esp + 0x50], ebp
call fcn.00554810
add esp, 0x18
test eax, eax
jge 0x5549f0
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x58
ret
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x1c]
mov eax, dword [0x7060d0]
mov ecx, dword [eax]
fdivr dword [0x649444]
lea edx, [esp + 0x4c]
push edx
push eax
fstp dword [esp + 0x20]
call dword [ecx + 0xc0]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov dword [0xa3a14c], ebx
push edi
mov edi, edi
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, eax
sub edx, dword [esp + 0x28]
mov edi, ecx
sbb edi, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
fild qword [esp + 0x30]
xor edi, edi
cmp esi, ebx
mov dword [esp + 0x28], eax
fmul dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x14]
jne 0x554aa5
call fcn.005547c0
test eax, eax
je 0x554aaf
cmp dword [esp + 0x18], ebx
mov esi, 1
je 0x554aa7
call fcn.005545a0
call fcn.00541810
push 1
call fcn.005416b0
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
jle 0x554aaa
add esi, 1
cmp esi, 0x5a
jg 0x554a85
call fcn.00552b90
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x48], 0xa
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
call fcn.00552910
add esp, 8
cmp dword [esp + 0x10], ebx
je 0x554ae7
cmp dword [0xa3a14c], ebx
jne 0x554ae7
cmp dword [esp + 0x40], 0xa
je 0x554af9
call fcn.005547a0
call fcn.00541810
mov dword [esp + 0x18], 1
call fcn.00554590
test eax, eax
jne 0x554bc6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00554600
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [0x7060d0]
mov edx, dword [eax]
push eax
mov edi, 1
call dword [edx + 0xa4]
movss xmm0, dword [0xa3a148]
addss xmm0, dword [esp + 0x14]
movaps xmm1, xmm0
mulss xmm1, dword [0x64e4a4]
cvttss2si eax, xmm1
cmp eax, 1
cvtsi2ss xmm1, eax
mulss xmm1, dword [0x64e36c]
subss xmm0, xmm1
movss dword [0xa3a148], xmm0
jle 0x554b69
mov eax, 1
push eax
push 0xa3a14c
mov eax, 0x5a
sub eax, esi
push eax
push ebx
push ebx
call fcn.00527920
mov eax, dword [0x7060d0]
mov ecx, dword [eax]
add esp, 0x14
push eax
call dword [ecx + 0xa8]
push ebx
call fcn.005416b0
add esp, 4
cmp edi, ebx
je 0x554ba1
call fcn.005546a0
mov eax, dword [0x7060d0]
mov edx, dword [eax]
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [edx + 0xbc]
mov ebp, dword [esp + 0x3c]
call fcn.00554590
mov dword [esp + 0x3c], eax
jmp 0x554a30
call fcn.00527150
test eax, eax
je 0x554b17
cmp esi, ebx
jne 0x554be8
mov eax, dword [esp + 0x14]
push eax
call fcn.00554600
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [0x7060d0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
call fcn.00554590
cmp ebp, eax
jne 0x554b2a
push ebx
call fcn.00554670
add esp, 4
mov edi, 1
jmp 0x554b2a