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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69e193
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 0x6d1cd0
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 0x419c4c
xor al, al
jmp 0x41a0a6
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 0x419d43
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 0x6d1d08
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 0x41a0a6
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x840]
push edx
push 0x6d1cf4
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 0x419ddb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x920], eax
mov eax, dword [ebp - 0x920]
push eax
push str.CreateJobObjectW_fail._lasterror_d_r_n
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 str.SetInformationJobObject_fail._lasterror_d_r_n
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 0x419e4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 5
je 0x419e4e
mov eax, dword [ebp - 0x928]
push eax
push str.AssignProcessToJobObject_fail._lasterror_d_r_n
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 0x6d02e3
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 0x419ee8
cmp dword [ebp - 0x858], 0
ja 0x419ee8
mov dword [ebp - 0x93c], 0
jmp 0x419ef2
mov dword [ebp - 0x93c], 1
cmp dword [ebp - 0x93c], 0
je 0x419fe9
push 0x6d0301
lea ecx, [ebp - 0x92c]
call fcn.0040dbe0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x858], 0
jbe 0x419fd5
mov edx, dword [ebp - 0x858]
mov dword [ebp - 0x930], edx
cmp dword [ebp - 0x930], 0x800
jbe 0x419f42
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 0x6d1de0
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
jmp 0x419f13
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x92c]
call fcn.004014d0
jmp 0x419e90
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.DownloadFWBOOT_success
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
je 0x41a081
push str.rsa
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404520
add esp, 8
test eax, eax
je 0x41a076
push 0
push str.DownloadCID_success
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
je 0x41a06b
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0x41a074
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
jmp 0x41a07f
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x41a08a
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