Function at 0x5027d0
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 [0x646040]
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 0x502b05
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], 0x62396c
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 0x502b96
cmp byte [ebx - 5], 1
je 0x503003
cmp byte [ebx - 0x1f], 0
je 0x503035
mov eax, dword [ebx - 0x10]
mov ecx, dword [eax + 0xa8]
dec ecx
cmp byte [ebx - 0x20], 0
mov dword [eax + 0xa8], ecx
je 0x5029ce
mov edx, dword [eax + 0x5c]
cmp edx, dword [eax + 0x60]
je 0x5028ac
cmp ecx, dword [eax + 0xa0]
jae 0x5029d9
mov word [eax + 0x78], 0
lea eax, [ebp + 8]
cmp byte [ebx - 0x1d], 1
jne 0x5028bf
mov byte [ebx - 0x1d], 0
cmp byte [ebx - 0x1f], 1
jne 0x5028c9
mov byte [ebx - 0x1f], 0
lea ecx, [ebx - 0x30]
cmp dword [esi + 8], 0
jne 0x502a1f
lea ebx, [esi + 0x50]
push dword [eax + 0xc]
push ebx
push dword [esi + 4]
call fcn.00503600
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea ecx, [esi + 0x30]
call fcn.00503560
mov dword [ebx], 0x62396c
mov ebx, dword [ebx + 0x24]
test bl, 1
jne 0x502ff3
lea eax, [esi + 0x78]
cmp ebx, 2
jae 0x502a73
test ebx, ebx
jne 0x5029c1
lea edi, [esi + 0x68]
mov dword [edi - 0x18], 0x6238bc
mov edx, dword [edi - 4]
mov eax, edx
mov dword [esi + 4], edi
and eax, 1
jne 0x502fba
mov ebx, edx
shr ebx, 1
mov cl, 1
cmp edx, 2
jae 0x502d25
lea edx, [ebp + 8]
test eax, eax
jne 0x502ffb
test cl, cl
je 0x502cf4
test eax, eax
jne 0x50305d
mov dword [esi + 0x64], 0
cmp byte [esi + 0x70], 0
jne 0x502efa
mov edi, dword [esi + 0x58]
test edi, edi
jne 0x502b3f
cmp dword [esi + 8], 0
jne 0x5029e6
mov edi, dword [edx + 4]
test edi, edi
jne 0x502ba2
mov dword [edx + 4], 0
test edi, edi
jne 0x502bc7
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x503044
mov edi, dword [edx]
mov ecx, dword [esi + 0x88]
xor ecx, ebp
call fcn.00567335
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
lea ecx, [esi + 0x74]
call fcn.00534700
jmp 0x50291a
dec dword [eax + 0xac]
jmp 0x502898
movzx ecx, word [edx + 8]
mov word [eax + 0x78], cx
jmp 0x5028b2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5029fa
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 0x502c35
test edi, edi
je 0x502981
jmp 0x502c4e
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.00505110
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 0x5028d6
shr ebx, 1
shl ebx, 2
xor edi, edi
mov dword [esi + 4], eax
mov ecx, dword [eax + edi]
test ecx, ecx
je 0x503073
xor eax, eax
inc eax
lock xadd dword [ecx + 4], eax
cmp eax, 0x7fffffff
je 0x503070
mov dword [esi + 0x80], 0x9b
mov al, byte [0x64b4e7]
test al, al
mov dword [esi + 0x1c], ecx
jne 0x5030bf
mov eax, dword [ecx + 0x48]
lea edx, [eax + 0x10]
cmp byte [eax + 0x14], 0
je 0x502aed
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 0x503094
add edi, 4
cmp ebx, edi
mov eax, dword [esi + 4]
jne 0x502a7d
mov ebx, dword [esi + 0x74]
jmp 0x502912
mov dword [esi + 0x80], 0x1aa
mov al, byte [0x64b5f6]
test al, al
je 0x502ac1
jmp 0x5031c6
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 0x502e41
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], eax
jmp 0x502816
mov ebx, dword [esi + 0x5c]
mov eax, edi
cmp ebx, edi
je 0x502b82
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov eax, ebx
add ebx, 0xfffffff8
je 0x50302e
mov ecx, dword [ebx]
test ecx, ecx
jne 0x502bf8
mov dword [ebx], 0
test ecx, ecx
jne 0x502c26
mov ecx, dword [ebx]
test ecx, ecx
jne 0x5030a3
cmp ebx, edi
jne 0x502b4e
mov eax, dword [esi + 0x58]
mov dword [esi + 0x5c], edi
push eax
call fcn.00564050
add esp, 4
lea edx, [ebp + 8]
jmp 0x50297b
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x50286a
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x50298c
mov dword [edx + 4], 0
mov al, byte [edi + 9]
and al, 0x7f
cmp al, 2
je 0x502be2
lock dec dword [ebx + 0xc]
je 0x502c6d
lock dec dword [edi + 4]
jne 0x50299b
mov ecx, edi
push 1
call fcn.00504eb0
lea edx, [ebp + 8]
jmp 0x50299b
mov eax, dword [ebx + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x502bbd
jmp 0x502fc5
mov eax, dword [eax - 4]
mov dword [esi + 4], eax
test eax, eax
je 0x502b63
mov dword [ebx], 0
mov al, byte [ecx + 9]
and al, 0x7f
cmp al, 2
je 0x502f62
mov eax, dword [esi + 4]
lock dec dword [eax + 0xc]
je 0x502e4f
lock dec dword [ecx + 4]
jne 0x502b71
jmp 0x502ee8
mov al, byte [edi + 9]
and al, 0x7f
cmp al, 2
mov edi, ebx
je 0x502f1f
lock dec dword [edi + 0xc]
je 0x502dbd
mov eax, dword [esi + 0x18]
lock dec dword [eax + 4]
jne 0x502981
mov ecx, dword [esi + 0x18]
push 1
call fcn.00504eb0
lea edx, [ebp + 8]
jmp 0x502981
lea eax, [ebx + 0x14]
mov dword [esi + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5031aa
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 0x5031b8
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 0x503102
push 0
push dword [esi + 0x18]
push 0x637600
call fcn.0050e100
add esp, 0xc
lea edx, [ebp + 8]
jmp 0x502993
lea edi, [edi + ebx*4]
add edi, 0xfffffffc
neg ebx
test edi, edi
je 0x50302e
mov ecx, dword [edi]
test ecx, ecx
je 0x502d14
lock dec dword [ecx + 4]
je 0x5032e7
add edi, 0xfffffffc
inc ebx
jne 0x502cfc
mov eax, dword [esi + 0x64]
and eax, 1
jmp 0x502957
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 0x502d4a
xor eax, eax
inc eax
lock xadd dword [ecx + 4], eax
cmp eax, 0x7fffffff
je 0x5032aa
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
test eax, eax
je 0x502d6e
xor ecx, ecx
inc ecx
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x5032ad
mov ecx, dword [esi + 0xc]
push edx
push eax
call fcn.0042a730
mov ecx, dword [esi + 0x54]
cmp byte [ecx + 0xf0], 1
je 0x5032c8
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [ebp + 8]
je 0x502d9c
lock dec dword [ecx + 4]
je 0x5032d8
mov ecx, dword [esi + 0x1c]
add ecx, 4
cmp ebx, ecx
jne 0x502d2a
mov ecx, dword [esi + 0x64]
mov ebx, ecx
shr ebx, 1
mov eax, ecx
and eax, 1
cmp ecx, 2
setb cl
jmp 0x502947
mov ebx, dword [esi + 0x10]
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5032b0
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 0x5032bc
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 0x50320f
push 0
push dword [esi + 8]
push 0x637600
call fcn.0050e100
add esp, 0xc
lea edx, [ebp + 8]
mov edi, dword [esi + 0x18]
jmp 0x502a12
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502b31
mov dword [esi + 0x1c], ecx
lea ecx, [eax + 0x14]
mov dword [esi + 0xc], ecx
push ecx
call edx
test al, al
je 0x5032f6
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 0x503304
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 0x503312
push 0
push dword [esi + 0x2c]
push 0x637600
call fcn.0050e100
add esp, 0xc
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov ecx, dword [esi + 0x1c]
jmp 0x502b69
push 1
call fcn.00504eb0
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jmp 0x502b71
mov ecx, dword [esi + 0x54]
call fcn.0042a910
lea edx, [ebp + 8]
cmp dword [esi + 0x64], 0
je 0x502970
lea ecx, [esi + 0x64]
call fcn.005d1620
lea edx, [ebp + 8]
jmp 0x502970
mov eax, dword [edi + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x502c44
add edi, 0x34
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x503401
mov ebx, dword [esi + 0x10]
mov ecx, dword [ebx + 0x38]
call fcn.00509410
push edi
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
jmp 0x502c44
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 0x502c19
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 0x50340d
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38]
call fcn.00509410
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 0x502c19
mov ecx, dword [esi + 0x68]
mov dword [esi + 4], ecx
jmp 0x502935
lea eax, [ebx + 0x34]
mov dword [esi + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5033c9
mov ecx, dword [ebx + 0x38]
call fcn.00509410
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edx, [ebp + 8]
jmp 0x502bbd
mov eax, dword [esi + 0x78]
jmp 0x502909
mov edi, dword [esi + 0x68]
jmp 0x50294f
mov ecx, dword [ebx - 0x10]
call fcn.004f3190
cmp byte [ebx - 0x1f], 0
je 0x503035
cmp byte [ebx - 0x20], 0
jne 0x50301f
mov ecx, dword [ebx - 0x10]
call fcn.004f31d0
mov word [ebx - 7], 0
mov byte [ebx - 5], 0
jmp 0x502874
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x50303a
push str....._third_partylibc_srcincludeoptional:795:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
push 0x624e92
call fcn.005912b0
lock dec dword [ecx + 4]
jne 0x5029a6
push 1
call fcn.00504eb0
lea edx, [ebp + 8]
jmp 0x5029a6
push dword [esi + 0x68]
call fcn.00564050
lea edx, [ebp + 8]
add esp, 4
jmp 0x50295f
int3
xor ecx, ecx
call fcn.005343f0
jmp 0x502adb
int3
int3
int3
int3
int3
int3
int3
mov ecx, dword [esi + 0x1c]
push 1
call fcn.004053b0
jmp 0x502adb
lock dec dword [ecx + 4]
jne 0x502b7b
push 1
call fcn.00504eb0
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jmp 0x502b7b
movzx eax, al
mov ecx, dword [0x64a794]
mov edx, dword [0x64a790]
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.005bfa90
mov ecx, dword [esi + 0x1c]
add esp, 0x14
jmp 0x502ab5
mov dword [esi + 8], ebx
mov ebx, eax
cmp dword [esi + 0x10], ebx
jb 0x5033d7
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x5033da
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 [0x6401dc]
push dword [esi + 0x14]
call ecx
add esp, 4
lea ecx, [esi + 0x50]
call fcn.00561890
inc ebx
cmp ebx, dword [esi + 0x10]
mov eax, 0
cmove ebx, eax
cmp ebx, dword [esi + 8]
jne 0x503107
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jbe 0x503477
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 8]
jb 0x5033dd
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jg 0x5033e0
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.00561890
add ebx, 4
add dword [esi + 8], 0xfffffffc
jne 0x503195
jmp 0x502cda
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502c82
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502ca6
movzx eax, al
mov ecx, dword [0x64a794]
mov dword [esi + 0xc], edx
mov edx, dword [0x64a790]
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.005bfa90
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
add esp, 0x14
jmp 0x502ac1
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], edi
jb 0x5033e3
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x5033e6
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 [0x6401dc]
push ebx
call ecx
add esp, 4
lea ecx, [esi + 0x50]
call fcn.00561890
inc edi
cmp edi, dword [esi + 0x14]
mov eax, 0
cmove edi, eax
cmp edi, dword [esi + 0x10]
jne 0x503212
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 4]
jbe 0x50341b
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], eax
jb 0x5033e9
mov eax, dword [esi + 0x10]
cmp dword [esi + 4], eax
jg 0x5033ec
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.00561890
add edi, 4
add ebx, 0xfffffffc
jne 0x503296
jmp 0x502e24
int3
int3
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502dd2
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502df2
add ecx, 0xe8
call fcn.0052e300
jmp 0x502d88
push 1
call fcn.004053b0
lea edx, [ebp + 8]
jmp 0x502d9c
push 1
call fcn.004053b0
lea edx, [ebp + 8]
jmp 0x502d14
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502e63
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502e8b
cmp dword [esi + 0x24], edx
jb 0x50307f
mov ecx, edx
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x503082
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 [0x6401dc]
push dword [esi + 4]
call ecx
add esp, 4
lea ecx, [esi + 0x30]
call fcn.00561890
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 0x503312
cmp eax, ecx
jbe 0x5034e5
mov eax, dword [esi + 0x24]
cmp eax, dword [esi + 0x20]
jb 0x503085
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x20]
jg 0x503088
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.00561890
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 4]
add edx, 4
add eax, 0xfffffffc
jne 0x5033a9
jmp 0x502ec8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502fda
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502f46
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x502f98
mov eax, dword [esi + 4]
cmp dword [esi + 0x14], eax
jb 0x5033f8
jl 0x5033fb
je 0x50344e
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.00561890
add edi, 4
add dword [esi + 0x14], 0xfffffffc
jne 0x50343e
cmp dword [esi + 0x10], 0
js 0x5033fe
mov ebx, dword [esi + 0x10]
je 0x502e24
shl ebx, 2
mov edi, dword [esi + 8]
mov ecx, edi
call fcn.00561890
add edi, 4
add ebx, 0xfffffffc
jne 0x503463
jmp 0x502e24
mov eax, dword [esi + 4]
cmp dword [esi + 0x10], eax
jb 0x5033ef
jl 0x5033f2
je 0x5034b2
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.00561890
add ebx, 4
add dword [esi + 0x10], 0xfffffffc
jne 0x5034a2
cmp dword [esi + 8], 0
js 0x5033f5
mov ebx, dword [esi + 8]
je 0x502cda
shl ebx, 2
mov eax, dword [esi + 0x18]
mov ecx, eax
mov dword [esi + 8], eax
call fcn.00561890
mov eax, dword [esi + 8]
add eax, 4
add ebx, 0xfffffffc
jne 0x5034cb
jmp 0x502cda
mov eax, dword [esi + 0x28]
cmp dword [esi + 0x24], eax
jb 0x50308b
jl 0x50308e
je 0x503526
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.00561890
mov edx, dword [esi + 4]
add edx, 4
add dword [esi + 0x24], 0xfffffffc
jne 0x503510
cmp dword [esi + 0x20], 0
js 0x503091
mov eax, dword [esi + 0x20]
je 0x502ec8
shl eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x20], eax
mov dword [esi + 4], ecx
call fcn.00561890
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
add ecx, 4
add eax, 0xfffffffc
jne 0x50353f
jmp 0x502ec8