Function at 0x5053d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov ebx, ecx
lea ecx, [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esi + 0x88], eax
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
xor edi, edi
dec edi
mov dword [esi + 0x18], 0xffffff00
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
test eax, eax
jne 0x505705
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x68], xmm0
mov edi, dword [ebx - 0x10]
mov dword [esi + 0x54], edi
xor eax, eax
mov byte [esi + 0x70], al
xorps xmm1, xmm1
movups xmmword [esi + 0x58], xmm1
mov dword [esi + 0x50], 0x62196c
mov dword [esi + 0x74], eax
movdqa xmmword [esi + 0x30], xmm0
mov byte [esi + 0x30], al
mov byte [esi + 0x3c], al
mov dword [esi + 0x40], eax
add edi, 0x50
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x505796
cmp byte [ebx - 5], 1
je 0x505c03
cmp byte [ebx - 0x1f], 0
je 0x505c35
mov eax, dword [ebx - 0x10]
mov ecx, dword [eax + 0xa8]
dec ecx
cmp byte [ebx - 0x20], 0
mov dword [eax + 0xa8], ecx
je 0x5055ce
mov edx, dword [eax + 0x5c]
cmp edx, dword [eax + 0x60]
je 0x5054ac
cmp ecx, dword [eax + 0xa0]
jae 0x5055d9
mov word [eax + 0x78], 0
lea eax, [ebp + 8]
cmp byte [ebx - 0x1d], 1
jne 0x5054bf
mov byte [ebx - 0x1d], 0
cmp byte [ebx - 0x1f], 1
jne 0x5054c9
mov byte [ebx - 0x1f], 0
lea ecx, [ebx - 0x30]
cmp dword [esi + 8], 0
jne 0x50561f
lea ebx, [esi + 0x50]
push dword [eax + 0xc]
push ebx
push dword [esi + 4]
call fcn.00506200
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea ecx, [esi + 0x30]
call fcn.00506160
mov dword [ebx], 0x62196c
mov ebx, dword [ebx + 0x24]
test bl, 1
jne 0x505bf3
lea eax, [esi + 0x78]
cmp ebx, 2
jae 0x505673
test ebx, ebx
jne 0x5055c1
lea edi, [esi + 0x68]
mov dword [edi - 0x18], 0x6218bc
mov edx, dword [edi - 4]
mov eax, edx
mov dword [esi + 4], edi
and eax, 1
jne 0x505bba
mov ebx, edx
shr ebx, 1
mov cl, 1
cmp edx, 2
jae 0x505925
lea edx, [ebp + 8]
test eax, eax
jne 0x505bfb
test cl, cl
je 0x5058f4
test eax, eax
jne 0x505c5d
mov dword [esi + 0x64], 0
cmp byte [esi + 0x70], 0
jne 0x505afa
mov edi, dword [esi + 0x58]
test edi, edi
jne 0x50573f
cmp dword [esi + 8], 0
jne 0x5055e6
mov edi, dword [edx + 4]
test edi, edi
jne 0x5057a2
mov dword [edx + 4], 0
test edi, edi
jne 0x5057c7
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x505c44
mov edi, dword [edx]
mov ecx, dword [esi + 0x88]
xor ecx, ebp
call fcn.00565ea5
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
lea ecx, [esi + 0x74]
call fcn.00536fd0
jmp 0x50551a
dec dword [eax + 0xac]
jmp 0x505498
movzx ecx, word [edx + 8]
mov word [eax + 0x78], cx
jmp 0x5054b2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5055fa
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
mov edi, dword [esi + 0x18]
test edi, edi
sete al
mov ebx, dword [esi + 0x10]
test ebx, ebx
sete cl
or cl, al
je 0x505835
test edi, edi
je 0x505581
jmp 0x50584e
mov dword [esi + 0x1c], esp
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx - 0x10]
push eax
sub esp, 0x10
mov eax, esp
mov edx, dword [esi + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], edx
lea edx, [esi + 0x50]
mov dword [eax], edx
lea edx, [esi + 0x30]
mov dword [eax + 4], edx
call fcn.00507d10
mov ecx, dword [esi + 0xc]
lea eax, [ebp + 8]
mov dword [esi + 0x18], 0
mov esp, dword [esi + 0x1c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x5054d6
shr ebx, 1
shl ebx, 2
xor edi, edi
mov dword [esi + 4], eax
mov ecx, dword [eax + edi]
test ecx, ecx
je 0x505c73
xor eax, eax
inc eax
lock xadd dword [ecx + 4], eax
cmp eax, 0x7fffffff
je 0x505c70
mov dword [esi + 0x80], 0x9b
mov al, byte [0x6494e7]
test al, al
mov dword [esi + 0x1c], ecx
jne 0x505cbf
mov eax, dword [ecx + 0x48]
lea edx, [eax + 0x10]
cmp byte [eax + 0x14], 0
je 0x5056ed
lea eax, [ecx + 4]
mov dword [esi + 0xc], eax
push dword [edx]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
lock dec dword [eax]
je 0x505c94
add edi, 4
cmp ebx, edi
mov eax, dword [esi + 4]
jne 0x50567d
mov ebx, dword [esi + 0x74]
jmp 0x505512
mov dword [esi + 0x80], 0x1aa
mov al, byte [0x6495f6]
test al, al
je 0x5056c1
jmp 0x505dc6
mov dword [esi + 0x14], esp
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x18], edx
lea eax, [edx + 0x10]
mov dword [esi + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5059bd
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], eax
jmp 0x505416
mov ebx, dword [esi + 0x5c]
mov eax, edi
cmp ebx, edi
je 0x505782
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov eax, ebx
add ebx, 0xfffffff8
je 0x505c2e
mov ecx, dword [ebx]
test ecx, ecx
jne 0x5057f8
mov dword [ebx], 0
test ecx, ecx
jne 0x505826
mov ecx, dword [ebx]
test ecx, ecx
jne 0x505ca3
cmp ebx, edi
jne 0x50574e
mov eax, dword [esi + 0x58]
mov dword [esi + 0x5c], edi
push eax
call fcn.00562bc0
add esp, 4
lea edx, [ebp + 8]
jmp 0x50557b
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x50546a
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x50558c
mov dword [edx + 4], 0
mov al, byte [edi + 9]
and al, 0x7f
cmp al, 2
je 0x5057e2
lock dec dword [ebx + 0xc]
je 0x50586d
lock dec dword [edi + 4]
jne 0x50559b
mov ecx, edi
push 1
call fcn.00507ab0
lea edx, [ebp + 8]
jmp 0x50559b
mov eax, dword [ebx + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x5057bd
jmp 0x505bc5
mov eax, dword [eax - 4]
mov dword [esi + 4], eax
test eax, eax
je 0x505763
mov dword [ebx], 0
mov al, byte [ecx + 9]
and al, 0x7f
cmp al, 2
je 0x505b62
mov eax, dword [esi + 4]
lock dec dword [eax + 0xc]
je 0x505a4f
lock dec dword [ecx + 4]
jne 0x505771
jmp 0x505ae8
mov al, byte [edi + 9]
and al, 0x7f
cmp al, 2
mov edi, ebx
je 0x505b1f
lock dec dword [edi + 0xc]
je 0x5059cb
mov eax, dword [esi + 0x18]
lock dec dword [eax + 4]
jne 0x505581
mov ecx, dword [esi + 0x18]
push 1
call fcn.00507ab0
lea edx, [ebp + 8]
jmp 0x505581
lea eax, [ebx + 0x14]
mov dword [esi + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x505daa
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x505db8
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x10], eax
pxor xmm0, xmm0
mov eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x30]
movdqu xmmword [ebx + 0x24], xmm0
mov ebx, eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x505d02
push 0
push dword [esi + 0x18]
push 0x635600
call fcn.0050f6b0
add esp, 0xc
lea edx, [ebp + 8]
jmp 0x505593
lea edi, [edi + ebx*4]
add edi, 0xfffffffc
neg ebx
test edi, edi
je 0x505c2e
mov ecx, dword [edi]
test ecx, ecx
je 0x505914
lock dec dword [ecx + 4]
je 0x505ee7
add edi, 0xfffffffc
inc ebx
jne 0x5058fc
mov eax, dword [esi + 0x64]
and eax, 1
jmp 0x505557
shl ebx, 2
xor ecx, ecx
mov eax, dword [esi + 4]
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax + ecx]
test ecx, ecx
je 0x50594a
xor eax, eax
inc eax
lock xadd dword [ecx + 4], eax
cmp eax, 0x7fffffff
je 0x505eaa
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
test eax, eax
je 0x50596e
xor ecx, ecx
inc ecx
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x505ead
mov ecx, dword [esi + 0xc]
push edx
push eax
call fcn.0042be90
mov ecx, dword [esi + 0x54]
cmp byte [ecx + 0xf0], 1
je 0x505ec8
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [ebp + 8]
je 0x50599c
lock dec dword [ecx + 4]
je 0x505ed8
mov ecx, dword [esi + 0x1c]
add ecx, 4
cmp ebx, ecx
jne 0x50592a
mov ecx, dword [esi + 0x64]
mov ebx, ecx
shr ebx, 1
mov eax, ecx
and eax, 1
cmp ecx, 2
setb cl
jmp 0x505547
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505731
mov ebx, dword [esi + 0x10]
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x505eb0
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x505ebc
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x14], eax
pxor xmm0, xmm0
mov eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x30]
movdqu xmmword [ebx + 0x24], xmm0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esi + 4]
cmp edi, ebx
jne 0x505e0f
push 0
push dword [esi + 8]
push 0x635600
call fcn.0050f6b0
add esp, 0xc
lea edx, [ebp + 8]
mov edi, dword [esi + 0x18]
jmp 0x505612
mov dword [esi + 0x1c], ecx
lea ecx, [eax + 0x14]
mov dword [esi + 0xc], ecx
push ecx
call edx
test al, al
je 0x505ef6
mov eax, dword [esi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push dword [esi + 0xc]
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x505f04
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x20], eax
pxor xmm0, xmm0
movdqu xmmword [ecx + 0x24], xmm0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x20]
mov edx, ecx
cmp ecx, eax
jne 0x505f12
push 0
push dword [esi + 0x2c]
push 0x635600
call fcn.0050f6b0
add esp, 0xc
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov ecx, dword [esi + 0x1c]
jmp 0x505769
push 1
call fcn.00507ab0
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jmp 0x505771
mov ecx, dword [esi + 0x54]
call fcn.0042c070
lea edx, [ebp + 8]
cmp dword [esi + 0x64], 0
je 0x505570
lea ecx, [esi + 0x64]
call fcn.005cfe00
lea edx, [ebp + 8]
jmp 0x505570
mov eax, dword [edi + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x505844
add edi, 0x34
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x506001
mov ebx, dword [esi + 0x10]
mov ecx, dword [ebx + 0x38]
call fcn.00543050
push edi
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
jmp 0x505844
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x1c], ecx
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
mov ecx, dword [esi + 0x1c]
jne 0x505819
mov eax, dword [esi + 4]
add eax, 0x34
mov dword [esi + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x50600d
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38]
call fcn.00543050
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov ecx, dword [esi + 0x1c]
jmp 0x505819
mov ecx, dword [esi + 0x68]
mov dword [esi + 4], ecx
jmp 0x505535
lea eax, [ebx + 0x34]
mov dword [esi + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x505fc9
mov ecx, dword [ebx + 0x38]
call fcn.00543050
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
jmp 0x5057bd
mov eax, dword [esi + 0x78]
jmp 0x505509
mov edi, dword [esi + 0x68]
jmp 0x50554f
mov ecx, dword [ebx - 0x10]
call fcn.004f4170
cmp byte [ebx - 0x1f], 0
je 0x505c35
cmp byte [ebx - 0x20], 0
jne 0x505c1f
mov ecx, dword [ebx - 0x10]
call fcn.00590760
mov word [ebx - 7], 0
mov byte [ebx - 5], 0
jmp 0x505474
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x505c3a
push str....._third_partylibc_srcincludeoptional:795:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
push 0x622e92
call fcn.0058fdd0
lock dec dword [ecx + 4]
jne 0x5055a6
push 1
call fcn.00507ab0
lea edx, [ebp + 8]
jmp 0x5055a6
push dword [esi + 0x68]
call fcn.00562bc0
lea edx, [ebp + 8]
add esp, 4
jmp 0x50555f
int3
xor ecx, ecx
call fcn.00530060
jmp 0x5056db
int3
int3
int3
int3
int3
int3
int3
mov ecx, dword [esi + 0x1c]
push 1
call fcn.004051d0
jmp 0x5056db
lock dec dword [ecx + 4]
jne 0x50577b
push 1
call fcn.00507ab0
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jmp 0x50577b
movzx eax, al
mov ecx, dword [0x648794]
mov edx, dword [0x648790]
xor edx, dword [esi + 0x1c]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edx
lea ecx, [esi + 0x84]
mov dword [ecx], str.WorkerThreadWaitableEvent::WakeUp
lea edx, [esi + 0x30]
push edx
push 3
push ecx
lea ecx, [esi + 0x80]
push ecx
push eax
call fcn.005be310
mov ecx, dword [esi + 0x1c]
add esp, 0x14
jmp 0x5056b5
mov dword [esi + 8], ebx
mov ebx, eax
cmp dword [esi + 0x10], ebx
jb 0x505fd7
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x505fda
mov eax, ecx
mov edx, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [eax + ebx*4], ecx
mov ecx, dword [edx + 4]
call dword [0x63e1cc]
push dword [esi + 0x14]
call ecx
add esp, 4
lea ecx, [esi + 0x50]
call fcn.00560600
inc ebx
cmp ebx, dword [esi + 0x10]
mov eax, 0
cmove ebx, eax
cmp ebx, dword [esi + 8]
jne 0x505d07
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jbe 0x506077
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 8]
jb 0x505fdd
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jg 0x505fe0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x18]
lea ebx, [ecx + eax*4]
mov ecx, dword [esi + 8]
shl ecx, 2
shl eax, 2
sub ecx, eax
mov dword [esi + 8], ecx
mov ecx, ebx
call fcn.00560600
add ebx, 4
add dword [esi + 8], 0xfffffffc
jne 0x505d95
jmp 0x5058da
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505882
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5058a6
movzx eax, al
mov ecx, dword [0x648794]
mov dword [esi + 0xc], edx
mov edx, dword [0x648790]
xor edx, dword [esi + 0xc]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edx
lea ecx, [esi + 0x84]
mov dword [ecx], str.WaitableEvent::Signal
lea edx, [esi + 0x30]
push edx
push 3
push ecx
lea ecx, [esi + 0x80]
push ecx
push eax
call fcn.005be310
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
add esp, 0x14
jmp 0x5056c1
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], edi
jb 0x505fe3
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x505fe6
mov ebx, ecx
mov dword [esi + 0x50], ecx
mov eax, dword [esi + 8]
xor ecx, ecx
mov dword [eax + edi*4], ecx
mov ecx, dword [ebx + 4]
call dword [0x63e1cc]
push ebx
call ecx
add esp, 4
lea ecx, [esi + 0x50]
call fcn.00560600
inc edi
cmp edi, dword [esi + 0x14]
mov eax, 0
cmove edi, eax
cmp edi, dword [esi + 0x10]
jne 0x505e12
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 4]
jbe 0x50601b
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], eax
jb 0x505fe9
mov eax, dword [esi + 0x10]
cmp dword [esi + 4], eax
jg 0x505fec
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
lea edi, [ecx + eax*4]
mov ebx, dword [esi + 0x10]
shl ebx, 2
shl eax, 2
sub ebx, eax
mov ecx, edi
call fcn.00560600
add edi, 4
add ebx, 0xfffffffc
jne 0x505e96
jmp 0x505a32
int3
int3
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5059e0
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505a00
add ecx, 0xe8
call fcn.00535bc0
jmp 0x505988
push 1
call fcn.004051d0
lea edx, [ebp + 8]
jmp 0x50599c
push 1
call fcn.004051d0
lea edx, [ebp + 8]
jmp 0x505914
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505a63
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505a8b
cmp dword [esi + 0x24], edx
jb 0x505c7f
mov ecx, edx
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x505c82
mov eax, edx
lea edx, [esi + 0x30]
mov dword [esi + 4], eax
mov dword [edx], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xc], ecx
xor edx, edx
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
call dword [0x63e1cc]
push dword [esi + 4]
call ecx
add esp, 4
lea ecx, [esi + 0x30]
call fcn.00560600
mov edx, dword [esi + 0xc]
inc edx
cmp edx, dword [esi + 0x24]
mov eax, 0
cmove edx, eax
mov eax, dword [esi + 0x20]
cmp edx, eax
mov ecx, dword [esi + 0x28]
jne 0x505f12
cmp eax, ecx
jbe 0x5060e5
mov eax, dword [esi + 0x24]
cmp eax, dword [esi + 0x20]
jb 0x505c85
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x20]
jg 0x505c88
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
lea edx, [eax + ecx*4]
mov eax, dword [esi + 0x20]
shl eax, 2
shl ecx, 2
sub eax, ecx
mov dword [esi + 0x20], eax
mov ecx, edx
mov dword [esi + 4], edx
call fcn.00560600
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 4]
add edx, 4
add eax, 0xfffffffc
jne 0x505fa9
jmp 0x505ac8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505bda
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505b46
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x505b98
mov eax, dword [esi + 4]
cmp dword [esi + 0x14], eax
jb 0x505ff8
jl 0x505ffb
je 0x50604e
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edi, [eax + ecx*4]
mov eax, dword [esi + 0x14]
shl eax, 2
shl ecx, 2
sub eax, ecx
mov dword [esi + 0x14], eax
mov ecx, edi
call fcn.00560600
add edi, 4
add dword [esi + 0x14], 0xfffffffc
jne 0x50603e
cmp dword [esi + 0x10], 0
js 0x505ffe
mov ebx, dword [esi + 0x10]
je 0x505a32
shl ebx, 2
mov edi, dword [esi + 8]
mov ecx, edi
call fcn.00560600
add edi, 4
add ebx, 0xfffffffc
jne 0x506063
jmp 0x505a32
mov eax, dword [esi + 4]
cmp dword [esi + 0x10], eax
jb 0x505fef
jl 0x505ff2
je 0x5060b2
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
lea ebx, [eax + ecx*4]
mov eax, dword [esi + 0x10]
shl eax, 2
shl ecx, 2
sub eax, ecx
mov dword [esi + 0x10], eax
mov ecx, ebx
call fcn.00560600
add ebx, 4
add dword [esi + 0x10], 0xfffffffc
jne 0x5060a2
cmp dword [esi + 8], 0
js 0x505ff5
mov ebx, dword [esi + 8]
je 0x5058da
shl ebx, 2
mov eax, dword [esi + 0x18]
mov ecx, eax
mov dword [esi + 8], eax
call fcn.00560600
mov eax, dword [esi + 8]
add eax, 4
add ebx, 0xfffffffc
jne 0x5060cb
jmp 0x5058da
mov eax, dword [esi + 0x28]
cmp dword [esi + 0x24], eax
jb 0x505c8b
jl 0x505c8e
je 0x506126
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
lea edx, [eax + ecx*4]
mov eax, dword [esi + 0x24]
shl eax, 2
shl ecx, 2
sub eax, ecx
mov dword [esi + 0x24], eax
mov ecx, edx
mov dword [esi + 4], edx
call fcn.00560600
mov edx, dword [esi + 4]
add edx, 4
add dword [esi + 0x24], 0xfffffffc
jne 0x506110
cmp dword [esi + 0x20], 0
js 0x505c91
mov eax, dword [esi + 0x20]
je 0x505ac8
shl eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x20], eax
mov dword [esi + 4], ecx
call fcn.00560600
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
add ecx, 4
add eax, 0xfffffffc
jne 0x50613f
jmp 0x505ac8