Function at 0x10064660
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086a70
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x100b2008]
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 0x10064ad2
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 0x100646bc
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 0x10064793
push 0x1388
push eax
call ebx
cmp eax, 0x102
jne 0x10064787
cmp dword [0x100b535c], 0
je 0x10064773
push ecx
mov ecx, 0x100b535c
call fcn.10075870
mov eax, dword [0x100b535c]
cmp byte [eax + 0x54], 0
je 0x10064773
cmp dword [eax + 0x58], 2
jb 0x10064773
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x78]
call fcn.10004c70
push 0x1d
push 0x1009a0c0
mov dword [ebp - 4], 0
call fcn.100057c0
push 0x15b
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x78]
mov ecx, 0x100b535c
push eax
push 2
call fcn.10076640
test bl, bl
je 0x1006475e
lea eax, [ebp - 0x78]
mov ecx, 0x100b535c
push eax
call fcn.100769e0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.10004be0
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 0x1006492e
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void____cdecl___void______void___.0
mov dword [ebp - 0x34], 0x10063770
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
sete al
test al, al
jne 0x100647f6
mov eax, dword [ecx]
lea edx, [ebp - 0xd8]
push edx
call dword [eax]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x3c]
call fcn.10068bf0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10064835
mov edx, dword [ecx]
lea eax, [ebp - 0xd8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0xb4], 0
push 0x1388
mov byte [ebp - 4], 1
push dword [esi + 0x74]
call ebx
cmp eax, 0x102
jne 0x100648f5
cmp dword [0x100b535c], 0
je 0x100648e1
push ecx
mov ecx, 0x100b535c
call fcn.10075870
mov eax, dword [0x100b535c]
cmp byte [eax + 0x54], 0
je 0x100648e1
cmp dword [eax + 0x58], 2
jb 0x100648e1
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x90]
call fcn.10004c70
push 0x19
push 0x1009a1f4
mov byte [ebp - 4], 8
call fcn.100057c0
push 0x16f
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0x90]
mov ecx, 0x100b535c
push eax
push 2
call fcn.10076640
test bl, bl
je 0x100648cc
lea eax, [ebp - 0x90]
mov ecx, 0x100b535c
push eax
call fcn.100769e0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.10004be0
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
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10064927
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x70], 0
je 0x10064ac3
lea eax, [ebp - 0x60]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x60], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void____cdecl___void______void___.0
mov dword [ebp - 0x5c], 0x100636a0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x100]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xdc], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
sete al
test al, al
jne 0x10064991
mov eax, dword [ecx]
lea edx, [ebp - 0x100]
push edx
call dword [eax]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [esi + 8]
call fcn.10068bf0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x100649d0
mov edx, dword [ecx]
lea eax, [ebp - 0x100]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0xdc], 0
push 0x1388
mov byte [ebp - 4], 0xb
push dword [esi + 0x70]
call ebx
cmp eax, 0x102
jne 0x10064a8a
cmp dword [0x100b535c], 0
je 0x10064a76
push ecx
mov ecx, 0x100b535c
call fcn.10075870
mov eax, dword [0x100b535c]
cmp byte [eax + 0x54], 0
je 0x10064a76
cmp dword [eax + 0x58], 2
jb 0x10064a76
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0xa8]
call fcn.10004c70
push 0x19
push 0x1009a16c
mov byte [ebp - 4], 0x12
call fcn.100057c0
push 0x181
push str.RC::RCMessageTaskDispatcher::Quit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
lea eax, [ebp - 0xa8]
mov ecx, 0x100b535c
push eax
push 2
call fcn.10076640
test bl, bl
je 0x10064a67
lea eax, [ebp - 0xa8]
mov ecx, 0x100b535c
push eax
call fcn.100769e0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.10004be0
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
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x10064abc
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x10064ad2
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.1007b5d9
mov esp, ebp
pop ebp
ret