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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9eb2
mov eax, dword fs:[0]
push eax
mov eax, 0x114c
call fcn.00467560
mov eax, dword [0x4f0464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x106c], ebx
mov dword [ebp - 0x1048], ebx
mov dword [ebp - 0x1058], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebp - 4], 1
mov byte [ebx], 0
push 0
lea eax, [ebp - 0x1068]
mov dword [ebp - 0x1058], 1
push eax
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1068], 0xc
push eax
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x1064], 0
push eax
mov dword [ebp - 0x1060], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x430409
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1048], eax
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4307e1
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilswin_update_utils.cc
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
call fcn.00411d10
mov byte [ebp - 4], 3
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x1158]
push 0x1ee
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.004092d0
mov esi, eax
push str._RunSysCommand__Fail_to_Create_pipe__error_code:
push esi
mov byte [ebp - 4], 4
call fcn.0040a600
add esp, 8
mov ecx, esi
push dword [ebp - 0x1048]
call fcn.004160a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1158]
call fcn.0040a7e0
lea ecx, [ebp - 0x1040]
call fcn.00409da0
lea ecx, [ebp - 0x1028]
call fcn.00409da0
jmp 0x4307e1
cmp dword [ebp + 0x20], 8
lea esi, [ebp + 0xc]
cmovae esi, dword [ebp + 0xc]
call fcn.0040f380
mov ecx, eax
test ecx, ecx
je 0x430835
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1044], eax
push esi
lea ecx, [ebp - 0x1044]
mov byte [ebp - 4], 5
call fcn.0040d070
test al, al
jne 0x43046e
test esi, esi
jne 0x43044d
xor ecx, ecx
jmp 0x430461
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430452
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1044]
call fcn.0040fcd0
push 0x40
lea eax, [ebp - 0x10bc]
mov byte [ebp - 4], 6
push 0
push eax
mov dword [ebp - 0x10c0], 0x44
call fcn.0048c160
add esp, 0xc
lea eax, [ebp - 0x10c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [ebp - 0x1044]
xor eax, eax
mov word [ebp - 0x1090], ax
mov ecx, 1
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1080], eax
mov dword [ebp - 0x1084], eax
mov dword [ebp - 0x1094], 0x101
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x4304f1
push 0x400
lea ecx, [ebp - 0x1044]
call fcn.0040f7e0
mov esi, dword [ebp - 0x1044]
cmp dword [esi - 8], 0x400
jl 0x43083f
xor eax, eax
mov dword [esi - 0xc], 0x400
mov word [esi + 0x800], ax
lea eax, [ebp - 0x107c]
push eax
lea eax, [ebp - 0x10c0]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4306b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x105c], eax
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4306b4
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilswin_update_utils.cc
lea ecx, [ebp - 0x1040]
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 7
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.00411d10
mov byte [ebp - 4], 8
call fcn.00445180
mov ebx, eax
lea ecx, [ebp - 0x1158]
push 0x201
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.004092d0
mov edi, eax
push str._RunSysCommand__Fail_to_Create_Process__error_code:
push edi
mov byte [ebp - 4], 9
call fcn.0040a600
add esp, 8
mov ecx, edi
push dword [ebp - 0x105c]
call fcn.004160a0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1158]
call fcn.0040a7e0
mov edx, dword [ebp - 0x1014]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x430655
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43064b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430849
push edx
push ecx
call fcn.00466e06
add esp, 8
mov edx, dword [ebp - 0x102c]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x4306ae
mov ecx, dword [ebp - 0x1040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4306a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43084e
push edx
push ecx
call fcn.00466e06
add esp, 8
mov ebx, dword [ebp - 0x1048]
push dword [esi - 8]
push esi
call fcn.00494f78
add esp, 8
test eax, eax
js 0x43083f
cmp eax, dword [esi - 8]
jg 0x43083f
mov dword [esi - 0xc], eax
xor ecx, ecx
push 0x1388
mov word [esi + eax*2], cx
push dword [ebp - 0x107c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x107c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1078]
call edi
push dword [ebp - 0x1050]
call edi
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0048c160
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1054], 0
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430732
sub ecx, edx
lea eax, [ebp - 0x1010]
push ecx
push eax
mov ecx, ebx
call fcn.00411d10
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x1054]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x104c]
call edi
test eax, eax
je 0x4307b9
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430780
sub ecx, edx
lea eax, [ebp - 0x1010]
push ecx
push eax
mov ecx, ebx
call fcn.00411a00
push 0
lea eax, [ebp - 0x1054]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x104c]
call edi
test eax, eax
jne 0x430771
push dword [ebp - 0x104c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4307e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x430817
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43080d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430853
push edx
push ecx
call fcn.00466e06
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004670b3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b080
push 0x80070057
call fcn.0040b080
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
int3