Function at 0x53df20
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x4e0
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [esp + 0x4d8], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0x64], 0xa
mov eax, dword [0x5abe0c]
mov al, byte [eax + 0xa]
test al, al
jne 0x53e273
xor ebx, ebx
lea eax, [esp + 0xcc]
mov dword [eax], ebx
lea ecx, [esp + 0xc8]
mov dword [ecx], ebx
lea edx, [esp + 0xbc]
mov dword [edx], 0xc
mov dword [edx + 8], 1
mov dword [edx + 4], ebx
push ebx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x53e247
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xb8]
mov dword [ecx], ebx
push eax
call fcn.004a0d40
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xb4]
mov dword [ecx], ebx
push eax
call fcn.004a0d40
push ebx
push 1
push dword [esp + 0xd4]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x53e205
mov bl, byte [ebp + 8]
xor eax, eax
dec eax
lea esi, [esp + 0xa8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esp + 0xd0]
mov ecx, esi
push eax
call fcn.00434b70
xorps xmm0, xmm0
movups xmmword [esp + 0x88], xmm0
movups xmmword [esp + 0x78], xmm0
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x64], 0x44
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa0], eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esp + 0x9c], eax
test bl, bl
jne 0x53e05b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x53e062
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x90], 0x100
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
cmp byte [esp + 0xb3], 0
jns 0x53e08d
mov esi, dword [esp + 0xa8]
sub esp, 0x28
lea edi, [esp + 0x78]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x8c]
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
movdqa xmm0, xmmword [0x5ae0f0]
movdqu xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x53e1ec
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x40]
movdqa xmmword [ecx], xmm0
push edi
call fcn.004639c0
mov eax, dword [esp + 0xb4]
inc eax
cmp eax, 2
jb 0x53e10e
call fcn.004b97f0
push dword [esp + 0xb4]
call fcn.004a6b40
add esp, 4
mov dword [esp + 0xb4], 0
lea eax, [esp + 0xd8]
push 0x400
push 0xff
push eax
call fcn.004f9090
add esp, 0xc
xor ebx, ebx
lea eax, [esp + 0x10]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x53e14b
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.004a4720
mov eax, esi
mov ecx, edi
mov dword [esp + 0x10], ebx
push ebx
mov esi, eax
push eax
push 0x400
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0xdc]
mov edi, ecx
call ecx
test eax, eax
setne cl
mov eax, dword [esp + 0x10]
test eax, eax
setne dl
and dl, cl
cmp dl, 1
je 0x53e136
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov edi, esp
push 0x83
push str....._baseprocesslaunch_win.cc
push 0x5ae208
push edi
call fcn.004b97c0
add esp, 0x10
mov ecx, esi
push 0
push edi
call fcn.004ad330
lea edi, [esp + 0x40]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.004ad3a0
push dword [ebp + 0x10]
push dword [edi]
call fcn.00463ba0
add esp, 8
and eax, 0xfffffffd
cmp eax, 1
setne bl
mov ecx, edi
call fcn.00463ae0
cmp byte [esp + 0xb3], 0
jns 0x53e205
push dword [esp + 0xa8]
call fcn.004f50ae
add esp, 4
mov eax, dword [esp + 0xb4]
inc eax
cmp eax, 2
jb 0x53e226
call fcn.004b97f0
push dword [esp + 0xb4]
call fcn.004a6b40
add esp, 4
mov eax, dword [esp + 0xb8]
inc eax
cmp eax, 2
jb 0x53e247
call fcn.004b97f0
push dword [esp + 0xb8]
call fcn.004a6b40
add esp, 4
mov dword [esp + 0x64], 0xa
mov eax, dword [0x5abe0c]
mov al, byte [eax + 0xa]
test al, al
jne 0x53e299
mov ecx, dword [esp + 0x4d8]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, al
lea ecx, [esp + 0xd8]
mov dword [ecx], str.GetAppOutput
lea edx, [esp + 0x64]
push 1
push ecx
push edx
push eax
call fcn.0049fda0
add esp, 0x10
jmp 0x53df63
movzx eax, al
lea ecx, [esp + 0xd8]
mov dword [ecx], 0
lea edx, [esp + 0x64]
push 2
push ecx
push edx
push eax
call fcn.0049fda0
add esp, 0x10
jmp 0x53e25b