Function at 0x140001d90
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140030080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x80]
call fcn.14001fcd0
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.1400039b0
nop
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x70]
call fcn.14001fcd0
lea rax, [0x14002b530]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
mov dword [rbp + 0x30], edi
mov qword [rbp + 0x38], rdi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x70], dil
mov dword [rsp + 0x30], 1
lea r14, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x18], r14
mov dword [rbp + 0x14], 0x98
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.140004880
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140004470
nop
mov ebx, 2
mov r8d, ebx
lea rdx, str.autounattend.xml
lea rcx, [rsp + 0x78]
call fcn.140004300
test rax, rax
jne 0x140001ed8
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx - 0x48], rdi
cmovne eax, ebx
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
mov edx, dword [rbp + rcx - 0x7c]
and edx, eax
jne 0x140002035
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0x90], 6
jne 0x140001f0e
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x80], 6
jne 0x140001f0e
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140002650
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.setup.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140003640
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x18], rbx
lea rcx, [rbp + 0x18]
call fcn.140005908
nop
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x90]
call fcn.140003640
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x7c], edx
mov qword [rbp + 0x130], rbx
lea rcx, [rbp + 0x130]
call fcn.140005908
nop
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400061a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test dl, 4
je 0x140002043
lea rbx, str.ios_base::badbit_set
jmp 0x140002057
test bl, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1400012e0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140001ba0
lea rdx, [0x14002f170]
lea rcx, [rsp + 0x48]
call fcn.140008090
int3