Function at 0x140017b78
Capabilities:
Create directory
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14006e020]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, r8
mov r15, rcx
xor r13d, r13d
lea rcx, [rbp + 0x60]
call fcn.140018290
nop
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 0x38]
call fcn.140018290
nop
mov dword [rbp + 0x58], 8
mov dword [rbp + 0x5c], 0x20
lea rcx, [rbp + 0x58]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x140017bf1
lea rdx, str.Failed_to_initialize_common_controls
jmp 0x140017c97
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140017c21
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140017c21
lea rdx, str.Failed_to_create_user_data_directory
jmp 0x140017c97
mov dword [rbp - 0x20], 0x50
mov dword [rbp - 0x1c], 3
lea rax, [0x140018148]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r15
mov rax, qword [rbx + 0x88]
mov qword [rbp], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 8], rax
movdqa xmm0, xmmword [0x140060ef0]
movdqa xmmword [rbp + 0x10], xmm0
lea r12, str.WebView2Setup
mov qword [rbp + 0x20], r12
mov rax, qword [rbx + 0x88]
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140017cb8
lea rdx, str.Failed_to_register_window_class
lea r8, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae r8, qword [rbp + 0x38]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400180e3
mov ecx, 0x12c
call fcn.1400187e8
mov r14d, eax
mov ecx, 0x5a
call fcn.1400187e8
mov esi, eax
lea rdx, [rbx + 0xe8]
lea rcx, [rbp + 0xa0]
call fcn.140018290
nop
lea rdi, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdi, qword [rbp + 0xa0]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov r9d, 0x10ca0000
mov r8, rdi
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
test rax, rax
jne 0x140017d97
lea r8, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae r8, qword [rbp + 0x38]
lea r9d, [rax + 0x10]
lea rdx, str.Failed_to_create_window
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400180d6
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, 0x14
mov ecx, ebx
call fcn.1400187e8
mov esi, dword [rsp + 0x6c]
sub esi, dword [rsp + 0x64]
sub esi, eax
mov ecx, ebx
call fcn.1400187e8
mov edi, dword [rsp + 0x68]
sub edi, dword [rsp + 0x60]
sub edi, eax
lea r12d, [rbx - 0xa]
mov ecx, r12d
call fcn.1400187e8
mov ebx, eax
add ebx, dword [rsp + 0x64]
mov ecx, r12d
call fcn.1400187e8
add eax, dword [rsp + 0x60]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
mov r9d, 0x50000000
xor r8d, r8d
lea rdx, str.msctls_progress32
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov r9d, 0x640000
xor r8d, r8d
mov edx, 0x401
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0x404
lea r8d, [r12 - 9]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
movabs rcx, 0x7ffffffffffffffe
mov rax, qword [rbp + 0x70]
sub rcx, rax
cmp rcx, 0x12
jb 0x140018120
lea r9, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae r9, qword [rbp + 0x60]
mov qword [rsp + 0x30], 0x12
lea rcx, str.Webview2Setup.exe
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x80]
call fcn.140004c80
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm2, xmmword [0x140060f10]
movdqa xmmword [rbp - 0x80], xmm2
mov word [rsp + 0x70], r13w
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmm2
movdqa xmmword [rbp - 0x60], xmm2
mov word [rbp - 0x70], r13w
lea r9, [0x140075110]
cmp qword [0x140075128], 8
cmovae r9, qword [0x140075110]
mov rdi, qword [0x140075120]
psrldq xmm2, 8
movq rax, xmm2
cmp rdi, rax
ja 0x140017f29
lea rbx, [rsp + 0x70]
cmp rax, 8
cmovae rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdi
lea r8, [rdi + rdi]
mov rdx, r9
mov rcx, rbx
call fcn.1400290a0
mov word [rbx + rdi*2], r13w
jmp 0x140017f36
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14001816c
lea r9, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r9, qword [rbp + 0x80]
mov rdi, qword [rbp + 0x90]
cmp rdi, qword [rbp - 0x58]
ja 0x140017f82
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rbx, qword [rbp - 0x70]
mov qword [rbp - 0x60], rdi
lea r8, [rdi + rdi]
mov rdx, r9
mov rcx, rbx
call fcn.1400290a0
mov word [rbx + rdi*2], r13w
jmp 0x140017f8e
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.14001816c
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], rsi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x70]
lea r8, [0x140017ae8]
xor edx, edx
xor ecx, ecx
call fcn.140036ed4
mov rbx, rax
jmp 0x140017fd4
lea rcx, [rbp + 0xc0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140017fba
or edi, 0xffffffff
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp + 0xf4]
call fcn.140029740
mov dword [rbp + 0xf0], 0x68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov word [rbp + 0x30], r13w
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, qword [rbp + 0x60]
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rcx, qword [rbp + 0x80]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x48], rdx
lea r8, [rbp + 0xf0]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400180b5
mov edx, edi
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x70]
call fcn.14000328c
lea rcx, [rsp + 0x70]
call fcn.14000328c
nop
lea rcx, [rbp + 0x80]
call fcn.14000328c
nop
lea rcx, [rbp + 0xa0]
call fcn.14000328c
nop
lea rcx, [rbp + 0x38]
call fcn.14000328c
nop
lea rcx, [rbp + 0x60]
call fcn.14000328c
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140026fe0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400033ec
nop
int3