Function at 0x140053ef8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rcx
xor r13d, r13d
mov rax, qword [0x14022a9e0]
cmp byte [rax + 0x3ea8], r13b
jne 0x1400543ae
mov rax, qword [0x14022ab50]
cmp byte [rax + 0xc79], r13b
jne 0x140053f6d
mov rax, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], rax
je 0x1400543ae
mov ebx, 0x20a
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14012d4b0
xor r9d, r9d
lea r8d, [r9 + 0x14]
lea rdx, [rbp - 0x40]
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x140053fe4
mov word [rbp - 0x40], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
lfence
mov r15d, 0x28
mov ecx, r15d
call fcn.140113d08
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x20], rax
mov rsi, qword [r14 + 0xf0]
mov r12, qword [r14 + 0xf8]
jmp 0x14005414b
lea rcx, [rbp - 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140053fec
test eax, eax
jle 0x140053fa1
cdqe
lea rax, [rax*2 - 2]
cmp word [rbp + rax - 0x40], 0x5c
jne 0x140053fa1
cmp rax, rbx
jae 0x1400543e4
mov word [rbp + rax - 0x40], r13w
jmp 0x140053fa1
xor edx, edx
mov rcx, rsi
call fcn.140115398
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140054147
cmp word [rax], r13w
je 0x140054147
mov r8, qword [rsp + 0x20]
mov rbx, qword [r8 + 8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], r13d
mov r15, r8
cmp byte [rbx + 0x19], r13b
jne 0x140054098
mov qword [rsp + 0x30], rbx
mov rdx, rdi
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jns 0x14005407f
mov dword [rsp + 0x38], r13d
mov rbx, qword [rbx + 0x10]
jmp 0x14005408d
mov dword [rsp + 0x38], 1
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
je 0x14005405e
mov r8, qword [rsp + 0x20]
cmp byte [r15 + 0x19], r13b
jne 0x1400540b8
mov rdx, qword [r15 + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jns 0x140054141
mov r8, qword [rsp + 0x20]
movabs rax, 0x666666666666666
cmp qword [rsp + 0x28], rax
je 0x1400543de
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14004ed00
mov rbx, qword [rax + 8]
mov qword [rax + 8], r13
mov rcx, qword [rsp + 0x70]
mov r15d, 0x28
test rcx, rcx
je 0x140054101
mov edx, r15d
call fcn.14012bc14
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rbp - 0x80], xmm0
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.140054b28
cmp word [rbp - 0x40], r13w
je 0x140054134
mov rdx, rdi
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140054147
mov rdx, rdi
mov rcx, r14
call fcn.1400543ec
jmp 0x140054147
mov r15d, 0x28
add rsi, 0x10
cmp rsi, r12
jne 0x14005401d
mov rsi, qword [0x14022a9e0]
add rsi, 0xcea
mov qword [rsp + 0x58], rsi
je 0x140054260
cmp word [rsi], r13w
je 0x140054260
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], r13d
jmp 0x1400541bb
mov qword [rsp + 0x30], rbx
mov rdx, rsi
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jns 0x1400541ad
mov dword [rsp + 0x38], r13d
mov rbx, qword [rbx + 0x10]
jmp 0x1400541bb
mov dword [rsp + 0x38], 1
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
je 0x14005418c
cmp byte [rdi + 0x19], r13b
jne 0x1400541dc
mov rdx, qword [rdi + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jns 0x140054260
movabs rax, 0x666666666666666
cmp qword [rsp + 0x28], rax
je 0x1400543de
lea r9, [rsp + 0x58]
mov r8, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.14004ed00
mov rbx, qword [rax + 8]
mov qword [rax + 8], r13
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140054222
mov rdx, r15
call fcn.14012bc14
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rbp - 0x60], xmm0
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.140054b28
cmp word [rbp - 0x40], r13w
je 0x140054255
mov rdx, rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140054260
mov rdx, rsi
mov rcx, r14
call fcn.1400543ec
mov rsi, qword [0x14022a9e0]
add rsi, 0xef4
mov qword [rsp + 0x60], rsi
je 0x14005436f
cmp word [rsi], r13w
je 0x14005436f
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], r13d
jmp 0x1400542c7
mov qword [rsp + 0x30], rbx
mov rdx, rsi
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jns 0x1400542b9
mov dword [rsp + 0x38], r13d
mov rbx, qword [rbx + 0x10]
jmp 0x1400542c7
mov dword [rsp + 0x38], 1
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
je 0x140054298
cmp byte [rdi + 0x19], r13b
jne 0x1400542e8
mov rdx, qword [rdi + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jns 0x14005436f
movabs rax, 0x666666666666666
cmp qword [rsp + 0x28], rax
je 0x1400543de
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.14004ed00
mov rbx, qword [rax + 8]
mov qword [rax + 8], r13
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005432e
mov rdx, r15
call fcn.14012bc14
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140054b28
cmp word [rbp - 0x40], r13w
je 0x140054363
mov rdx, rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14005436f
mov rdx, rsi
mov rcx, r14
call fcn.1400543ec
nop
mov rax, qword [rsp + 0x20]
mov rbx, qword [rax + 8]
jmp 0x14005439b
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14004f284
mov rcx, rbx
mov rbx, qword [rbx]
mov rdx, r15
call fcn.14012bc14
cmp byte [rbx + 0x19], r13b
je 0x14005437a
mov rdx, r15
mov rcx, qword [rsp + 0x20]
call fcn.14012bc14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x2e0]
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
call fcn.140054d70
nop
call fcn.14012c3e0
int3