Function at 0x1003cc00
Capabilities:
Connect pipe
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa068
call fcn.1003f910
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], str..pipeAppMonD_DataWindow
push 1
mov ecx, 0x10098ae4
call fcn.1003d0f0
mov ecx, 0x10098ae4
call fcn.1003d2c0
cmp eax, 1
jne 0x1003ce27
push 0
lea eax, [ebp - 0x18]
push eax
push 1
push str.S:_ML__NW___LW_D:_A__0x12019f___WD_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0xc
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 1
lea edx, [ebp - 0x34]
push edx
push 0
push 0x200c
push 0x200c
push 0xff
push 6
push 3
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1003ccfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.1003d090
add esp, 8
mov ecx, eax
call fcn.100271e0
push eax
push str.CreateNamedPipe_failed:__s
lea edx, [ebp - 0x5068]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.10025c20
call fcn.10039280
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x5068]
push eax
push 0xfffffffffffffff5
mov ecx, dword [ebp - 0x20]
call fcn.10038fc0
or eax, 0xffffffff
jmp 0x1003ce4b
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1003cd16
mov dword [ebp - 0x10], 1
jmp 0x1003cd39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x1003cd2c
mov dword [ebp - 0xc], 1
jmp 0x1003cd33
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1003ce11
mov ecx, 0x10098ae4
call fcn.1003d2c0
cmp eax, 1
je 0x1003cd7a
cmp dword [ebp - 4], 0
je 0x1003cd6e
cmp dword [ebp - 4], 0xffffffff
je 0x1003cd6e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
jmp 0x1003ce27
lea edx, [ebp - 0x24]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x1003ce50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1003ce05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.1003d090
add esp, 8
mov ecx, eax
call fcn.100271e0
push eax
push str.CreateThread_failed:__s
lea edx, [ebp - 0xa068]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.10025c20
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
call fcn.10039280
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xa068]
push ecx
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x28]
call fcn.10038fc0
or eax, 0xffffffff
jmp 0x1003ce4b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003ce22
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
jmp 0x1003cc3c
push 3
mov ecx, 0x10098ae4
call fcn.1003d0f0
cmp dword [ebp - 4], 0
je 0x1003ce49
cmp dword [ebp - 4], 0xffffffff
je 0x1003ce49
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret