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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b10d0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x627490]
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.00574900
add esp, 0xc
mov dword [ebp - 0x30], 0xf
cmp byte [esi], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jne 0x4456d2
xor ecx, ecx
jmp 0x4456e0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4456d7
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00404ba0
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 0x44573b
or esi, 0xffffffff
jmp 0x4458ef
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 0x445750
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 0x445783
mov esi, 0xfffffffe
jmp 0x4458ef
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 0x4457aa
mov dword [ebp - 0x1c], eax
mov word [ebp + eax*2 - 0x2c], cx
jmp 0x4457b5
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00446890
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 0x4457c7
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 0x445805
mov esi, 0xfffffffd
jmp 0x4458ca
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.00574900
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 0x44587a
lea esi, [eax - 4]
jmp 0x4458ca
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 0x4458ae
lea esi, [eax - 5]
jmp 0x4458ca
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 0x4458db
push dword [ebp - 0x2c]
call fcn.00448708
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 0x445900
push dword [ebp - 0x44]
call fcn.00448708
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.005705f2
mov esp, ebp
pop ebp
ret