Function at 0x100388b0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096350
mov eax, dword fs:[0]
push eax
mov eax, 0x1254
call fcn.1005e060
mov eax, dword [0x100c3384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x108c], 0
lea ecx, [ebp - 0x1028]
call fcn.100042d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x10dc], 0xc
mov dword [ebp - 0x10d8], 0
mov dword [ebp - 0x10d4], 1
push 0
lea eax, [ebp - 0x10dc]
push eax
lea ecx, [ebp - 0x1090]
push ecx
lea edx, [ebp - 0x10a8]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10038a57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x108c], eax
call fcn.1003eb30
mov dword [ebp - 0x1098], eax
push 1
mov eax, dword [ebp - 0x1098]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1098]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x10b0], al
cmp byte [ebp - 0x10b0], 1
je 0x1003898c
jmp 0x10038a52
push 0x100a22a8
lea ecx, [ebp - 0x1058]
call fcn.10004260
mov byte [ebp - 4], 2
push 0x100a22a4
lea ecx, [ebp - 0x1040]
call fcn.10004260
mov byte [ebp - 4], 3
call fcn.1003eb30
mov dword [ebp - 0x109c], eax
lea ecx, [ebp - 0x108c]
push ecx
push str._RunSysCommand__Fail_to_Create_pipe__error_code:
push 0x2a9
lea edx, [ebp - 0x1058]
push edx
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x11c8]
call fcn.10004a60
mov dword [ebp - 0x10b4], eax
mov ecx, dword [ebp - 0x10b4]
mov dword [ebp - 0x10b8], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10b8]
call fcn.10002a60
mov ecx, eax
call fcn.1001ebd0
push eax
mov edx, dword [ebp - 0x109c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x109c]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c8]
call fcn.10005a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1040]
call fcn.10005680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1058]
call fcn.10005680
jmp 0x10038d03
lea ecx, [ebp + 0xc]
call fcn.10009ee0
push eax
lea ecx, [ebp - 0x1094]
call fcn.10003d50
mov byte [ebp - 4], 5
mov dword [ebp - 0x1130], 0x44
push 0x40
push 0
lea eax, [ebp - 0x112c]
push eax
call fcn.1006c6b0
add esp, 0xc
lea ecx, [ebp - 0x1130]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x1104], 0x101
xor edx, edx
mov word [ebp - 0x1100], dx
mov eax, dword [ebp - 0x1090]
mov dword [ebp - 0x10f0], eax
mov ecx, dword [ebp - 0x1090]
mov dword [ebp - 0x10f0], ecx
mov edx, dword [ebp - 0x1090]
mov dword [ebp - 0x10f4], edx
lea eax, [ebp - 0x10ec]
push eax
lea ecx, [ebp - 0x1130]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push 0x400
lea ecx, [ebp - 0x1094]
call fcn.10013040
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10038c11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x108c], eax
call fcn.1003eb30
mov dword [ebp - 0x10a0], eax
push 1
mov edx, dword [ebp - 0x10a0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10a0]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0x10bc], al
cmp byte [ebp - 0x10bc], 1
je 0x10038b4b
jmp 0x10038c11
push str.d:jenkins.jenkinsworkspacemisc_groupmisc.tpimiscmiscutilsutils.cc
lea ecx, [ebp - 0x1088]
call fcn.10004260
mov byte [ebp - 4], 6
push 0x100a2374
lea ecx, [ebp - 0x1070]
call fcn.10004260
mov byte [ebp - 4], 7
call fcn.1003eb30
mov dword [ebp - 0x10a4], eax
lea eax, [ebp - 0x108c]
push eax
push str._RunSysCommand__Fail_to_Create_Process__error_code:
push 0x2bd
lea ecx, [ebp - 0x1088]
push ecx
lea edx, [ebp - 0x1070]
push edx
lea ecx, [ebp - 0x1260]
call fcn.10004a60
mov dword [ebp - 0x10c0], eax
mov eax, dword [ebp - 0x10c0]
mov dword [ebp - 0x10c4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10c4]
call fcn.10002a60
mov ecx, eax
call fcn.1001ebd0
push eax
mov ecx, dword [ebp - 0x10a4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10a4]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1260]
call fcn.10005a70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1070]
call fcn.10005680
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1088]
call fcn.10005680
push 0xffffffffffffffff
lea ecx, [ebp - 0x1094]
call fcn.100160c0
mov dword [ebp - 0x10c8], 0x1e
imul ecx, dword [ebp - 0x10c8], 0x3e8
push ecx
mov edx, dword [ebp - 0x10ec]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10ec]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1090]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.1006c6b0
add esp, 0xc
mov dword [ebp - 0x10d0], 0x1000
mov dword [ebp - 0x10cc], 0
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1028]
call fcn.10005ef0
push 0
lea edx, [ebp - 0x10cc]
push edx
mov eax, dword [ebp - 0x10d0]
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp - 0x10a8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10038cdf
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10022dc0
jmp 0x10038ca3
mov ecx, dword [ebp - 0x10a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1094]
call fcn.100054b0
xor edx, edx
jne 0x10038909
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp + 8]
call fcn.100040f0
mov ecx, dword [ebp - 0x10ac]
or ecx, 1
mov dword [ebp - 0x10ac], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.10005680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.100056d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005dfd5
mov esp, ebp
pop ebp
ret