Function at 0x1009c840
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e7d7
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101f9014]
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 0x1009cbe4
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 0x1009c89c
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 0x1009c977
push 0x1388
push eax
call ebx
cmp eax, 0x102
jne 0x1009c96b
cmp dword [0x101fdd8c], 0
je 0x1009c957
push 0
mov ecx, 0x101fdd8c
call fcn.10152790
mov eax, dword [0x101fdd8c]
cmp byte [eax + 0x54], 0
je 0x1009c957
cmp dword [eax + 0x58], 2
jb 0x1009c957
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074a0
push 0x1d
push 0x101b576c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10007df0
push 0x15b
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push eax
push 2
call fcn.10153110
test bl, bl
je 0x1009c942
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push eax
call fcn.10153430
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10007410
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 0x1009caa0
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], 0x1009b9e0
mov dword [ebp - 0x5c], eax
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 1
call fcn.1001fb00
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x3c]
call fcn.1009f6c0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.10012560
push 0x1388
mov byte [ebp - 4], 1
push dword [esi + 0x74]
call ebx
cmp eax, 0x102
jne 0x1009ca85
cmp dword [0x101fdd8c], 0
je 0x1009ca71
push 0
mov ecx, 0x101fdd8c
call fcn.10152790
mov eax, dword [0x101fdd8c]
cmp byte [eax + 0x54], 0
je 0x1009ca71
cmp dword [eax + 0x58], 2
jb 0x1009ca71
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x40]
call fcn.100074a0
push 0x19
push 0x101b56f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10007df0
push 0x16f
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x40]
mov ecx, 0x101fdd8c
push eax
push 2
call fcn.10153110
test bl, bl
je 0x1009ca5f
lea eax, [ebp - 0x40]
mov ecx, 0x101fdd8c
push eax
call fcn.10153430
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.10007410
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.10012560
cmp dword [esi + 0x70], 0
je 0x1009cbd5
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], 0x1009b910
mov dword [ebp - 0x84], eax
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 6
call fcn.1001fb00
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 8]
call fcn.1009f6c0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.10012560
push 0x1388
mov byte [ebp - 4], 6
push dword [esi + 0x70]
call ebx
cmp eax, 0x102
jne 0x1009cbb7
cmp dword [0x101fdd8c], 0
je 0x1009cba3
push 0
mov ecx, 0x101fdd8c
call fcn.10152790
mov eax, dword [0x101fdd8c]
cmp byte [eax + 0x54], 0
je 0x1009cba3
cmp dword [eax + 0x58], 2
jb 0x1009cba3
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x58]
call fcn.100074a0
push 0x19
push 0x101b56bc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.10007df0
push 0x181
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x58]
mov ecx, 0x101fdd8c
push eax
push 2
call fcn.10153110
test bl, bl
je 0x1009cb97
lea eax, [ebp - 0x58]
mov ecx, 0x101fdd8c
push eax
call fcn.10153430
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.10007410
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.10012560
mov eax, dword [esi]
test eax, eax
je 0x1009cbe4
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.101669b4
mov esp, ebp
pop ebp
ret