Function at 0x14004b4b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x14024d2d8]
movzx edx, byte [rdx + 8]
add rsp, 0x28
jmp 0x14004b4b0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, qword [rbp + 0x67]
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
cmp byte [rbx + 0x260], r12b
je 0x14004b578
lea rdx, [rbx + 0x268]
lea rcx, [rbp - 0x59]
call fcn.140057b70
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140050290
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.14002a100
lea rcx, [rsp + 0x30]
call fcn.140025f00
nop
lea rcx, [rbp - 0x59]
call fcn.140025f00
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004b56c
test al, 0x10
jne 0x14004b56c
mov al, 1
jmp 0x14004b56e
xor al, al
test al, al
je 0x14004b835
jmp 0x14004b5ca
lea rdx, [rbx + 0x158]
lea rcx, [rsp + 0x30]
call fcn.1400500f0
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.14002a100
lea rcx, [rsp + 0x30]
call fcn.140025f00
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004b5c0
test al, 0x10
jne 0x14004b5c0
mov al, 1
jmp 0x14004b5c2
xor al, al
test al, al
je 0x14004b8ba
cmp byte [rbx + 0x260], 0
je 0x14004b6fa
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
call fcn.1400589a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x29], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004b600
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140025740
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov r8d, 6
lea rdx, str.update
lea rcx, [rbp - 0x19]
call fcn.140025740
nop
lea rax, [rbp - 0x39]
mov qword [rbp - 0x69], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.14004f3b0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
mov r8d, 0xa
lea rdx, str.update_vps
lea rcx, [rsp + 0x30]
call fcn.140025740
nop
mov r9, rbx
lea r8, [rsp + 0x30]
lea rdx, [rbp + 7]
call fcn.14004ec90
mov ebx, eax
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140025f00
nop
lea r9, [0x1400449a0]
mov edx, 0x40
lea r8d, [rdx - 0x3f]
lea rcx, [rbp - 0x39]
call fcn.140144600
test ebx, ebx
jne 0x14004b901
lea rcx, [rbp + 7]
call fcn.140025f00
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rsi, qword [rbp + 0x17]
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
je 0x14004b82f
lea r15, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova r15, qword [rbp + 7]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea r14, [rsi + 1]
mov ebx, 7
lea rdi, [rbp - 0x59]
cmp r14, rbx
jbe 0x14004b76c
mov rbx, r14
or rbx, 7
cmp rbx, rax
jbe 0x14004b807
mov rbx, rax
movabs rcx, 0x7fffffffffffffff
add rcx, rcx
call fcn.140025bf0
mov rdi, rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], rbx
mov word [rdi], 0x22
lea rcx, [rdi + 2]
lea r8, [rsi + rsi]
mov rdx, r15
call fcn.14019ace0
mov word [rdi + r14*2], r12w
mov r8d, 0x1a
lea rdx, str.___instop:update_vps__wait
lea rcx, [rbp - 0x59]
call fcn.140023930
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x79], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rcx, [rsp + 0x30]
call fcn.1400677d0
mov ebx, eax
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140025f00
nop
lea rcx, [rbp - 0x59]
call fcn.140025f00
test ebx, ebx
je 0x14004b6c9
cmp byte [rbp + 0x6f], 0
jne 0x14004b87c
cmp ebx, 0xa005
jne 0x14004b87c
jmp 0x14004b6c9
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14004b8b4
jmp 0x14004b75d
call fcn.140025b80
int3
lea rax, str.Unable_to_find_file__
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x19
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x59]
call fcn.140029fc0
nop
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.1400537b0
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x30]
call fcn.14015a550
nop
lea rax, str.Unable_to_update_VPS_with_exit_code_:010x_
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x2d
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x69]
lea rcx, [rsp + 0x30]
call fcn.140050ce0
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x30]
call fcn.14015a550
int3
call fcn.140025d90
int3
lea rax, str.Unable_to_find_file__
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x19
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x59]
call fcn.140029fc0
nop
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.1400537b0
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x30]
call fcn.14015a550
nop
lea rax, str.Unable_to_update_VPS_with_exit_code_:010x_
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x2d
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x69]
lea rcx, [rsp + 0x30]
call fcn.140050ce0
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x30]
call fcn.14015a550
int3