Function at 0x430780
Capabilities:
Create pipe
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5012af
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5e0f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
cmp dword [eax + 0x10], 0
je 0x430c1f
push 0xffffffffffffffff
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x4307dc
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
setne byte [ebp - 0x11]
lea eax, [ebp - 0x11]
mov dword [ebp - 0xc8], eax
push 0xfffffffffffffff6
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x98], 0xc
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x94], 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x98]
push 0
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4308d1
mov dword [ebp - 0xa4], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0xa0], str.WriteReportToPipe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00490080
push eax
lea eax, [ebp - 0xc4]
push str.stdin_CreatePipe:__s
push eax
call fcn.004b96e0
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x43089e
mov eax, dword [eax]
movq xmm0, qword [ebp - 0xa4]
push eax
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x16b
push 2
call fcn.0041b440
add esp, 0x14
lea ecx, [ebp - 0xc4]
call fcn.00404db0
jmp 0x430bec
push dword [ebp - 0x8c]
mov edi, dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0xfffffffffffffff6
call edi
test eax, eax
jne 0x430944
mov dword [ebp - 0xa4], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0xa0], str.WriteReportToPipe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00490080
push eax
lea eax, [ebp - 0xc4]
push str.Redirect_SetStdHandle:__s
push eax
call fcn.004b96e0
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x430926
mov eax, dword [eax]
movq xmm0, qword [ebp - 0xa4]
push eax
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x16f
jmp 0x4308b7
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x88]
push 2
push 0
push 0
push eax
call esi
push eax
push dword [ebp - 0x84]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4309e1
mov dword [ebp - 0xa4], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0xa0], str.WriteReportToPipe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00490080
push eax
lea eax, [ebp - 0xc4]
push str.DuplicateHandle:__s
push eax
call fcn.004b96e0
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x4309ae
mov eax, dword [eax]
movq xmm0, qword [ebp - 0xa4]
push eax
sub esp, 0xc
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], 0x176
call fcn.0041b440
add esp, 0x14
lea ecx, [ebp - 0xc4]
call fcn.00404db0
jmp 0x430be6
push dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0x2c]
movlpd qword [ebp - 0x6c], xmm0
push 0x6069d0
push eax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0x44
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
call fcn.00493eb0
add esp, 8
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
push ecx
push 0
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x430aec
mov dword [ebp - 0xa4], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0xa0], str.WriteReportToPipe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00490080
push eax
lea eax, [ebp - 0xc4]
push str.CreateProcess:__s
push eax
call fcn.004b96e0
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x430ab1
mov eax, dword [eax]
movq xmm0, qword [ebp - 0xa4]
push eax
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x18e
push 2
call fcn.0041b440
add esp, 0x14
lea ecx, [ebp - 0xc4]
call fcn.00404db0
lea ecx, [ebp - 0x2c]
call fcn.00421b80
jmp 0x430bec
push dword [ebp - 0xac]
push 0xfffffffffffffff6
call edi
test eax, eax
jne 0x430b59
mov dword [ebp - 0xa4], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0xa0], str.WriteReportToPipe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00490080
push eax
lea eax, [ebp - 0xc4]
push str.Re_direct_stdin_SetStdHandle:__s
push eax
call fcn.004b96e0
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x430b3b
mov eax, dword [eax]
movq xmm0, qword [ebp - 0xa4]
push eax
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x193
jmp 0x430aca
mov eax, dword [ebp - 0xa8]
xor edi, edi
mov esi, dword [eax + 0x10]
test esi, esi
je 0x430bb0
mov ecx, 0x10000
nop dword [eax]
sub esi, edi
cmp esi, 0x10000
cmova esi, ecx
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x430b85
mov ecx, dword [eax]
push esi
lea eax, [ecx + edi]
push eax
push dword [ebp - 0x88]
call fcn.004c3500
add esp, 0xc
test eax, eax
je 0x430bb0
mov eax, dword [ebp - 0xa8]
add edi, esi
mov ecx, 0x10000
mov esi, dword [eax + 0x10]
cmp edi, esi
jb 0x430b70
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x430be6
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430bdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c3a
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x430bf9
push eax
call esi
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x430c06
push eax
call esi
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x430c13
push eax
call esi
cmp byte [ebp - 0x11], 0
je 0x430c1f
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
call fcn.004d826f
int3