Function at 0x10178a80
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 0x10179766
lea eax, [edi + 0x1c]
mov dword [esp + 0x6c], eax
push eax
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10178af0
call fcn.10156060
xor al, 1
mov dword [esp + 0x64], eax
movzx eax, byte [edi + 0x20]
test al, al
je 0x10178b04
jmp 0x1017977a
mov dword [esp + 0x64], 0
movzx eax, byte [edi + 0x20]
test al, al
jne 0x1017977a
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x20], edi
test eax, eax
mov dword [esp + 8], ecx
je 0x10178da0
cmp eax, 1
jne 0x10179020
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 0x10178b84
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 0x10178bc0
cmp edi, 6
ja 0x10178b60
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x10178b69
mov eax, edx
nop dword [eax]
pause
dec eax
jne 0x10178bb0
jmp 0x10178b69
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 0x10178c0e
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 0x10178c90
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 0x10178c5a
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
lock cmpxchg dword [edx], ebx
je 0x10179110
mov edx, dword [esp + 0x1c]
cmp edi, 6
mov eax, 6
cmovb eax, edi
test eax, eax
je 0x10178b69
imul ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
pause
dec ecx
jne 0x10178c50
jmp 0x10178b69
cmp edi, 6
ja 0x10178b60
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x10178b69
mov eax, edx
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec eax
jne 0x10178c80
jmp 0x10178b69
test al, 1
jne 0x101796c3
mov edi, dword [esp + 0x78]
cmp edi, 0x3b9aca00
je 0x10178cd5
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.101517c0
cmp eax, ebx
mov esi, edx
sbb edx, dword [esp + 0xc]
jb 0x10178cd5
xor esi, dword [esp + 0xc]
xor eax, ebx
or esi, eax
jne 0x10179758
cmp ecx, edi
jae 0x10179758
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.10168570
add esp, 4
mov ebx, eax
test eax, eax
je 0x10178d4b
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x10178d65
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.1017a510
mov ecx, dword [ebx]
mov dword [ebx], esi
mov esi, dword [esp + 8]
test ecx, ecx
je 0x10178b3f
lock dec dword [ecx]
jne 0x10178b3f
call fcn.1017c380
jmp 0x10178b3f
call fcn.10151130
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.1017a510
jmp 0x10178d7d
call fcn.10151130
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.1017a510
lock dec dword [esi]
jne 0x10178b3b
mov ecx, esi
call fcn.1017c380
jmp 0x10178b3b
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 0x10178df4
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 0x10178e90
mov edi, dword [esp + 8]
inc ebx
cmp ebx, dword [edi + 0x80]
jb 0x10178e4a
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 0x10179080
mov esi, dword [esp + 0x18]
cmp ebx, 6
mov eax, 6
cmovb eax, ebx
test eax, eax
je 0x10178de0
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec edx
jne 0x10178e80
jmp 0x10178de0
cmp esi, ecx
jne 0x10178ee0
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 0x10178f10
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x18]
cmp ebx, 6
mov eax, 6
cmovb eax, ebx
test eax, eax
je 0x10178de0
nop
pause
dec edx
jne 0x10178ed0
jmp 0x10178de0
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x18]
cmp ebx, 7
jae 0x10178dd2
test ebx, ebx
je 0x10178de0
mov eax, esi
nop
pause
dec eax
jne 0x10178f00
jmp 0x10178de0
test esi, eax
jne 0x101796c3
mov edi, dword [esp + 0x78]
cmp edi, 0x3b9aca00
je 0x10178f55
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.101517c0
cmp eax, ebx
mov esi, edx
sbb edx, dword [esp + 0xc]
jb 0x10178f55
xor esi, dword [esp + 0xc]
xor eax, ebx
or esi, eax
jne 0x10179758
cmp ecx, edi
jae 0x10179758
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.10168570
add esp, 4
mov ebx, eax
test eax, eax
je 0x10178fcb
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x10178fe5
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.1017a350
mov ecx, dword [ebx]
mov edi, dword [esp + 8]
mov dword [ebx], esi
test ecx, ecx
je 0x10178dbc
lock dec dword [ecx]
jne 0x10178dbc
call fcn.1017c380
jmp 0x10178dbc
call fcn.10151130
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.1017a350
jmp 0x10178ffd
call fcn.10151130
mov esi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x10]
call fcn.1017a350
lock dec dword [esi]
jne 0x10178db8
mov ecx, esi
call fcn.1017c380
jmp 0x10178db8
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 [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x101792a5
call fcn.10156060
mov ebx, eax
xor bl, 1
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0xc]
test al, al
je 0x101792b7
jmp 0x101797aa
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 0x10179641
mov eax, dword [esp + 8]
lea esi, [eax + 0x8c]
push esi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x101794d3
call fcn.10156060
mov ebx, eax
xor bl, 1
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0x90]
test al, al
je 0x101794e8
jmp 0x101797d2
mov eax, dword [esp + 0x2c]
mov ebx, esi
mov dword [esp + 0x68], esi
cmp eax, 0x1e
jne 0x1017914c
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101793a5
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 0x101791b0
mov esi, 1
xor ebx, ebx
xor edi, edi
jmp 0x10179195
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 0x101791b0
cmp edi, 7
jae 0x10179180
test edi, edi
je 0x10179185
mov eax, ebx
pause
dec eax
jne 0x101791a0
jmp 0x10179185
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 0x10179215
mov edi, dword [esp + 0x20]
xor edx, edx
jmp 0x101791e6
inc edx
cmp edx, 0x1e
je 0x1017923a
lea eax, [edx + edx*2]
mov ebx, dword [ecx + eax*4 + 8]
test bl, 2
jne 0x101791e0
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 0x10179200
mov edi, dword [esp + 0x20]
test al, 2
jne 0x101791e0
jmp 0x1017924c
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 0x10179220
mov edi, dword [esp + 0x20]
test al, 4
je 0x1017924c
cmp dword [esp + 0x2c], 0x1c
jbe 0x10179276
push dword [esp + 0x68]
push 0
mov eax, dword [0x1035648c]
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 0x10179680
jmp 0x10179658
inc edx
cmp edx, 0x1e
je 0x1017923a
lea eax, [edx + edx*2]
mov ebx, dword [ecx + eax*4 + 8]
test bl, 2
jne 0x10179270
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 0x10179290
mov edi, dword [esp + 0x20]
test al, 2
jne 0x10179270
jmp 0x1017924c
xor ebx, ebx
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0xc]
test al, al
jne 0x101797aa
lea edx, [ecx + 0x10]
lea ecx, [esp + 0x30]
call fcn.10179a40
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0xc], eax
je 0x1017932e
mov eax, dword [esp + 0x38]
test bl, bl
mov dword [esp + 0x80], eax
je 0x1017935c
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x10179388
cmp byte [ecx + 9], 0
je 0x101793e7
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ecx], 0
test esi, esi
je 0x10179800
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 0x1017942a
jmp 0x1017942f
mov eax, dword [esp + 8]
cmp byte [eax + 0x40], 0
je 0x10179447
test bl, bl
mov byte [esp + 0x14], 1
mov dword [esp + 0x10], 0
je 0x1017954e
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
jmp 0x1017942f
mov eax, dword [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x101792de
call fcn.10156060
test al, al
jne 0x101792de
mov eax, dword [esp + 8]
mov byte [eax + 0xc], 1
jmp 0x101792de
xor esi, esi
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], esi
lock dec dword [ecx]
je 0x1017942a
jmp 0x1017942f
mov esi, 1
xor edx, edx
xor edi, edi
jmp 0x101793d1
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 0x1017912d
cmp edi, 7
jae 0x101793b0
test edi, edi
je 0x101793c1
mov eax, edx
nop dword [eax]
pause
dec eax
jne 0x101793e0
jmp 0x101793c1
movzx eax, byte [ecx + 8]
test al, al
je 0x1017957a
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ecx], 0
test esi, esi
je 0x10179807
push ecx
push 0
mov eax, dword [0x1035648c]
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 0x1017942f
call fcn.1017c380
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x10179680
jmp 0x10179658
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.10168570
add esp, 4
mov ebx, eax
test eax, eax
je 0x101795c7
mov esi, dword [ebx]
mov dword [ebx], 0
test esi, esi
je 0x101796de
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push esi
call fcn.1017a6c0
add esp, 4
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x101794b8
lock dec dword [ecx]
jne 0x101794b8
call fcn.1017c380
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
jmp 0x10179705
xor ebx, ebx
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 0x90]
test al, al
jne 0x101797d2
movzx eax, byte [ecx + 0xac]
test al, al
je 0x10179500
test bl, bl
jne 0x1017963b
jmp 0x10179619
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.10179a40
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1017952f
lock dec dword [ecx]
jne 0x1017952f
call fcn.1017c380
mov ecx, esi
call fcn.10179c20
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x9c], 0
je 0x101795fd
xor eax, eax
jmp 0x10179607
mov eax, dword [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10179351
call fcn.10156060
test al, al
jne 0x10179351
mov eax, dword [esp + 8]
mov byte [eax + 0xc], 1
jmp 0x10179351
mov edi, 1
xor ebx, ebx
xor esi, esi
mov dword [esp + 8], ecx
jmp 0x101795ab
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 0x101793f3
cmp esi, 7
jae 0x10179590
test esi, esi
je 0x10179599
mov eax, ebx
nop word cs:[eax + eax]
pause
dec eax
jne 0x101795c0
jmp 0x10179599
call fcn.10151130
mov esi, eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
call fcn.1017a6c0
add esp, 4
lock dec dword [esi]
jne 0x101795eb
mov ecx, esi
call fcn.1017c380
movzx eax, byte [esp + 0x40]
cmp al, 2
jne 0x10179728
jmp 0x1017942f
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 0x1017963b
mov eax, dword [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x1017963b
call fcn.10156060
test al, al
jne 0x1017963b
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 0x10179680
mov eax, dword [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10179680
call fcn.10156060
test al, al
jne 0x10179680
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 0x10179762
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.1017cc00
jmp 0x10178aa0
mov byte [esp + 0x14], 1
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x64], 0
jne 0x10179680
jmp 0x10179658
call fcn.10151130
mov esi, eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x90]
push eax
call fcn.1017a6c0
add esp, 4
lock dec dword [esi]
jne 0x10179705
mov ecx, esi
call fcn.1017c380
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 0x1017942f
mov esi, dword [esp + 0x3c]
test al, al
je 0x1017973b
push esi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
jmp 0x1017942f
mov eax, dword [0x10356490]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10179730
call fcn.10156060
test al, al
jne 0x10179730
mov byte [esi + 4], 1
jmp 0x10179730
mov byte [esp + 0x14], 0
jmp 0x101796c8
mov edi, dword [esp + 0x24]
lock dec dword [edi]
jne 0x10179772
mov ecx, edi
call fcn.1017c330
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 0x1034e32c
push 0x1034e16c
lea eax, [esp + 0x38]
push eax
push 0x29
push str.Worker_thread_unable_to_lock_job_receiver
call fcn.10026bb0
add esp, 0x14
jmp 0x1017981c
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], bl
push 0x1034de04
push 0x1034e16c
lea eax, [esp + 0x38]
push eax
push 0x2b
push 0x1034e18c
call fcn.10026bb0
add esp, 0x14
jmp 0x1017981c
mov eax, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], bl
push 0x1034e024
push 0x1034e16c
lea eax, [esp + 0x58]
push eax
push 0x2b
push 0x1034e18c
call fcn.10026bb0
add esp, 0x14
jmp 0x1017981c
mov eax, 0x1034ddf4
jmp 0x1017980c
mov eax, 0x1034dde4
push eax
push 0x2b
push 0x1034dd44
call fcn.10026890
add esp, 0xc
ud2