Function at 0x429464
Capabilities:
Create pipe
Create process on windows
Create process suspended
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0xc
call fcn.004d51c5
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x48
call fcn.004d51c5
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.004d51c5
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0xc
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 1
mov dword [ebp - 0x30], esp
push 0
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x429581
push 0x7e
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 0x10]
add ebx, 0x2c
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.004d68b0
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x30
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov word [ebx], 0
mov ebx, dword [ebp - 0x10]
add ebx, 0x40
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x44
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push 0
mov ebx, 0x8d4
call fcn.004d9dd0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x429824
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x1189616
mov ecx, 2
call fcn.00402cdf
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.004d51c5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp - 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x429757
push 0x252
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0042942d
call fcn.0042942d
call fcn.0042942d
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004d51cb
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42981f
push ebx
call fcn.004d51cb
add esp, 4
jmp 0x429a29
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x1189626
mov ecx, 2
call fcn.00402cdf
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.004d51c5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp - 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x429961
push 0x329
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0042942d
call fcn.0042942d
call fcn.0042942d
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004d51cb
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x429a29
push ebx
call fcn.004d51cb
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x429a55
push 0x3a8
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
mov eax, 0x1189632
test eax, eax
je 0x429a71
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004d51c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x429a82
push ebx
call fcn.004d51cb
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x429d72
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x429ad4
push 0x710
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x429cd0
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x1bc
call fcn.004d6040
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x429b11
push ebx
call fcn.004d51cb
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x429b2e
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x429b58
push 0x7d4
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x429b7d
mov eax, 0x537382
push eax
push 3
mov ebx, 0x19c
call fcn.004d7550
add esp, 0x28
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
cmp ecx, reloc.WS2_32.dll_connect
je 0x429bbb
push 0x836
push 0x403e725
push 5
call fcn.004d51d7
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x429bcf
push ebx
call fcn.004d51cb
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x429c9d
lea eax, [ebp - 0x18]
push eax
call fcn.004053bd
mov dword [ebp - 0x30], eax
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x9dc
call fcn.004d6790
add esp, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004068ae
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0
push 1
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x429c5f
push 0x904
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x429c9d
mov dword [ebp - 0x30], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x429c98
push 0x93c
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
jmp 0x429d72
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov ecx, 2
call fcn.00402cdf
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x429cc7
push ebx
call fcn.004d51cb
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x429d46
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x429d08
push 0x9c5
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
cmp dword [ebp - 0x2c], 0x103
je 0x429d46
mov dword [ebp - 0x30], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x429d41
push 0xaad
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
jmp 0x429d72
call fcn.00429ea6
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
push 1
call fcn.00429efb
jmp 0x429a86
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x429da6
push 0xb3d
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x429ddd
push 0xb60
push 0x403e725
push 6
call fcn.004d51d7
add esp, 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x429df9
push eax
mov ebx, eax
call fcn.00402054
inc eax
push eax
call fcn.004d51c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x429dfe
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004d51cb
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x429e22
push ebx
call fcn.004d51cb
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x429e36
push ebx
call fcn.004d51cb
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x429e4a
push ebx
call fcn.004d51cb
add esp, 4
pop ebx
call fcn.004d51cb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004d51cb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x429e6f
push ebx
call fcn.004d51cb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x429e7f
push ebx
call fcn.004d51cb
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x429e8f
push ebx
call fcn.004d51cb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x429e9f
push ebx
call fcn.004d51cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc