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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x3f0
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x3e8], eax
cmp dword [ecx + 0x18], 0
je 0x4f4941
mov esi, ecx
lea eax, [esp + 0x48]
push 0x388
push 0xff
push eax
call fcn.00569910
add esp, 0xc
mov dword [esp + 0x48], 0
mov dword [esp + 8], esi
cmp dword [esi + 8], 0
je 0x4f4941
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [ecx + 0x10]
inc eax
cmp eax, edx
mov esi, eax
mov edi, 0
cmove esi, edi
cmp edx, esi
jbe 0x4f49fd
mov edi, dword [ecx + 0xc]
imul esi, esi, 0x70
mov ebx, dword [edi + esi + 0x50]
test ebx, ebx
je 0x4f44ee
mov ecx, dword [ebx + 0xc]
cmp ecx, 0x5630a0
je 0x4f4491
call dword [0x63e64c]
push 0
push ebx
call ecx
add esp, 8
test al, al
jne 0x4f44e2
add edi, esi
cmp dword [edi + 0x6c], 0
jne 0x4f44d3
mov eax, dword [esp + 0x48]
cmp eax, 2
jae 0x4f464d
cmp eax, 2
setae bl
test eax, eax
jne 0x4f44c8
mov ecx, dword [esp + 0x3e8]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x48]
call fcn.004f4e10
jmp 0x4f44b0
mov eax, dword [edi + 0x68]
test eax, eax
je 0x4f44e2
movzx eax, byte [eax + 4]
test al, al
je 0x4f4499
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [ecx + 0x10]
inc eax
cmp eax, edx
mov esi, 0
cmove eax, esi
cmp edx, eax
jbe 0x4f4a00
mov edx, dword [esp + 0x48]
mov esi, 8
test dl, 1
je 0x4f4512
mov esi, dword [esp + 0x54]
imul eax, eax, 0x70
add eax, dword [ecx + 0xc]
mov ecx, edx
shr ecx, 1
cmp ecx, esi
mov ebx, dword [esp + 8]
je 0x4f463e
lea esi, [esp + 0x50]
test dl, 1
je 0x4f4535
mov esi, dword [esp + 0x50]
imul ecx, ecx, 0x70
add ecx, esi
je 0x4f4a06
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [eax + 0x20]
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm1
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [eax + 0x39]
movups xmmword [ecx + 0x39], xmm0
mov edx, dword [eax + 0x50]
mov dword [ecx + 0x50], edx
mov dword [eax + 0x50], 0
movzx edx, byte [eax + 0x5a]
mov byte [ecx + 0x5a], dl
movzx edx, word [eax + 0x58]
mov word [ecx + 0x58], dx
mov edx, dword [eax + 0x5c]
mov dword [ecx + 0x5c], edx
mov dword [eax + 0x5c], 0
movsd xmm0, qword [eax + 0x60]
movsd qword [ecx + 0x60], xmm0
mov edx, dword [eax + 0x68]
mov dword [ecx + 0x68], edx
mov dword [eax + 0x68], 0
mov eax, dword [eax + 0x6c]
mov dword [ecx + 0x6c], eax
add dword [esp + 0x48], 2
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 0x10]
inc ecx
cmp ecx, edx
mov esi, 0
cmove ecx, esi
mov dword [eax], ecx
cmp edx, ecx
jbe 0x4f4a03
mov edi, dword [eax + 0xc]
imul esi, ecx, 0x70
mov eax, dword [edi + esi + 0x68]
test eax, eax
jne 0x4f4618
add edi, esi
mov esi, dword [edi + 0x5c]
test esi, esi
jne 0x4f460d
mov esi, dword [edi + 0x50]
test esi, esi
jne 0x4f4628
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax]
jne 0x4f45ff
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4f490d
dec dword [ebx + 8]
jne 0x4f4446
jmp 0x4f4499
lock dec dword [esi + 4]
jne 0x4f45e4
jmp 0x4f48da
lock dec dword [eax]
jne 0x4f45db
push eax
call fcn.00564ea0
add esp, 4
jmp 0x4f45db
lock dec dword [esi]
jne 0x4f45eb
mov ecx, dword [esi + 8]
call dword [0x63e64c]
push esi
call ecx
add esp, 4
jmp 0x4f45eb
lea ecx, [esp + 0x48]
push eax
call fcn.004f56b0
jmp 0x4f45b1
mov edi, dword [esp + 8]
cmp dword [edi + 8], 0
jne 0x4f484d
cmp dword [edi + 0x50], 0
jne 0x4f47df
mov ebx, dword [edi + 0x1c]
cmp dword [edi + 4], 0
je 0x4f4740
xor edi, edi
dec edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov ecx, dword [0x646080]
cmp ecx, 0x522100
jne 0x4f46e9
xor eax, eax
lea esi, [esp + 0x3d0]
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 0x4f4d06
mov ecx, 0xf4240
mov eax, edi
mul ecx
imul ecx, esi, 0xf4240
add ecx, edx
push dword [0x6496bc]
push dword [0x6496b8]
push ecx
push eax
call fcn.00588630
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
xor edi, edi
dec edi
jmp 0x4f46fe
call dword [0x63e64c]
lea esi, [esp + 0x20]
push esi
call ecx
add esp, 4
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
sbb edx, dword [ecx + 0x14]
jl 0x4f4740
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0xc]
inc ecx
cmp ecx, 5
mov eax, 4
cmovae eax, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x4f4740
lea edx, [eax + 0x10]
xor esi, esi
add esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4f472e
cmp edx, esi
jb 0x4f49bd
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4f4935
mov edx, dword [esp + 8]
mov eax, dword [edx]
mov ecx, dword [ebx + 0x18]
mov dword [edx], ecx
mov dword [ebx + 0x18], eax
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 0x1c]
mov dword [edx + 4], ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [edx + 8]
mov ecx, dword [ebx + 0x20]
mov dword [edx + 8], ecx
mov dword [ebx + 0x20], eax
mov eax, dword [edx + 0xc]
mov ecx, dword [ebx + 0x24]
mov dword [edx + 0xc], ecx
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
movsd xmm0, qword [ebx + 0x28]
movsd qword [edx + 0x10], xmm0
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x28], eax
cmp byte [ebx + 0xd0], 0
jne 0x4f4b2c
mov eax, dword [ebx + 0x64]
cmp dword [eax + 8], 0
sete byte [ebx + 0x30]
mov al, byte [ebx + 0xa4]
mov byte [ebx + 0x33], al
cmp dword [ebx + 0x5c], 0
jne 0x4f47d1
test al, al
je 0x4f4948
mov al, byte [ebx + 0xc0]
xor al, 1
mov byte [ebx + 0x31], al
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esp + 8]
cmp dword [edi + 4], 0
je 0x4f484d
xor ebx, ebx
dec ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [0x646080]
cmp ecx, 0x522100
je 0x4f4875
call dword [0x63e64c]
lea esi, [esp + 0x20]
push esi
call ecx
add esp, 4
mov eax, dword [esi]
mov edx, dword [esi + 4]
cmp eax, dword [edi + 0x10]
sbb edx, dword [edi + 0x14]
jl 0x4f484d
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, 5
mov eax, 4
cmovae eax, ecx
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], edx
test ecx, ecx
je 0x4f484d
lea edx, [eax + 0x10]
xor esi, esi
add esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4f483b
cmp edx, esi
jb 0x4f498f
cmp dword [edi + 0x24], 0xffffffff
je 0x4f485c
mov ecx, dword [edi + 0x18]
push edi
call fcn.004f4f50
mov edi, dword [edi + 0x1c]
mov al, byte [0x64955e]
test al, al
jne 0x4f4b96
mov eax, dword [esp + 0x48]
jmp 0x4f44a6
xor eax, eax
lea esi, [esp + 0x3d0]
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 0x4f4c7c
mov ecx, 0xf4240
mov eax, edi
mul ecx
imul ecx, ebx, 0xf4240
add ecx, edx
push dword [0x6496bc]
push dword [0x6496b8]
push ecx
push eax
call fcn.00588630
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov edi, dword [esp + 8]
xor ebx, ebx
dec ebx
jmp 0x4f4813
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
cmp dword [ecx + 8], 0x5b9470
test eax, eax
je 0x4f48f3
lock dec dword [eax]
je 0x4f49ef
mov eax, dword [esi + 8]
test eax, eax
je 0x4f48ff
lock dec dword [eax]
je 0x4f494f
push esi
call fcn.00564ea0
add esp, 4
jmp 0x4f45e4
mov dword [eax + 0x14], 0
mov esi, dword [ebx]
mov dword [ebx], ecx
test esi, esi
je 0x4f45ff
mov ecx, esi
call fcn.00516eb0
push esi
call fcn.00564ea0
add esp, 4
jmp 0x4f45ff
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x4f4752
xor ebx, ebx
jmp 0x4f44b0
xor eax, eax
jmp 0x4f47d1
mov ebx, eax
mov eax, dword [eax + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x4f4d9d
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 4]
call fcn.00407270
push ebx
call fcn.00564ea0
add esp, 4
mov ebx, dword [esp + 8]
jmp 0x4f48ff
mov ecx, edi
push eax
call fcn.00517ff0
mov eax, dword [esp + 0x24]
mov ecx, 0x4c4b40
add ecx, dword [esp + 0x20]
adc eax, 0
mov edx, 0x7fffffff
cmovno edx, eax
cmovo ecx, ebx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
jmp 0x4f484d
mov esi, dword [esp + 8]
mov ecx, esi
push eax
call fcn.00517ff0
mov eax, dword [esp + 0x24]
mov ecx, 0x4c4b40
add ecx, dword [esp + 0x20]
adc eax, 0
mov edx, 0x7fffffff
cmovno edx, eax
cmovo ecx, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x4f4740
push eax
call fcn.00564ea0
add esp, 4
jmp 0x4f48f3
int3
int3
int3
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x624173
call fcn.00591ed0
add ecx, eax
mov byte [ebx + 0xd0], 0
lea esi, [esp + 0x20]
push esi
call fcn.00533580
lea ecx, [esp + 0x3d0]
push esi
call fcn.004eedb0
lea ecx, [ebx + 0xa8]
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x3d0]
push eax
call fcn.005cf400
cmp byte [ebx + 0xc0], 0
je 0x4f4df0
mov dword [esp + 0xc], esp
mov esi, dword [ebx + 0x64]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x3e0], eax
movups xmm0, xmmword [ecx]
movaps xmmword [esp + 0x3d0], xmm0
mov ecx, esi
call fcn.00593e10
lea eax, [esi + 0x30]
cmp byte [esi + 0x48], 0
je 0x4f4dab
mov ecx, dword [esp + 0x3e0]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x3d0]
movups xmmword [eax], xmm0
mov esp, dword [esp + 0xc]
cmp byte [ebx + 0xc0], 0
je 0x4f4df0
mov dword [esp + 0xc], esp
mov esi, dword [ebx + 0x60]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x3e0], eax
movups xmm0, xmmword [ecx]
movaps xmmword [esp + 0x3d0], xmm0
mov ecx, esi
call fcn.00593e10
lea eax, [esi + 0x30]
cmp byte [esi + 0x48], 0
je 0x4f4dcb
mov ecx, dword [esp + 0x3e0]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x3d0]
movups xmmword [eax], xmm0
mov esp, dword [esp + 0xc]
mov esi, dword [esp + 0x3c]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jae 0x4f47a7
push esi
call fcn.004f0f10
add esp, 4
jmp 0x4f47a7
xor eax, eax
dec eax
lea esi, [esp + 0x3c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov ecx, esi
mov eax, dword [esp + 8]
push dword [eax]
call fcn.005d05c0
mov eax, dword [esi]
xor esi, esi
test eax, eax
je 0x4f4b04
mov edx, dword [esp + 0x40]
cmp dword [eax + 0x10], edx
jbe 0x4f4dff
cmp byte [ebx + 0xd0], 0
je 0x4f4deb
mov ecx, dword [eax + 0xc]
imul eax, edx, 0x70
mov edx, dword [ecx + eax + 0x10]
cmp edx, dword [ebx + 0xc8]
mov edx, dword [ecx + eax + 0x14]
sbb edx, dword [ebx + 0xcc]
jge 0x4f4a15
lea ecx, [esp + 0x3c]
call fcn.005cf450
mov eax, dword [esp + 0x3c]
jmp 0x4f4b49
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 4]
lea esi, [esp + 0x3d0]
push esi
call fcn.00562200
add esp, 4
cmp ebx, dword [esi]
jne 0x4f486c
lea ebx, [edi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x4f4bc9
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [edi + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x18], eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esp + 0x44], 0x122
mov al, byte [0x64955e]
test al, al
je 0x4f486c
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x18]
sar ecx, 4
imul ecx, ecx, 0xb6db6db7
mov ebx, dword [esp + 8]
add ebx, ecx
add ebx, edx
movzx eax, al
mov dword [esp + 8], eax
push dword [edi + 4]
call fcn.005d0150
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [ecx], eax
mov dword [esp + 0x3d0], ebx
lea eax, [esp + 0x20]
mov dword [eax], 0x626b4f
xor edx, edx
lea edi, [esp + 0x44]
push esi
push eax
push edx
push 0x43
push 0x626958
push edx
push ecx
push edi
push dword [esp + 0x28]
call fcn.005d0180
add esp, 0x24
jmp 0x4f486c
mov esi, dword [0x6496b8]
mov dword [esp + 0x1c], esi
mov eax, dword [0x6496bc]
mov dword [esp + 0x10], eax
push eax
push esi
push ebx
push edi
call fcn.00588630
mov dword [esp + 0xc], eax
mov ecx, edx
mov eax, dword [esp + 0xc]
mul esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov esi, eax
imul esi, dword [esp + 0x10]
add edx, esi
imul esi, ecx, 0xf4240
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
imul ecx, esi
add ecx, edx
sub edi, dword [esp + 0x18]
sbb ebx, ecx
mov ecx, 0xf4240
mul ecx
mov dword [esp + 0xc], eax
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov eax, edi
mul ecx
imul ecx, ebx, 0xf4240
add edx, ecx
push dword [esp + 0x10]
push esi
push edx
push eax
call fcn.00588630
add eax, dword [esp + 0xc]
adc edx, dword [esp + 0x14]
jmp 0x4f48c6
mov eax, dword [0x6496b8]
mov dword [esp + 0x14], eax
mov ecx, dword [0x6496bc]
mov dword [esp + 0xc], ecx
push ecx
push eax
push esi
push edi
call fcn.00588630
mov dword [esp + 0x10], eax
mov ecx, edx
mov eax, dword [esp + 0x10]
mul dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, esi
mov esi, dword [esp + 0x10]
imul esi, dword [esp + 0xc]
add edx, esi
imul esi, ecx, 0xf4240
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
imul ecx, esi
add ecx, edx
sub edi, dword [esp + 0x1c]
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 + 0x18]
mov dword [esp + 0x18], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esp + 0xc]
push esi
push edx
push eax
call fcn.00588630
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x18]
jmp 0x4f46dc
push eax
call fcn.004f0f10
add esp, 4
jmp 0x4f496e
mov edx, esi
mov ecx, dword [esp + 0x3e0]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x3d0]
movups xmmword [eax], xmm0
mov byte [esi + 0x48], 1
jmp 0x4f4aa2
mov edx, esi
mov ecx, dword [esp + 0x3e0]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x3d0]
movups xmmword [eax], xmm0
mov byte [esi + 0x48], 1
jmp 0x4f4afc
call fcn.00591ed0
push str....._third_partylibc_srcincludeoptional:806:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
push 0x624173
call fcn.00591ed0
int3