Function at 0x140041120
Capabilities:
Accept command line arguments
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
vmovaps xmmword [rsp + 0x230], xmm6
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x228], rax
cmp qword [0x140124838], 0
jne 0x1400411d8
mov ecx, 0x50
call fcn.1400910bc
mov rsi, rax
vxorps xmm6, xmm6, xmm6
vmovups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400910bc
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
vmovups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
lea rax, [rsi + 0x38]
vmovups 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.140091674
mov qword [rdi + 8], rax
mov rcx, rsi
mov rdx, rdi
call fcn.1400468d0
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.140044c80
lea rdx, [rsp + 0x90]
mov qword [rdx + 0x10], rsi
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [rdx], xmm0
mov ecx, 1
call fcn.14001d6d0
test al, al
je 0x140041813
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x140]
mov qword [rdi + 0x10], r14
vbroadcastss xmm6, dword [0x1400f27f0]
vmovaps xmmword [rdi], xmm6
lea rsi, [rsp + 0x90]
lea rbx, [rsp + 0x1b0]
mov rcx, rsi
mov rdx, rbx
call fcn.14001e200
mov rcx, rdi
mov rdx, rbx
call fcn.1400c5b10
cmp byte [rbx + 0x17], 0
jns 0x140041285
mov rcx, qword [rsp + 0x1b0]
call fcn.1400910b4
lea rcx, [rsp + 0x140]
call fcn.140028cb0
test al, al
je 0x140041816
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x10], r14
vmovaps xmmword [rdi], xmm6
lea rdx, [rsp + 0x140]
mov rcx, rdi
call fcn.140041860
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400412c4
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140041819
lea rcx, [rsp + 0x50]
call fcn.140028cb0
test al, al
je 0x14004181c
cmp byte [rsp + 0x157], 0
jns 0x1400412f6
mov rcx, qword [rsp + 0x140]
call fcn.1400910b4
cmp byte [rsp + 0xa7], 0
jns 0x14004130d
mov rcx, qword [rsp + 0x90]
call fcn.1400910b4
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.140048a70
mov rdi, qword [0x140124850]
test rdi, rdi
jne 0x14004181f
mov rax, qword [rsp + 0x48]
mov qword [0x140124850], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], r14
vmovaps xmmword [rsp + 0x30], xmm6
movabs rcx, 0x9aaaaaa0000aaaa
mov qword [rsp + 0xa0], rcx
vmovups xmm0, xmmword [str.Software_]
vmovaps xmmword [rsp + 0x90], xmm0
movzx ecx, word [0x140104904]
mov word [rsp + 0xa0], cx
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dl, 1
mov r8, rsi
call fcn.14001f980
cmp byte [rsp + 0xa7], 0
jns 0x1400413a2
mov rsi, qword [rsp + 0x90]
lea rcx, [rsp + 0x30]
mov rdx, 0xffffffff80000001
mov r8, rsi
mov r9d, 2
call fcn.1400237f0
cmp byte [rsp + 0xa7], 0
jns 0x1400413d3
mov rcx, qword [rsp + 0x90]
call fcn.1400910b4
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
vxorps xmm6, xmm6, xmm6
vmovaps xmmword [rdi - 0x38], xmm6
mov byte [rdi - 0x28], 0
mov ecx, 0x18
call fcn.1400910bc
mov qword [rdi - 0x20], rax
lea rcx, [rax + 0x18]
mov qword [rdi - 0x10], rcx
vmovups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rdi - 0x18], rcx
vmovups 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.1400467a0
mov rdx, qword [0x140124838]
mov rcx, rdi
xor r8d, r8d
call fcn.1400dfdf0
lea rax, [0x1401031bb]
lea rdx, [rsp + 0x210]
mov qword [rdx], rax
mov qword [rdx + 8], 0xe
mov rcx, rsi
call fcn.140087d60
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400414b9
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.140047860
cmp byte [rsp + 0xa7], 0
jns 0x140041501
mov rcx, qword [rsp + 0x90]
call fcn.1400910b4
vxorps xmm0, xmm0, xmm0
lea rsi, [rsp + 0x140]
vmovups ymmword [rsi], ymm0
vmovups ymmword [rsi + 0x40], ymm0
vmovups ymmword [rsi + 0x20], ymm0
mov qword [rsi + 0x60], 0
mov dword [rsi], 0x68
mov rcx, rsi
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [rsi + 0x3d], 8
je 0x140041581
mov rcx, qword [rsp + 0x158]
lea rsi, [rsp + 0x200]
mov qword [rsi], rcx
call fcn.140091674
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.140047860
vbroadcastss ymm0, dword [0x1400f27f0]
lea rsi, [rsp + 0x98]
vmovups ymmword [rsi - 8], ymm0
vmovups ymmword [rsi + 0x38], ymm0
vmovups ymmword [rsi + 0x18], ymm0
vmovups ymmword [rsi + 0x58], ymm0
vmovups ymmword [rsi + 0x70], ymm0
xor edi, edi
mov byte [rsi - 8], dil
lea rbx, [rsp + 0x110]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbx - 0x5c], ymm0
mov qword [rbx - 0x3f], 0
vmovups ymmword [rbx - 0x30], ymm0
mov dword [rbx - 0x11], 0
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [rbx], xmm0
vmovups xmmword [rbx - 0x78], xmm0
vmovups xmmword [rbx - 0x6d], xmm0
mov qword [rbx - 8], rbx
mov byte [rbx + 0x10], dil
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x210]
vzeroupper
call fcn.14001e200
cmp byte [rbx - 0x61], dil
jns 0x140041618
mov rcx, qword [rsp + 0x98]
call fcn.1400910b4
mov rax, qword [rsp + 0x220]
mov qword [rsi + 0x10], rax
vmovups xmm0, xmmword [rsp + 0x210]
vmovups xmmword [rsi], xmm0
mov byte [rsp + 0x101], 1
cmp byte [rsp + 0xb1], 0
jne 0x140041834
lea rcx, [rsp + 0x1b0]
lea rsi, [rsp + 0x210]
mov rdx, rsi
call fcn.140020910
lea rcx, [rsp + 0x80]
lea r8, [rsp + 0x90]
mov rdx, rsi
call fcn.140021990
cmp byte [rsi + 0x17], 0
jns 0x14004168a
mov rcx, qword [rsp + 0x210]
call fcn.1400910b4
lea rdi, [rsp + 0x108]
mov rax, qword [rsp + 0x80]
inc rax
cmp rax, 1
ja 0x1400416b2
mov esi, 2
cmp byte [rsp + 0x88], 0
je 0x1400416b4
xor esi, esi
lea rcx, [rsp + 0x80]
call fcn.140023750
mov rdx, qword [rsp + 0x110]
mov rcx, rdi
call fcn.1400de3b0
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400416eb
mov qword [rsp + 0xc0], rcx
call fcn.1400910b4
lea rdi, [rsp + 0x1e0]
cmp byte [rsp + 0xaf], 0
jns 0x14004170a
mov rcx, qword [rsp + 0x98]
call fcn.1400910b4
mov rdx, qword [rsp + 0x1e8]
mov rcx, rdi
call fcn.14001a0b0
mov rdi, qword [rsp + 0x1c8]
test rdi, rdi
je 0x140041768
mov rbx, qword [rsp + 0x1d0]
mov rcx, rdi
cmp rbx, rdi
jne 0x14004174b
jmp 0x14004175b
mov rcx, qword [rbx - 0x18]
call fcn.1400910b4
add rbx, 0xffffffffffffffe8
cmp rbx, rdi
je 0x140041753
cmp byte [rbx - 1], 0
jns 0x140041742
jmp 0x140041739
mov rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rdi
call fcn.1400910b4
lea rax, [rsp + 0x90]
mov dword [rax], esi
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
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 0x1400417bb
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 0x140041807
cmp byte [rsp + 0x67], 0
jns 0x1400417df
mov rcx, qword [rsp + 0x50]
call fcn.1400910b4
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400931d0
mov eax, esi
vmovaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edx, 1
call fcn.14001cb90
jmp 0x1400417ce
int3
int3
int3
int3
mov rcx, rdi
call fcn.1400e00f0
mov rcx, rdi
call fcn.1400910b4
jmp 0x14004132c
mov r9b, byte [rsp + 0x90]
mov r8b, byte [rsp + 0xb0]
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1b0]
call fcn.1400ddf00
jmp 0x14004168a