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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69e153
mov eax, dword fs:[0]
push eax
sub esp, 0x930
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x938], ecx
mov eax, dword [ebp + 8]
push eax
push 0x6d0180
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov dword [ebp - 0x854], 0xc
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 1
push 0
lea edx, [ebp - 0x854]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41940c
xor al, al
jmp 0x419816
push 0x44
push 0
lea edx, [ebp - 0x8a4]
push edx
call fcn.006665c0
add esp, 0xc
push 0
push 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x8a4], 0x44
lea ecx, [ebp - 0x8a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x864], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x868], eax
mov dword [ebp - 0x878], 0x100
xor ecx, ecx
mov word [ebp - 0x874], cx
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x8a4]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x419503
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x91c], eax
push 0
push 0
lea edx, [ebp - 0x918]
push edx
push 0x400
mov eax, dword [ebp - 0x91c]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0x918]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x6d01b8
call fcn.0066610b
add esp, 0xc
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov eax, dword [ebp - 0x918]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x419816
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x840]
push edx
push 0x6d01a4
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 0xc
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.006665c0
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0x70
push 0
lea ecx, [ebp - 0x914]
push ecx
call fcn.006665c0
add esp, 0xc
mov dword [ebp - 0x904], 0x3c00
push 0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41959b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x920], eax
mov eax, dword [ebp - 0x920]
push eax
push 0x6d0208
call fcn.0066610b
add esp, 8
push 0x70
lea ecx, [ebp - 0x914]
push ecx
push 9
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x924], eax
mov eax, dword [ebp - 0x924]
push eax
push 0x6d0230
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0x848]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x41960e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 5
je 0x41960e
mov eax, dword [ebp - 0x928]
push eax
push 0x6d0260
call fcn.0066610b
add esp, 8
mov byte [ebp - 0x834], 0
push 0x800
push 0
lea ecx, [ebp - 0x833]
push ecx
call fcn.006665c0
add esp, 0xc
mov dword [ebp - 0x858], 0
mov byte [ebp - 0x835], 0
push 0x6ce7cb
lea ecx, [ebp - 0x14]
call fcn.0040dbe0
mov dword [ebp - 4], 0
push 1
mov edx, dword [ebp - 0x848]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
sete cl
mov byte [ebp - 0x835], cl
push 0
lea edx, [ebp - 0x858]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
movzx ecx, byte [ebp - 0x835]
test ecx, ecx
jne 0x4196a8
cmp dword [ebp - 0x858], 0
ja 0x4196a8
mov dword [ebp - 0x93c], 0
jmp 0x4196b2
mov dword [ebp - 0x93c], 1
cmp dword [ebp - 0x93c], 0
je 0x419798
push 0x6ce7e9
lea ecx, [ebp - 0x92c]
call fcn.0040dbe0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x858], 0
jbe 0x419784
mov edx, dword [ebp - 0x858]
mov dword [ebp - 0x930], edx
cmp dword [ebp - 0x930], 0x800
jbe 0x419702
mov dword [ebp - 0x930], 0x800
push 0
lea eax, [ebp - 0x930]
push eax
mov ecx, dword [ebp - 0x930]
push ecx
lea edx, [ebp - 0x834]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x930]
mov byte [ebp + ecx - 0x834], 0
lea edx, [ebp - 0x834]
push edx
lea ecx, [ebp - 0x92c]
call fcn.0040e920
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040e920
mov ecx, dword [ebp - 0x858]
sub ecx, dword [ebp - 0x930]
mov dword [ebp - 0x858], ecx
push 0
lea ecx, [ebp - 0x92c]
call fcn.004018a0
push eax
push 0x6d0290
call fcn.0066610b
add esp, 8
jmp 0x4196d3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x92c]
call fcn.004014d0
jmp 0x419650
push 0xffffffffffffffff
mov edx, dword [ebp - 0x848]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x848]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x848]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.Successful_download_of_files
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
je 0x4197f1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x4197fa
mov edx, dword [ebp + 0xc]
mov dword [edx], 0xffffffff
mov byte [ebp - 0x931], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov al, byte [ebp - 0x931]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 8