Function at 0x140012490
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rsi
push rdi
push r15
sub rsp, 0x70
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edi, edx
mov ebp, ecx
xor eax, eax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov r8d, ecx
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea r15, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x60], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14001255f
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ebp
lea rax, str.Failed_to_open_process_id__u:__u
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x1c
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeinclude_sledgehammerimpl.inl
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
mov ebx, 0xe0003000
jmp 0x14001268a
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400125ce
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ebp
lea rax, str.Failed_to_terminate_process_id__u:__u
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 2
mov r9d, 0x23
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeinclude_sledgehammerimpl.inl
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
mov ebx, 0xe0003005
jmp 0x14001268a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbp, rax
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x14001263d
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, rbp
mov qword [rsp + 0x38], rax
lea rax, str.Waited__I64u_ms_for_termination_to_complete
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 3
mov r9d, 0x2c
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeinclude_sledgehammerimpl.inl
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
jmp 0x140012688
call fcn.140024740
mov r10, qword [rax]
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
lea rcx, str.WaitForSingleObject_returned__u_with_specified_timeout__u
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 2
mov r9d, 0x30
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeinclude_sledgehammerimpl.inl
lea rdx, [0x1403b8fe8]
mov rcx, rax
call qword [r10 + 0x20]
xor ebx, ebx
mov qword [rsp + 0x58], r15
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400126a2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret