Function at 0x140057960
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
cmp qword [rdx + 0x10], r12
jne 0x1400579f0
call fcn.14001e910
mov r10, qword [rax]
lea rcx, str.Invalid_path
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
lea r9d, [r12 + 0x23]
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call qword [r10 + 0x18]
mov eax, 0xe0001002
jmp 0x140058445
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r12w
mov ebx, dword [rcx + 8]
lea rcx, [0x1404b6aa0]
mov qword [rbp + 0x38], rcx
call fcn.14002eb20
nop
mov r8d, ebx
lea rdx, [rbp - 0x20]
call fcn.14001e650
nop
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14002eb40
nop
lea rcx, [rbp - 0x20]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x38]
call fcn.14001e8e0
mov r15, qword [rbp + 0x70]
test r15, r15
jne 0x140057aaf
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
mov ecx, dword [rdi + 8]
mov dword [rsp + 0x38], ecx
lea rcx, str.Invalid_ID__u
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
lea r9d, [r15 + 0x2b]
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov ebx, 0xe0001005
jmp 0x14005843a
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, rdi
call fcn.1400172f0
mov r14, rax
lea r13, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x58], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140057b3b
call fcn.14001e910
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Failed__u
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x33
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov ebx, 0xe0004007
jmp 0x14005841f
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x140058475
cmp qword [rsi + 0x18], 7
jbe 0x140057b67
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 1
lea r9, [0x140419a3c]
lea rcx, [rbp - 0x20]
call fcn.14002beb0
mov ebx, 2
mov dword [rsp + 0x50], ebx
mov r8d, ebx
lea rdx, [0x140419a34]
lea rcx, [rbp - 0x20]
call fcn.14002be20
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or ebx, 4
mov dword [rsp + 0x50], ebx
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rdx, qword [rbp + 0x60]
mov r8, r15
lea rcx, [rbp - 0x40]
call fcn.14002be20
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or ebx, 8
mov dword [rsp + 0x50], ebx
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_StrDupW]
mov rsi, rax
lea r15, vtable.mb::common::system::ScopedAny_wchar_t____ptr64__void____ptr64____cdecl___void____ptr64___void____ptr64___cdecl_LocalFree_void____ptr64___0__0__4_.0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x48], rax
and ebx, 0xfffffff7
mov dword [rsp + 0x50], ebx
lea rcx, [rbp - 0x60]
call fcn.1400166f0
and ebx, 0xfffffffb
mov dword [rsp + 0x50], ebx
lea rcx, [rbp - 0x40]
call fcn.1400166f0
and ebx, 0xfffffffd
mov dword [rsp + 0x50], ebx
lea rcx, [rbp - 0x20]
call fcn.1400166f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rax
movdqa xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r12
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
mov dword [rbp + 0x110], reloc.WS2_32.dll_WSASetLastError
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
lea ecx, [rax + 0xc]
cmp dword [rdi + 0x10], eax
je 0x140057deb
lea rcx, [rbp + 0x1a0]
call fcn.1400b1470
nop
lea rcx, [rbp + 0x1a0]
call fcn.1400b1f70
cmp eax, 0xc
jb 0x140057e88
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1400b37e0
test al, al
jne 0x140057e88
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
xor edx, edx
call fcn.1400b5990
test al, al
je 0x140057e88
mov dword [rbp + 0x38], 3
mov qword [rsp + 0x58], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x2000b
lea rax, [rsp + 0x58]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xf0]
call fcn.140022e10
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x110]
call fcn.1400168e0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400231a0
mov ecx, 0xc000c
lea rax, vtable.mb::common::misc::Singleton_class_mb::common::system::SysInfoUtils_.0
mov qword [rbp + 0x1a0], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140057ee7
call fcn.14001e910
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.CreateProcess_failed:__u
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x51
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov ebx, 0xe0003001
jmp 0x14005836c
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, [0x140419a40]
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x43
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
nop
lea rax, vtable.mb::common::misc::Singleton_class_mb::common::system::SysInfoUtils_.0
mov qword [rbp + 0x1a0], rax
mov ebx, 0xe0001001
jmp 0x14005836c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
lea r8d, [rax + 6]
lea rdx, str.Local_
lea rcx, [rsp + 0x58]
call fcn.140031e00
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
xor r8d, r8d
lea rdx, [0x14041a6b8]
lea rcx, [rbp - 0x80]
call fcn.140031e00
nop
mov ebx, dword [rbp + 0x30]
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x88], r12
lea r15, vtable.mb::common::system::ScopedAny_struct_IPC_DIGICERTBRIDGE____ptr64__int____cdecl___void_const____ptr64___int___cdecl_UnmapViewOfFile_void_const____ptr64___0__0__4_.0
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], r12
mov qword [rbp + 0x98], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x140445990]
movdqa xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r12w
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140031cb0
nop
mov qword [rbp + 0xe0], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], r12w
cmp qword [rsp + 0x68], 0
je 0x14005805c
lea r8, [rbp + 0xf0]
mov edx, ebx
lea rcx, [rbp + 0x80]
call fcn.140053be0
test al, al
je 0x14005805c
lea r8, [rbp + 0xf0]
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400a2f80
nop
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14002eb40
nop
lea rcx, [rbp]
call fcn.1400166f0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x58]
call fcn.1400166f0
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140054040
test al, al
je 0x1400582a0
mov rcx, qword [rbp + 0x98]
mov rdx, rdi
mov r8d, 0xc3c
call fcn.14030ac20
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140058122
call fcn.14001e910
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Resume_failed:__u
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x61
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0xe0003002
jmp 0x140058306
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x14005819a
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
mov dword [rsp + 0x38], ebx
lea rcx, str.Wait_failed:__u
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, WSAGetLastError
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0xe0003003
jmp 0x140058306
mov rcx, r14
call fcn.140016b10
mov rdx, qword [rbp + 0x98]
test rdx, rdx
jne 0x140058268
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x14005820c
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 7
cmova rax, qword [rbp + 0xc0]
lea rdx, str.Not_initialized
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x59
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesmbcommon_vs2022.4.2.0.85_build_nativeincludeIPCMapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_DIGICERTBRIDGE_::GetStruct
call r10
call fcn.14001e910
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Read_failed:__u
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x75
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov ebx, 0xe0004001
jmp 0x140058306
mov rcx, rdi
mov r8d, 0xc3c
call fcn.14030ac20
cmp dword [rdi + 0xc], 0xffffffff
jne 0x14005829b
mov dword [rbp + 0x38], 0xffffffff
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14005829b
mov eax, dword [rbp + 0x38]
mov dword [rdi + 0xc], eax
mov ebx, dword [rdi + 0xc]
jmp 0x140058306
call fcn.14001e910
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Create_failed:__u
mov qword [rsp + 0x30], rax
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x59
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0xe0004000
lea rcx, [rbp + 0xc0]
call fcn.1400166f0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400166f0
nop
mov qword [rbp + 0x90], r15
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140058339
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp + 0x98], r12
mov qword [rbp + 0x80], r13
mov rcx, qword [rbp + 0x88]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005835e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x88], r12
lea r15, vtable.mb::common::system::ScopedAny_wchar_t____ptr64__void____ptr64____cdecl___void____ptr64___void____ptr64___cdecl_LocalFree_void____ptr64___0__0__4_.0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14005837b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14005838b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x1400583a4
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov qword [rbp + 0x178], r12
mov rax, qword [rbp + 0x180]
cmp rax, qword [rbp + 0x188]
je 0x1400583bb
mov qword [rbp + 0x188], rax
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x140058409
mov rdx, qword [rbp + 0x190]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400583f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005846f
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x40], r15
test rsi, rsi
je 0x14005841b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r13
lea rdx, [r14 - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140058436
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x58], r12
lea rcx, [rbp + 0x60]
call fcn.1400166f0
mov eax, ebx
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1402ba9b0
mov rbx, qword [rsp + 0x460]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1402caabc
nop
call fcn.140016040
int3