Function at 0x503d50
Capabilities:
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 edx, [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esi + 0x1a8], eax
mov eax, dword [edx]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 4]
movzx eax, byte [eax + 9]
and eax, 0x7f
mov bl, 1
mov dword [esi + 0x10], ebx
cmp eax, 1
mov dword [esi + 0x14], ecx
jne 0x503e8a
mov eax, dword [ecx + 8]
mov ebx, 2
lock xadd dword [eax], ebx
test bl, 1
jne 0x504b1f
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
xor eax, eax
mov byte [esi + 0x140], al
mov byte [esi + 0x198], al
mov dword [esi + 0x4c], 0x102
mov byte [esi + 0x50], al
mov edi, dword [edx + 4]
mov dword [esi + 0x54], edi
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x504a94
cmp byte [esi + 0x10], 0
je 0x504b4c
lea edx, [ebp + 8]
mov ebx, dword [edx + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
cmp edi, 0x55e5d0
je 0x503f23
cmp edi, 0x562a30
jne 0x503ecd
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x503ead
movups xmm0, xmmword [ebx + 0x50]
movaps xmmword [esi + 0x80], xmm0
movups xmm0, xmmword [ebx + 0x60]
movdqu xmm1, xmmword [ebx + 0x70]
movaps xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0xa0], xmm1
movups xmm0, xmmword [ebx + 0x80]
movaps xmmword [esi + 0xb0], xmm0
movdqu xmm0, xmmword [ebx + 0x89]
movdqu xmmword [esi + 0xb9], xmm0
mov dword [esi + 0xd0], eax
jmp 0x50404c
cmp eax, 2
je 0x503da6
test eax, eax
jne 0x504d96
mov eax, dword [ecx + 8]
mov eax, dword [eax]
test al, 1
sete al
mov dword [esi + 0x10], eax
jmp 0x503da6
xor ecx, ecx
inc ecx
lock xadd dword [eax], ecx
test ecx, ecx
jle 0x504d64
cmp ecx, 0x7fffffff
jne 0x503e3e
jmp 0x504d61
mov ecx, edi
call dword [0x63e1cc]
lea eax, [esi + 0x54]
lea edx, [esi + 0x80]
mov ecx, ebx
push eax
push edx
call edi
lea edx, [ebp + 8]
jmp 0x50404c
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
lea edx, [ebp + 8]
jne 0x504df2
cmp dword [ebx + 0x2c], eax
jb 0x504d0a
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 0x50404c
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 edi, [ebx + 0x38]
cmp eax, dword [ebx + 0x34]
je 0x504cf5
lea ecx, [ebx + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
jne 0x504cac
cmp dword [ebx + 0x2c], eax
jb 0x504c31
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 0x504c34
cmp ecx, eax
jb 0x504c37
cmp eax, 0x7fffffff
je 0x504c3a
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx]
imul eax, eax, 0x58
mov edi, dword [ecx + eax + 0x50]
test edi, edi
jne 0x5049e8
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 0x504a24
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jne 0x503eec
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
lea edx, [ebp + 8]
jne 0x504d13
movaps xmm0, xmmword [esi + 0x80]
movdqa xmm1, xmmword [esi + 0x90]
movaps xmmword [esi + 0xe0], xmm0
movdqa 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
mov cl, byte [esi + 0x198]
cmp cl, al
je 0x504c40
test cl, cl
mov ebx, dword [esi + 0x14]
jne 0x504c6e
movaps xmm0, xmmword [esi + 0xe0]
movdqa xmm1, xmmword [esi + 0xf0]
movaps xmmword [esi + 0x140], xmm0
movdqa 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], 1
jne 0x50414c
mov edi, dword [esi + 0x130]
test edi, edi
jne 0x50425e
cmp byte [esi + 0x10], 0
je 0x504160
mov edi, dword [esi + 0xd0]
test edi, edi
jne 0x50427e
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 8]
mov dword [esi + 0x4c], ecx
mov cl, byte [eax + 0xc]
mov byte [esi + 0x50], cl
test eax, eax
je 0x504180
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
cmp byte [esi + 0x198], 1
jne 0x5046aa
mov eax, dword [esi + 0x158]
or eax, dword [esi + 0x15c]
jne 0x504a65
mov dword [esi + 0x44], esp
push eax
sub esp, 0x5c
mov ecx, esp
cmp byte [esi + 0x198], 0
je 0x504c13
mov edi, dword [edx + 4]
movaps xmm0, xmmword [esi + 0x140]
movups xmmword [ecx], xmm0
movaps xmm0, xmmword [esi + 0x150]
movdqa xmm1, xmmword [esi + 0x160]
movups xmmword [ecx + 0x10], xmm0
movdqu xmmword [ecx + 0x20], xmm1
movaps xmm0, xmmword [esi + 0x170]
movups xmmword [ecx + 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x179]
movdqu xmmword [ecx + 0x39], xmm0
mov eax, dword [esi + 0x190]
mov dword [ecx + 0x50], eax
mov dword [esi + 0x190], 0
mov dword [ecx + 0x58], edi
lea eax, [esi + 0x4c]
mov dword [esi + 0xc], ecx
mov dword [ecx + 0x5c], eax
mov ecx, dword [ebx]
mov ebx, dword [ecx + 4]
cmp ebx, 0x55e070
jne 0x5044db
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x70], xmm0
mov ecx, dword [edi]
mov ebx, dword [ecx]
cmp ebx, 0x5625e0
je 0x5042d1
cmp ebx, 0x5628a0
jne 0x50429e
xor ecx, ecx
inc ecx
lock xadd dword [0x657ce8], ecx
mov dword [esi + 0x70], ecx
xor ecx, ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], ecx
jmp 0x5042f4
lock dec dword [edi]
jne 0x50414c
mov ecx, dword [edi + 8]
call dword [0x63e1cc]
push edi
call ecx
lea edx, [ebp + 8]
add esp, 4
jmp 0x50414c
lock dec dword [edi]
jne 0x504160
mov ecx, dword [edi + 8]
call dword [0x63e1cc]
push edi
call ecx
lea edx, [ebp + 8]
add esp, 4
jmp 0x504160
mov ecx, ebx
call dword [0x63e1cc]
lea eax, [esi + 0x70]
mov ecx, edi
push eax
call ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x5c]
jmp 0x5042fa
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
inc dword [ecx + 0x14c]
mov ecx, dword [esi + 0xc]
jmp 0x504308
xor edx, edx
cmp dword [edi + 0x1c], 2
mov ecx, dword [edi + 0x24]
mov ebx, 0
cmove ebx, ecx
cmove ecx, edx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x70], edx
add edi, 0x5c
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x18], eax
mov dl, byte [eax + 1]
mov byte [esi + 0x23], dl
test dl, 0x7f
je 0x5042b6
mov eax, dword [ecx + 0x58]
mov dword [esi + 0x1c], eax
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x28], eax
mov ecx, dword [0x64784c]
mov ebx, dword fs:[0x2c]
mov ecx, dword [ebx + ecx*4]
lea eax, [ecx + 0x154]
lea edx, [ecx + 0x150]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x24], ecx
mov ecx, dword [eax]
mov dword [esi + 0x40], ecx
mov ecx, dword [edx]
cmp ecx, 0xffffffff
je 0x504aa0
mov dword [esi + 0x3c], ecx
mov ecx, dword [0x64784c]
mov edi, dword fs:[0x2c]
mov ecx, dword [edi + ecx*4]
mov bl, byte [ecx + 0x158]
mov byte [esi + 0x21], bl
mov bl, byte [ecx + 0x159]
mov byte [esi + 0x22], bl
xor edi, edi
inc edi
lock xadd dword [0x657cec], edi
cmp dword [esi + 0x28], 2
mov dword [eax], edi
sete byte [ecx + 0x158]
mov edi, dword [esi + 0x24]
mov dword [edx], edi
xor ebx, ebx
mov byte [ecx + 0x159], bl
mov edi, dword [esi + 0x18]
mov bl, byte [edi]
mov bh, byte [ecx + 0x144]
mov byte [esi + 0x20], bh
mov dword [esi + 0x38], ecx
mov byte [ecx + 0x144], bl
xor ecx, ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
mov byte [esi + 0x60], cl
mov byte [esi + 0x6c], cl
mov ebx, dword [esi + 0x74]
test ebx, ebx
jne 0x5043ce
lea ebx, [esi + 0x60]
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov byte [ebx + 0xc], 1
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov edx, dword [0x64784c]
mov edi, dword fs:[0x2c]
mov ecx, dword [edi + edx*4]
mov eax, dword [ecx + 0x140]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ecx
mov dword [ecx + 0x140], ebx
xor edx, edx
dec edx
mov dword [esi + 0x54], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], edx
xor ebx, ebx
mov byte [esi + 0x54], bl
mov byte [esi + 0x5c], bl
movdqa xmmword [esi + 0xe0], xmm0
mov dword [esi + 0xf0], edx
mov byte [esi + 0xe0], bl
mov byte [esi + 0xf0], bl
mov edx, dword [esi + 0x7c]
test edx, edx
jne 0x50456c
mov edx, dword [esi + 0x78]
test edx, edx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
je 0x5045c1
xor ecx, ecx
inc ecx
mov eax, ecx
lock xadd dword [edx + 4], eax
cmp eax, 0x7fffffff
je 0x504d0d
mov dword [esi + 0xe0], edx
mov eax, dword [0x64784c]
mov edi, dword fs:[0x2c]
mov edi, dword [edi + eax*4]
mov eax, dword [edi + 0x98]
mov dword [esi + 0xe4], eax
lock xadd dword [edx + 4], ecx
cmp ecx, 0x7fffffff
je 0x504d10
lea eax, [esi + 0xf0]
mov ecx, dword [eax - 0xc]
mov dword [esi + 0x18], ecx
lea ebx, [esi + 0xe8]
mov dword [ebx], edx
mov edx, dword [0x64784c]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 0x9c]
mov dword [ebx + 4], edx
mov dword [ecx + 0x9c], ebx
lea ecx, [edi + 0x98]
lea edx, [esi + 0xe0]
mov dword [ecx], edx
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x504d87
mov ecx, dword [esi + 0x14]
jmp 0x5045b2
mov ecx, ebx
call dword [0x63e1cc]
mov edi, dword [esi + 0x14]
mov ecx, edi
call ebx
mov ebx, edi
lea edx, [ebp + 8]
jmp 0x5046a7
mov eax, dword [0x64784c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0xe4]
mov edi, dword [esi + 0xe8]
mov dword [eax + 0x98], ecx
mov ecx, dword [esi + 0xec]
mov dword [eax + 0x9c], ecx
test edi, edi
je 0x50452f
lock dec dword [edi + 4]
je 0x504da3
mov edi, dword [esi + 0xe0]
test edi, edi
mov ecx, dword [esi + 0xc]
je 0x504606
lock dec dword [edi + 4]
jne 0x504606
jmp 0x504dbe
cmp edx, 2
jne 0x504a05
lea edi, [esi + 0x70]
mov ebx, dword [esi + 0xc]
mov edx, ebx
push edi
push dword [esi + 0x1c]
push eax
call fcn.005051f0
jmp 0x5045df
xor eax, eax
inc eax
lock xadd dword [edx + 4], eax
cmp eax, 0x7fffffff
mov ecx, dword [esi + 0x14]
je 0x504c3d
lea eax, [esi + 0x5c]
mov dword [eax - 8], edx
mov edi, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + edi*4]
mov ebx, dword [edx + 0x9c]
mov dword [eax - 4], ebx
lea edi, [esi + 0x54]
mov dword [edx + 0x9c], edi
test ebx, ebx
jne 0x504ca0
mov byte [eax], 1
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x58]
mov dword [esi + 0x1c], edx
mov eax, dword [eax + 0x5c]
movzx edx, byte [eax + 1]
and edx, 0x7f
cmp edx, 1
jne 0x50454f
lea edi, [esi + 0x70]
mov ebx, dword [esi + 0xc]
mov edx, ebx
push edi
push dword [esi + 0x1c]
push eax
call fcn.00505010
add esp, 0xc
mov edi, dword [ebx + 0x50]
mov dword [ebx + 0x50], 0
test edi, edi
mov ecx, ebx
jne 0x504ab0
cmp byte [esi + 0xf0], 1
lea edx, [ebp + 8]
je 0x5044f4
mov eax, dword [esi + 0x30]
lea ebx, [eax + 0x140]
cmp byte [esi + 0x5c], 1
jne 0x504645
mov edi, dword [esi + 0x54]
mov eax, dword [esi + 0x58]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
lea edx, [ebp + 8]
mov dword [ecx + 0x9c], eax
mov ecx, dword [esi + 0xc]
test edi, edi
je 0x504645
lock dec dword [edi + 4]
je 0x504d67
mov eax, dword [esi + 0x34]
mov dword [ebx], eax
cmp byte [esi + 0x6c], 1
jne 0x50465b
mov edi, dword [esi + 0x60]
test edi, edi
jne 0x504ad0
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x40]
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x3c]
mov dword [eax], edi
mov edi, dword [esi + 0x38]
lea eax, [edi + 0x144]
mov bl, byte [esi + 0x20]
mov byte [eax], bl
lea eax, [edi + 0x158]
mov bl, byte [esi + 0x21]
mov byte [eax], bl
lea eax, [edi + 0x159]
mov bl, byte [esi + 0x22]
mov byte [eax], bl
test byte [esi + 0x23], 0x7f
mov ebx, dword [esi + 0x14]
je 0x5049bf
mov edi, dword [ecx + 0x50]
test edi, edi
jne 0x5047b7
mov esp, dword [esi + 0x44]
cmp byte [esi + 0x10], 0
je 0x5046d1
mov eax, dword [edx + 4]
mov al, byte [eax + 9]
and al, 0x7f
cmp al, 1
jne 0x5046d1
mov eax, dword [ebx + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
je 0x504b89
mov edi, dword [edx + 4]
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
cmp ebx, 0x5624a0
je 0x5047eb
cmp ebx, 0x562a90
jne 0x5047d7
lea ebx, [edi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5049dc
mov dword [esi + 0x10], ebx
mov ebx, 0xfffffffe
lock xadd dword [edi + 0x24], ebx
xor eax, eax
xchg dword [edi + 0x28], eax
test eax, eax
jne 0x5049a6
test bl, 1
jne 0x504b7b
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x504c65
xor eax, eax
inc eax
lock xadd dword [ecx], eax
test eax, eax
jle 0x504c68
mov dword [esi + 0x14], ecx
cmp eax, 0x7fffffff
je 0x504c6b
shr ebx, 1
movzx eax, bl
mov dword [esi + 0xc], eax
lea ebx, [eax - 1]
mov eax, dword [edi + 0x40]
mov ecx, dword [eax + 4]
call dword [0x63e1cc]
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 0x504d4b
cmp edi, 0x20
mov ebx, 0x20
cmovb ebx, edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp ebx, dword [esi + 0xc]
jb 0x504845
lea edx, [ebp + 8]
mov eax, dword [edx + 4]
mov edi, dword [esi + 0x2c]
mov dword [edi], eax
xor eax, eax
mov dword [edx + 4], eax
mov ecx, dword [edx + 8]
mov dword [edx + 8], eax
mov dword [edi + 4], ecx
jmp 0x504852
lock dec dword [edi]
jne 0x5046a7
mov ecx, dword [edi + 8]
call dword [0x63e1cc]
push edi
call ecx
lea edx, [ebp + 8]
add esp, 4
jmp 0x5046a7
mov ecx, ebx
call dword [0x63e1cc]
mov ecx, edi
push 0
call ebx
test al, al
je 0x504845
jmp 0x504799
mov ebx, edi
add ebx, 0x10
je 0x504801
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x504b40
mov byte [edi + 0x58], 0
mov eax, dword [edi + 0x30]
mov cl, 1
cmp eax, dword [edi + 0x34]
jne 0x50482e
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x50482e
mov byte [edi + 0x59], 0
mov edi, dword [edi + 0x24]
test edi, edi
je 0x50482c
lock dec dword [edi + 4]
je 0x5048eb
xor ecx, ecx
mov edi, ecx
test ebx, ebx
je 0x50483b
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, edi
test al, al
jne 0x504799
xor eax, eax
mov ecx, dword [esi + 0x2c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea edx, [ebp + 8]
cmp byte [esi + 0x198], 1
jne 0x504865
mov edi, dword [esi + 0x190]
test edi, edi
jne 0x50489d
mov edi, dword [edx + 4]
test edi, edi
jne 0x5048b6
mov dword [edx + 4], 0
test edi, edi
jne 0x5048d7
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x504c18
mov edi, dword [edx]
mov ecx, dword [esi + 0x1a8]
xor ecx, ebp
call fcn.00565ea5
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lock dec dword [edi]
jne 0x504865
mov ecx, dword [edi + 8]
call dword [0x63e1cc]
push edi
call ecx
lea edx, [ebp + 8]
add esp, 4
jmp 0x504865
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x50486c
mov dword [edx + 4], 0
mov al, byte [edi + 9]
and al, 0x7f
cmp al, 2
je 0x50498c
lock dec dword [ebx + 0xc]
je 0x504905
lock dec dword [edi + 4]
jne 0x504877
mov ecx, edi
push 1
call fcn.00507ab0
lea edx, [ebp + 8]
jmp 0x504877
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esi + 0x10], ecx
call dword [0x63e1cc]
mov ecx, edi
push 1
call dword [esi + 0x10]
jmp 0x50482c
lea eax, [ebx + 0x14]
mov dword [esi + 0x10], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x504f15
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x504f23
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x18], eax
pxor xmm0, xmm0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0xc], ecx
movdqu xmmword [ebx + 0x24], xmm0
mov ebx, eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0xc]
cmp ebx, eax
jne 0x504e44
push 0
push dword [esi + 0x14]
push 0x635600
call fcn.0050f6b0
add esp, 0xc
lea edx, [ebp + 8]
jmp 0x504873
mov eax, dword [ebx + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x5048d1
jmp 0x504bb2
cmp byte [edi + 0x38], 0
je 0x504de3
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WakeConditionVariable]
jmp 0x50471d
mov eax, dword [0x64784c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0xc]
dec dword [eax + 0x14c]
jmp 0x50469c
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x504703
lock dec dword [edi]
jne 0x504017
mov ecx, dword [edi + 8]
call dword [0x63e1cc]
push edi
call ecx
add esp, 4
jmp 0x504017
test edx, edx
mov ebx, dword [esi + 0xc]
jne 0x5045e2
lea edi, [esi + 0x70]
mov edx, ebx
push edi
push dword [esi + 0x1c]
push eax
call fcn.00403c70
jmp 0x5045df
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 0x504031
mov edi, ecx
shr edi, 2
add edi, ecx
cmp edi, 4
mov edx, 3
cmovae edx, edi
cmp edx, eax
jae 0x504031
mov ecx, dword [esi + 0xc]
push edx
call fcn.00530130
jmp 0x504031
mov eax, dword [ebx + 8]
mov eax, dword [eax]
test al, 1
je 0x50419f
lea ecx, [esi + 0x190]
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi + 0x48], eax
push eax
call fcn.005cfe30
lea edx, [ebp + 8]
add esp, 4
jmp 0x50419f
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x503e0a
xor ecx, ecx
inc ecx
lock xadd dword [0x657ce8], ecx
jmp 0x504346
lock dec dword [edi]
jne 0x5045f6
mov ecx, dword [edi + 8]
call dword [0x63e1cc]
push edi
call ecx
mov ecx, dword [esi + 0xc]
add esp, 4
jmp 0x5045f6
mov edx, dword [esi + 0x64]
mov eax, edi
cmp edx, edi
je 0x504b08
mov ebx, edx
add ebx, 0xfffffff4
je 0x504ddc
mov ecx, dword [edx - 4]
test ecx, ecx
je 0x504aff
add edx, 0xfffffff8
mov dword [esi + 0x18], edx
call dword [0x63e1cc]
push dword [esi + 0x18]
call ecx
add esp, 4
mov edx, ebx
cmp ebx, edi
jne 0x504adb
mov eax, dword [esi + 0x60]
mov dword [esi + 0x64], edi
push eax
call fcn.00562bc0
add esp, 4
lea edx, [ebp + 8]
mov ecx, dword [esi + 0xc]
jmp 0x50465b
mov eax, dword [ecx + 8]
mov edi, 0xfffffffe
lock xadd dword [eax], edi
cmp edi, 3
je 0x504be0
mov dword [esi + 0x10], 0
jmp 0x503da6
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x504801
lea eax, [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x2c]
mov ecx, edi
call dword [0x63e1cc]
lea eax, [esi + 0x54]
lea edx, [esi + 0xe0]
mov ecx, ebx
push eax
push edx
mov ebx, edx
call edi
lea edx, [ebp + 8]
mov al, byte [ebx + 0x58]
jmp 0x5040b5
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x504845
lea edi, [ebx + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x504f3b
mov ecx, dword [ebx + 0x38]
call fcn.00543050
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
jmp 0x5046d1
lea eax, [ebx + 0x34]
mov dword [esi + 0x10], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x504f47
mov ecx, dword [ebx + 0x38]
call fcn.00543050
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
jmp 0x5048d1
lea edi, [ecx + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x504f55
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x38]
call fcn.00543050
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esi + 0x10], 0
lea edx, [ebp + 8]
jmp 0x503da6
call fcn.0058fdd0
lock dec dword [ecx + 4]
jne 0x504882
push 1
call fcn.00507ab0
lea edx, [ebp + 8]
jmp 0x504882
int3
int3
int3
int3
int3
test cl, cl
mov ebx, dword [esi + 0x14]
je 0x504135
lea eax, [esi + 0xe0]
lea ecx, [esi + 0x140]
push eax
call fcn.00562420
lea edx, [ebp + 8]
jmp 0x504135
int3
int3
int3
mov edi, dword [esi + 0x190]
test edi, edi
jne 0x504c8a
mov byte [esi + 0x198], 0
lea edx, [ebp + 8]
mov ebx, dword [esi + 0x14]
jmp 0x504135
lock dec dword [edi]
jne 0x504c78
mov ecx, dword [edi + 8]
call dword [0x63e1cc]
push edi
call ecx
add esp, 4
jmp 0x504c78
cmp dword [ebx], 0
je 0x5045b2
int3
lea eax, [esi + 0xe0]
push eax
call fcn.004fbe40
mov eax, dword [ebx + 0x30]
cmp dword [ebx + 0x2c], eax
jb 0x504f61
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 0x504cf5
lea eax, [esi + 0x80]
mov ecx, ebx
push eax
call fcn.005d04b0
jmp 0x504031
lea eax, [esi + 0x80]
mov ecx, edi
push 0
push eax
call fcn.005d0d50
jmp 0x504031
int3
int3
int3
lea edi, [esi + 0xe0]
push edi
call fcn.004fbe40
movq xmm0, qword [edi]
movq qword [ebx + 0x48], xmm0
mov ecx, dword [ebx + 0x3c]
cmp ecx, dword [ebx + 0x40]
je 0x504f31
lea edi, [esi + 0x70]
push edi
call fcn.00562620
movq xmm0, qword [edi]
movq qword [ebx + 0x50], xmm0
jmp 0x503ee4
mov ebx, ecx
mov ecx, dword [ecx + 8]
call dword [0x63e1cc]
push ebx
call ecx
add esp, 4
jmp 0x50477c
int3
int3
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
call dword [0x63e1cc]
mov ecx, edi
push 1
call dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
lea edx, [ebp + 8]
jmp 0x504645
cmp dword [ecx], 0
mov ecx, dword [esi + 0x14]
je 0x5045b2
int3
call fcn.00592180
lea edx, [ebp + 8]
jmp 0x504b34
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x63e1cc]
mov ecx, edi
push 1
call ebx
lea edx, [ebp + 8]
jmp 0x50452f
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x63e1cc]
mov ecx, edi
push 1
call ebx
mov ecx, dword [esi + 0xc]
lea edx, [ebp + 8]
jmp 0x504606
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x504de8
push str....._third_partylibc_srcincludeoptional:790:_assertion_this__has_value___failed:_optional_operator___called_on_a_disengaged_value_n
push 0x622e92
call fcn.0058fdd0
lea eax, [esi + 0x60]
push eax
call fcn.004fbe40
mov eax, dword [ebx + 0x30]
cmp dword [ebx + 0x2c], eax
jb 0x504f64
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
lea edx, [ebp + 8]
jmp 0x503f15
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x18], ebx
jb 0x504f67
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ebx*4]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x504f6a
mov eax, dword [esi + 0x14]
mov dword [eax + ebx*4], 0
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 4]
call dword [0x63e1cc]
push dword [esi + 0x1c]
call ecx
add esp, 4
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x504e9b
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 8]
call dword [0x63e1cc]
push dword [esi + 0x1c]
call ecx
add esp, 4
inc ebx
cmp ebx, dword [esi + 0x18]
mov eax, 0
cmove ebx, eax
cmp ebx, dword [esi + 0xc]
jne 0x504e47
mov eax, dword [esi + 0x10]
cmp dword [esi + 0xc], eax
jbe 0x504f7c
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0xc]
jb 0x504f6d
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
jg 0x504f70
mov eax, dword [esi + 0xc]
shl eax, 2
mov ecx, dword [esi + 0x10]
shl ecx, 2
mov dword [esi + 0xc], eax
jmp 0x504f01
mov ecx, dword [ebx + 8]
call dword [0x63e1cc]
push ebx
call ecx
add esp, 4
mov ecx, dword [esi + 0x10]
add ecx, 4
mov eax, dword [esi + 0xc]
cmp eax, ecx
je 0x504972
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 0x14]
mov ebx, dword [eax + ecx]
test ebx, ebx
je 0x504ef0
lock dec dword [ebx]
je 0x504ee1
jmp 0x504ef0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x50491a
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x50493e
push str....._third_partylibc_srcinclude_vector:618:_assertion__empty___failed:_front___called_on_an_empty_vector_n
jmp 0x504de8
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x504b9b
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x504bc7
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x504bf2
int3
int3
int3
int3
int3
int3
int3
int3
int3
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x10]
jb 0x504f73
jl 0x504f76
je 0x504fbf
shl dword [esi + 0x18], 2
shl dword [esi + 0x10], 2
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov ebx, dword [eax + ecx]
test ebx, ebx
je 0x504fb1
lock dec dword [ebx]
jne 0x504fb1
mov ecx, dword [ebx + 8]
call dword [0x63e1cc]
push ebx
call ecx
add esp, 4
mov ecx, dword [esi + 0x10]
add ecx, 4
mov dword [esi + 0x10], ecx
cmp dword [esi + 0x18], ecx
jne 0x504f90
cmp dword [esi + 0xc], 0
js 0x504f79
mov eax, dword [esi + 0xc]
je 0x504972
shl eax, 2
xor ebx, ebx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x504ffb
mov eax, ecx
lock dec dword [ecx]
jne 0x504ffb
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 8]
call dword [0x63e1cc]
push dword [esi + 0x10]
call ecx
add esp, 4
add ebx, 4
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x504fd3
jmp 0x504972