Function at 0x140042aa0
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x228], rax
cmp qword [0x140124838], 0
jne 0x140042b4f
mov ecx, 0x50
call fcn.1400914ac
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400914ac
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
lea rax, [rsi + 0x38]
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140124838], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdi, [rsp + 0x90]
mov qword [rdi], rax
mov rcx, rax
call fcn.140091a84
mov qword [rdi + 8], rax
mov rcx, rsi
mov rdx, rdi
call fcn.140048280
movabs rax, 0xaaaaaaaa00000002
lea rcx, [rsp + 0x68]
mov qword [rcx], rax
xor esi, esi
mov qword [rcx + 8], rsi
movabs rax, 0x100000000
mov qword [rcx + 0x10], rax
call fcn.140046650
lea rdx, [rsp + 0x1b0]
mov qword [rdx + 0x10], rsi
xorps xmm0, xmm0
movaps xmmword [rdx], xmm0
mov ecx, 1
call fcn.14001d800
test al, al
je 0x140043221
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x210]
mov qword [rsi + 0x10], r14
movaps xmm6, xmmword [0x1400f2c30]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0x1b0]
lea rdi, [rsp + 0x90]
mov rdx, rdi
call fcn.14001e470
mov rcx, rsi
mov rdx, rdi
call fcn.1400c56b0
cmp byte [rdi + 0x17], 0
jns 0x140042bf4
mov rcx, qword [rsp + 0x90]
call fcn.1400914a4
lea rdi, [rsp + 0x90]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x140]
mov rcx, rbx
mov r9d, 0x20b
call fcn.140058330
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14007ac80
cmp byte [rsp + 0x227], 0
jns 0x140042c4f
mov rsi, qword [rsp + 0x210]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov rcx, rdi
call fcn.14007a7a0
cmp esi, 0xffffffff
je 0x140043224
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x10], r14
movaps xmmword [rdi], xmm6
lea rdx, [rsp + 0x210]
mov rcx, rdi
call fcn.140043270
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140042c94
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140043227
lea rsi, [rsp + 0x90]
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x140]
mov rcx, rbx
mov r9d, 0x20b
call fcn.140058330
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14007ac80
cmp byte [rsp + 0x67], 0
jns 0x140042cf2
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rsi
call fcn.14007a7a0
cmp edi, 0xffffffff
je 0x14004322a
cmp byte [rsp + 0x227], 0
jns 0x140042d25
mov rcx, qword [rsp + 0x210]
call fcn.1400914a4
cmp byte [rsp + 0x1c7], 0
jns 0x140042d3c
mov rcx, qword [rsp + 0x1b0]
call fcn.1400914a4
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.14004a3d0
mov rdi, qword [0x140124850]
test rdi, rdi
jne 0x14004322d
mov rax, qword [rsp + 0x48]
mov qword [0x140124850], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], r14
movaps xmmword [rsp + 0x30], xmm6
movabs rcx, 0x9aaaaaa0000aaaa
mov qword [rsp + 0xa0], rcx
movups xmm0, xmmword [str.Software_]
movaps xmmword [rsp + 0x90], xmm0
movzx ecx, word [0x140104d84]
mov word [rsp + 0xa0], cx
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dl, 1
mov r8, rsi
call fcn.14001fba0
cmp byte [rsp + 0xa7], 0
jns 0x140042dce
mov rsi, qword [rsp + 0x90]
lea rcx, [rsp + 0x30]
mov rdx, 0xffffffff80000001
mov r8, rsi
mov r9d, 2
call fcn.140023970
cmp byte [rsp + 0xa7], 0
jns 0x140042dff
mov rcx, qword [rsp + 0x90]
call fcn.1400914a4
lea rsi, [rsp + 0x90]
mov dword [rsi], 1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 4
lea rdx, str.PWALauncherResult
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdi, [rsp + 0x1e8]
mov qword [rdi - 0x28], r14
xorps xmm6, xmm6
movaps xmmword [rdi - 0x38], xmm6
mov byte [rdi - 0x28], 0
mov ecx, 0x18
call fcn.1400914ac
mov qword [rdi - 0x20], rax
lea rcx, [rax + 0x18]
mov qword [rdi - 0x10], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rdi - 0x18], rcx
movups xmmword [rdi], xmm6
mov qword [rdi - 8], rdi
mov qword [rdi + 0x10], 1
lea rdi, [rsp + 0x1b0]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140048150
mov rdx, qword [0x140124838]
mov rcx, rdi
xor r8d, r8d
call fcn.1400df850
lea rax, [0x14010363b]
lea rdx, [rsp + 0x210]
mov qword [rdx], rax
mov qword [rdx + 8], 0xe
mov rcx, rsi
call fcn.140088c90
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140042ee1
mov rax, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
lea r8, [rsp + 0x140]
mov qword [r8], rsi
mov qword [r8 + 8], rax
lea rax, str.pwa_launcher_version
lea rdx, [rsp + 0x200]
mov qword [rdx], rax
mov qword [rdx + 8], 0x14
mov rcx, rdi
call fcn.1400491f0
cmp byte [rsp + 0xa7], 0
jns 0x140042f29
mov rcx, qword [rsp + 0x90]
call fcn.1400914a4
xorps xmm6, xmm6
lea rsi, [rsp + 0x140]
movaps xmmword [rsi], xmm6
movaps xmmword [rsi + 0x50], xmm6
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
mov qword [rsi + 0x60], 0
mov dword [rsi], 0x68
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [rsi + 0x3d], 8
je 0x140042fae
mov rcx, qword [rsp + 0x158]
lea rsi, [rsp + 0x200]
mov qword [rsi], rcx
call fcn.140091a84
mov qword [rsi + 8], rax
lea rax, str.source_shortcut
lea rdx, [rsp + 0x130]
mov qword [rdx], rax
mov qword [rdx + 8], 0xf
lea rcx, [rsp + 0x1b0]
mov r8, rsi
call fcn.1400491f0
lea rsi, [rsp + 0x90]
mov r8d, 0x98
mov rcx, rsi
mov dl, 0xaa
call fcn.1400c39c0
xor edi, edi
mov byte [rsi], dil
lea rbx, [rsp + 0x110]
movups xmmword [rbx - 0x5c], xmm6
movups xmmword [rbx - 0x4c], xmm6
mov qword [rbx - 0x3f], 0
movups xmmword [rbx - 0x30], xmm6
movups xmmword [rbx - 0x20], xmm6
mov dword [rbx - 0x11], 0
movups xmmword [rbx], xmm6
movups xmmword [rbx - 0x78], xmm6
movups xmmword [rbx - 0x6d], xmm6
mov qword [rbx - 8], rbx
mov byte [rbx + 0x10], dil
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x210]
call fcn.14001e470
cmp byte [rbx - 0x61], dil
jns 0x14004302a
mov rcx, qword [rsp + 0x98]
call fcn.1400914a4
mov rax, qword [rsp + 0x220]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x210]
movups xmmword [rsi + 8], xmm0
mov byte [rsp + 0x101], 1
cmp byte [rsp + 0xb1], 0
jne 0x140043242
lea rcx, [rsp + 0x1b0]
lea rdi, [rsp + 0x210]
mov rdx, rdi
call fcn.140020b30
lea rcx, [rsp + 0x80]
lea r8, [rsp + 0x90]
mov rdx, rdi
call fcn.140021b90
cmp byte [rdi + 0x17], 0
jns 0x14004309b
mov rcx, qword [rsp + 0x210]
call fcn.1400914a4
lea rbx, [rsp + 0x108]
mov rax, qword [rsp + 0x80]
inc rax
cmp rax, 1
ja 0x1400430c3
mov edi, 2
cmp byte [rsp + 0x88], 0
je 0x1400430c5
xor edi, edi
lea rcx, [rsp + 0x80]
call fcn.1400238d0
mov rdx, qword [rsp + 0x110]
mov rcx, rbx
call fcn.1400dde20
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400430fc
mov qword [rsp + 0xc0], rcx
call fcn.1400914a4
lea rbx, [rsp + 0x1e0]
cmp byte [rsp + 0xaf], 0
jns 0x14004311b
mov rcx, qword [rsp + 0x98]
call fcn.1400914a4
mov rdx, qword [rsp + 0x1e8]
mov rcx, rbx
call fcn.14001a270
mov rbx, qword [rsp + 0x1c8]
test rbx, rbx
je 0x14004317a
mov r14, qword [rsp + 0x1d0]
mov rcx, rbx
cmp r14, rbx
jne 0x14004315c
jmp 0x14004316d
mov rcx, qword [r14 - 0x18]
call fcn.1400914a4
add r14, 0xffffffffffffffe8
cmp r14, rbx
je 0x140043165
cmp byte [r14 - 1], 0
jns 0x140043153
jmp 0x14004314a
mov rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rbx
call fcn.1400914a4
mov dword [rsp + 0x90], edi
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 4
lea rdx, str.PWALauncherResult
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400431ca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], 0
test rcx, rcx
jne 0x140043215
cmp byte [rsp + 0x67], 0
jns 0x1400431ee
mov rcx, qword [rsp + 0x50]
call fcn.1400914a4
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400935c0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edx, 1
call fcn.14001cd20
jmp 0x1400431dd
int3
int3
int3
int3
mov rcx, rdi
call fcn.1400dfb50
mov rcx, rdi
call fcn.1400914a4
jmp 0x140042d5b
mov r9b, byte [rsp + 0x90]
mov r8b, byte [rsp + 0xb0]
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1b0]
call fcn.1400dd980
jmp 0x14004309b