Function at 0x10096950
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10177907
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101f0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 4]
lea ecx, [esi + 4]
test al, al
jne 0x10096cf4
mov al, 1
xchg byte [ecx], al
lea ecx, [esi + 5]
xor al, al
xchg byte [ecx], al
mov eax, dword [esi]
test eax, eax
je 0x100969ac
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov eax, dword [esi + 0x78]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10096a87
push 0x1388
push eax
call ebx
cmp eax, 0x102
jne 0x10096a7b
cmp dword [0x101f4a2c], 0
je 0x10096a67
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x10096a67
cmp dword [eax + 0x58], 2
jb 0x10096a67
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100073a0
push 0x1d
push 0x101ad1d4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10007cf0
push 0x15b
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
test bl, bl
je 0x10096a52
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10007310
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x78]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push dword [esi + 0x78]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x78]
call edi
mov dword [esi + 0x78], 0
cmp dword [esi + 0x74], 0
je 0x10096bb0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x80], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void____cdecl___void______void___.0
mov dword [ebp - 0x7c], 0x10095af0
mov dword [ebp - 0x5c], eax
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 1
call fcn.1001c790
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x3c]
call fcn.100997d0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.10013fc0
push 0x1388
mov byte [ebp - 4], 1
push dword [esi + 0x74]
call ebx
cmp eax, 0x102
jne 0x10096b95
cmp dword [0x101f4a2c], 0
je 0x10096b81
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x10096b81
cmp dword [eax + 0x58], 2
jb 0x10096b81
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x40]
call fcn.100073a0
push 0x19
push 0x101ad158
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10007cf0
push 0x16f
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
test bl, bl
je 0x10096b6f
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.10007310
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x74]
call edi
mov dword [esi + 0x74], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.10013fc0
cmp dword [esi + 0x70], 0
je 0x10096ce5
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xa8], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void____cdecl___void______void___.0
mov dword [ebp - 0xa4], 0x10095a20
mov dword [ebp - 0x84], eax
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 6
call fcn.1001c790
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 8]
call fcn.100997d0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.10013fc0
push 0x1388
mov byte [ebp - 4], 6
push dword [esi + 0x70]
call ebx
cmp eax, 0x102
jne 0x10096cc7
cmp dword [0x101f4a2c], 0
je 0x10096cb3
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x10096cb3
cmp dword [eax + 0x58], 2
jb 0x10096cb3
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x58]
call fcn.100073a0
push 0x19
push 0x101ad124
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.10007cf0
push 0x181
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x58]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
test bl, bl
je 0x10096ca7
lea eax, [ebp - 0x58]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.10007310
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x70]
call edi
mov dword [esi + 0x70], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.10013fc0
mov eax, dword [esi]
test eax, eax
je 0x10096cf4
push eax
call edi
mov dword [esi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101606b4
mov esp, ebp
pop ebp
ret