Function at 0x14000aa10
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x14024d2d8]
add rdx, 8
add rsp, 0x28
jmp 0x14004b940
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [rbp + 0x90]
mov rbx, qword [rbp + 0x98]
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
cmp byte [r14 + 0x260], r13b
je 0x14004ba16
lea rdx, [r14 + 0x268]
lea rcx, [rsp + 0x70]
call fcn.140057b70
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140050290
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14002a100
lea rcx, [rbp - 0x30]
call fcn.140025f00
nop
lea rcx, [rsp + 0x70]
call fcn.140025f00
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004ba0a
test al, 0x10
jne 0x14004ba0a
mov al, 1
jmp 0x14004ba0c
xor al, al
test al, al
je 0x14004c084
jmp 0x14004ba66
lea rdx, [r14 + 0x158]
lea rcx, [rbp - 0x30]
call fcn.1400500f0
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14002a100
lea rcx, [rbp - 0x30]
call fcn.140025f00
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004ba5c
test al, 0x10
jne 0x14004ba5c
mov al, 1
jmp 0x14004ba5e
xor al, al
test al, al
je 0x14004c109
cmp byte [r14 + 0x260], 0
je 0x14004bb5e
lea rdx, [r14 + 0x268]
lea rcx, [rbp - 0x30]
call fcn.140025a50
lea rdx, str.update
mov qword [rbp - 0x10], rdx
movups xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x140213360]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r13w
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
mov r8d, 6
lea rcx, [rbp + 0x20]
call fcn.140025740
nop
lea rax, [rbp]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x40]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14004f3b0
mov r9, rax
mov r8, rbx
lea rdx, [rbp - 0x50]
call fcn.14004ec90
mov ebx, eax
mov dword [rsp + 0x40], eax
lea r9, [0x1400449a0]
mov edx, 0x40
lea r8d, [rdx - 0x3f]
lea rcx, [rbp]
call fcn.140144600
nop
lea rcx, [rbp - 0x30]
call fcn.140025f00
test ebx, ebx
jne 0x14004c14c
lea rcx, [rbp - 0x50]
call fcn.140025f00
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140144310
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.14009d1b0
movzx edx, word [rsp + 0x46]
movzx r8d, word [rsp + 0x44]
movzx r9d, word [rsp + 0x42]
mov rax, qword [rsp + 0x40]
test ax, ax
jne 0x14004bb9c
test r9w, r9w
jne 0x14004bb9c
test r8w, r8w
jne 0x14004bb9c
test dx, dx
jne 0x14004bb9c
xor cl, cl
jmp 0x14004bb9e
mov cl, 1
test cl, cl
je 0x14004c182
movzx ecx, ax
shl ecx, 0x10
or ecx, r9d
movabs rax, 0x7fffffffffffffff
movabs r9, 0x7ffffffffffffffe
mov r10d, 0xa
lea r12d, [r10 + 0x18]
cmp ecx, 0xa0002
jb 0x14004bf7f
ja 0x14004bbef
mov ecx, r8d
shl ecx, 0x10
or ecx, edx
cmp ecx, 0x8a10000
jb 0x14004bf7f
mov rsi, qword [rbp - 0x40]
cmp rsi, r9
je 0x14004c1ab
lea r12, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova r12, qword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r15, [rsi + 1]
mov ebx, 7
lea rdi, [rsp + 0x50]
cmp r15, rbx
jbe 0x14004bc54
mov rbx, r15
or rbx, 7
cmp rbx, r9
jbe 0x14004be05
mov rbx, r9
mov rcx, rax
add rcx, rcx
call fcn.140025bf0
mov rdi, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rbx
mov word [rdi], 0x22
lea rcx, [rdi + 2]
lea r8, [rsi + rsi]
mov rdx, r12
call fcn.14019ace0
mov word [rdi + r15*2], r13w
mov esi, 8
lea r8d, [rsi + 0x14]
lea rdx, str.___instop:update_setup__wait
lea rcx, [rsp + 0x50]
call fcn.140023930
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or esi, 0x10
lea rcx, [rsp + 0x70]
call fcn.1400677d0
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x70]
call fcn.140025f00
nop
lea rcx, [rsp + 0x50]
call fcn.140025f00
test ebx, ebx
jne 0x14004c1b1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
lea rcx, [rbp]
call fcn.140023ad0
nop
lea r9, [r14 + 0x158]
mov rcx, qword [r9 + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x10
jb 0x14004c1e9
cmp qword [r9 + 0x18], 7
jbe 0x14004bd29
mov r9, qword [r9]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rax, str.Setup_setup.ini
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140015aa0
or esi, 0x20
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x70]
lea rcx, [rbp]
call fcn.1400983a0
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.140025f00
test bl, bl
je 0x14004c1ef
lea rax, str.Common
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 6
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp]
call fcn.140096740
lea rcx, str.NewDirectoryName
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], reloc.WS2_32.dll_recv
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x70], r13
lea rdi, [rax + 0x10]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400297b0
mov ecx, 3
mov rbx, qword [rbp - 0x70]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x14004be1e
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140025a50
nop
or esi, 0x40
jmp 0x14004be4f
cmp rbx, r10
cmovb rbx, r10
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14004c0c7
jmp 0x14004bc44
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x140208330]
lea rcx, [rsp + 0x50]
call fcn.140025740
lea rax, [rsp + 0x50]
bts esi, 7
mov dword [rsp + 0x40], esi
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140025a50
bts esi, 8
test sil, sil
jns 0x14004be77
btr esi, 7
lea rcx, [rsp + 0x50]
call fcn.140025f00
nop
test sil, 0x40
je 0x14004be88
lea rcx, [rsp + 0x70]
call fcn.140025f00
nop
lea rdx, [r14 + 0x158]
lea r9, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140050ea0
mov rbx, rax
lea rax, [rbp - 0x50]
cmp rax, rbx
je 0x14004bf19
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14004bee9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bee4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c21a
call fcn.140144330
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rsp + 0x50]
call fcn.140025f00
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004bf44
test al, 0x10
jne 0x14004bf44
mov al, 1
jmp 0x14004bf46
xor al, al
test al, al
je 0x14004c220
lea rcx, [rbp - 0x30]
call fcn.140025f00
nop
lea rcx, [rbp]
call fcn.14000b040
movabs rax, 0x7fffffffffffffff
movabs r9, 0x7ffffffffffffffe
mov r10d, 0xa
lea r12d, [r10 + 0x18]
mov rsi, qword [rbp - 0x40]
cmp rsi, r9
je 0x14004c07e
lea r15, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova r15, qword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea r14, [rsi + 1]
mov ebx, 7
lea rdi, [rbp - 0x70]
cmp r14, rbx
jbe 0x14004bfe0
mov rbx, r14
or rbx, 7
cmp rbx, r9
jbe 0x14004c064
mov rbx, r9
mov rcx, rax
add rcx, rcx
call fcn.140025bf0
mov rdi, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], rbx
mov word [rdi], r12w
lea rcx, [rdi + 2]
lea r8, [rsi + rsi]
mov rdx, r15
call fcn.14019ace0
mov word [rdi + r14*2], r13w
mov r8d, 0x26
lea rdx, str.___instop:update_vps_and_program__wait
lea rcx, [rbp - 0x70]
call fcn.140023930
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rcx, [rsp + 0x70]
call fcn.1400677d0
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x70]
call fcn.140025f00
nop
lea rcx, [rbp - 0x70]
call fcn.140025f00
test ebx, ebx
jne 0x14004c0cd
jmp 0x14004bb2e
cmp rbx, 0xa
cmovb rbx, r10
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14004c103
jmp 0x14004bfd1
call fcn.140025b80
int3
lea rax, str.Unable_to_find_file__
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x19
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140029fc0
nop
mov r8, rax
lea rcx, [rbp - 0x30]
call fcn.1400537b0
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x30]
call fcn.14015a550
nop
call fcn.140025d90
int3
lea rax, str.Unable_to_update_installation_with_exit_code_:010x_
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], gethostname
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140050ce0
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x30]
call fcn.14015a550
int3
call fcn.140025d90
int3
lea rax, str.Unable_to_find_file__
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x19
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140029fc0
nop
mov r8, rax
lea rcx, [rbp - 0x30]
call fcn.1400537b0
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x30]
call fcn.14015a550
nop
lea rax, str.Unable_to_update_with_exit_code_:010x_
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x29
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140050ce0
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x30]
call fcn.14015a550
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_retrieve_a_version_of_the_installer_
lea rcx, [rbp - 0x30]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x30]
call fcn.14015a550
int3
call fcn.140025b80
int3
lea rax, str.Unable_to_update_installer_with_exit_code_:010x_
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], gethostname
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140050ce0
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x70]
call fcn.14015a550
nop
call fcn.140025b80
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_open_setup.ini_
lea rcx, [rsp + 0x70]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x70]
call fcn.14015a550
nop
call fcn.140167900
int3
lea rax, str.Unable_to_find_file__
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x19
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x70]
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14002a040
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x50]
call fcn.14015a550
int3