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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x3e0], rbx
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
cmp qword [rdx + 0x10], r13
jne 0x140047fcb
call fcn.140024740
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, [r13 + 0x23]
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rax
call qword [r10 + 0x18]
mov eax, 0xe0001002
jmp 0x14004882e
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
mov r14, r13
mov qword [rbp + 0x10], r13
mov r15d, 7
mov qword [rbp + 0x18], r15
mov word [rbp], r13w
mov ebx, dword [rcx + 8]
lea rcx, [0x14047a970]
mov qword [rbp - 0x28], rcx
call fcn.14000ed80
nop
mov r8d, ebx
lea rdx, [rsp + 0x58]
call fcn.1400244f0
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x140048042
lea rcx, [rbp]
call fcn.14000c340
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r15
mov word [rbx], r13w
mov r15, qword [rbp + 0x18]
mov r14, qword [rbp + 0x10]
lea rcx, [rsp + 0x58]
call fcn.14000c340
nop
lea rcx, [rbp - 0x28]
call fcn.140025120
test r14, r14
jne 0x1400480ad
call fcn.140024740
mov r10, qword [rax]
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, [r14 + 0x2b]
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rax
call qword [r10 + 0x20]
mov ebx, 0xe0001005
jmp 0x140048823
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov rcx, rdi
call fcn.140010370
mov rsi, rax
lea rax, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r13
mov qword [rbp - 8], rsi
lea rcx, [rsi + 1]
test rcx, 0xfffffffffffffffe
jne 0x14004813b
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
mov ebx, 0xe0004007
jmp 0x140048801
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov r8, r12
lea rdx, [0x1403bfb3c]
lea rcx, [rbp - 0x60]
call fcn.14000d510
nop
mov r8d, 2
lea rdx, [0x1403bfb34]
mov rcx, rax
call fcn.14000d710
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov dword [rsp + 0x50], 2
lea rdx, [rbp]
cmp r15, 8
cmovae rdx, qword [rbp]
mov r8, r14
lea rcx, [rsp + 0x78]
call fcn.14000d710
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov dword [rsp + 0x50], 6
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_StrDupW]
mov r14, 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 - 0x20], r15
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x18], rax
mov ebx, 6
and ebx, 0xfffffffb
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x58]
call fcn.14000c340
and ebx, 0xfffffffd
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x78]
call fcn.14000c340
nop
lea rcx, [rbp - 0x60]
call fcn.14000c340
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp + 0x20]
call fcn.140286140
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp + 0x20]
call fcn.140286140
mov dword [rbp + 0x20], reloc.WS2_32.dll_WSASetLastError
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov eax, ntohl
lea ebx, [rax - 8]
cmp dword [rdi + 0x10], 0
je 0x1400483b0
lea rcx, [rbp + 0x120]
call fcn.14007d910
nop
lea rcx, [rbp + 0x120]
call fcn.14007dfa0
cmp eax, 0xc
jb 0x140048447
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.140090760
test al, al
jne 0x140048447
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
xor edx, edx
call fcn.140094930
test al, al
je 0x140048447
mov dword [rbp - 0x28], 3
mov qword [rsp + 0x58], rbx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x2000b
mov qword [rsp + 0x78], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14004a0c0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.14000f250
nop
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x1400483ab
mov rcx, qword [rbp - 0x78]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140048396
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048858
mov rcx, r8
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov eax, 0xc000c
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140048495
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
mov ebx, 0xe0003001
jmp 0x1400487c2
call fcn.140024740
mov r10, qword [rax]
lea rcx, [0x1403bfb40]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rax
call qword [r10 + 0x18]
nop
mov ebx, 0xe0001001
jmp 0x1400487c2
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.140286140
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x78], xmm1
mov word [rsp + 0x78], r13w
mov r8d, 6
lea rdx, str.Local_
lea rcx, [rsp + 0x78]
call fcn.14000d3a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x58], r13w
xor r8d, r8d
lea rdx, [0x1403b8fe8]
lea rcx, [rsp + 0x58]
call fcn.14000d3a0
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov edx, dword [rbp - 0x30]
lea rcx, [rbp + 0xb0]
call fcn.140039d10
nop
lea rcx, [rsp + 0x58]
call fcn.14000c340
nop
lea rcx, [rsp + 0x78]
call fcn.14000c340
mov dl, 1
lea rcx, [rbp + 0xb0]
call fcn.14003baf0
test al, al
je 0x140048752
mov rcx, qword [rbp + 0xc8]
mov rax, rdi
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rbx, 1
jne 0x140048560
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14004863f
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0xe0003002
jmp 0x1400487b5
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x1400486b4
call fcn.140024740
mov r10, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rax
call qword [r10 + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0xe0003003
jmp 0x1400487b5
mov rcx, rsi
call fcn.14000f790
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.140039c30
test al, al
jne 0x140048728
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
mov ebx, 0xe0004001
jmp 0x1400487b5
cmp dword [rdi + 0xc], 0xffffffff
jne 0x14004874d
mov dword [rbp - 0x28], 0xffffffff
lea rdx, [rbp - 0x28]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14004874d
mov eax, dword [rbp - 0x28]
mov dword [rdi + 0xc], eax
mov ebx, dword [rdi + 0xc]
jmp 0x1400487b5
call fcn.140024740
mov rbx, rax
mov rdi, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rbx
call qword [rdi + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0xe0004000
lea rcx, [rbp + 0xb0]
call fcn.140039880
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400487d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400487e1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x20]
call fcn.14000f1b0
nop
mov qword [rbp - 0x20], r15
test r14, r14
je 0x1400487fd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x18], r13
lea rax, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x10], rax
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14004881f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 8], r13
lea rcx, [rbp]
call fcn.14000c340
mov eax, ebx
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14028ea2c
nop
int3