Function at 0x43d900
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 0x468d70
mov eax, dword fs:[0]
push eax
mov eax, 0x1168
call fcn.00442d90
mov eax, dword [0x47c5a8]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x107c], eax
xor ebx, ebx
push 8
mov edi, 0xf
push str.GetCmd:
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1020], ebx
mov byte [ebp - 0x1030], bl
call fcn.00407d70
mov dword [ebp - 0x1078], ebx
mov dword [ebp - 0x1038], edi
mov dword [ebp - 0x103c], ebx
mov byte [ebp - 0x104c], bl
push ebx
or eax, 0xffffffff
lea ecx, [ebp - 0x1098]
push ecx
lea edx, [ebp - 0x106c]
mov dword [ebp - 0x1070], eax
mov dword [ebp - 0x106c], eax
push edx
lea eax, [ebp - 0x1070]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1098], 0xc
mov dword [ebp - 0x1094], ebx
mov dword [ebp - 0x1090], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x43da8b
push 1
push 2
lea ecx, [ebp - 0x1174]
call fcn.0043aa90
mov esi, dword [ebp - 0x1030]
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x101c], edi
jae 0x43da01
lea esi, [ebp - 0x1030]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_Pipe_Failed_with_ErrCode:
lea ecx, [ebp - 0x1174]
push esi
push ecx
call fcn.00439ba0
add esp, 8
push eax
call fcn.00439ba0
add esp, 8
mov ecx, eax
call fcn.00439fa0
lea edx, [ebp - 0x1068]
push edx
lea ecx, [ebp - 0x1174]
call fcn.0043d8d0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x43da4a
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp dword [ebp + 0x24], edi
jae 0x43da55
lea ecx, [ebp + 0x10]
push ebx
push eax
push ecx
call fcn.0042a650
add esp, 0xc
cmp dword [ebp - 0x1054], edi
jb 0x43da77
mov eax, dword [ebp - 0x1068]
push eax
call fcn.004401d7
add esp, 4
lea ecx, [ebp - 0x1174]
mov byte [ebp - 4], 2
call fcn.004394c0
jmp 0x43dd91
lea ecx, [ebp - 0x10dc]
push ecx
mov dword [ebp - 0x10dc], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x106c]
xor edx, edx
mov edi, 0x10
mov dword [ebp - 0x109c], eax
mov dword [ebp - 0x10a0], eax
mov word [ebp - 0x10ac], dx
mov dword [ebp - 0x10b0], 0x101
cmp dword [esi + 0x14], edi
jb 0x43dad3
mov esi, dword [esi]
lea eax, [ebp - 0x108c]
push eax
lea ecx, [ebp - 0x10dc]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x43dba9
push 1
push 2
lea ecx, [ebp - 0x1174]
call fcn.0043aa90
mov esi, dword [ebp - 0x1030]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x101c], edi
jae 0x43db1f
lea esi, [ebp - 0x1030]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_CMD_Process_Failed_with_ErrCode:
lea edx, [ebp - 0x1174]
push esi
push edx
call fcn.00439ba0
add esp, 8
push eax
call fcn.00439ba0
add esp, 8
mov ecx, eax
call fcn.00439fa0
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x1174]
call fcn.0043d8d0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], edi
jb 0x43db68
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp dword [ebp + 0x24], edi
jae 0x43db73
lea ecx, [ebp + 0x10]
push ebx
push eax
push ecx
call fcn.0042a650
add esp, 0xc
cmp dword [ebp - 0x1054], edi
jb 0x43db95
mov ecx, dword [ebp - 0x1068]
push ecx
call fcn.004401d7
add esp, 4
lea ecx, [ebp - 0x1174]
mov byte [ebp - 4], 2
call fcn.004394c0
jmp 0x43dd8c
mov edx, dword [ebp - 0x108c]
push 0x14
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x43dc8e
push 1
push 2
lea ecx, [ebp - 0x1174]
call fcn.0043aa90
mov eax, dword [ebp - 0x1030]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x101c], edi
jae 0x43dbe8
lea eax, [ebp - 0x1030]
push str.WAIT_FAILED_
push eax
lea eax, [ebp - 0x1174]
push eax
call fcn.00439ba0
add esp, 8
push eax
call fcn.00439ba0
add esp, 8
lea ecx, [ebp - 0x1068]
push ecx
lea ecx, [ebp - 0x1174]
call fcn.0043d8d0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], edi
jb 0x43dc23
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp dword [ebp + 0x24], edi
jae 0x43dc2e
lea ecx, [ebp + 0x10]
push ebx
push eax
push ecx
call fcn.0042a650
add esp, 0xc
cmp dword [ebp - 0x1054], edi
jb 0x43dc50
mov edx, dword [ebp - 0x1068]
push edx
call fcn.004401d7
add esp, 4
mov eax, dword [ebp - 0x106c]
cmp eax, 0xffffffff
je 0x43dc62
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x108c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x1088]
push ecx
call esi
lea ecx, [ebp - 0x1174]
mov byte [ebp - 4], 2
call fcn.004394c0
jmp 0x43dd8c
mov eax, dword [ebp - 0x106c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x43dca2
push eax
call esi
mov edx, dword [ebp - 0x108c]
push edx
call esi
mov eax, dword [ebp - 0x1088]
push eax
call esi
push 0x1001
lea ecx, [ebp - 0x1014]
push ebx
push ecx
mov dword [ebp - 0x1074], ebx
xor esi, esi
call fcn.00440e30
mov ecx, dword [ebp - 0x1070]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push ebx
lea edx, [ebp - 0x1074]
push edx
push 0x1000
lea eax, [ebp - 0x1014]
push eax
push ecx
call edi
test eax, eax
je 0x43dd82
lea esp, [esp]
cmp dword [ebp - 0x1074], ebx
jbe 0x43dd69
lea eax, [ebp - 0x1014]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43dd11
sub eax, edx
push eax
lea edx, [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x104c]
call fcn.00413820
add esi, dword [ebp - 0x1074]
push 0x1001
lea eax, [ebp - 0x1014]
push ebx
push eax
call fcn.00440e30
mov eax, dword [ebp - 0x1070]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x1074]
push ecx
push 0x1000
lea edx, [ebp - 0x1014]
push edx
push eax
call edi
test eax, eax
jne 0x43dd00
cmp esi, ebx
je 0x43dd82
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x104c]
push ecx
mov ecx, dword [ebp - 0x107c]
call fcn.00407c80
mov dword [ebp - 0x1078], 1
mov edi, 0x10
mov eax, dword [ebp - 0x1070]
cmp eax, 0xffffffff
je 0x43dda3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1038], edi
jb 0x43ddba
mov edx, dword [ebp - 0x104c]
push edx
call fcn.004401d7
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x1038], esi
mov dword [ebp - 0x103c], ebx
mov byte [ebp - 0x104c], bl
cmp dword [ebp - 0x101c], edi
jb 0x43dde8
mov eax, dword [ebp - 0x1030]
push eax
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x101c], esi
mov dword [ebp - 0x1020], ebx
mov byte [ebp - 0x1030], bl
cmp dword [ebp + 0x24], edi
jb 0x43de0b
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004401d7
add esp, 4
mov eax, dword [ebp - 0x1078]
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.0043fe5a
mov esp, ebp
pop ebp
ret