Function at 0x14001b9ec
Capabilities:
Create directory
Create process on windows
Create thread

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x210
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov dword [rbp + 0x38], 8
mov dword [rbp + 0x3c], 0x20
lea rcx, [rbp + 0x38]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebx, ebx
test eax, eax
jne 0x14001ba75
lea r8, [rdi + 0x40]
cmp qword [r8 + 0x18], 8
jb 0x14001ba5b
mov r8, qword [r8]
lea rdx, str.Failed_to_initialize_common_controls
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14001beb3
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14001ba82
mov rcx, qword [r14]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001bab2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14001bab2
lea r8, [rdi + 0x40]
cmp qword [r8 + 0x18], 8
jb 0x14001baa9
mov r8, qword [r8]
lea rdx, str.Failed_to_create_user_data_directory
jmp 0x14001ba62
mov dword [rbp - 0x20], 0x50
mov dword [rbp - 0x1c], 3
lea rax, [0x14001bee0]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], r15
mov rax, qword [rdi + 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 [0x14005ad40]
movdqa xmmword [rbp + 0x10], xmm0
lea rax, str.WebView2Setup
mov qword [rbp + 0x20], rax
mov rax, qword [rdi + 0x88]
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x14001bb3b
lea r8, [rdi + 0x40]
cmp qword [r8 + 0x18], 8
jb 0x14001bb2f
mov r8, qword [r8]
lea rdx, str.Failed_to_register_window_class
jmp 0x14001ba62
mov ecx, 0x12c
call fcn.14001c064
mov r12d, eax
mov ecx, 0x5a
call fcn.14001c064
mov r13d, eax
lea rsi, [rdi + 0xe0]
cmp qword [rsi + 0x18], 8
jb 0x14001bb66
mov rsi, qword [rsi]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, r13d
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, r12d
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov r9d, 0x10ca0000
mov r8, rsi
lea rdx, str.WebView2Setup
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
test rax, rax
jne 0x14001bbfd
lea r8, [rdi + 0x40]
cmp qword [r8 + 0x18], 8
jb 0x14001bbf1
mov r8, qword [r8]
lea rdx, str.Failed_to_create_window
jmp 0x14001ba62
lea rdx, [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, 0x14
mov ecx, ebx
call fcn.14001c064
mov esi, dword [rsp + 0x74]
sub esi, dword [rsp + 0x6c]
sub esi, eax
mov ecx, ebx
call fcn.14001c064
mov edi, dword [rsp + 0x70]
sub edi, dword [rsp + 0x68]
sub edi, eax
lea r13d, [rbx - 0xa]
mov ecx, r13d
call fcn.14001c064
mov ebx, eax
add ebx, dword [rsp + 0x6c]
mov ecx, r13d
call fcn.14001c064
add eax, dword [rsp + 0x68]
xor r13d, r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r12
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, [r13 + 1]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, str.Webview2Setup.exe
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.14000d5a8
nop
movdqa xmm0, xmmword [0x14005ad60]
movdqa xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r13w
movdqa xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
lea r9, [0x140068d50]
cmp qword [0x140068d68], 8
cmovae r9, qword [0x140068d50]
mov rdx, qword [0x140068d60]
lea rcx, [rbp - 0x70]
cmp rdx, 7
ja 0x14001bd31
mov qword [rbp - 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14001fd20
mov word [rbp + rbx - 0x70], r13w
jmp 0x14001bd36
call fcn.14000e394
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae r9, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x50]
cmp rdx, qword [rbp - 0x38]
ja 0x14001bd79
lea rdi, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdi, qword [rbp - 0x50]
mov qword [rbp - 0x40], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.14001fd20
mov word [rdi + rbx], r13w
jmp 0x14001bd82
lea rcx, [rbp - 0x50]
call fcn.14000e394
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], rsi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
lea r9, [rbp - 0x70]
lea r8, [0x14001b95c]
xor edx, edx
xor ecx, ecx
call fcn.140029e30
mov rbx, rax
jmp 0x14001bdc1
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14001bdad
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 + 0x94]
call fcn.140020180
mov dword [rbp + 0x90], 0x68
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov word [rbp + 0x30], r13w
cmp qword [r14 + 0x18], 8
jb 0x14001be28
mov r14, qword [r14]
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rcx, qword [rbp + 0x40]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
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 0x14001be97
mov edx, edi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x50]
call fcn.14000b6a4
lea rcx, [rbp - 0x70]
call fcn.14000b6a4
nop
lea rcx, [rbp + 0x40]
call fcn.14000b6a4
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14001e0a0
mov rbx, qword [rsp + 0x268]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret