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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov edx, ecx
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [esp + 0x88], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov byte [esp + 0x30], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x84], 0x83
movzx eax, byte [0x64f4a7]
test al, al
mov dword [esp + 0x18], ecx
jne 0x5604a5
cmp byte [edx + 0x88], 0
jne 0x55fce5
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x174]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
je 0x55ff00
cmp dword [eax + 0x14], 2
sete bl
cmp byte [edx + 0x4d], bl
jne 0x55ff0b
mov ebx, dword [edx + 0x40]
mov edi, dword [ebx + 0x170]
test edi, edi
jne 0x5604d8
cmp byte [ebx + 0x17c], 0
jne 0x560156
lea edi, [ebx + 0x1e8]
mov eax, edi
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x560270
cmp dword [ebx + 0x1bc], 0
jne 0x55fd24
lock or dword [ebx + 0x44], 2
cmp byte [edx + 0xc0], 0
je 0x55fdfe
cmp byte [edx + 0xa8], 0
je 0x55fdec
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0xb4]
test edi, edi
je 0x55fdec
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd eax, xmm0
test eax, eax
js 0x5603eb
cmp dword [edi + 0x1c], 1
jne 0x5603ff
cmp dword [edi + 0x10], 0
jne 0x560589
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
nop dword [eax + eax]
mov ecx, edx
and ecx, 0xbfffffff
mov ebx, eax
lock cmpxchg8b qword [edi + 8]
jne 0x55fd90
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 0xb0]
mov esi, dword [edx + 0xb4]
cmp dword [edi + 0x10], 0
jne 0x5605bd
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd eax, xmm0
mov ecx, 0x40000000
and eax, ecx
and esi, 0xffffff
or esi, eax
movd xmm0, esi
movd xmm1, ebx
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
dec dword [edi + 0x1c]
mov byte [edx + 0xc0], 0
cmp byte [esp + 0x50], 0
jne 0x560439
lea esi, [edx - 0xb0]
mov eax, dword [edx - 0xb4]
mov byte [esp + 0x30], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], eax
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x55feee
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [esp + 0x48], esi
mov byte [esp + 0x50], 1
mov ecx, 1
or ecx, 0xfffffffe
xor ecx, dword [edx + 0x60]
mov eax, 0x80000000
dec eax
xor eax, dword [edx + 0x64]
or eax, ecx
jne 0x560451
mov eax, dword [edx + 0xc]
cmp dword [edx + 8], eax
je 0x560433
mov eax, dword [eax - 4]
cmp byte [eax + 0xb], 0
jne 0x560224
mov dword [esp + 0x84], 0x83
movzx eax, byte [0x64f4a7]
test al, al
jne 0x56047f
cmp byte [esp + 0x50], 0
je 0x55fed6
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x560436
lea eax, [esp + 0x30]
push eax
call fcn.005075f0
mov eax, dword [esp + 0x48]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jae 0x55fed6
push eax
call fcn.00506f30
add esp, 4
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.005810d5
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call fcn.00506e00
mov edx, dword [esp + 0x1c]
add esp, 4
jmp 0x55fe3e
xor ebx, ebx
cmp byte [edx + 0x4d], bl
je 0x55fce5
mov byte [edx + 0x4d], bl
mov eax, dword [0x64f68c]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x56039e
mov esi, dword [0x64f688]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5603df
movzx edi, bl
dec edi
or edi, 1
add edi, dword [0x64f63c]
mov dword [0x64f63c], edi
cmp byte [0x64f638], 0
je 0x560394
mov ebx, 1
test edi, edi
cmove ebx, edi
mov eax, dword [0x64f640]
cmp ebx, eax
je 0x5600fb
test eax, eax
mov dword [esp + 0x10], esi
je 0x56007a
mov ecx, dword [0x64c080]
cmp ecx, 0x56aca0
mov dword [esp + 0x1c], ebx
jne 0x560122
xor eax, eax
lea esi, [esp + 0x60]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov esi, dword [esi + 4]
cmp eax, 0x7bd05af7
mov ecx, esi
sbb ecx, 0x863
jge 0x5606f7
mov ecx, 0xf4240
mul ecx
imul ecx, esi, 0xf4240
add ecx, edx
push dword [0x64f6a4]
push dword [0x64f6a0]
push ecx
push eax
call fcn.005a13d0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
sub eax, dword [0x64f690]
sbb edx, dword [0x64f694]
seto bl
mov ecx, edx
sar ecx, 0x1f
test bl, bl
cmovne eax, ecx
add ecx, 0x80000000
test bl, bl
cmove ecx, edx
mov edx, eax
mov esi, 1
add edx, esi
mov esi, ecx
mov ebx, 0x80000000
adc esi, ebx
cmp edx, 2
sbb esi, 0
mov edx, dword [0x64f64c]
mov esi, dword [0x64f648]
jb 0x5605fb
add esi, eax
adc edx, ecx
seto bl
mov eax, edx
sar eax, 0x1f
lea ecx, [eax - 0x80000000]
test bl, bl
cmove eax, esi
test bl, bl
cmove ecx, edx
mov dword [0x64f648], eax
mov dword [0x64f64c], ecx
push dword [0x64f640]
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [0x64f640], ebx
test edi, edi
je 0x5600fb
mov ecx, dword [0x64c080]
cmp ecx, 0x56aca0
jne 0x56010b
xor eax, eax
lea esi, [esp + 0x60]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
cmp edi, 0x7bd05af7
mov eax, ebx
sbb eax, 0x863
jge 0x56066d
mov ecx, 0xf4240
mov eax, edi
mul ecx
imul ecx, ebx, 0xf4240
add ecx, edx
push dword [0x64f6a4]
push dword [0x64f6a0]
push ecx
push eax
call fcn.005a13d0
mov esi, dword [esp + 0x10]
mov dword [0x64f690], eax
mov dword [0x64f694], edx
push dword [0x64f640]
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edx, dword [esp + 0x18]
jmp 0x55fce5
call dword [0x6445dc]
lea esi, [esp + 0x60]
push esi
call ecx
add esp, 4
mov eax, dword [esi]
mov edx, dword [esi + 4]
jmp 0x5600e0
call dword [0x6445dc]
lea esi, [esp + 0x60]
push esi
call ecx
add esp, 4
mov eax, dword [esi]
mov edx, dword [esi + 4]
jmp 0x55fff1
call dword [0x6445dc]
lea esi, [esp + 0x60]
push esi
call ecx
add esp, 4
mov eax, dword [esi]
mov edx, dword [esi + 4]
jmp 0x5601da
lea edi, [ebx - 4]
mov dword [esp + 0x84], 0x83
mov al, byte [0x64f4a7]
test al, al
jne 0x5607ab
mov ecx, edi
call fcn.00442f20
mov eax, dword [ebx + 0x214]
mov ecx, dword [fcn.0056d830]
cmp ecx, 0x56aca0
jne 0x56013c
xor eax, eax
lea esi, [esp + 0x60]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp edi, 0x7bd05af7
mov eax, esi
sbb eax, 0x863
jge 0x560821
mov ecx, 0xf4240
mov eax, edi
mul ecx
imul ecx, esi, 0xf4240
add ecx, edx
push dword [0x64f6a4]
push dword [0x64f6a0]
push ecx
push eax
call fcn.005a13d0
xor ecx, ecx
dec ecx
add eax, 0x1c9c380
adc edx, 0
mov esi, 0x7fffffff
cmovno esi, edx
cmovo eax, ecx
mov dword [ebx + 0x188], esi
mov dword [ebx + 0x184], eax
mov byte [ebx + 0x17c], 0
mov dword [esp + 0x84], 0x83
mov al, byte [0x64f4a7]
test al, al
jne 0x5607d1
mov edx, dword [esp + 0x18]
jmp 0x55fd03
mov dword [esp + 0x84], 0x92
mov cl, byte [0x64f4b6]
test cl, cl
jne 0x5608b8
add edx, 4
mov dword [esp + 0x84], 0x92
mov al, byte [0x64f4b6]
test al, al
jne 0x5607f7
mov eax, dword [edx]
mov edi, dword [eax + 8]
mov ecx, edi
mov esi, edx
call dword [0x6445dc]
mov ecx, esi
call edi
jmp 0x55fe7c
cmp dword [eax + 8], 0
je 0x55fd0b
mov al, byte [ebx + 0x1f4]
mov byte [esp + 0xc], al
mov byte [ebx + 0x1f4], 1
mov eax, edi
mov eax, dword [eax + 4]
cmp eax, edi
je 0x560348
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x56028d
lea esi, [ebx + 0x204]
mov dword [esp + 0x14], esi
mov edx, dword [eax + 4]
cmp esi, eax
mov dword [esp + 0x10], edx
je 0x5602fd
cmp edx, esi
je 0x5602fd
mov ecx, dword [eax]
mov dword [ecx + 4], edx
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebx + 0x204]
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 0x204]
mov dword [eax], ecx
mov dword [ebx + 0x204], eax
mov dword [eax + 4], esi
dec dword [ebx + 0x1f0]
inc dword [ebx + 0x20c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x560798
mov dword [eax + 8], 0
mov esi, ecx
mov ecx, dword [ecx + 4]
call dword [0x6445dc]
push esi
call ecx
add esp, 4
lock dec dword [esi]
jne 0x560329
mov ecx, dword [esi + 8]
call dword [0x6445dc]
push esi
call ecx
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, edi
mov esi, dword [esp + 0x14]
je 0x560348
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x56079b
cmp eax, edi
jne 0x5602a9
mov al, byte [esp + 0xc]
mov byte [ebx + 0x1f4], al
test al, al
mov edx, dword [esp + 0x18]
jne 0x55fd16
sub esp, 4
mov al, byte [esp + 0x64]
mov byte [esp], al
mov ecx, edi
call fcn.00401e60
mov edx, dword [esp + 0x18]
cmp dword [ebx + 0x1f8], 0
je 0x55fd16
lea ecx, [ebx + 0x1f8]
call fcn.00570760
mov edx, dword [esp + 0x18]
jmp 0x55fd16
mov ebx, 8
jmp 0x55ff69
push 0x64f68c
call fcn.0057dc73
add esp, 4
cmp dword [0x64f68c], 0xffffffff
jne 0x55ff2f
push 4
call fcn.0057dc30
add esp, 4
mov dword [eax], 0
mov dword [0x64f688], eax
push 0x64f68c
call fcn.0057dcc2
add esp, 4
jmp 0x55ff2f
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x55ff44
mov ecx, dword [0x65b054]
call fcn.005aac50
mov edx, dword [esp + 0x18]
jmp 0x55fd71
cmp byte [edx + 0xb8], 0
je 0x55fda1
cmp dword [edi + 0x10], 0
jne 0x560639
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov esi, 0x40000000
mov ecx, edx
or ecx, esi
mov ebx, eax
lock cmpxchg8b qword [edi + 8]
jne 0x560421
jmp 0x55fda1
int3
int3
lea edi, [esp + 0x30]
mov ecx, edi
call fcn.005f2640
mov edx, dword [esp + 0x18]
mov byte [edi + 0x20], 0
jmp 0x55fdfe
lea esi, [esp + 0x60]
lea ecx, [esp + 0x30]
push esi
call fcn.0050a290
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
cmp eax, dword [edx + 0x60]
mov eax, dword [esi + 4]
sbb eax, dword [edx + 0x64]
jl 0x55fe63
mov eax, dword [edx + 4]
add edx, 4
jmp 0x56025a
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], 0
lea edx, [esp + 0x84]
push 2
push ecx
push edx
push eax
call fcn.005beed0
add esp, 0x10
jmp 0x55fe96
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], str.SequenceManager::DoIdleWork
lea edx, [esp + 0x84]
push 1
push ecx
push edx
push eax
call fcn.005be340
mov edx, dword [esp + 0x28]
add esp, 0x10
jmp 0x55fcb7
mov byte [esp + 0x60], 0
xor eax, eax
jmp 0x560511
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov ecx, dword [ebx + 0x174]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
je 0x5604cf
movdqu xmm0, xmmword [eax]
mov eax, dword [eax + 0x14]
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov al, 1
mov byte [esp + 0x78], al
mov esi, dword [ebx + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x10], ecx
call dword [0x6445dc]
mov ecx, esi
call dword [esp + 0x10]
mov byte [esp + 0x10], al
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6445dc]
sub esp, 0x24
movdqa xmm0, xmmword [esp + 0x84]
movdqa xmm1, xmmword [esp + 0x94]
movdqu xmmword [esp + 0x10], xmm1
movdqu xmmword [esp], xmm0
movzx eax, byte [esp + 0x34]
mov dword [esp + 0x20], eax
mov ecx, edi
call esi
test al, al
mov edx, dword [esp + 0x18]
je 0x55fcf6
mov esi, dword [edx + 0xc8]
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
jmp 0x560261
lea ecx, [edi + 0x10]
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd esi, xmm0
call fcn.005e6400
and esi, 0xff000000
or esi, edx
movd xmm0, esi
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
jmp 0x55fd85
lea ecx, [edi + 0x10]
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd dword [esp + 0x10], xmm0
call fcn.005e6400
mov ecx, dword [esp + 0x10]
and ecx, 0xff000000
or ecx, edx
mov edx, dword [esp + 0x18]
movd xmm0, ecx
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
jmp 0x55fdbb
mov dword [esp + 0xc], esi
mov ebx, 1
add dword [esp + 0xc], ebx
mov dword [esp + 0x14], edx
mov ebx, 0x80000000
adc dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x14]
xor esi, eax
xor edx, ecx
or edx, esi
je 0x56005b
xor edx, edx
xor esi, esi
inc esi
cmp esi, dword [esp + 0xc]
sbb edx, ebx
jb 0x56005b
int3
lea ecx, [edi + 0x10]
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd esi, xmm0
call fcn.005e6400
and esi, 0xff000000
or esi, edx
movd xmm0, esi
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
jmp 0x560416
mov esi, dword [0x64f6a0]
mov dword [esp + 0x24], esi
mov eax, dword [0x64f6a4]
mov dword [esp + 0x1c], eax
push eax
push esi
push ebx
push edi
call fcn.005a13d0
mov dword [esp + 0x14], eax
mov ecx, edx
mov eax, dword [esp + 0x14]
mul esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov esi, eax
imul esi, dword [esp + 0x1c]
add edx, esi
imul esi, ecx, 0xf4240
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x24]
imul ecx, esi
add ecx, edx
sub edi, dword [esp + 0x20]
sbb ebx, ecx
mov ecx, 0xf4240
mul ecx
mov dword [esp + 0x14], eax
add edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov eax, edi
mul ecx
imul ecx, ebx, 0xf4240
add edx, ecx
push dword [esp + 0x1c]
push esi
push edx
push eax
call fcn.005a13d0
add eax, dword [esp + 0x14]
adc edx, dword [esp + 0xc]
jmp 0x5600e0
mov ecx, dword [0x64f6a0]
mov dword [esp + 0x14], ecx
mov edx, dword [0x64f6a4]
mov dword [esp + 0x20], edx
push edx
push ecx
push esi
push eax
mov dword [esp + 0x34], eax
call fcn.005a13d0
mov dword [esp + 0xc], eax
mov ecx, edx
mov eax, dword [esp + 0xc]
mul dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, esi
mov esi, dword [esp + 0xc]
imul esi, dword [esp + 0x20]
add edx, esi
imul esi, ecx, 0xf4240
mov dword [esp + 0x2c], esi
imul ecx, dword [esp + 0x14]
add ecx, edx
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x28]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esp + 0xc]
mul edx
mov dword [esp + 0xc], eax
add edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov eax, esi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esp + 0x20]
push dword [esp + 0x18]
push edx
push eax
call fcn.005a13d0
add eax, dword [esp + 0xc]
adc edx, dword [esp + 0x24]
jmp 0x55ffe9
int3
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x560335
jmp 0x560348
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], str.SequenceManagerImpl::MaybeReclaimMemory
lea edx, [esp + 0x84]
push 1
push ecx
push edx
push eax
call fcn.005be340
add esp, 0x10
jmp 0x560171
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], 0
lea edx, [esp + 0x84]
push 2
push ecx
push edx
push eax
call fcn.005beed0
add esp, 0x10
jmp 0x56021b
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], 0
mov esi, edx
lea edx, [esp + 0x84]
push 2
push ecx
push edx
push eax
call fcn.005beed0
mov edx, esi
add esp, 0x10
jmp 0x560258
mov eax, dword [0x64f6a0]
mov dword [esp + 0x14], eax
mov ecx, dword [0x64f6a4]
mov dword [esp + 0x1c], ecx
push ecx
push eax
push esi
push edi
call fcn.005a13d0
mov dword [esp + 0x10], eax
mov ecx, edx
mov eax, dword [esp + 0x10]
mul dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, esi
mov esi, dword [esp + 0x10]
imul esi, dword [esp + 0x1c]
add edx, esi
imul esi, ecx, 0xf4240
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x14]
imul ecx, esi
add ecx, edx
sub edi, dword [esp + 0x20]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esp + 0x10]
mul edx
mov dword [esp + 0x10], eax
add edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esp + 0x1c]
push esi
push edx
push eax
call fcn.005a13d0
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0xc]
jmp 0x5601da
movzx ecx, cl
lea edx, [esp + 0x60]
mov dword [edx], str.RunLoop_ExitedOnIdle
xor esi, esi
lea edi, [esp + 0x84]
push esi
push eax
push esi
push 0x80
push 0x42
push 0x62c8f8
push 1
push edx
push edi
push ecx
call fcn.005d7030
mov edx, dword [esp + 0x40]
add esp, 0x28
jmp 0x56023d