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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, ecx
mov dword [esp + 0x24], ecx
nop word cs:[eax + eax]
nop
mov eax, dword [esi + 0x40]
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
cmp eax, ecx
jae 0x54a4b6
lea eax, [edi + 0x1c]
mov dword [esp + 0x6c], eax
push eax
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x549840
call fcn.005373c0
xor al, 1
mov dword [esp + 0x64], eax
movzx eax, byte [edi + 0x20]
test al, al
je 0x549854
jmp 0x54a4ca
mov dword [esp + 0x64], 0
movzx eax, byte [edi + 0x20]
test al, al
jne 0x54a4ca
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x20], edi
test eax, eax
mov dword [esp + 8], ecx
je 0x549af0
cmp eax, 1
jne 0x549d70
xorps xmm0, xmm0
mov dword [esp + 0x78], 0x3b9aca00
mov dword [esp + 0x40], 0
movaps xmmword [esp + 0x30], xmm0
mov esi, dword [esp + 8]
mov ebx, dword [esi]
mov esi, dword [esi + 4]
xor edi, edi
mov dword [esp + 0xc], 1
mov dword [esp + 0x1c], 0
jmp 0x5498d4
call sub.KERNEL32.dll_SwitchToThread
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
inc edi
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0xc]
add edx, ecx
add ecx, 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], ecx
cmp edi, 6
mov ecx, 6
mov edx, ebx
cmovb ecx, edi
shr edx, 1
mov eax, edx
and eax, 0x1f
cmp eax, 0x1f
jne 0x549910
cmp edi, 6
ja 0x5498b0
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x5498b9
mov eax, edx
nop dword [eax]
pause
dec eax
jne 0x549900
jmp 0x5498b9
mov dword [esp + 0x28], edi
mov edi, ebx
add ebx, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebx
mov ebx, edi
mov eax, edi
test bl, 1
jne 0x54995e
mov dword [esp + 0x98], eax
mfence
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x40]
mov ebx, eax
shr ebx, 1
cmp edx, ebx
je 0x5499e0
mov ebx, eax
mov eax, dword [esp + 0x98]
xor edx, edx
xor ebx, eax
cmp ebx, 0x40
setae dl
or dword [esp + 0x18], edx
mov edi, dword [esp + 0x28]
test esi, esi
je 0x5499aa
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
lock cmpxchg dword [edx], ebx
je 0x549e60
mov edx, dword [esp + 0x1c]
cmp edi, 6
mov eax, 6
cmovb eax, edi
test eax, eax
je 0x5498b9
imul ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
pause
dec ecx
jne 0x5499a0
jmp 0x5498b9
cmp edi, 6
ja 0x5498b0
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x5498b9
mov eax, edx
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec eax
jne 0x5499d0
jmp 0x5498b9
test al, 1
jne 0x54a413
mov edi, dword [esp + 0x78]
cmp edi, 0x3b9aca00
je 0x549a25
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.00532e80
cmp eax, ebx
mov esi, edx
sbb edx, dword [esp + 0xc]
jb 0x549a25
xor esi, dword [esp + 0xc]
xor eax, ebx
or esi, eax
jne 0x54a4a8
cmp ecx, edi
jae 0x54a4a8
lea eax, [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x58], eax
push 0
call fcn.005493a0
add esp, 4
mov ebx, eax
test eax, eax
je 0x549a9b
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x549ab5
mov dword [esp + 0x10], esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.0054b260
mov ecx, dword [ebx]
mov dword [ebx], esi
mov esi, dword [esp + 8]
test ecx, ecx
je 0x54988f
lock dec dword [ecx]
jne 0x54988f
call fcn.0054d0d0
jmp 0x54988f
call fcn.005329f0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.0054b260
jmp 0x549acd
call fcn.005329f0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.0054b260
lock dec dword [esi]
jne 0x54988b
mov ecx, esi
call fcn.0054d0d0
jmp 0x54988b
xorps xmm0, xmm0
mov dword [esp + 0x78], 0x3b9aca00
mov dword [esp + 0x40], 0
movaps xmmword [esp + 0x30], xmm0
mov edi, dword [esp + 8]
mov ecx, dword [edi]
xor ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
jmp 0x549b44
call sub.KERNEL32.dll_SwitchToThread
nop word [eax + eax]
mov ecx, dword [edi]
mov eax, dword [esp + 0x1c]
inc ebx
add esi, eax
add eax, 2
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
cmp ebx, 6
mov edx, 6
mov dword [esp + 0xc], ebx
mov esi, dword [edi + 0xd4]
cmovb edx, ebx
mov ebx, dword [edi + 0x88]
xor eax, eax
sub eax, dword [edi + 0x84]
imul edx, edx
mov dword [esp + 0x28], esi
dec ebx
and ebx, ecx
lea edi, [ebx + ebx*2]
mov dword [esp + 0x2c], edi
mov esi, dword [esi + edi*4 + 8]
lea edi, [ecx + 1]
cmp edi, esi
jne 0x549be0
mov edi, dword [esp + 8]
inc ebx
cmp ebx, dword [edi + 0x80]
jb 0x549b9a
and eax, ecx
add eax, dword [edi + 0x84]
mov esi, eax
mov eax, ecx
lock cmpxchg dword [edi], esi
mov ebx, dword [esp + 0xc]
je 0x549dd0
mov esi, dword [esp + 0x18]
cmp ebx, 6
mov eax, 6
cmovb eax, ebx
test eax, eax
je 0x549b30
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec edx
jne 0x549bd0
jmp 0x549b30
cmp esi, ecx
jne 0x549c30
mfence
mov ebx, ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x40]
mov esi, dword [ecx + 0x88]
mov edi, esi
not edi
and edi, eax
cmp edi, ebx
mov ebx, dword [esp + 0xc]
je 0x549c60
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x18]
cmp ebx, 6
mov eax, 6
cmovb eax, ebx
test eax, eax
je 0x549b30
nop
pause
dec edx
jne 0x549c20
jmp 0x549b30
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x18]
cmp ebx, 7
jae 0x549b22
test ebx, ebx
je 0x549b30
mov eax, esi
nop
pause
dec eax
jne 0x549c50
jmp 0x549b30
test esi, eax
jne 0x54a413
mov edi, dword [esp + 0x78]
cmp edi, 0x3b9aca00
je 0x549ca5
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.00532e80
cmp eax, ebx
mov esi, edx
sbb edx, dword [esp + 0xc]
jb 0x549ca5
xor esi, dword [esp + 0xc]
xor eax, ebx
or esi, eax
jne 0x54a4a8
cmp ecx, edi
jae 0x54a4a8
lea eax, [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x58], eax
push 0
call fcn.005493a0
add esp, 4
mov ebx, eax
test eax, eax
je 0x549d1b
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x549d35
mov dword [esp + 0x10], esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.0054b0a0
mov ecx, dword [ebx]
mov edi, dword [esp + 8]
mov dword [ebx], esi
test ecx, ecx
je 0x549b0c
lock dec dword [ecx]
jne 0x549b0c
call fcn.0054d0d0
jmp 0x549b0c
call fcn.005329f0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.0054b0a0
jmp 0x549d4d
call fcn.005329f0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.0054b0a0
lock dec dword [esi]
jne 0x549b08
mov ecx, esi
call fcn.0054d0d0
jmp 0x549b08
mov eax, dword [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x58], 0x3b9aca00
mov dword [esp + 0x80], 0
movaps xmmword [esp + 0x70], xmm0
lea esi, [eax + 8]
push esi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x549ff5
call fcn.005373c0
mov ebx, eax
xor bl, 1
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0xc]
test al, al
je 0x54a007
jmp 0x54a4fa
mov ebx, edi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea edx, [esi + edi*4]
lea eax, [esi + edi*4 + 8]
mov dword [esp + 0x30], edx
add ecx, dword [ebx + 0x84]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + edi*4]
mov esi, dword [esi + edi*4 + 4]
mov dword [esp + 0xc], edx
mov edx, ecx
mov dword [esp + 0x1c], esi
mov dword [eax], edx
movzx eax, byte [ebx + 0xac]
mov edi, dword [esp + 0x20]
test al, al
jne 0x54a391
mov eax, dword [esp + 8]
lea esi, [eax + 0x8c]
push esi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x54a223
call fcn.005373c0
mov ebx, eax
xor bl, 1
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0x90]
test al, al
je 0x54a238
jmp 0x54a522
mov eax, dword [esp + 0x2c]
mov ebx, esi
mov dword [esp + 0x68], esi
cmp eax, 0x1e
jne 0x549e9c
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x54a0f5
and ecx, 0xfffffffe
xor edx, edx
mov esi, ecx
mov ecx, dword [eax]
test ecx, ecx
setne dl
lea ecx, [esi + edx + 2]
mov esi, dword [esp + 8]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*2]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov eax, ebx
lea edx, [ebx + ecx*4 + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov eax, dword [ebx + ecx*4 + 0xc]
test al, 1
jne 0x549f00
mov esi, 1
xor ebx, ebx
xor edi, edi
jmp 0x549ee5
call sub.KERNEL32.dll_SwitchToThread
mov eax, dword [esp + 8]
add ebx, esi
inc edi
add esi, 2
mov eax, dword [eax]
test al, 1
jne 0x549f00
cmp edi, 7
jae 0x549ed0
test edi, edi
je 0x549ed5
mov eax, ebx
pause
dec eax
jne 0x549ef0
jmp 0x549ed5
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0xc]
lea ecx, [eax + 4]
lea eax, [eax + edx*4 + 4]
mov edx, dword [esp + 0x2c]
mov esi, dword [eax]
mov eax, dword [eax + 4]
inc edx
cmp edx, 0x1f
mov dword [esp + 0xc], eax
jne 0x549f65
mov edi, dword [esp + 0x20]
xor edx, edx
jmp 0x549f36
inc edx
cmp edx, 0x1e
je 0x549f8a
lea eax, [edx + edx*2]
mov ebx, dword [ecx + eax*4 + 8]
test bl, 2
jne 0x549f30
lea edi, [ecx + eax*4 + 8]
mov eax, dword [edi]
nop dword [eax + eax]
mov ebx, eax
or ebx, 4
lock cmpxchg dword [edi], ebx
jne 0x549f50
mov edi, dword [esp + 0x20]
test al, 2
jne 0x549f30
jmp 0x549f9c
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
nop dword [eax + eax]
mov edi, eax
or edi, 2
lock cmpxchg dword [ebx], edi
jne 0x549f70
mov edi, dword [esp + 0x20]
test al, 4
je 0x549f9c
cmp dword [esp + 0x2c], 0x1c
jbe 0x549fc6
push dword [esp + 0x68]
push 0
mov eax, dword [0x607460]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0xc]
mov ebx, esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x54a3d0
jmp 0x54a3a8
inc edx
cmp edx, 0x1e
je 0x549f8a
lea eax, [edx + edx*2]
mov ebx, dword [ecx + eax*4 + 8]
test bl, 2
jne 0x549fc0
lea edi, [ecx + eax*4 + 8]
mov eax, dword [edi]
nop dword [eax + eax]
mov ebx, eax
or ebx, 4
lock cmpxchg dword [edi], ebx
jne 0x549fe0
mov edi, dword [esp + 0x20]
test al, 2
jne 0x549fc0
jmp 0x549f9c
xor ebx, ebx
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0xc]
test al, al
jne 0x54a4fa
lea edx, [ecx + 0x10]
lea ecx, [esp + 0x30]
call fcn.0054a790
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0xc], eax
je 0x54a07e
mov eax, dword [esp + 0x38]
test bl, bl
mov dword [esp + 0x80], eax
je 0x54a0ac
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x54a0d8
cmp byte [ecx + 9], 0
je 0x54a137
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ecx], 0
test esi, esi
je 0x54a550
mov byte [ecx + 8], 1
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], esi
lock dec dword [ecx]
je 0x54a17a
jmp 0x54a17f
mov eax, dword [esp + 8]
cmp byte [eax + 0x40], 0
je 0x54a197
test bl, bl
mov byte [esp + 0x14], 1
mov dword [esp + 0x10], 0
je 0x54a29e
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
jmp 0x54a17f
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x54a02e
call fcn.005373c0
test al, al
jne 0x54a02e
mov eax, dword [esp + 8]
mov byte [eax + 0xc], 1
jmp 0x54a02e
xor esi, esi
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], esi
lock dec dword [ecx]
je 0x54a17a
jmp 0x54a17f
mov esi, 1
xor edx, edx
xor edi, edi
jmp 0x54a121
mov ebx, edx
call sub.KERNEL32.dll_SwitchToThread
mov edx, ebx
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
add edx, esi
inc edi
add esi, 2
test eax, eax
jne 0x549e7d
cmp edi, 7
jae 0x54a100
test edi, edi
je 0x54a111
mov eax, edx
nop dword [eax]
pause
dec eax
jne 0x54a130
jmp 0x54a111
movzx eax, byte [ecx + 8]
test al, al
je 0x54a2ca
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ecx], 0
test esi, esi
je 0x54a557
push ecx
push 0
mov eax, dword [0x607460]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], esi
lock dec dword [ecx]
jne 0x54a17f
call fcn.0054d0d0
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x54a3d0
jmp 0x54a3a8
lea eax, [esp + 0x70]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x40], bl
push 0
call fcn.005493a0
add esp, 4
mov ebx, eax
test eax, eax
je 0x54a317
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x54a42e
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push esi
call fcn.0054b410
add esp, 4
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x54a208
lock dec dword [ecx]
jne 0x54a208
call fcn.0054d0d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
jmp 0x54a455
xor ebx, ebx
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0x90]
test al, al
jne 0x54a522
movzx eax, byte [ecx + 0xac]
test al, al
je 0x54a250
test bl, bl
jne 0x54a38b
jmp 0x54a369
mov eax, dword [esp + 8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
lea esi, [eax + 0x94]
lea ecx, [esp + 0x50]
mov edx, esi
call fcn.0054a790
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x54a27f
lock dec dword [ecx]
jne 0x54a27f
call fcn.0054d0d0
mov ecx, esi
call fcn.0054a970
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x9c], 0
je 0x54a34d
xor eax, eax
jmp 0x54a357
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x54a0a1
call fcn.005373c0
test al, al
jne 0x54a0a1
mov eax, dword [esp + 8]
mov byte [eax + 0xc], 1
jmp 0x54a0a1
mov edi, 1
xor ebx, ebx
xor esi, esi
mov dword [esp + 8], ecx
jmp 0x54a2fb
call sub.KERNEL32.dll_SwitchToThread
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 8]
add ebx, edi
inc esi
add edi, 2
test al, al
jne 0x54a143
cmp esi, 7
jae 0x54a2e0
test esi, esi
je 0x54a2e9
mov eax, ebx
nop word cs:[eax + eax]
pause
dec eax
jne 0x54a310
jmp 0x54a2e9
call fcn.005329f0
mov esi, eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
call fcn.0054b410
add esp, 4
lock dec dword [esi]
jne 0x54a33b
mov ecx, esi
call fcn.0054d0d0
movzx eax, byte [esp + 0x40]
cmp al, 2
jne 0x54a478
jmp 0x54a17f
cmp dword [ecx + 0xa8], 0
sete al
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
xchg byte [ecx + 0xac], al
test bl, bl
jne 0x54a38b
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x54a38b
call fcn.005373c0
test al, al
jne 0x54a38b
mov eax, dword [esp + 8]
mov byte [eax + 0x90], 1
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x54a3d0
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x54a3d0
call fcn.005373c0
test al, al
jne 0x54a3d0
mov byte [edi + 0x20], 1
nop word cs:[eax + eax]
nop dword [eax]
push dword [esp + 0x6c]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
test ebx, ebx
je 0x54a4b2
mov eax, dword [esp + 0x24]
lock inc dword [eax + 0x40]
mov eax, dword [esp + 0x24]
lock dec dword [eax + 0x3c]
mov eax, dword [esi + 0xc]
push ebx
call eax
add esp, 4
mov eax, dword [esp + 0x24]
lock dec dword [eax + 0x40]
mov esi, dword [esp + 0x24]
lea ecx, [esi + 8]
call fcn.0054d950
jmp 0x5497f0
mov byte [esp + 0x14], 1
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x54a3d0
jmp 0x54a3a8
call fcn.005329f0
mov esi, eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x90]
push eax
call fcn.0054b410
add esp, 4
lock dec dword [esi]
jne 0x54a455
mov ecx, esi
call fcn.0054d0d0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x40]
cmp al, 2
je 0x54a17f
mov esi, dword [esp + 0x3c]
test al, al
je 0x54a48b
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
jmp 0x54a17f
mov eax, dword [0x607464]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x54a480
call fcn.005373c0
test al, al
jne 0x54a480
mov byte [esi + 4], 1
jmp 0x54a480
mov byte [esp + 0x14], 0
jmp 0x54a418
mov edi, dword [esp + 0x24]
lock dec dword [edi]
jne 0x54a4c2
mov ecx, edi
call fcn.0054d080
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov byte [esp + 0x34], al
push 0x60207c
push 0x601ebc
lea eax, [esp + 0x38]
push eax
push 0x29
push str.Worker_thread_unable_to_lock_job_receiver
call fcn.004254f0
add esp, 0x14
jmp 0x54a56c
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], bl
push 0x601b54
push 0x601ebc
lea eax, [esp + 0x38]
push eax
push 0x2b
push 0x601edc
call fcn.004254f0
add esp, 0x14
jmp 0x54a56c
mov eax, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], bl
push 0x601d74
push 0x601ebc
lea eax, [esp + 0x58]
push eax
push 0x2b
push 0x601edc
call fcn.004254f0
add esp, 0x14
jmp 0x54a56c
mov eax, 0x601b44
jmp 0x54a55c
mov eax, 0x601b34
push eax
push 0x2b
push 0x601a94
call fcn.004251d0
add esp, 0xc
ud2