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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab9f0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x622330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0xb8], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
push 0
push eax
call fcn.0056ff40
add esp, 0xc
mov dword [ebp - 0x30], 0xf
cmp byte [esi], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jne 0x442f32
xor ecx, ecx
jmp 0x442f40
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442f37
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00404b60
push edi
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5c], 0xc
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
movq qword [ebp - 0x58], xmm0
push eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x442f9b
or esi, 0xffffffff
jmp 0x44314f
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov esi, dword [ebp - 0x44]
cmp edx, 0x10
cmovae ecx, esi
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442fb0
push 0
sub ecx, ebx
lea eax, [ebp - 0x44]
push 0
cmp edx, 0x10
push ecx
cmovae eax, esi
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x442fe3
mov esi, 0xfffffffe
jmp 0x44314f
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 1
add eax, 0xa
jne 0x44300a
mov dword [ebp - 0x1c], eax
mov word [ebp + eax*2 - 0x2c], cx
jmp 0x443015
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00444480
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x44]
mov ebx, dword [ebp - 0x44]
cmp esi, 0x10
cmovae edx, ebx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x443027
push dword [ebp - 0x1c]
sub edx, ecx
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmp esi, 0x10
push ecx
push edx
cmovae eax, ebx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x443065
mov esi, 0xfffffffd
jmp 0x44312a
push 0x40
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb4], 0
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x6c], xmm0
call fcn.0056ff40
add esp, 0xc
mov dword [ebp - 0x88], 0x101
lea ecx, [ebp - 0x6c]
xor eax, eax
cmp dword [ebp - 0x18], 8
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x74], eax
push ecx
push 0
push 0
push 0
push 1
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4430da
lea esi, [eax - 4]
jmp 0x44312a
push 0xfa0
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push edi
push dword [ebp - 0xb8]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44310e
lea esi, [eax - 5]
jmp 0x44312a
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x68]
call esi
xor esi, esi
cmp dword [ebp - 0x18], 8
jb 0x44313b
push dword [ebp - 0x2c]
call fcn.004462c1
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x30], 0x10
jb 0x443160
push dword [ebp - 0x44]
call fcn.004462c1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056bc55
mov esp, ebp
pop ebp
ret