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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x14024e280]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14022dfe0]
movdqu xmmword [rsp + 0x60], xmm1
xor edi, edi
mov word [rsp + 0x50], di
mov ebx, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
je 0x1400031ad
test eax, eax
js 0x14000338c
mov byte [rsi + 8], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14020e408]
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [0x14021ada0]
call qword [sym.imp.ole32.dll_CoGetClassObject]
test eax, eax
js 0x14000338c
mov dword [rsp + 0x30], 0x3e8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x70]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.NeedAKey
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
jne 0x1400032ad
nop dword [rax + rax]
cmp ebx, 0xa
jge 0x14000338c
inc ebx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x30], 0x3e8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x70]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.NeedAKey
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x140003220
mov eax, dword [rsp + 0x48]
cmp eax, 0x400
je 0x140003293
and rax, 0xfffffffffffffffe
cmp rax, 0x800
jae 0x1400033fc
mov word [rsp + rax + 0x70], di
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400032a0
jmp 0x1400032ea
mov eax, dword [rsp + 0x48]
cmp eax, 0x400
je 0x1400032cd
and rax, 0xfffffffffffffffe
cmp rax, 0x800
jae 0x140003402
mov word [rsp + rax + 0x70], di
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1400032e0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140009480
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov r11, qword [rsp + 0x40]
mov rcx, qword [r11]
mov r10, qword [rcx + 0x38]
lea r14, [rsi + 0x10]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea r9, [0x14021adb0]
xor r8d, r8d
xor edx, edx
mov rcx, r11
call r10
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x14000338c
mov rcx, qword [r14]
mov rax, qword [rcx]
lea rdx, [rsi + 0x18]
call qword [rax + 0x60]
test eax, eax
js 0x14000338c
mov rax, qword [rsi]
lea rcx, str.Initialize_complete.
mov qword [rsp + 0x20], rcx
mov r9d, 0x7e
lea r8, str.MbamService::Initialize
lea rdx, str.D:JenkinsworkspaceN_MBAMWsc_srcIService.cpp
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov bl, 1
jmp 0x14000338e
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400033cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033f6
call fcn.14013c1c0
movzx eax, bl
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.14013c1a0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14014b94c
nop
call fcn.14013c338
nop
call fcn.14013c338
int3