Function at 0x140025260
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14011d8d0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rcx
lea rcx, [rsp + 0x20]
call fcn.1400563f0
nop
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140024c60
nop
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x30]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], r15d
je 0x14002559f
mov qword [rsp + 0x38], r15
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400572e0
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140056260
mov rax, qword [rsp + 0x40]
add rax, 0xed4e00
cmp qword [rsp + 0x38], rax
jle 0x14002559a
mov word [rsp + 0x60], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call sub.MSVCR100.dll_memset
xor r9d, r9d
lea r8d, [r15 + 0x23]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
sete al
test al, al
je 0x14002559a
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x60]
test rax, 0xffffffffffff0000
jne 0x1400253a3
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14002549e
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001f70
mov rbx, qword [rsp + 0x28]
jmp 0x14002549e
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14002541c
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002549e
cmp dword [rdx + 0x10], eax
jge 0x1400253ef
cmp dword [rbx - 0xc], eax
jge 0x1400253e2
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14002549e
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140025405
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
jmp 0x14002549e
mov r13d, dword [rbx - 0x10]
lea r12, [rsp + 0x60]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14002543a
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002545c
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140001c20
mov rbx, qword [rsp + 0x28]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140025481
lea r8, [rbx + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14002548c
lea r8, [rsp + 0x60]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x14002558f
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], r15w
lea r8, str.Sony_CorporationVAIO_Update
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140002ce0
nop
lea r8, str.LocalUpdateInfo_V2.0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140025523
cmp dword [rbx + 0x10], 0
jl 0x140025514
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140025514
call fcn.140001b90
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140025509
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x28], rax
jmp 0x140025523
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140001e80
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140025543
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140025562
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140024ac0
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002559a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14002559a
mov ecx, 0x80070057
call fcn.140001000
nop
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x1400255b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x20]
call fcn.140056370
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400cafa0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret