Function at 0x14003a440
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d8]
sub rsp, 0x8d8
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov dword [rsp + 0x58], r9d
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rbp + 0x848]
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x10], 0
je 0x14003a794
cmp qword [rdx + 0x10], 0
je 0x14003a794
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp - 0x50], xmm0
xor eax, eax
mov word [rbp - 0x60], ax
mov dword [rbp - 0x78], eax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x78]
call fcn.14003a290
test al, al
jne 0x14003a523
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.Error_querying_pipe
mov qword [rsp + 0x30], rcx
lea r12, str.Sledgehammer
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 0x183
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov ebx, 0xe0005000
jmp 0x14003a787
mov edx, 1
mov ecx, dword [rbp - 0x78]
call fcn.1400b5990
test al, al
jne 0x14003a584
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.Unable_to_verify_pipe
mov qword [rsp + 0x30], rcx
lea r12, str.Sledgehammer
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 0x18b
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov ebx, 0xe0005001
jmp 0x14003a787
mov r15d, 1
cmp dword [rbp + 0x840], r15d
cmova r15d, dword [rbp + 0x840]
mov eax, 0x3e8
cmp edi, eax
cmova eax, edi
mov dword [rsp + 0x50], eax
mov edi, dword [rbx + 0x10]
add edi, edi
mov dword [rsp + 0x54], edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
cmp qword [rbx + 0x18], 7
jbe 0x14003a5c1
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrDupW]
mov r13, rax
lea rax, 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 - 0x70], rax
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x68], r13
test r13, r13
jne 0x14003a637
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.Allocation_error
mov qword [rsp + 0x30], rcx
lea r12, str.Sledgehammer
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 0x199
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov ebx, 0xe0001008
jmp 0x14003a768
mov r14d, ebx
test r15d, r15d
je 0x14003a763
lea r12, str.Sledgehammer
nop word [rax + rax]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x40]
call fcn.14030b3a0
mov dword [rbp - 0x74], ebx
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14003a671
mov rcx, qword [rsi]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
lea r9, [rbp - 0x40]
mov r8d, edi
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x14003a6f3
mov eax, dword [rbp - 0x74]
shr eax, 1
je 0x14003a744
cmp eax, 0x400
ja 0x14003a744
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.140031e00
nop
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14002eb40
nop
lea rcx, [rsp + 0x68]
call fcn.1400166f0
jmp 0x14003a768
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.Unable_to_connect_pipe:__u
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 2
mov r9d, 0x1ae
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov edi, dword [rsp + 0x54]
xor ebx, ebx
lea eax, [r15 - 1]
cmp r14d, eax
jae 0x14003a757
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r14d
cmp r14d, r15d
jb 0x14003a650
mov ebx, 0xe0005002
lea rax, 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 - 0x70], rax
test r13, r13
je 0x14003a781
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x60]
call fcn.1400166f0
mov eax, ebx
jmp 0x14003a7fd
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
cmp qword [rbx + 0x18], 7
jbe 0x14003a7aa
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 7
jbe 0x14003a7b4
mov rsi, qword [rsi]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rsi
lea rcx, str.Invalid_parameter__ls__ls
mov qword [rsp + 0x30], rcx
lea r12, str.Sledgehammer
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 0x17b
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov eax, 0xe0001005
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.1402ba9b0
add rsp, 0x8d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret