Function at 0x14000a890
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [0x14021e038]
add rsp, 0x28
jmp 0x140048c60
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r14, qword [rbp + 0x80]
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.140045100
cmp byte [r14 + 0x278], r13b
je 0x140048e05
lea rax, [rbp - 0x80]
mov qword [rbp - 0x60], rax
lea rdx, [r14 + 0x280]
lea rcx, [rbp + 0x20]
call fcn.140025a20
lea rdx, str.update
mov qword [rbp + 0x40], rdx
movups xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1401e8230]
movdqu xmmword [rbp + 0x30], xmm1
mov word [rbp + 0x20], r13w
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
lea r8d, [r13 + 6]
lea rcx, [rbp]
call fcn.1400258d0
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14004c490
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r8d, [r13 + 0xe]
lea rdx, str.update_program
lea rcx, [rsp + 0x50]
call fcn.1400258d0
nop
mov r9, rbx
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x40]
call fcn.14004be50
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.140025e80
nop
lea r9, [0x140023fd0]
lea edx, [r13 + 0x40]
lea r8d, [r13 + 1]
lea rcx, [rbp - 0x20]
call fcn.1401338d8
nop
lea rcx, [rbp + 0x20]
call fcn.140025e80
test ebx, ebx
jne 0x140049369
lea rcx, [rbp - 0x40]
call fcn.140025e80
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.14008cac0
movzx edx, word [rsp + 0x46]
movzx r8d, word [rsp + 0x44]
movzx r9d, word [rsp + 0x42]
mov rax, qword [rsp + 0x40]
test ax, ax
jne 0x140048e43
test r9w, r9w
jne 0x140048e43
test r8w, r8w
jne 0x140048e43
test dx, dx
jne 0x140048e43
xor cl, cl
jmp 0x140048e45
mov cl, 1
test cl, cl
je 0x14004939f
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 0x140049225
ja 0x140048e96
mov ecx, r8d
shl ecx, 0x10
or ecx, edx
cmp ecx, 0x8a10000
jb 0x140049225
mov rsi, qword [rbp - 0x30]
cmp rsi, r9
je 0x1400493c8
lea r12, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r12, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea r15, [rsi + 1]
mov ebx, 7
lea rdi, [rbp - 0x80]
cmp r15, rbx
jbe 0x140048ef7
mov rbx, r15
or rbx, 7
cmp rbx, r9
jbe 0x1400490ac
mov rbx, r9
mov rcx, rax
add rcx, rcx
call fcn.140025b70
mov rdi, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], rbx
mov word [rdi], 0x22
lea rcx, [rdi + 2]
lea r8, [rsi + rsi]
mov rdx, r12
call fcn.140175f40
mov word [rdi + r15*2], r13w
mov esi, 8
lea r8d, [rsi + 0x14]
lea rdx, str.___instop:update_setup__wait
lea rcx, [rbp - 0x80]
call fcn.1400237f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or esi, 0x10
lea rcx, [rsp + 0x50]
call fcn.140062bc0
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.140025e80
nop
lea rcx, [rbp - 0x80]
call fcn.140025e80
test ebx, ebx
jne 0x1400493ce
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
lea rcx, [rbp - 0x20]
call fcn.1400239c0
nop
mov rcx, qword [r14 + 0x168]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x10
jb 0x140049406
lea r9, [r14 + 0x158]
cmp qword [r14 + 0x170], 7
jbe 0x140048fd3
mov r9, qword [r14 + 0x158]
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 + 0x50]
call fcn.140023000
or esi, 0x20
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140088120
movzx ebx, al
lea rcx, [rsp + 0x50]
call fcn.140025e80
test bl, bl
je 0x14004940c
lea rax, str.Common
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 6
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.140085e40
lea rcx, str.NewDirectoryName
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], reloc.WS2_32.dll_recv
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x60], r13
lea rdi, [rax + 0x10]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400296d0
mov ecx, 3
mov rbx, qword [rbp - 0x60]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x1400490c5
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140025a20
nop
or esi, 0x40
jmp 0x1400490f6
cmp rbx, r10
cmovb rbx, r10
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x140049327
jmp 0x140048ee8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x1401de438]
lea rcx, [rsp + 0x50]
call fcn.1400258d0
lea rax, [rsp + 0x50]
bts esi, 7
mov dword [rsp + 0x40], esi
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140025a20
bts esi, 8
test sil, sil
jns 0x14004911e
btr esi, 7
lea rcx, [rsp + 0x50]
call fcn.140025e80
nop
test sil, 0x40
je 0x14004912e
lea rcx, [rbp - 0x80]
call fcn.140025e80
nop
lea r9, [rbp + 0x20]
lea rdx, [r14 + 0x158]
lea rcx, [rsp + 0x50]
call fcn.14004da50
mov rbx, rax
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x1400491bf
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14004918f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004918a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049437
call fcn.140133620
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rsp + 0x50]
call fcn.140025e80
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400491ea
test al, 0x10
jne 0x1400491ea
mov al, 1
jmp 0x1400491ec
xor al, al
test al, al
je 0x14004943d
lea rcx, [rbp + 0x20]
call fcn.140025e80
nop
lea rcx, [rbp - 0x20]
call fcn.14000af00
movabs rax, 0x7fffffffffffffff
movabs r9, 0x7ffffffffffffffe
mov r10d, 0xa
lea r12d, [r10 + 0x18]
mov r14, qword [rbp - 0x30]
cmp r14, r9
je 0x140049321
lea r15, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r15, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rsi, [r14 + 1]
mov ebx, 7
lea rdi, [rbp - 0x60]
cmp rsi, rbx
jbe 0x140049286
mov rbx, rsi
or rbx, 7
cmp rbx, r9
jbe 0x14004930b
mov rbx, r9
mov rcx, rax
add rcx, rcx
call fcn.140025b70
mov rdi, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rbx
mov word [rdi], r12w
lea rcx, [rdi + 2]
lea r8, [r14 + r14]
mov rdx, r15
call fcn.140175f40
mov word [rdi + rsi*2], r13w
mov r8d, 0x26
lea rdx, str.___instop:update_vps_and_program__wait
lea rcx, [rbp - 0x60]
call fcn.1400237f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rcx, [rsp + 0x50]
call fcn.140062bc0
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.140025e80
nop
lea rcx, [rbp - 0x60]
call fcn.140025e80
test ebx, ebx
jne 0x14004932d
jmp 0x140048dcf
cmp rbx, 0xa
cmovb rbx, r10
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x140049363
jmp 0x140049277
call fcn.140025b50
int3
call fcn.140025d10
int3
lea rax, str.Unable_to_update_installation_with_exit_code_:010x_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], getservbyname
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14004d880
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x20]
call fcn.140135f84
int3
call fcn.140025d10
int3
lea rax, str.Unable_to_update_with_exit_code_:010x_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0x29
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14004d880
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x20]
call fcn.140135f84
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 - 0x20]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x20]
call fcn.140135f84
int3
call fcn.140025b50
int3
lea rax, str.Unable_to_update_installer_with_exit_code_:010x_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], getservbyname
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14004d880
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x50]
call fcn.140135f84
nop
call fcn.140025b50
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_open_setup.ini_
lea rcx, [rsp + 0x50]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x50]
call fcn.140135f84
nop
call fcn.140143340
int3
lea rax, str.Unable_to_find_file__
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0x19
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x60]
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140029f20
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x50]
call fcn.140135f84
int3