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

Disassembly:
push 0xffffffffffffffff
push 0x489201
mov eax, dword fs:[0]
push eax
mov eax, 0x27bc
call fcn.0045be80
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 0x27b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4b2288]
xor eax, esp
push eax
lea eax, [esp + 0x27cc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x27dc]
xor ebx, ebx
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esi], ebx
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x41593d
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push str.ipconfig__all
push ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
mov word [esp + 0xac], bx
mov dword [esp + 0xa8], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp eax, ebx
mov dword [esp + 0x27d4], ebx
mov edi, 0x10
je 0x415a47
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2711
lea ecx, [esp + 0xb8]
push ebx
push ecx
call fcn.0045a0f0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
lea edx, [esp + 0x38]
push edx
push 0x2710
lea eax, [esp + 0xc0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x415944
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
cmp dword [esp + 0xb0], edi
jb 0x41593d
mov eax, dword [esp + 0x9c]
push eax
call fcn.00418702
add esp, 4
xor eax, eax
jmp 0x415a9e
lea eax, [esp + 0xb4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x415950
sub eax, edx
push eax
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00404640
cmp dword [0x4b047c], edi
mov eax, dword [0x4b0468]
jae 0x415982
mov eax, 0x4b0468
mov edx, dword [0x4b0478]
push edx
push ebx
push eax
lea ecx, [esp + 0xa4]
call fcn.004035c0
mov ecx, dword [0x4b0478]
push 0xffffffffffffffff
add ecx, eax
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xa4]
call fcn.0040b320
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x27e0], 1
call fcn.00404330
cmp dword [esp + 0x50], edi
mov byte [esp + 0x27d4], bl
jb 0x4159e5
mov eax, dword [esp + 0x3c]
push eax
call fcn.00418702
add esp, 4
push 1
push ebx
push 0x490d18
lea ecx, [esp + 0xa4]
call fcn.004035c0
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xa4]
call fcn.0040b320
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x27e0], 2
call fcn.00404330
cmp dword [esp + 0x50], edi
jb 0x415a37
mov edx, dword [esp + 0x3c]
push edx
call fcn.00418702
add esp, 4
cmp dword [esp + 0xb0], edi
mov edx, dword [esp + 0x9c]
jae 0x415a4e
lea edx, [esp + 0x9c]
mov ecx, esi
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x415a50
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
cmp dword [esp + 0xb0], edi
jb 0x415a99
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00418702
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x27cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x27b8]
xor ecx, esp
call fcn.00459426
add esp, 0x27c8
ret