Function at 0x10185560
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 0x10186246
lea eax, [edi + 0x1c]
mov dword [esp + 0x6c], eax
push eax
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x101855d0
call fcn.101726e0
xor al, 1
mov dword [esp + 0x64], eax
movzx eax, byte [edi + 0x20]
test al, al
je 0x101855e4
jmp 0x1018625a
mov dword [esp + 0x64], 0
movzx eax, byte [edi + 0x20]
test al, al
jne 0x1018625a
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x20], edi
test eax, eax
mov dword [esp + 8], ecx
je 0x10185880
cmp eax, 1
jne 0x10185b00
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 0x10185664
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 0x101856a0
cmp edi, 6
ja 0x10185640
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x10185649
mov eax, edx
nop dword [eax]
pause
dec eax
jne 0x10185690
jmp 0x10185649
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 0x101856ee
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 0x10185770
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 0x1018573a
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
lock cmpxchg dword [edx], ebx
je 0x10185bf0
mov edx, dword [esp + 0x1c]
cmp edi, 6
mov eax, 6
cmovb eax, edi
test eax, eax
je 0x10185649
imul ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
pause
dec ecx
jne 0x10185730
jmp 0x10185649
cmp edi, 6
ja 0x10185640
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x10185649
mov eax, edx
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec eax
jne 0x10185760
jmp 0x10185649
test al, 1
jne 0x101861a3
mov edi, dword [esp + 0x78]
cmp edi, 0x3b9aca00
je 0x101857b5
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.1016de30
cmp eax, ebx
mov esi, edx
sbb edx, dword [esp + 0xc]
jb 0x101857b5
xor esi, dword [esp + 0xc]
xor eax, ebx
or esi, eax
jne 0x10186238
cmp ecx, edi
jae 0x10186238
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.10184d70
add esp, 4
mov ebx, eax
test eax, eax
je 0x1018582b
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x10185845
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.10186ff0
mov ecx, dword [ebx]
mov dword [ebx], esi
mov esi, dword [esp + 8]
test ecx, ecx
je 0x1018561f
lock dec dword [ecx]
jne 0x1018561f
call fcn.10188e60
jmp 0x1018561f
call fcn.1016d7a0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.10186ff0
jmp 0x1018585d
call fcn.1016d7a0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.10186ff0
lock dec dword [esi]
jne 0x1018561b
mov ecx, esi
call fcn.10188e60
jmp 0x1018561b
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 0x101858d4
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 0x10185970
mov edi, dword [esp + 8]
inc ebx
cmp ebx, dword [edi + 0x80]
jb 0x1018592a
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 0x10185b60
mov esi, dword [esp + 0x18]
cmp ebx, 6
mov eax, 6
cmovb eax, ebx
test eax, eax
je 0x101858c0
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec edx
jne 0x10185960
jmp 0x101858c0
cmp esi, ecx
jne 0x101859c0
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 0x101859f0
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x18]
cmp ebx, 6
mov eax, 6
cmovb eax, ebx
test eax, eax
je 0x101858c0
nop
pause
dec edx
jne 0x101859b0
jmp 0x101858c0
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x18]
cmp ebx, 7
jae 0x101858b2
test ebx, ebx
je 0x101858c0
mov eax, esi
nop
pause
dec eax
jne 0x101859e0
jmp 0x101858c0
test esi, eax
jne 0x101861a3
mov edi, dword [esp + 0x78]
cmp edi, 0x3b9aca00
je 0x10185a35
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.1016de30
cmp eax, ebx
mov esi, edx
sbb edx, dword [esp + 0xc]
jb 0x10185a35
xor esi, dword [esp + 0xc]
xor eax, ebx
or esi, eax
jne 0x10186238
cmp ecx, edi
jae 0x10186238
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.10184d70
add esp, 4
mov ebx, eax
test eax, eax
je 0x10185aab
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x10185ac5
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.10186e30
mov ecx, dword [ebx]
mov edi, dword [esp + 8]
mov dword [ebx], esi
test ecx, ecx
je 0x1018589c
lock dec dword [ecx]
jne 0x1018589c
call fcn.10188e60
jmp 0x1018589c
call fcn.1016d7a0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.10186e30
jmp 0x10185add
call fcn.1016d7a0
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.10186e30
lock dec dword [esi]
jne 0x10185898
mov ecx, esi
call fcn.10188e60
jmp 0x10185898
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 [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10185d85
call fcn.101726e0
mov ebx, eax
xor bl, 1
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0xc]
test al, al
je 0x10185d97
jmp 0x1018628a
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 0x10186121
mov eax, dword [esp + 8]
lea esi, [eax + 0x8c]
push esi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10185fb3
call fcn.101726e0
mov ebx, eax
xor bl, 1
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0x90]
test al, al
je 0x10185fc8
jmp 0x101862b2
mov eax, dword [esp + 0x2c]
mov ebx, esi
mov dword [esp + 0x68], esi
cmp eax, 0x1e
jne 0x10185c2c
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x10185e85
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 0x10185c90
mov esi, 1
xor ebx, ebx
xor edi, edi
jmp 0x10185c75
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 0x10185c90
cmp edi, 7
jae 0x10185c60
test edi, edi
je 0x10185c65
mov eax, ebx
pause
dec eax
jne 0x10185c80
jmp 0x10185c65
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 0x10185cf5
mov edi, dword [esp + 0x20]
xor edx, edx
jmp 0x10185cc6
inc edx
cmp edx, 0x1e
je 0x10185d1a
lea eax, [edx + edx*2]
mov ebx, dword [ecx + eax*4 + 8]
test bl, 2
jne 0x10185cc0
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 0x10185ce0
mov edi, dword [esp + 0x20]
test al, 2
jne 0x10185cc0
jmp 0x10185d2c
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 0x10185d00
mov edi, dword [esp + 0x20]
test al, 4
je 0x10185d2c
cmp dword [esp + 0x2c], 0x1c
jbe 0x10185d56
push dword [esp + 0x68]
push 0
mov eax, dword [0x1044eff8]
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 0x10186160
jmp 0x10186138
inc edx
cmp edx, 0x1e
je 0x10185d1a
lea eax, [edx + edx*2]
mov ebx, dword [ecx + eax*4 + 8]
test bl, 2
jne 0x10185d50
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 0x10185d70
mov edi, dword [esp + 0x20]
test al, 2
jne 0x10185d50
jmp 0x10185d2c
xor ebx, ebx
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0xc]
test al, al
jne 0x1018628a
lea edx, [ecx + 0x10]
lea ecx, [esp + 0x30]
call fcn.10186520
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0xc], eax
je 0x10185e0e
mov eax, dword [esp + 0x38]
test bl, bl
mov dword [esp + 0x80], eax
je 0x10185e3c
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x10185e68
cmp byte [ecx + 9], 0
je 0x10185ec7
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ecx], 0
test esi, esi
je 0x101862e0
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 0x10185f0a
jmp 0x10185f0f
mov eax, dword [esp + 8]
cmp byte [eax + 0x40], 0
je 0x10185f27
test bl, bl
mov byte [esp + 0x14], 1
mov dword [esp + 0x10], 0
je 0x1018602e
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
jmp 0x10185f0f
mov eax, dword [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10185dbe
call fcn.101726e0
test al, al
jne 0x10185dbe
mov eax, dword [esp + 8]
mov byte [eax + 0xc], 1
jmp 0x10185dbe
xor esi, esi
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], esi
lock dec dword [ecx]
je 0x10185f0a
jmp 0x10185f0f
mov esi, 1
xor edx, edx
xor edi, edi
jmp 0x10185eb1
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 0x10185c0d
cmp edi, 7
jae 0x10185e90
test edi, edi
je 0x10185ea1
mov eax, edx
nop dword [eax]
pause
dec eax
jne 0x10185ec0
jmp 0x10185ea1
movzx eax, byte [ecx + 8]
test al, al
je 0x1018605a
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ecx], 0
test esi, esi
je 0x101862e7
push ecx
push 0
mov eax, dword [0x1044eff8]
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 0x10185f0f
call fcn.10188e60
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x10186160
jmp 0x10186138
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.10184d70
add esp, 4
mov ebx, eax
test eax, eax
je 0x101860a7
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x101861be
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push esi
call fcn.101871a0
add esp, 4
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x10185f98
lock dec dword [ecx]
jne 0x10185f98
call fcn.10188e60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
jmp 0x101861e5
xor ebx, ebx
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0x90]
test al, al
jne 0x101862b2
movzx eax, byte [ecx + 0xac]
test al, al
je 0x10185fe0
test bl, bl
jne 0x1018611b
jmp 0x101860f9
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.10186520
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1018600f
lock dec dword [ecx]
jne 0x1018600f
call fcn.10188e60
mov ecx, esi
call fcn.10186700
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x9c], 0
je 0x101860dd
xor eax, eax
jmp 0x101860e7
mov eax, dword [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10185e31
call fcn.101726e0
test al, al
jne 0x10185e31
mov eax, dword [esp + 8]
mov byte [eax + 0xc], 1
jmp 0x10185e31
mov edi, 1
xor ebx, ebx
xor esi, esi
mov dword [esp + 8], ecx
jmp 0x1018608b
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 0x10185ed3
cmp esi, 7
jae 0x10186070
test esi, esi
je 0x10186079
mov eax, ebx
nop word cs:[eax + eax]
pause
dec eax
jne 0x101860a0
jmp 0x10186079
call fcn.1016d7a0
mov esi, eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
call fcn.101871a0
add esp, 4
lock dec dword [esi]
jne 0x101860cb
mov ecx, esi
call fcn.10188e60
movzx eax, byte [esp + 0x40]
cmp al, 2
jne 0x10186208
jmp 0x10185f0f
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 0x1018611b
mov eax, dword [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x1018611b
call fcn.101726e0
test al, al
jne 0x1018611b
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 0x10186160
mov eax, dword [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10186160
call fcn.101726e0
test al, al
jne 0x10186160
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 0x10186242
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.101896e0
jmp 0x10185580
mov byte [esp + 0x14], 1
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x10186160
jmp 0x10186138
call fcn.1016d7a0
mov esi, eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x90]
push eax
call fcn.101871a0
add esp, 4
lock dec dword [esi]
jne 0x101861e5
mov ecx, esi
call fcn.10188e60
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 0x10185f0f
mov esi, dword [esp + 0x3c]
test al, al
je 0x1018621b
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
jmp 0x10185f0f
mov eax, dword [0x1044effc]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10186210
call fcn.101726e0
test al, al
jne 0x10186210
mov byte [esi + 4], 1
jmp 0x10186210
mov byte [esp + 0x14], 0
jmp 0x101861a8
mov edi, dword [esp + 0x24]
lock dec dword [edi]
jne 0x10186252
mov ecx, edi
call fcn.10188e10
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 0x1043c0dc
push 0x1043bf1c
lea eax, [esp + 0x38]
push eax
push 0x29
push str.Worker_thread_unable_to_lock_job_receiver
call fcn.10027650
add esp, 0x14
jmp 0x101862fc
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], bl
push 0x1043bbb4
push 0x1043bf1c
lea eax, [esp + 0x38]
push eax
push 0x2b
push 0x1043bf3c
call fcn.10027650
add esp, 0x14
jmp 0x101862fc
mov eax, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], bl
push 0x1043bdd4
push 0x1043bf1c
lea eax, [esp + 0x58]
push eax
push 0x2b
push 0x1043bf3c
call fcn.10027650
add esp, 0x14
jmp 0x101862fc
mov eax, 0x1043bba4
jmp 0x101862ec
mov eax, 0x1043bb94
push eax
push 0x2b
push 0x1043baf4
call fcn.10027330
add esp, 0xc
ud2