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

Disassembly:
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x1b0
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor eax, eax
lea rcx, [rsp + 0x94]
xor edx, edx
mov dword [rsp + 0x90], eax
mov r8d, 0x104
call fcn.140019a90
xor eax, eax
lea r8, [rsp + 0x48]
xor r14d, r14d
mov dword [rsp + 0x198], eax
xor edx, edx
mov qword [rsp + 0x48], r14
lea ecx, [rax + 4]
call qword [sym.imp.Cabinet.dll_CreateDecompressor]
mov qword [rsp + 0x1c0], rbx
mov edi, 0xbb9
mov qword [rsp + 0x1c8], rbp
mov qword [rsp + 0x1d0], rsi
nop dword [rax]
mov r8d, 0x30
lea rdx, [rsp + 0x58]
lea rcx, [0x140001240]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov r8, r14
mov rcx, r14
test rax, rax
cmovne r8, qword [rsp + 0x60]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x98]
movzx r10d, word [r9 + r8 + 0xe]
lea r11, [r9 + r8]
movzx eax, word [r11 + 0xc]
add r10, rax
je 0x140001360
mov eax, dword [r11 + rcx*8 + 0x14]
test eax, eax
jns 0x140001360
btr eax, 0x1f
add rax, r9
mov edx, dword [rax + r8 + 0x14]
test edx, edx
jns 0x140001358
cmp word [rax + r8 + 0x10], di
je 0x14000139a
inc rcx
cmp rcx, r10
jb 0x140001337
mov rsi, qword [rsp + 0x1d0]
mov rbp, qword [rsp + 0x1c8]
mov rbx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140001e60
mov rdi, qword [rsp + 0x1d8]
add rsp, 0x1b0
pop r14
ret
btr edx, 0x1f
add rdx, r9
mov eax, dword [rdx + r8 + 0x14]
btr eax, 0x1f
add rax, r9
mov esi, dword [rax + r8]
add rsi, r8
mov r8d, dword [rax + r8 + 4]
je 0x140001360
test r8d, r8d
je 0x140001360
mov rdx, rsi
lea rax, [rsp + 0x90]
mov ecx, 2
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1400013d0
mov rcx, qword [rdx]
mov qword [rax], rcx
mov ecx, dword [rdx + 8]
mov dword [rax + 8], ecx
lea eax, [r8 - 0x10c]
movsxd rbx, eax
mov rcx, rbx
call fcn.14000b340
lea rdx, [rsi + 0x10c]
mov r8, rbx
mov rcx, rax
mov rbp, rax
call fcn.1400193f0
movsxd rcx, dword [rsp + 0x198]
call fcn.14000b340
movsxd rcx, dword [rsp + 0x198]
mov rsi, rax
lea rax, [rsp + 0x50]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov r8, rbx
mov qword [rsp + 0x20], rcx
mov rdx, rbp
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.Cabinet.dll_Decompress]
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x94]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001360
mov r8d, dword [rsp + 0x198]
lea r9, [rsp + 0x40]
mov rdx, rsi
mov dword [rsp + 0x40], r14d
mov rcx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov dword [rsp + 0x28], 5
lea r8, [rsp + 0x94]
mov qword [rsp + 0x20], r14
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, rsi
call fcn.14000ae1c
mov rcx, rbp
call fcn.14000ae1c
inc edi
jmp 0x1400012f0