Function at 0x42bf70
Capabilities:
Check if file exists
Get file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov eax, dword [0x4b5040]
xor eax, ebp
mov dword [esp + 0x118], eax
xor esi, esi
push esi
push esi
call fcn.00439250
add esp, 8
movdqa xmm0, xmmword [0x4a2e80]
lea eax, [esp + 0x28]
movdqu xmmword [eax], xmm0
push eax
call fcn.00437d20
add esp, 4
xor ebx, ebx
dec ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0xe0]
mov dword [eax + 8], esi
pxor xmm0, xmm0
movq qword [eax], xmm0
push eax
push 1
call fcn.00415360
add esp, 8
test al, al
je 0x42c51f
lea edi, [esp + 0x10c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea esi, [esp + 0x40]
lea ecx, [esp + 0xe0]
push esi
call fcn.004580f0
push esi
push edi
call fcn.00486e80
add esp, 8
cmp byte [esi + 0xb], 0
jns 0x42c01e
push dword [esp + 0x40]
call fcn.0045e41e
add esp, 4
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x40]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x9c]
push 0x20b
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00440e50
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00447150
cmp byte [esp + 0x117], 0
jns 0x42c06e
mov edi, dword [esp + 0x10c]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, esi
call fcn.00449c10
cmp edi, 0xffffffff
je 0x42c522
lea edi, [esp + 0x1c]
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea eax, [esp + 0x10c]
push eax
push edi
call fcn.00486d90
add esp, 8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x42c0b3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42c525
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x40]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push 0x20b
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00440e50
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00447150
cmp byte [esp + 0x27], 0
jns 0x42c0fe
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, esi
call fcn.00449c10
cmp edi, 0xffffffff
je 0x42c528
cmp byte [esp + 0x117], 0
jns 0x42c130
push dword [esp + 0x10c]
call fcn.0045e41e
add esp, 4
cmp byte [esp + 0xeb], 0
jns 0x42c149
push dword [esp + 0xe0]
call fcn.0045e41e
add esp, 4
lea eax, [esp + 0x1c]
lea edi, [esp + 0x18]
push eax
push edi
call fcn.004396d0
add esp, 8
mov ebx, dword [edi]
mov edi, dword [0x4b9bf4]
test edi, edi
jne 0x42c52b
mov dword [0x4b9bf4], ebx
xor eax, eax
dec eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push esi
call fcn.004149b0
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x42c194
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0xc]
push 2
push esi
push 0x80000001
call fcn.00417bf0
cmp byte [esp + 0x4b], 0
jns 0x42c1b8
push dword [esp + 0x40]
call fcn.0045e41e
add esp, 4
xor eax, eax
inc eax
lea edi, [esp + 0x40]
mov dword [edi], eax
mov eax, 4
xor ebx, ebx
push eax
push edi
push eax
push ebx
push str.PWALauncherResult
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [esp + 0xfc]
mov dword [esi - 0x14], 0xffffffff
mov dword [esi - 0x1c], ebx
mov dword [esi - 0x18], ebx
mov byte [esi - 0x14], 0
push 0xc
call fcn.0045e423
add esp, 4
mov dword [esi - 0x10], eax
lea ecx, [eax + 0xc]
mov dword [esi - 8], ecx
pxor xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], ebx
mov dword [esi - 0xc], ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi - 4], esi
xor eax, eax
inc eax
mov dword [esi + 8], eax
lea esi, [esp + 0xe0]
mov ecx, esi
lea eax, [esp + 0x1c]
push eax
call fcn.0040ee70
mov ecx, esi
push ebx
push dword [0x4b9be8]
call fcn.004392e0
mov dword [edi + 8], ebx
pxor xmm0, xmm0
movq qword [edi], xmm0
push edi
push 0xe
push 0x4abc39
call fcn.0044e960
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x42c26e
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, esi
push eax
push edi
push 0x14
push str.pwa_launcher_version
call fcn.004539d0
cmp byte [esp + 0x4b], 0
lea esi, [esp + 0x9c]
jns 0x42c298
push dword [esp + 0x40]
call fcn.0045e41e
add esp, 4
pxor xmm0, xmm0
movdqu xmmword [esp + 0xd0], xmm0
movdqu xmmword [esp + 0xc0], xmm0
movdqu xmmword [esp + 0xb0], xmm0
movdqu xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x9c], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0xc9], 8
je 0x42c301
mov esi, dword [esp + 0xa8]
push esi
call fcn.0045fe10
add esp, 4
lea ecx, [esp + 0xe0]
push eax
push esi
push 0xf
push str.source_shortcut
call fcn.004539d0
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x44]
movdqa xmmword [esi - 4], xmm0
movdqa xmmword [esi + 0x3c], xmm0
movdqa xmmword [esi + 0x1c], xmm0
movdqa xmmword [esi + 0xc], xmm0
movdqa xmmword [esi + 0x2c], xmm0
xor ebx, ebx
mov byte [esi - 4], bl
lea edi, [esp + 0x84]
mov dword [edi], ebx
mov dword [edi + 4], ebx
xorps xmm1, xmm1
movups xmmword [edi - 0x30], xmm1
pxor xmm0, xmm0
movq qword [edi - 0x23], xmm0
movups xmmword [edi - 0x18], xmm1
mov dword [edi - 9], ebx
movq qword [edi - 0x40], xmm0
movq qword [edi - 0x39], xmm0
mov dword [edi - 4], edi
mov byte [edi + 8], bl
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x10c]
push eax
call fcn.004580f0
cmp byte [edi - 0x35], bl
jns 0x42c37c
push dword [esp + 0x44]
call fcn.0045e41e
add esp, 4
mov eax, dword [esp + 0x114]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x10c]
movsd qword [esi], xmm0
mov byte [esp + 0x7d], 1
cmp byte [esp + 0x51], 0
jne 0x42c540
lea ecx, [esp + 0xe0]
lea esi, [esp + 0x10c]
push esi
call fcn.00411c30
lea eax, [esp + 0x40]
lea ecx, [esp + 0x38]
push eax
push esi
push ecx
call fcn.00412780
add esp, 0xc
cmp byte [esp + 0x117], 0
jns 0x42c3e3
push dword [esp + 0x10c]
call fcn.0045e41e
add esp, 4
lea edi, [esp + 0x80]
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 1
ja 0x42c400
mov esi, 2
cmp byte [esp + 0x3c], 0
je 0x42c402
xor esi, esi
lea ecx, [esp + 0x38]
call fcn.0041aa40
mov ecx, edi
push dword [esp + 0x84]
call fcn.004970c0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x42c42e
mov dword [esp + 0x5c], eax
push eax
call fcn.0045e41e
add esp, 4
lea edi, [esp + 0xf8]
cmp byte [esp + 0x4f], 0
jns 0x42c448
push dword [esp + 0x44]
call fcn.0045e41e
add esp, 4
mov ecx, edi
push dword [esp + 0xfc]
call fcn.0040e410
mov edi, dword [esp + 0xec]
test edi, edi
je 0x42c4a1
mov ebx, dword [esp + 0xf0]
mov eax, edi
cmp ebx, edi
jne 0x42c482
jmp 0x42c491
push dword [ebx - 0xc]
call fcn.0045e41e
add esp, 4
add ebx, 0xfffffff4
cmp ebx, edi
je 0x42c48a
cmp byte [ebx - 1], 0
jns 0x42c47b
jmp 0x42c470
mov eax, dword [esp + 0xec]
mov dword [esp + 0xf0], edi
push eax
call fcn.0045e41e
add esp, 4
lea eax, [esp + 0x40]
mov dword [eax], esi
mov ecx, 4
push ecx
push eax
push ecx
push 0
push str.PWALauncherResult
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42c4d9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], 0
test ecx, ecx
jne 0x42c516
cmp byte [esp + 0x27], 0
jns 0x42c4fc
push dword [esp + 0x1c]
call fcn.0045e41e
add esp, 4
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.00461246
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
push 1
call fcn.00413cf0
jmp 0x42c4e9
int3
int3
int3
int3
mov ecx, edi
call fcn.004983b0
push edi
call fcn.0045e41e
add esp, 4
jmp 0x42c16b
movzx eax, byte [esp + 0x40]
movzx esi, byte [esp + 0x50]
lea ecx, [esp + 0x38]
lea edx, [esp + 0xe0]
push eax
push esi
call fcn.00496cc0
add esp, 8
jmp 0x42c3e3