Function at 0x6914c3
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x138], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0x12c], 0
setne al
movzx eax, al
test eax, eax
jne 0x691544
mov dword [esp], str.src_lib_process_process_win32.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.read_pipe
mov dword [esp + 8], 0x78cb64
mov dword [esp + 4], 0x275
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
cmp dword [ebp - 0x130], 0
setne al
movzx eax, al
test eax, eax
jne 0x69158e
mov dword [esp], str.src_lib_process_process_win32.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.write_pipe
mov dword [esp + 8], 0x78cb64
mov dword [esp + 4], 0x276
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
cmp dword [ebp - 0x134], 0
setne al
movzx eax, al
test eax, eax
jne 0x6915d8
mov dword [esp], str.src_lib_process_process_win32.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.attributes
mov dword [esp + 8], 0x78cb64
mov dword [esp + 4], 0x277
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x11c], 0x1000
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov eax, dword [0x7ccbe8]
test eax, eax
jne 0x691615
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov dword [0x7ccbe8], eax
mov eax, dword [0x7ccbec]
lea edx, [eax + 1]
mov dword [0x7ccbec], edx
mov edx, dword [0x7ccbe8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], str..PipeTor_Process_Pipe__lu__lu
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.006c32ac
cmp dword [ebp - 0x138], 0
je 0x691663
cmp dword [ebp - 0x138], 1
je 0x69166f
jmp 0x69167b
mov dword [ebp - 0x124], 0x40000000
jmp 0x6916ca
mov dword [ebp - 0x120], 0x40000000
jmp 0x6916ca
mov eax, dword [0x7ccbf0]
test eax, eax
jne 0x6916ca
mov dword [0x7ccbf0], 1
mov dword [esp], str.src_lib_process_process_win32.c
call fcn.006c14d2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x78cb64
mov dword [esp + 4], 0x299
mov dword [esp], eax
call fcn.006c12a3
mov eax, dword [ebp - 0x124]
or eax, 1
mov edx, eax
mov eax, dword [ebp - 0x134]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0x3e8
mov eax, dword [ebp - 0x11c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x11c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], edx
lea eax, [ebp - 0x110]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
call eax
sub esp, 0x20
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x69177a
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], eax
call fcn.006c1578
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.CreateNamedPipeA___failed:__s
mov dword [esp + 0xc], str.process_win32_create_pipe
mov dword [esp + 4], 0x4000000
mov dword [esp + 8], 0
mov dword [esp], 4
call fcn.006bf072
mov eax, 0
jmp 0x69197d
mov eax, dword [ebp - 0x120]
or al, 0x80
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 3
mov eax, dword [ebp - 0x134]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
lea eax, [ebp - 0x110]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x69182e
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], eax
call fcn.006c1578
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.CreateFileA___failed:__s
mov dword [esp + 0xc], str.process_win32_create_pipe
mov dword [esp + 4], 0x4000000
mov dword [esp + 8], 0
mov dword [esp], 4
call fcn.006bf072
mov eax, dword [ebp - 0x118]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x69197d
cmp dword [ebp - 0x138], 0
je 0x691842
cmp dword [ebp - 0x138], 1
je 0x69186d
jmp 0x691898
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x118]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call eax
sub esp, 0xc
mov dword [ebp - 0x128], eax
jmp 0x6918e7
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x114]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call eax
sub esp, 0xc
mov dword [ebp - 0x128], eax
jmp 0x6918e7
mov eax, dword [0x7ccbf4]
test eax, eax
jne 0x6918e7
mov dword [0x7ccbf4], 1
mov dword [esp], str.src_lib_process_process_win32.c
call fcn.006c14d2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x78cb64
mov dword [esp + 4], 0x2cd
mov dword [esp], eax
call fcn.006c12a3
cmp dword [ebp - 0x128], 0
jne 0x69195c
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], eax
call fcn.006c1578
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.SetHandleInformation___failed:__s
mov dword [esp + 0xc], str.process_win32_create_pipe
mov dword [esp + 4], 0x4000000
mov dword [esp + 8], 0
mov dword [esp], 4
call fcn.006bf072
mov eax, dword [ebp - 0x118]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x114]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x69197d
mov eax, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x118]
mov dword [eax], edx
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x114]
mov dword [eax], edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x69198d
call sub.libssp_0.dll___stack_chk_fail
leave
ret