Function at 0x500680
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1b0
mov esi, esp
lea ebx, [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esi + 0x1a8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 9]
and eax, 0x7f
mov dl, 1
mov dword [esi + 0x14], edx
cmp eax, 1
mov dword [esi + 0x10], ecx
jne 0x5007ab
mov eax, dword [ecx + 8]
mov ecx, 2
lock xadd dword [eax], ecx
test cl, 1
jne 0x501894
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x140], xmm0
movdqa xmmword [esi + 0x190], xmm0
movdqa xmmword [esi + 0x180], xmm0
movdqa xmmword [esi + 0x170], xmm0
movdqa xmmword [esi + 0x160], xmm0
movdqa xmmword [esi + 0x150], xmm0
mov byte [esi + 0x140], 0
mov byte [esi + 0x198], 0
mov dword [esi + 0x4c], 0x102
mov byte [esi + 0x50], 0
mov edi, dword [ebx + 4]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jb 0x5007a0
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov dword [esi + 0x54], edi
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5017fe
cmp byte [esi + 0x14], 0
je 0x5018c7
mov ebx, dword [ebx + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
cmp edi, 0x549910
je 0x500839
cmp edi, 0x564d30
je 0x5007d1
mov ecx, edi
call dword [0x63e63c]
lea eax, [esi + 0x54]
lea edx, [esi + 0x80]
mov ecx, ebx
push eax
push edx
call edi
jmp 0x5009ae
push edi
call fcn.004f0de0
add esp, 4
jmp 0x500749
cmp eax, 2
je 0x5006d7
test eax, eax
jne 0x501b30
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax]
test al, 1
sete al
mov dword [esi + 0x14], eax
jmp 0x5006d7
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x5007f3
xor ecx, ecx
inc ecx
lock xadd dword [eax], ecx
test ecx, ecx
jle 0x501b73
cmp ecx, 0x7fffffff
je 0x501b70
movups xmm0, xmmword [ebx + 0x40]
movaps xmmword [esi + 0x80], xmm0
movups xmm0, xmmword [ebx + 0x50]
movdqu xmm1, xmmword [ebx + 0x60]
movaps xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0xa0], xmm1
movups xmm0, xmmword [ebx + 0x70]
movaps xmmword [esi + 0xb0], xmm0
movdqu xmm0, xmmword [ebx + 0x79]
movdqu xmmword [esi + 0xb9], xmm0
mov dword [esi + 0xd0], eax
jmp 0x5009ae
lea edi, [ebx + 0x10]
mov ecx, edi
shr ecx, 0xe
xor eax, eax
inc eax
shl eax, cl
mov dword [esi + 0x38], eax
mov eax, edi
shr eax, 0x13
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x64c804]
bt eax, ecx
jae 0x50158e
push edi
call fcn.004f0de0
add esp, 4
xor eax, eax
dec eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd0], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov eax, dword [ebx + 0x30]
lea edx, [ebx + 0x38]
cmp eax, dword [ebx + 0x34]
mov dword [esi + 0x18], edi
je 0x501a91
lea ecx, [ebx + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
jne 0x501a3a
cmp dword [ebx + 0x2c], eax
jb 0x5019d4
mov ecx, dword [ebx + 0x28]
imul eax, eax, 0x58
movups xmm0, xmmword [ecx + eax]
movaps xmmword [esi + 0x80], xmm0
movups xmm0, xmmword [ecx + eax + 0x10]
movdqu xmm1, xmmword [ecx + eax + 0x20]
movaps xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0xa0], xmm1
movups xmm0, xmmword [ecx + eax + 0x30]
movaps xmmword [esi + 0xb0], xmm0
movdqu xmm0, xmmword [ecx + eax + 0x39]
movdqu xmmword [esi + 0xb9], xmm0
mov edx, dword [ecx + eax + 0x50]
mov dword [esi + 0xd0], edx
mov dword [ecx + eax + 0x50], 0
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
lea edx, [eax + 1]
cmp ecx, edx
jb 0x5019d7
cmp ecx, eax
jb 0x5019da
cmp eax, 0x7fffffff
je 0x5019dd
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx]
imul eax, eax, 0x58
mov edi, dword [ecx + eax + 0x50]
test edi, edi
jne 0x50173d
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
inc edx
xor ecx, ecx
cmp edx, eax
cmove edx, ecx
mov dword [ebx + 0x30], edx
cmp eax, 5
jae 0x50178e
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jne 0x50150f
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
mov edx, dword [esi + 0x18]
jne 0x501af3
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
test dword [ecx*4 + 0x64c804], eax
je 0x5009ae
push edx
call fcn.004f0f10
add esp, 4
movaps xmm0, xmmword [esi + 0x80]
movaps xmm1, xmmword [esi + 0x90]
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xf0], xmm1
movaps xmm0, xmmword [esi + 0xa0]
movaps xmmword [esi + 0x100], xmm0
movaps xmm0, xmmword [esi + 0xb0]
movaps xmmword [esi + 0x110], xmm0
movdqu xmm0, xmmword [esi + 0xb9]
movdqu xmmword [esi + 0x119], xmm0
mov eax, dword [esi + 0xd0]
mov dword [esi + 0x130], eax
mov dword [esi + 0xd0], 0
mov byte [esi + 0x138], 1
mov al, 1
movzx ecx, byte [esi + 0x198]
cmp cl, al
je 0x5019e0
test cl, cl
lea ebx, [ebp + 8]
jne 0x501a02
movaps xmm0, xmmword [esi + 0xe0]
movaps xmm1, xmmword [esi + 0xf0]
movaps xmmword [esi + 0x140], xmm0
movaps xmmword [esi + 0x150], xmm1
movaps xmm0, xmmword [esi + 0x100]
movaps xmmword [esi + 0x160], xmm0
movaps xmm0, xmmword [esi + 0x110]
movaps xmmword [esi + 0x170], xmm0
movdqu xmm0, xmmword [esi + 0x119]
movdqu xmmword [esi + 0x179], xmm0
mov eax, dword [esi + 0x130]
mov dword [esi + 0x190], eax
mov dword [esi + 0x130], 0
mov byte [esi + 0x198], 1
cmp byte [esi + 0x138], 0
je 0x500aab
mov edi, dword [esi + 0x130]
test edi, edi
jne 0x501554
cmp byte [esi + 0x14], 0
je 0x500abf
mov edi, dword [esi + 0xd0]
test edi, edi
jne 0x501571
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 8]
mov dword [esi + 0x4c], ecx
movzx ecx, byte [eax + 0xc]
mov byte [esi + 0x50], cl
test eax, eax
jne 0x500c21
cmp byte [esi + 0x198], 0
je 0x5010a2
mov edi, ebx
mov eax, dword [esi + 0x158]
or eax, dword [esi + 0x15c]
mov ecx, dword [esi + 0x10]
jne 0x5017cf
mov edx, esp
push eax
sub esp, 0x5c
mov ebx, esp
cmp byte [esi + 0x198], 0
je 0x5019ab
mov edi, dword [edi + 4]
movaps xmm0, xmmword [esi + 0x140]
movups xmmword [ebx], xmm0
movaps xmm0, xmmword [esi + 0x150]
movaps xmm1, xmmword [esi + 0x160]
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx + 0x20], xmm1
movaps xmm0, xmmword [esi + 0x170]
movups xmmword [ebx + 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x179]
movdqu xmmword [ebx + 0x39], xmm0
mov eax, dword [esi + 0x190]
mov dword [ebx + 0x50], eax
mov dword [esi + 0x190], 0
mov dword [ebx + 0x58], edi
lea eax, [esi + 0x4c]
mov dword [esi + 0xc], ebx
mov dword [ebx + 0x5c], eax
mov eax, dword [ecx]
mov ebx, dword [eax + 4]
cmp ebx, 0x55d170
mov dword [esi + 0x18], edx
jne 0x500c0b
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x70], xmm0
mov eax, dword [edi]
mov ebx, dword [eax]
cmp ebx, 0x55da70
jne 0x500c6a
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov ebx, dword [edi + 0x24]
add edi, 0x5c
mov dword [esi + 0x70], ecx
mov ecx, edi
shr ecx, 0xe
xor edx, edx
inc edx
shl edx, cl
mov ecx, edi
shr ecx, 0x13
and edx, dword [ecx*4 + 0x64c804]
cmp eax, 2
je 0x5016c4
test edx, edx
je 0x50170e
push edi
call fcn.004f0de0
add esp, 4
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], 0
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jae 0x50159f
push ebx
call fcn.004f0de0
add esp, 4
mov edx, dword [esi + 0xc]
mov dword [esi + 0x7c], ebx
jmp 0x500c89
mov edi, ecx
mov ecx, ebx
call dword [0x63e63c]
mov ecx, edi
call ebx
lea ebx, [ebp + 8]
jmp 0x50109f
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0x54]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jae 0x500ad7
push eax
call fcn.004f1260
add esp, 4
jmp 0x500ad7
lea ecx, [esi + 0x60]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
jmp 0x500d57
cmp ebx, 0x564ba0
je 0x50171f
mov ecx, ebx
call dword [0x63e63c]
lea eax, [esi + 0x70]
mov ecx, edi
push eax
call ebx
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x5c]
mov al, byte [eax + 1]
mov byte [esi + 0x38], al
test al, 0x7f
je 0x50175a
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x2c], eax
mov edx, dword [0x64783c]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
lea ebx, [edx + 0x154]
lea edi, [edx + 0x150]
mov eax, dword [ebx]
mov dword [esi + 0x44], eax
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x501827
mov dword [esi + 0x40], eax
mov edx, dword [0x64783c]
mov eax, edi
mov edi, dword fs:[0x2c]
mov edi, dword [edi + edx*4]
mov dl, byte [edi + 0x158]
mov byte [esi + 0x22], dl
mov dl, byte [edi + 0x159]
mov byte [esi + 0x23], dl
xor edx, edx
inc edx
lock xadd dword [0x657cc8], edx
cmp ecx, 2
mov dword [esi + 0x34], ebx
mov dword [ebx], edx
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x2c]
mov dword [eax], ecx
sete byte [edi + 0x158]
xor eax, eax
mov byte [edi + 0x159], al
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x5c]
mov cl, byte [ecx]
mov dl, byte [edi + 0x144]
mov byte [esi + 0x21], dl
mov dword [esi + 0x2c], edi
mov byte [edi + 0x144], cl
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
mov byte [esi + 0x60], al
mov byte [esi + 0x6c], al
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x500c56
mov eax, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + eax*4]
mov eax, dword [edx + 0x140]
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], edx
mov dword [edx + 0x140], ecx
xor eax, eax
dec eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
xor ecx, ecx
mov byte [esi + 0x54], cl
mov byte [esi + 0x5c], cl
movdqa xmmword [esi + 0xe0], xmm0
mov dword [esi + 0xf0], eax
mov byte [esi + 0xe0], cl
mov byte [esi + 0xf0], cl
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x500ebc
mov eax, dword [esi + 0x78]
test eax, eax
mov edx, dword [esi + 0xc]
je 0x500f2c
xor ecx, ecx
inc ecx
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x501adc
mov dword [esi + 0xe0], eax
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov edi, dword [edx + ecx*4]
mov ebx, dword [edi + 0x98]
mov ecx, ebx
shr ecx, 0xe
mov edx, ebx
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x501b9d
mov ecx, ebx
shr ecx, 0x15
mov byte [ecx + 0x654804], 1
mov dword [esi + 0xe4], ebx
xor ecx, ecx
inc ecx
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
mov edx, dword [esi + 0xc]
je 0x501adf
lea ecx, [esi + 0xe8]
mov dword [ecx], eax
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea eax, [eax + 0x9c]
mov dword [esi + 0x3c], eax
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
lea edi, [edi + 0x98]
jb 0x501b8c
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654804], 1
lea eax, [esi + 0xf0]
mov dword [eax - 4], ebx
lea ecx, [esi + 0xe8]
mov ebx, dword [esi + 0x3c]
mov dword [ebx], ecx
lea ecx, [esi + 0xe0]
mov dword [edi], ecx
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x500f29
jmp 0x501b3a
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x500fe4
jmp 0x501845
xor ecx, ecx
inc ecx
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x501a2e
mov dword [esi + 0x54], eax
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea ebx, [eax + 0x9c]
mov edi, dword [ebx]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
mov edx, dword [esi + 0xc]
jb 0x501ae2
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
lea eax, [esi + 0x5c]
mov dword [eax - 4], edi
lea ecx, [esi + 0x54]
mov dword [ebx], ecx
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x501aa6
mov byte [eax], 1
mov ebx, dword [edx + 0x58]
mov eax, dword [edx + 0x5c]
movzx ecx, byte [eax + 1]
and ecx, 0x7f
cmp ecx, 1
jne 0x50167d
lea edi, [esi + 0x70]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push edi
push ebx
push eax
call fcn.00501f70
mov edx, dword [esi + 0xc]
add esp, 0xc
mov edi, dword [edx + 0x50]
mov dword [edx + 0x50], 0
test edi, edi
jne 0x50180a
cmp byte [esi + 0xf0], 0
jne 0x5015b0
mov eax, dword [esi + 0x24]
lea ebx, [eax + 0x140]
cmp byte [esi + 0x5c], 0
mov edi, dword [esi + 0x34]
je 0x500fd5
mov eax, dword [esi + 0x58]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
mov dword [ecx + 0x9c], eax
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x501ac0
mov dword [esi + 0x58], 0
mov eax, dword [esi + 0x54]
test eax, eax
je 0x500fd5
lock dec dword [eax + 4]
je 0x501ab2
mov eax, dword [esi + 0x28]
mov dword [ebx], eax
cmp byte [esi + 0x6c], 0
jne 0x500eac
mov edx, dword [esi + 0x2c]
lea eax, [edx + 0x144]
mov cl, byte [esi + 0x21]
mov byte [eax], cl
mov eax, dword [esi + 0x44]
mov dword [edi], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x40]
mov dword [eax], ecx
lea eax, [edx + 0x158]
mov cl, byte [esi + 0x22]
mov byte [eax], cl
lea eax, [edx + 0x159]
mov cl, byte [esi + 0x23]
mov byte [eax], cl
test byte [esi + 0x38], 0x7f
je 0x501774
mov eax, dword [esi + 0x7c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
lea ebx, [ebp + 8]
jae 0x501044
push eax
call fcn.004f0f10
add esp, 4
mov dword [esi + 0x7c], 0
mov eax, dword [esi + 0x78]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x501546
mov dword [esi + 0x78], 0
mov eax, dword [esi + 0x74]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jae 0x501091
push eax
call fcn.004f0f10
add esp, 4
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0x50]
test edi, edi
jne 0x501660
mov esp, dword [esi + 0x18]
cmp byte [esi + 0x14], 0
je 0x5010cd
mov eax, dword [ebx + 4]
movzx eax, byte [eax + 9]
and al, 0x7f
cmp al, 1
jne 0x5010cd
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
je 0x5018f0
mov edi, dword [ebx + 4]
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
cmp ebx, 0x525bd0
je 0x50112d
cmp ebx, 0x564d90
je 0x5012bd
mov ecx, ebx
call dword [0x63e63c]
mov ecx, edi
push 0
call ebx
test al, al
je 0x50120e
lea ebx, [ebp + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x1c]
mov dword [ecx], eax
mov dword [ebx + 4], 0
mov eax, dword [ebx + 8]
mov dword [ecx + 4], eax
lea eax, [ebx + 8]
jmp 0x50121d
push edx
call fcn.004f0de0
mov edx, dword [esi + 0xc]
add esp, 4
jmp 0x501158
lea edx, [edi + 0x10]
mov ebx, edx
shr ebx, 0xe
mov eax, edx
shr eax, 0x13
mov dword [esi + 0x14], eax
mov eax, dword [eax*4 + 0x64c804]
bt eax, ebx
mov dword [esi + 0xc], edx
jb 0x50111f
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x654804], 1
test edx, edx
je 0x50116e
push edx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov edx, dword [esi + 0xc]
test al, al
je 0x5018b8
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax*4 + 0x64c804]
bt eax, ebx
jae 0x50141c
push edx
call fcn.004f0de0
add esp, 4
mov byte [edi + 0x58], 0
mov eax, dword [edi + 0x30]
mov bl, 1
cmp eax, dword [edi + 0x34]
jne 0x5012b5
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
mov ecx, dword [esi + 0xc]
jne 0x5011c8
mov byte [edi + 0x59], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x5011c6
lock dec dword [eax + 4]
je 0x50142d
xor ebx, ebx
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
test dword [eax*4 + 0x64c804], edi
je 0x5011e3
push ecx
call fcn.004f0f10
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x5011f1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
test dword [eax*4 + 0x64c804], edi
je 0x501206
push ecx
call fcn.004f0f10
add esp, 4
test bl, bl
jne 0x5010ff
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
add eax, 4
lea ebx, [ebp + 8]
mov dword [eax], 0
cmp byte [esi + 0x198], 0
je 0x501236
mov edi, dword [esi + 0x190]
test edi, edi
jne 0x50129f
mov eax, ebx
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x50136a
mov dword [eax + 4], 0
test ebx, ebx
jne 0x501393
lea edi, [ebp + 8]
mov eax, dword [edi + 8]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x5019c6
mov dword [edi + 8], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x5019b0
mov edi, dword [edi]
mov ecx, dword [esi + 0x1a8]
xor ecx, ebp
call fcn.00568175
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lock dec dword [edi]
jne 0x501236
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
jmp 0x501236
mov ecx, dword [esi + 0xc]
jmp 0x5011c8
lea ebx, [edi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501839
mov dword [esi + 0xc], ebx
mov ebx, 0xfffffffe
lock xadd dword [edi + 0x24], ebx
xor eax, eax
xchg dword [edi + 0x28], eax
test eax, eax
jne 0x5014c1
test bl, 1
jne 0x501ace
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x501a31
xor eax, eax
inc eax
lock xadd dword [ecx], eax
test eax, eax
jle 0x501a34
mov dword [esi + 0x14], ecx
cmp eax, 0x7fffffff
je 0x501a37
shr ebx, 1
movzx eax, bl
mov dword [esi + 0x10], eax
lea ebx, [eax - 1]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + 4]
call dword [0x63e63c]
push ebx
mov edi, dword [esi + 0x14]
push edi
call ecx
mov ecx, edi
add esp, 8
mov edi, eax
lock dec dword [ecx]
je 0x501b76
cmp edi, 0x20
mov ebx, 0x20
cmovb ebx, edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp ebx, dword [esi + 0x10]
jb 0x50120e
jmp 0x5010ff
mov edi, dword [eax + 8]
test edi, edi
je 0x501243
mov dword [eax + 4], 0
mov al, byte [ebx + 9]
and al, 0x7f
cmp al, 2
je 0x5014cf
lock dec dword [edi + 0xc]
je 0x50143e
lock dec dword [ebx + 4]
jne 0x501252
mov dword [ebx], 0x6229f0
mov edi, dword [ebx + 0x5c]
test edi, edi
jne 0x50191e
lea ecx, [ebx + 0x3c]
mov edi, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
mov eax, edi
cmp edx, edi
jne 0x501e1c
mov dword [ebx + 0x40], edi
test eax, eax
jne 0x501e62
mov eax, dword [ebx + 0x30]
mov edi, dword [ebx + 0x34]
cmp edi, eax
jne 0x501d1d
push 0
push dword [ebx + 0x28]
push 0x635c90
call fcn.005087f0
add esp, 0xc
mov eax, dword [ebx + 0x24]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jae 0x50140e
push eax
call fcn.004f1260
add esp, 4
push ebx
call fcn.00564ea0
add esp, 4
jmp 0x501252
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x501194
push eax
call fcn.00525d20
mov ecx, dword [esi + 0xc]
add esp, 4
jmp 0x5011c6
lea eax, [edi + 0x14]
mov dword [esi + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501971
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501dff
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x1c], eax
pxor xmm0, xmm0
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x10], ecx
movdqu xmmword [edi + 0x1c], xmm0
mov edi, eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0x10]
cmp edi, eax
jne 0x501bc4
push 0
push dword [esi + 0x14]
push 0x635c90
call fcn.005087f0
add esp, 0xc
jmp 0x50124a
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WakeConditionVariable]
jmp 0x5012e9
mov eax, dword [edi + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x501389
lea eax, [edi + 0x2c]
mov dword [esi + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501e95
mov ecx, dword [edi + 0x30]
call fcn.0053f280
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x501389
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
mov edx, dword [esi + 0x18]
jne 0x501c97
cmp dword [ebx + 0x2c], eax
jb 0x501b2d
mov ecx, dword [ebx + 0x28]
imul eax, eax, 0x58
movq xmm0, qword [ecx + eax + 0x10]
movq qword [ebx + 0x48], xmm0
pxor xmm0, xmm0
movq qword [ebx + 0x50], xmm0
jmp 0x500996
push eax
call fcn.004f0f10
add esp, 4
jmp 0x501068
lock dec dword [edi]
jne 0x500aab
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
jmp 0x500aab
lock dec dword [edi]
jne 0x500abf
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
jmp 0x500abf
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x50086a
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x500c03
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0xec]
mov edx, dword [0x64783c]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
mov dword [edx + 0x98], ecx
mov dword [edx + 0x9c], eax
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x501b46
mov dword [esi + 0xec], 0
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x501610
lock dec dword [eax + 4]
je 0x501b54
mov eax, dword [esi + 0xe4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x501b62
mov dword [esi + 0xe4], 0
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x500f78
lock dec dword [eax + 4]
jne 0x500f78
push eax
call fcn.00525d20
add esp, 4
jmp 0x500f78
lock dec dword [edi]
jne 0x50109f
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
jmp 0x50109f
cmp ecx, 2
jne 0x501698
lea edi, [esi + 0x70]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push edi
push ebx
push eax
call fcn.00502150
jmp 0x500f53
test ecx, ecx
jne 0x500f59
lea edi, [esi + 0x70]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push edi
push ebx
push eax
call fcn.00403510
jmp 0x500f53
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x5016d1
test edx, edx
je 0x5016b6
push edi
call fcn.004f0de0
add esp, 4
mov dword [esi + 0x74], edi
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jae 0x501700
push ebx
call fcn.004f0de0
add esp, 4
mov edx, dword [esi + 0xc]
mov dword [esi + 0x78], ebx
xor ebx, ebx
jmp 0x500c06
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x5016f3
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x500bd6
xor eax, eax
inc eax
lock xadd dword [0x657cc4], eax
mov dword [esi + 0x70], eax
xor eax, eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
jmp 0x500c86
lock dec dword [edi]
jne 0x500961
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
jmp 0x500961
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
inc dword [eax + 0x14c]
jmp 0x500c9a
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
dec dword [eax + 0x14c]
jmp 0x50101f
mov edi, dword [ebx + 0x34]
cmp edx, edi
cmova ecx, eax
sub ecx, edx
add ecx, edi
dec eax
mov edx, eax
sub edx, ecx
cmp edx, ecx
jb 0x50097b
mov edi, ecx
shr edi, 2
add edi, ecx
cmp edi, 4
mov edx, 3
cmovae edx, edi
cmp edx, eax
jae 0x50097b
mov ecx, dword [esi + 0xc]
push edx
call fcn.004204b0
jmp 0x50097b
mov eax, dword [ecx + 8]
mov eax, dword [eax]
test al, 1
je 0x500afb
lea ecx, [esi + 0x190]
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi + 0x48], eax
push eax
call fcn.005d1d50
mov ecx, dword [esi + 0x10]
add esp, 4
jmp 0x500afb
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x50075e
lock dec dword [edi]
jne 0x500f6b
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
jmp 0x500f6b
xor eax, eax
inc eax
lock xadd dword [0x657cc4], eax
mov dword [edi], eax
jmp 0x500cd2
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5012cf
mov edx, dword [esi + 0x64]
mov eax, ebx
cmp edx, ebx
je 0x501883
mov eax, edx
add eax, 0xfffffff4
je 0x501e0d
mov dword [esi + 0x28], eax
mov ecx, dword [edx - 4]
test ecx, ecx
je 0x501877
add edx, 0xfffffff8
mov dword [esi + 0x24], edx
call dword [0x63e63c]
push dword [esi + 0x24]
call ecx
add esp, 4
mov eax, dword [esi + 0x28]
mov edx, eax
cmp eax, ebx
jne 0x501850
mov eax, dword [esi + 0x60]
mov dword [esi + 0x64], ebx
push eax
call fcn.00564ea0
add esp, 4
jmp 0x500fe4
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
je 0x50197f
mov dword [esi + 0x14], 0
jmp 0x5006d7
push edx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edx, dword [esi + 0xc]
jmp 0x50116e
mov ebx, dword [ebx + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x2c]
mov ecx, edi
call dword [0x63e63c]
lea eax, [esi + 0x54]
lea edx, [esi + 0xe0]
mov ecx, ebx
push eax
push edx
mov ebx, edx
call edi
mov al, byte [ebx + 0x58]
jmp 0x500a15
mov edi, dword [esi + 0x10]
lea eax, [edi + 0x2c]
mov dword [esi + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501e87
mov ecx, dword [edi + 0x30]
call fcn.0053f280
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x5010cd
mov edx, dword [ebx + 0x60]
mov eax, edi
cmp edx, edi
je 0x501960
mov ecx, edx
mov eax, edx
add eax, 0xfffffff4
mov dword [esi + 0xc], eax
je 0x501e0d
mov eax, ecx
mov ecx, dword [ecx - 4]
test ecx, ecx
je 0x501954
add eax, 0xfffffff8
mov dword [esi + 0x14], eax
call dword [0x63e63c]
push dword [esi + 0x14]
call ecx
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, eax
cmp eax, edi
jne 0x50192b
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edi
push eax
call fcn.00564ea0
add esp, 4
jmp 0x5013ae
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x501453
mov eax, dword [esi + 0x10]
lea edi, [eax + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501ed0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x30]
call fcn.0053f280
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x5018ac
call fcn.00591ed0
lock dec dword [ecx + 4]
jne 0x501284
push 1
call fcn.0053f300
jmp 0x501284
push eax
call fcn.004f1260
add esp, 4
jmp 0x501272
int3
int3
int3
int3
test cl, cl
lea ebx, [ebp + 8]
je 0x500aab
lea eax, [esi + 0xe0]
lea ecx, [esi + 0x140]
push eax
call fcn.00564720
jmp 0x500a94
mov edi, dword [esi + 0x190]
test edi, edi
jne 0x501a18
mov byte [esi + 0x198], 0
jmp 0x500a94
lock dec dword [edi]
jne 0x501a0c
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
jmp 0x501a0c
int3
int3
int3
int3
mov dword [esi + 0x30], edx
lea eax, [esi + 0xe0]
push eax
call fcn.004f5620
mov eax, dword [ebx + 0x30]
cmp dword [ebx + 0x2c], eax
jb 0x501ea3
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx]
imul eax, eax, 0x58
mov edx, dword [esi + 0xe0]
cmp edx, dword [ecx + eax + 0x10]
mov edx, dword [esi + 0xe4]
sbb edx, dword [ecx + eax + 0x14]
jl 0x501a86
lea eax, [esi + 0x80]
mov ecx, ebx
push eax
call fcn.005d23d0
jmp 0x50097b
lea eax, [esi + 0x80]
mov ecx, dword [esi + 0x30]
jmp 0x501a99
lea eax, [esi + 0x80]
mov ecx, edx
push 0
push eax
call fcn.005d2c70
jmp 0x50097b
cmp dword [ecx], 0
je 0x500f29
int3
push eax
call fcn.00525d20
add esp, 4
jmp 0x500fd5
push eax
call fcn.004f0f10
add esp, 4
jmp 0x500fbd
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x50120e
int3
int3
push edi
call fcn.004f0de0
mov edx, dword [esi + 0xc]
add esp, 4
jmp 0x500f13
lea edi, [esi + 0xe0]
push edi
call fcn.004f5620
movsd xmm0, qword [edi]
movlps qword [ebx + 0x48], xmm0
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
je 0x501e78
lea edi, [esi + 0x70]
push edi
call fcn.00564800
movq xmm0, qword [edi]
movq qword [ebx + 0x50], xmm0
mov edx, dword [esi + 0x18]
jmp 0x500996
int3
call fcn.00593000
jmp 0x5018ac
cmp dword [ecx], 0
je 0x500f29
int3
push eax
call fcn.004f0f10
add esp, 4
jmp 0x5015f2
push eax
call fcn.00525d20
add esp, 4
jmp 0x501610
push eax
call fcn.004f0f10
add esp, 4
jmp 0x501630
int3
int3
mov ebx, ecx
mov ecx, dword [ecx + 8]
call dword [0x63e63c]
push ebx
call ecx
add esp, 4
jmp 0x501348
push ebx
call fcn.004f0de0
mov edx, dword [esi + 0xc]
add esp, 4
jmp 0x500e80
push ebx
call fcn.004f0de0
add esp, 4
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xe4], ebx
test eax, eax
jne 0x500e1b
xor eax, eax
mov edx, dword [esi + 0xc]
jmp 0x500e32
mov eax, edi
mov dword [esi + 0xc], edi
cmp dword [esi + 0x1c], edi
jb 0x501ea9
mov eax, dword [esi + 0x14]
mov eax, dword [eax + edi*4]
mov dword [esi + 0x18], eax
test eax, eax
je 0x501eac
mov eax, dword [esi + 0x14]
mov dword [eax + edi*4], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
call dword [0x63e63c]
push dword [esi + 0x18]
call ecx
add esp, 4
mov eax, dword [esi + 0x18]
lock dec dword [eax]
jne 0x501c1d
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 8]
call dword [0x63e63c]
push dword [esi + 0x18]
call ecx
add esp, 4
inc edi
cmp edi, dword [esi + 0x1c]
mov eax, 0
cmove edi, eax
cmp edi, dword [esi + 0x10]
jne 0x501bc9
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
jbe 0x501edc
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
jb 0x501eaf
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jg 0x501eb2
mov eax, dword [esi + 0x10]
shl eax, 2
mov ecx, dword [esi + 0xc]
shl ecx, 2
mov dword [esi + 0x10], eax
jmp 0x501c83
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
mov ecx, dword [esi + 0xc]
add ecx, 4
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x5014aa
mov dword [esi + 0xc], ecx
mov eax, dword [esi + 0x14]
mov edi, dword [eax + ecx]
test edi, edi
je 0x501c72
lock dec dword [edi]
je 0x501c63
jmp 0x501c72
lea eax, [esi + 0x60]
push eax
call fcn.004f5620
mov eax, dword [ebx + 0x30]
cmp dword [ebx + 0x2c], eax
jb 0x501ea6
mov ecx, dword [ebx + 0x28]
imul edx, eax, 0x58
mov eax, dword [ecx + edx + 0x10]
mov ecx, dword [ecx + edx + 0x14]
mov edi, dword [esi + 0x60]
mov dword [esi + 0xc], edi
mov edx, dword [esi + 0x64]
cmp edi, eax
mov edi, edx
sbb edi, ecx
cmovl eax, dword [esi + 0xc]
cmovl ecx, edx
movd xmm0, ecx
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [ebx + 0x48], xmm1
mov edx, dword [esi + 0x18]
jmp 0x501538
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 8]
call dword [0x63e63c]
push dword [esi + 0x10]
call ecx
add esp, 4
add edi, 0x58
cmp dword [esi + 0x14], edi
je 0x5013da
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi + 0x50]
test ecx, ecx
je 0x501cfd
mov eax, ecx
lock dec dword [ecx]
je 0x501ce9
jmp 0x501cfd
mov ecx, dword [ebx + 0x2c]
jbe 0x501d43
cmp ecx, edi
jb 0x501eb5
cmp eax, edi
jg 0x501eb8
mov ecx, dword [ebx + 0x28]
mov dword [esi + 0xc], ecx
imul ecx, edi, 0x58
mov dword [esi + 0x14], ecx
imul edi, eax, 0x58
jmp 0x501d09
cmp ecx, eax
jb 0x501ebb
jl 0x501ebe
je 0x501da5
mov edx, dword [ebx + 0x28]
mov dword [esi + 0x14], edx
imul ecx, ecx, 0x58
mov dword [esi + 0x10], ecx
imul eax, eax, 0x58
mov dword [esi + 0xc], eax
jmp 0x501d8b
mov dword [esi + 0x1c], eax
mov ecx, dword [eax + 8]
call dword [0x63e63c]
push dword [esi + 0x1c]
call ecx
add esp, 4
mov ecx, dword [esi + 0xc]
add ecx, 0x58
mov eax, ecx
mov dword [esi + 0xc], ecx
cmp dword [esi + 0x10], ecx
je 0x501da2
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov ecx, dword [eax + ecx + 0x50]
test ecx, ecx
je 0x501d7b
mov eax, ecx
lock dec dword [ecx]
je 0x501d67
jmp 0x501d7b
mov eax, dword [ebx + 0x2c]
cmp eax, edi
jb 0x501ec1
test edi, edi
js 0x501ec4
je 0x5013da
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
imul eax, edi, 0x58
mov dword [esi + 0x14], eax
xor edi, edi
jmp 0x501deb
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 8]
call dword [0x63e63c]
push dword [esi + 0x10]
call ecx
add esp, 4
add edi, 0x58
cmp dword [esi + 0x14], edi
je 0x5013da
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi + 0x50]
test ecx, ecx
je 0x501ddf
mov eax, ecx
lock dec dword [ecx]
je 0x501dcb
jmp 0x501ddf
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x501476
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x624173
call fcn.00591ed0
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0xc]
mov eax, ecx
add ecx, 0xffffffa8
mov dword [esi + 0xc], ecx
je 0x501e0d
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x501e45
cmp dword [esi + 0xc], edi
jne 0x501e22
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
jmp 0x5013c1
mov eax, ecx
lock dec dword [ecx]
jne 0x501e36
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 8]
call dword [0x63e63c]
push dword [esi + 0x10]
call ecx
add esp, 4
jmp 0x501e36
mov edi, ecx
call fcn.005d2de0
push dword [edi]
call fcn.00564ea0
add esp, 4
jmp 0x5013cc
push str....._third_partylibc_srcinclude_vector:618:_assertion__empty___failed:_front___called_on_an_empty_vector_n
push 0x624173
call fcn.00591ed0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x501908
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5014f9
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x501994
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0xc]
jb 0x501ec7
jl 0x501eca
je 0x501f21
shl dword [esi + 0x1c], 2
shl dword [esi + 0xc], 2
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov edi, dword [eax + ecx]
test edi, edi
je 0x501f11
lock dec dword [edi]
jne 0x501f11
mov ecx, dword [edi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
mov ecx, dword [esi + 0xc]
add ecx, 4
mov eax, ecx
mov dword [esi + 0xc], ecx
cmp dword [esi + 0x1c], ecx
jne 0x501ef0
cmp dword [esi + 0x10], 0
js 0x501ecd
mov eax, dword [esi + 0x10]
je 0x5014aa
shl eax, 2
xor edi, edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edi]
test ecx, ecx
je 0x501f5d
mov eax, ecx
lock dec dword [ecx]
jne 0x501f5d
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 8]
call dword [0x63e63c]
push dword [esi + 0xc]
call ecx
add esp, 4
add edi, 4
mov eax, dword [esi + 0x10]
cmp eax, edi
jne 0x501f35
jmp 0x5014aa