Function at 0x536a30
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov ebx, ecx
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [esp + 0x40], eax
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov esi, dword [eax + 0xbc]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x536c86
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebx], esi
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov esi, dword [eax + 0xc0]
mov ecx, esi
shr ecx, 0xe
mov edx, esi
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
mov edx, dword [ebp + 8]
lea edi, [eax + 0xc0]
jb 0x5376c4
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov eax, dword [edi]
mov dword [edi], ebx
mov dword [ebx + 0xc], eax
cmp edx, 1
je 0x5372c0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x536c94
xor eax, eax
mov byte [ebx + 0x10], al
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x28], 0
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x144], 0
je 0x536c9c
cmp dword [ebp + 0xc], 0
jne 0x536c4f
mov eax, dword [ebx + 4]
cmp byte [ebx + 0x10], 0
jne 0x536c52
test eax, eax
jne 0x536c2e
lea edi, [ebx + 0x18]
cmp byte [ebx + 0x28], 0
jne 0x5377df
mov ecx, dword [fcn.0056d830]
cmp ecx, 0x56aca0
jne 0x536c75
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
cmp ebx, 0x7bd05af7
mov eax, esi
sbb eax, 0x863
jge 0x537870
mov ecx, 0xf4240
mov eax, ebx
mul ecx
imul ecx, esi, 0xf4240
add ecx, edx
push dword [0x64f6a4]
push dword [0x64f6a0]
push ecx
push eax
call fcn.005a13d0
mov dword [edi], eax
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x28]
mov eax, dword [0x65b060]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x537396
push 0x65b05c
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5374b1
mov eax, dword [0x65b064]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x53736a
mov dword [ebx + 0x20], 0
push 0x65b05c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jne 0x536c5b
mov byte [ebx + 0x28], 1
mov edx, dword [ebp + 8]
mov edi, dword [ebx]
test edi, edi
jne 0x536d11
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.005810d5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebx + 4]
test eax, eax
je 0x536c2e
jmp 0x537645
mov eax, dword [ecx + 0xf8]
mov ecx, dword [ecx + 0xfc]
mov edx, dword [edi + 4]
cmp dword [edi], eax
sbb edx, ecx
jge 0x536c27
jmp 0x53780c
call dword [0x6445dc]
push edi
call ecx
add esp, 4
jmp 0x536bb9
push esi
call fcn.00506e00
add esp, 4
jmp 0x536a84
mov al, byte [eax + 0x10]
jmp 0x536aed
mov esi, edx
mov eax, dword [0x65c7a8]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5373cc
cmp byte [0x65c7a4], 0
mov edx, esi
jne 0x536c2e
jmp 0x536b14
cmp edx, 1
jne 0x536c38
jmp 0x537977
mov ecx, esi
call dword [0x6445dc]
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call esi
jmp 0x536dae
call dword [0x6445dc]
lea esi, [esp + 0x38]
push esi
call ecx
add esp, 4
mov eax, dword [esi]
mov edx, dword [esi + 4]
jmp 0x536e27
mov eax, dword [ebx + 4]
test eax, eax
jne 0x536cd3
cmp byte [edi + 0x11], 0
je 0x536c38
mov dword [esp + 0x28], ebx
mov esi, dword [edi + 4]
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 8]
mov eax, dword [eax]
test al, 1
jne 0x5372d3
mov ebx, dword [esi + 0x30]
cmp dword [esi + 0x34], ebx
jne 0x5376eb
mov dword [esp + 0x2c], 0xffffffff
mov ebx, dword [edi + 0x20]
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
cmp esi, 0x5767c0
jne 0x536ce1
push 0x30
call fcn.0057dc30
add esp, 4
mov esi, eax
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x537856
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [esi + 4], ebx
mov byte [esi + 0x20], 0
xorps xmm0, xmm0
movups xmmword [esi + 8], xmm0
mov dword [esi], 0x628a9c
mov dword [esi + 0x24], 0
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x20]
add esi, 0x50
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5372c7
mov dword [esp + 0x1c], esi
mov ecx, dword [0x64c080]
cmp ecx, 0x56aca0
jne 0x536cf7
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi]
mov esi, dword [esi + 4]
cmp ebx, 0x7bd05af7
mov eax, esi
sbb eax, 0x863
jge 0x53799b
mov ecx, 0xf4240
mov eax, ebx
mul ecx
imul ecx, esi, 0xf4240
add ecx, edx
push dword [0x64f6a4]
push dword [0x64f6a0]
push ecx
push eax
call fcn.005a13d0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
cmp byte [edi + 0x2b], 0
jne 0x536fe1
cmp byte [edi + 0x11], 0
mov ecx, dword [ebp + 8]
je 0x5377fd
cmp byte [edi + 0x10], 0
je 0x536f86
cmp ecx, 1
je 0x5372e7
mov eax, dword [edi + 0x20]
inc dword [eax + 0xb4]
mov ebx, dword [edi + 0x20]
cmp byte [ebx + 0xc0], 0
jne 0x536fe1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov edi, dword [ebx + 0x68]
mov esi, dword [ebx + 0xb0]
xor ecx, ecx
test edi, edi
jne 0x53726b
add ecx, esi
cmp ecx, dword [ebx + 0xa8]
ja 0x537683
mov esi, dword [ebx + 0x68]
mov edx, dword [ebx + 0xac]
xor edi, edi
mov dword [esp + 4], 0
test esi, esi
jne 0x5371fc
mov esi, dword [ebx + 0x70]
add esi, dword [ebx + 0x6c]
je 0x536fd1
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x10]
cmp eax, 1
ja 0x536fd1
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x5c]
cmp eax, dword [ebx + 0x60]
je 0x53782a
mov dword [esp + 0xc], esi
mov cl, byte [eax + 8]
dec cl
cmp cl, 1
ja 0x537821
mov edi, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + 4]
cmp esi, 0x548620
je 0x536fba
cmp esi, 0x57da10
jne 0x536f94
mov eax, dword [edi + 0x24]
test al, 1
jne 0x537736
mov dword [esp + 0x10], edi
mov edi, dword [edi + 0x34]
test edi, edi
je 0x537867
xor ecx, ecx
inc ecx
lock xadd dword [edi], ecx
test ecx, ecx
jle 0x53786a
cmp ecx, 0x7fffffff
je 0x53786d
shr eax, 1
movzx esi, al
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 4]
call dword [0x6445dc]
mov dword [esp + 0x10], esi
push esi
push edi
call ecx
add esp, 8
mov esi, eax
lock dec dword [edi]
je 0x537944
cmp esi, 0x20
mov eax, 0x20
cmovb eax, esi
xor ecx, ecx
sub eax, dword [esp + 0x10]
cmovb eax, ecx
jmp 0x536fbd
mov eax, dword [edi + 0x20]
inc dword [eax + 0xb8]
jmp 0x536e4e
mov ecx, esi
call dword [0x6445dc]
mov ecx, edi
call esi
jmp 0x536fbd
cmp dword [ebx + 0xb4], 0
jle 0x536fe1
jmp 0x537690
call fcn.00547ef0
jmp 0x53703c
xor eax, eax
inc eax
mov ecx, dword [esp + 0xc]
lea edi, [ecx + eax]
add eax, ecx
dec eax
cmp eax, 1
adc edi, 0xffffffff
mov edx, dword [esp + 8]
add edx, dword [esp + 4]
lea eax, [edi + edx]
inc eax
cmp eax, dword [ebx + 0xa4]
ja 0x536fa2
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test edi, edi
mov ebx, dword [esp + 0x28]
je 0x536c38
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, 0x578850
jne 0x5370d2
mov dword [edi], 0x628a9c
mov ebx, dword [edi + 0x24]
lea eax, [edi + 0x28]
test bl, 1
jne 0x5377ef
lea ecx, [edi + 0x24]
cmp ebx, 2
jae 0x5370e5
test ebx, ebx
jne 0x536fb0
mov dword [edi], 0x6289e8
mov edx, dword [edi + 0x14]
lea esi, [edi + 0x18]
mov eax, edx
mov dword [esp + 4], esi
and eax, 1
jne 0x537816
lea ecx, [edi + 0x14]
mov dword [esp + 0x1c], ecx
mov ebx, edx
shr ebx, 1
mov cl, 1
cmp edx, 2
jae 0x537413
mov edx, esi
test eax, eax
jne 0x5377f6
test cl, cl
je 0x537336
test eax, eax
jne 0x537839
mov dword [edi + 0x14], 0
cmp byte [edi + 0x20], 0
jne 0x5376a4
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x53717f
mov eax, dword [edi + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jb 0x537848
push edi
call fcn.0057dc2b
add esp, 4
mov ebx, dword [esp + 0x28]
jmp 0x536c38
mov ecx, esi
call dword [0x6445dc]
mov ecx, edi
push 1
call esi
jmp 0x536c38
mov dword [esp + 0x1c], ecx
shr ebx, 1
shl ebx, 2
xor esi, esi
mov dword [esp + 4], eax
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x537901
xor eax, eax
inc eax
lock xadd dword [ecx + 4], eax
cmp eax, 0x7fffffff
je 0x537864
mov dword [esp + 0x30], 0x9c
mov al, byte [0x64f4c0]
test al, al
mov dword [esp + 0xc], ecx
jne 0x537a2c
mov eax, dword [ecx + 0x48]
lea edx, [eax + 0x10]
cmp byte [eax + 0x14], 0
je 0x537169
lea eax, [ecx + 4]
mov dword [esp + 8], eax
push dword [edx]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 8]
lock dec dword [eax]
je 0x537934
add esi, 4
cmp ebx, esi
mov eax, dword [esp + 4]
jne 0x5370f4
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx]
jmp 0x537034
mov dword [esp + 0x30], 0x1a8
mov al, byte [0x64f5cc]
test al, al
je 0x537137
jmp 0x537a74
mov ecx, dword [edi + 0xc]
mov eax, ebx
cmp ecx, ebx
je 0x5371eb
mov edx, ecx
add ecx, 0xfffffff8
je 0x537952
mov esi, dword [ecx]
test esi, esi
mov dword [esp + 0x1c], ecx
jne 0x5374db
mov dword [ecx], 0
test esi, esi
jne 0x537507
mov eax, dword [edx - 4]
mov ecx, eax
shr ecx, 0xe
mov esi, edx
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jb 0x53798d
mov dword [esi - 4], 0
mov ecx, dword [esi - 8]
test ecx, ecx
jne 0x537961
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x537188
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ebx
push eax
call fcn.0057dc2b
add esp, 4
jmp 0x5370a3
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], 0
test eax, eax
jne 0x536eb4
mov eax, dword [ebx + 0x5c]
cmp eax, dword [ebx + 0x60]
je 0x53782a
cmp byte [eax + 8], 0
jne 0x537262
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call dword [0x6445dc]
mov ecx, dword [esp + 4]
call dword [esp + 0xc]
mov edx, dword [esp + 8]
lea ecx, [esi + eax]
add eax, esi
dec eax
cmp eax, 1
adc ecx, 0xffffffff
mov dword [esp + 4], ecx
jmp 0x536eb4
mov dword [esp + 4], esi
jmp 0x536eb4
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x536e8b
mov eax, dword [ebx + 0x5c]
cmp eax, dword [ebx + 0x60]
je 0x53782a
cmp byte [eax + 8], 0
jne 0x5372b9
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 8], ecx
call dword [0x6445dc]
mov ecx, dword [esp + 4]
call dword [esp + 8]
lea ecx, [edi + eax]
add eax, edi
dec eax
cmp eax, 1
adc ecx, 0xffffffff
jmp 0x536e8b
mov ecx, edi
jmp 0x536e8b
mov al, 1
jmp 0x536aed
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x536dc3
mov ebx, 3
jmp 0x536d3c
movzx ecx, word [ecx + 8]
mov word [eax + 0x78], cx
jmp 0x537311
mov byte [edi + 0x29], 1
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0xa4]
inc edx
mov dword [eax + 0xa4], edx
cmp ecx, dword [eax + 0x60]
je 0x53730b
cmp dword [eax + 0xac], edx
jae 0x5372dd
mov word [eax + 0x78], 0
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x6445dc]
mov ecx, esi
push dword [esp + 4]
call ebx
jmp 0x536e60
lea eax, [edx + ebx*4]
add eax, 0xfffffffc
neg ebx
test eax, eax
je 0x537952
mov ecx, dword [eax]
test ecx, ecx
je 0x537356
lock dec dword [ecx + 4]
je 0x537cde
add eax, 0xfffffffc
inc ebx
jne 0x53733e
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
and eax, 1
jmp 0x53707f
push 0x65b064
call fcn.0057dc73
add esp, 4
cmp dword [0x65b064], 0xffffffff
jne 0x536c0e
push 0x65b064
call fcn.0057dcc2
add esp, 4
jmp 0x536c0e
push 0x65b060
call fcn.0057dc73
add esp, 4
cmp dword [0x65b060], 0xffffffff
jne 0x536bda
mov dword [0x65b05c], 0
push 0x65b060
call fcn.0057dcc2
add esp, 4
jmp 0x536bda
push 0x65c7a8
call fcn.0057dc73
add esp, 4
cmp dword [0x65c7a8], 0xffffffff
jne 0x536cbf
mov ecx, dword [0x6507bc]
test ecx, ecx
je 0x5373fa
push str.enable_background_thread_pool
call fcn.00556fb0
mov byte [0x65c7a4], 1
push 0x65c7a8
call fcn.0057dcc2
add esp, 4
jmp 0x536cbf
shl ebx, 2
xor ecx, ecx
mov eax, dword [esp + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + ecx]
test ecx, ecx
je 0x53743a
xor eax, eax
inc eax
lock xadd dword [ecx + 4], eax
cmp eax, 0x7fffffff
je 0x537ac4
mov dword [esp + 8], ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
test eax, eax
je 0x53745f
xor ecx, ecx
inc ecx
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x537ac7
mov ecx, dword [esp + 8]
push edx
push eax
call fcn.00443140
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xe0], 0
jne 0x537bca
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x53748c
lock dec dword [ecx + 4]
je 0x537bda
mov ecx, dword [esp + 0xc]
add ecx, 4
cmp ebx, ecx
jne 0x537418
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ebx, ecx
shr ebx, 1
mov eax, ecx
and eax, 1
cmp ecx, 2
setb cl
jmp 0x53706d
push 0x65b05c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x536bed
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x5374f9
jmp 0x53779f
mov eax, dword [edx - 4]
mov dword [esp + 4], eax
test eax, eax
je 0x5371a1
mov dword [ecx], 0
mov al, byte [esi + 9]
and al, 0x7f
cmp al, 2
je 0x5374c1
mov eax, dword [esp + 4]
lock dec dword [eax + 0xc]
je 0x5375a1
lock dec dword [esi + 4]
jne 0x5371af
mov dword [esi], 0x6289f0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
mov dword [esp + 0xc], edx
jne 0x53773d
lea eax, [esi + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [esp + 4], eax
cmp ecx, eax
jne 0x537cf2
mov dword [esi + 0x40], eax
cmp dword [esp + 4], 0
jne 0x537d34
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp ecx, eax
jne 0x537c04
push 0
push dword [esi + 0x28]
push 0x63bbe0
call fcn.0051e4d0
add esp, 0xc
mov eax, dword [esi + 0x24]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jae 0x53758f
push eax
call fcn.00507280
add esp, 4
push esi
call fcn.0057dc2b
add esp, 4
mov edx, dword [esp + 0xc]
jmp 0x5371af
mov dword [esp + 0xc], edx
lea ecx, [eax + 0x14]
mov dword [esp + 8], ecx
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
call eax
test al, al
je 0x537be6
mov eax, dword [esp + 4]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push dword [esp + 8]
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x537bf5
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [eax + 0x1c], xmm0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, ecx
cmp ecx, eax
jne 0x537aca
push 0
push dword [esp + 0x18]
push 0x63bbe0
call fcn.0051e4d0
add esp, 0xc
mov edx, dword [esp + 0xc]
jmp 0x5371a7
cmp byte [eax + 0x28], 0
je 0x536c2e
mov esi, dword [eax + 0x20]
mov dword [eax + 0x20], 0
test esi, esi
je 0x536c2e
lock dec dword [esi]
jne 0x536c2e
mov ecx, esi
mov edi, edx
call fcn.00503060
push esi
call fcn.0057dc2b
mov edx, edi
add esp, 4
jmp 0x536c2e
cmp dword [ebx + 0xb8], 0
jle 0x536e99
mov al, 1
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x20], al
mov byte [ebx + 0xc0], al
jmp 0x536fe1
mov ecx, dword [edi + 4]
call fcn.00443320
cmp dword [edi + 0x14], 0
je 0x537098
mov ecx, dword [esp + 0x1c]
call fcn.005f35a0
jmp 0x537098
push esi
call fcn.00506e00
mov edx, dword [ebp + 8]
add esp, 4
jmp 0x536aca
mov ecx, dword [ecx + 0x24]
cmp ecx, 3
je 0x537d58
xor eax, eax
cmp ecx, 1
sete al
jmp 0x537706
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0xb8]
xor eax, eax
test ecx, ecx
jne 0x5376d5
cmp ebx, 7
jge 0x537d31
push eax
push ebx
call fcn.00412f60
add esp, 8
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0xb0], ebx
mov dword [esi + 0x34], ebx
jmp 0x536d45
xor eax, eax
jmp 0x536fbd
mov dword [esp + 0x18], esi
mov esi, dword [esi + 0x60]
mov eax, ecx
mov dword [esp + 8], ecx
cmp esi, ecx
je 0x537786
mov dword [esp + 4], esi
add dword [esp + 4], 0xfffffff4
je 0x537952
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x537773
add esi, 0xfffffff8
call dword [0x6445dc]
push esi
call ecx
add esp, 4
mov eax, dword [esp + 4]
mov esi, eax
cmp eax, dword [esp + 8]
jne 0x537752
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x5c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov dword [esi + 0x60], ecx
push eax
call fcn.0057dc2b
add esp, 4
jmp 0x537526
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
add eax, 0x2c
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x537d62
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x30]
call fcn.00558ee0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
jmp 0x5374f9
mov ecx, edi
call fcn.005e8c00
mov byte [ebx + 0x28], 0
jmp 0x536b40
mov eax, dword [eax]
jmp 0x537028
mov edx, dword [esi]
jmp 0x537077
push str....._third_partylibc_srcincludeoptional:801:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
push 0x62a183
call fcn.005aacb0
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x536c27
mov ecx, dword [esi]
mov dword [esp + 4], ecx
jmp 0x537057
mov edi, dword [esp + 0xc]
jmp 0x536fcd
push str....._third_partylibc_srcinclude_vector:618:_assertion__empty___failed:_front___called_on_an_empty_vector_n
push 0x62a183
call fcn.005aacb0
push dword [esi]
call fcn.0057dc2b
add esp, 4
jmp 0x537087
push eax
call fcn.00506f30
add esp, 4
jmp 0x5370c0
push ebx
call fcn.00506e00
add esp, 4
jmp 0x536d8f
int3
int3
int3
int3
mov eax, dword [0x64f6a0]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x64f6a4]
mov dword [esp + 4], ecx
push ecx
push eax
push esi
push ebx
call fcn.005a13d0
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
mul dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
imul ecx, dword [esp + 4]
add edx, ecx
mov eax, dword [esp + 0x10]
imul ecx, eax, 0xf4240
mov dword [esp + 0xc], ecx
imul eax, dword [esp + 0x1c]
add eax, edx
sub ebx, dword [esp + 0x14]
sbb esi, eax
mov ecx, 0xf4240
mov eax, dword [esp + 8]
mul ecx
mov dword [esp + 8], eax
add edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov eax, ebx
mul ecx
imul ecx, esi, 0xf4240
add edx, ecx
push dword [esp + 4]
push dword [esp + 0x20]
push edx
push eax
call fcn.005a13d0
add eax, dword [esp + 8]
adc edx, dword [esp + 0xc]
jmp 0x536bb0
xor ecx, ecx
call fcn.00539a40
jmp 0x537153
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
mov ecx, dword [esp + 0xc]
push 1
call fcn.00403940
jmp 0x537153
push edi
call fcn.00502690
add esp, 4
jmp 0x536f70
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x62a183
call fcn.005aacb0
lock dec dword [ecx + 4]
jne 0x5371e0
push 1
call fcn.0053b7e0
jmp 0x5371e0
cmp byte [eax + 0x10], 0
jne 0x536c38
mov ecx, edi
call fcn.00601910
jmp 0x536c38
push eax
call fcn.00507280
add esp, 4
jmp 0x5371ce
mov eax, dword [0x64f6a0]
mov dword [esp + 4], eax
mov ecx, dword [0x64f6a4]
mov dword [esp + 8], ecx
push ecx
push eax
push esi
push ebx
call fcn.005a13d0
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], edx
mul dword [esp + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
imul ecx, dword [esp + 8]
add edx, ecx
mov eax, dword [esp + 0x20]
imul ecx, eax, 0xf4240
mov dword [esp + 0x14], ecx
imul eax, dword [esp + 4]
add eax, edx
sub ebx, dword [esp + 0x10]
sbb esi, eax
mov ecx, 0xf4240
mov eax, dword [esp + 0xc]
mul ecx
mov dword [esp + 0xc], eax
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov eax, ebx
mul ecx
imul ecx, esi, 0xf4240
add edx, ecx
push dword [esp + 8]
push dword [esp + 8]
push edx
push eax
call fcn.005a13d0
add eax, dword [esp + 0xc]
adc edx, dword [esp + 0x14]
jmp 0x536e27
movzx eax, al
mov dword [esp + 8], eax
mov ecx, dword [0x64e76c]
mov edx, dword [0x64e768]
xor edx, dword [esp + 0xc]
lea eax, [esp + 0x38]
mov dword [eax + 4], ecx
mov dword [eax], edx
lea ecx, [esp + 0x34]
mov dword [ecx], str.WorkerThreadWaitableEvent::WakeUp
lea edx, [esp + 0x30]
push eax
push 3
push ecx
push edx
push dword [esp + 0x18]
call fcn.005e2380
mov ecx, dword [esp + 0x20]
add esp, 0x14
jmp 0x53712b
movzx eax, al
mov dword [esp + 0x14], eax
mov ecx, dword [0x64e76c]
mov dword [esp + 8], edx
mov edx, dword [0x64e768]
xor edx, dword [esp + 8]
lea eax, [esp + 0x38]
mov dword [eax + 4], ecx
mov dword [eax], edx
lea ecx, [esp + 0x34]
mov dword [ecx], str.WaitableEvent::Signal
lea edx, [esp + 0x30]
push eax
push 3
push ecx
push edx
push dword [esp + 0x24]
call fcn.005e2380
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 0x14
jmp 0x537137
int3
int3
mov dword [esp + 0x18], esi
mov eax, edx
mov dword [esp + 4], edx
cmp dword [esp + 0x24], edx
jb 0x53790d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
test eax, eax
je 0x537910
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov dword [eax + ecx*4], 0
mov esi, dword [esp + 8]
mov ecx, dword [esi + 4]
call dword [0x6445dc]
push esi
call ecx
add esp, 4
lock dec dword [esi]
jne 0x537b2f
mov esi, dword [esp + 8]
mov ecx, dword [esi + 8]
call dword [0x6445dc]
push esi
call ecx
add esp, 4
mov edx, dword [esp + 4]
inc edx
xor eax, eax
cmp edx, dword [esp + 0x24]
cmove edx, eax
mov eax, dword [esp + 0x10]
cmp edx, eax
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jne 0x537aca
cmp eax, ecx
jbe 0x537d6e
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
jb 0x537913
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
jg 0x537916
mov ecx, dword [esp + 0x10]
shl ecx, 2
mov eax, dword [esp + 0x20]
shl eax, 2
mov dword [esp + 0x10], ecx
jmp 0x537bb4
mov dword [esp + 4], eax
mov ecx, dword [eax + 8]
call dword [0x6445dc]
push dword [esp + 4]
call ecx
add esp, 4
mov eax, esi
add eax, 4
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov esi, dword [esp + 0x18]
je 0x537629
mov esi, eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x537b9f
mov eax, ecx
lock dec dword [ecx]
je 0x537b89
jmp 0x537b9f
add ecx, 0xd8
call fcn.0054a300
jmp 0x53747a
push 1
call fcn.00403940
jmp 0x53748c
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5375bc
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5375e6
mov dword [esp + 8], ecx
mov dword [esp + 0x18], esi
mov ecx, dword [esi + 0x2c]
jbe 0x537c58
cmp ecx, dword [esp + 8]
jb 0x537919
cmp eax, dword [esp + 8]
jg 0x53791c
imul eax, eax, 0x58
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x28]
add ecx, eax
imul edx, dword [esp + 8], 0x58
sub edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call fcn.0057d530
mov ecx, dword [esp + 4]
add ecx, 0x58
add dword [esp + 8], 0xffffffa8
jne 0x537c3c
jmp 0x53755b
cmp ecx, eax
jb 0x53791f
jl 0x537922
je 0x537c95
imul eax, eax, 0x58
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x28]
add esi, eax
imul ecx, ecx, 0x58
sub ecx, eax
mov dword [esp + 4], ecx
mov ecx, esi
call fcn.0057d530
add esi, 0x58
add dword [esp + 4], 0xffffffa8
jne 0x537c7d
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
cmp eax, dword [esp + 8]
jb 0x537925
cmp dword [esp + 8], 0
js 0x537928
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 8]
je 0x53755b
mov ecx, dword [esi + 0x28]
imul eax, eax, 0x58
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.0057d530
mov ecx, dword [esp + 4]
add ecx, 0x58
add dword [esp + 8], 0xffffffa8
jne 0x537cc2
jmp 0x53755b
push 1
mov dword [esp + 8], eax
call fcn.00403940
mov eax, dword [esp + 4]
jmp 0x537356
mov dword [esp + 4], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
add dword [esp + 4], 0xffffffa8
je 0x537952
mov esi, dword [esp + 4]
mov ecx, esi
call fcn.0057d530
cmp esi, dword [esp + 0x14]
jne 0x537cfe
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x53753f
int3
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], esi
call fcn.005f4540
mov eax, dword [esp + 8]
push dword [eax]
call fcn.0057dc2b
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x53754d
mov eax, 3
jmp 0x537706
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5377bf
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x20]
jb 0x53792b
jl 0x53792e
je 0x537dc4
shl dword [esp + 0x24], 2
shl dword [esp + 0x20], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + ecx]
test esi, esi
je 0x537db1
lock dec dword [esi]
jne 0x537db1
mov ecx, dword [esi + 8]
call dword [0x6445dc]
push esi
call ecx
add esp, 4
mov ecx, dword [esp + 0x20]
add ecx, 4
mov eax, ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x24], ecx
jne 0x537d8e
cmp dword [esp + 0x10], 0
js 0x537931
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
je 0x537629
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov ecx, dword [eax + ecx]
test ecx, ecx
je 0x537e11
mov esi, ecx
lock dec dword [ecx]
jne 0x537e11
mov ecx, dword [esi + 8]
call dword [0x6445dc]
push esi
call ecx
add esp, 4
mov edx, dword [esp + 4]
add edx, 4
mov eax, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 4], edx
cmp eax, edx
mov esi, dword [esp + 0x18]
jne 0x537de8
jmp 0x537629