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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a41fb
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8b4], ecx
mov eax, dword [ebp + 8]
push eax
push 0x6e855c
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 - 0x850], 0xc
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 1
push 0
lea edx, [ebp - 0x850]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x45f78c
xor al, al
jmp 0x45fbc8
push 0x44
push 0
lea edx, [ebp - 0x89c]
push edx
call fcn.006665c0
add esp, 0xc
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x89c], 0x44
lea ecx, [ebp - 0x89c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x85c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x870], 0x100
xor ecx, ecx
mov word [ebp - 0x86c], cx
lea edx, [ebp - 0x844]
push edx
lea eax, [ebp - 0x89c]
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 0x45f883
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8a4], eax
push 0
push 0
lea edx, [ebp - 0x8a0]
push edx
push 0x400
mov eax, dword [ebp - 0x8a4]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0x8a0]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x6e8580
call fcn.0066610b
add esp, 0xc
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov eax, dword [ebp - 0x8a0]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x45fbc8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x83c]
push edx
push 0x6e85d0
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov byte [ebp - 0x82c], 0
push 0x800
push 0
lea eax, [ebp - 0x82b]
push eax
call fcn.006665c0
add esp, 0xc
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x831], 0
push 0x6e6b63
lea ecx, [ebp - 0x18]
call fcn.0040dbe0
mov dword [ebp - 4], 0
push str.actsetwifimac
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404520
add esp, 8
test eax, eax
je 0x45f918
push 0x6e85f4
lea ecx, [ebp - 0x18]
call fcn.0040dc60
jmp 0x45f93a
push str.actsetsecureboot
mov edx, dword [ebp + 8]
push edx
call fcn.00404520
add esp, 8
test eax, eax
je 0x45f93a
push 0x6e8614
lea ecx, [ebp - 0x18]
call fcn.0040dc60
push 0x6e6b81
lea ecx, [ebp - 0x14]
call fcn.0040dbe0
mov byte [ebp - 4], 1
mov dword [ebp - 0x830], 0
push 1
mov eax, dword [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
sete cl
mov byte [ebp - 0x831], cl
push 0
lea edx, [ebp - 0x854]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
movzx ecx, byte [ebp - 0x831]
test ecx, ecx
jne 0x45f9ad
cmp dword [ebp - 0x854], 0
ja 0x45f9ad
mov dword [ebp - 0x8b8], 0
jmp 0x45f9b7
mov dword [ebp - 0x8b8], 1
cmp dword [ebp - 0x8b8], 0
je 0x45fb19
push 0x6e6b82
lea ecx, [ebp - 0x8a8]
call fcn.0040dbe0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x854], 0
jbe 0x45fa6e
mov edx, dword [ebp - 0x854]
mov dword [ebp - 0x8ac], edx
cmp dword [ebp - 0x8ac], 0x800
jbe 0x45fa07
mov dword [ebp - 0x8ac], 0x800
push 0
lea eax, [ebp - 0x8ac]
push eax
mov ecx, dword [ebp - 0x8ac]
push ecx
lea edx, [ebp - 0x82c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x8ac]
mov byte [ebp + ecx - 0x82c], 0
lea edx, [ebp - 0x82c]
push edx
lea ecx, [ebp - 0x8a8]
call fcn.0040e920
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040e920
mov ecx, dword [ebp - 0x854]
sub ecx, dword [ebp - 0x8ac]
mov dword [ebp - 0x854], ecx
jmp 0x45f9d8
lea ecx, [ebp - 0x8a8]
call fcn.0040e940
movzx edx, al
test edx, edx
jne 0x45fa94
mov eax, dword [ebp - 0x8a8]
push eax
push 0x6e861c
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0x830]
add ecx, 1
mov dword [ebp - 0x830], ecx
cmp dword [ebp - 0x830], 0x320
jl 0x45fab9
mov dword [ebp - 0x830], 0xc8
mov eax, dword [ebp - 0x830]
cdq
mov ecx, 0xc8
idiv ecx
test edx, edx
jne 0x45fafd
mov eax, dword [ebp - 0x830]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov edx, dword [ebp - 0x18]
push edx
push str.Connecting..._r_n
call fcn.0066610b
add esp, 0xc
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.004014d0
jmp 0x45f955
push 0xffffffffffffffff
mov eax, dword [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x844]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x840]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.setwifimac_done
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x45fb7b
push 0
push str.setsecureboot_done
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
je 0x45fb97
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x18]
push eax
push 0x6e8654
call fcn.0066610b
add esp, 8
jmp 0x45fba0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov byte [ebp - 0x8ad], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004014d0
mov al, byte [ebp - 0x8ad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 8