Function at 0x1400c7b84
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbp, rcx
mov rbx, rdx
xor r15d, r15d
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
mov esi, r15d
mov qword [rsp + 0x30], r15
call sub.msvcrt.dll_memset
mov r12d, 0x104
test rbx, rbx
jne 0x1400c7cad
lea rcx, [rsp + 0x40]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400c7c45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov r10, qword [0x14017d3a8]
lea rcx, [0x14017d3a8]
cmp r10, rcx
je 0x1400c7c32
test byte [r10 + 0x1c], 2
je 0x1400c7c32
cmp byte [r10 + 0x19], 2
jb 0x1400c7c32
mov rcx, qword [r10 + 0x10]
lea edx, [rbx + 0x59]
lea r8, [0x14000bbb0]
mov r9d, eax
call fcn.14001de24
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400c7e94
mov r14d, 0x105
lea rcx, [rsp + 0x40]
mov rdx, rbp
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x1400c7d75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov r10, qword [0x14017d3a8]
lea rcx, [0x14017d3a8]
cmp r10, rcx
je 0x1400c7c32
test byte [r10 + 0x1c], 2
je 0x1400c7c32
cmp byte [r10 + 0x19], 2
jb 0x1400c7c32
mov rcx, qword [r10 + 0x10]
lea r9, [rsp + 0x40]
lea r8, [0x14000bbb0]
mov edx, 0x5a
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
jmp 0x1400c7c32
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call fcn.1400ac7e4
mov ebx, eax
test eax, eax
jns 0x1400c7d06
mov rax, qword [0x14017d3a8]
lea rcx, [0x14017d3a8]
cmp rax, rcx
je 0x1400c7cfc
test byte [rax + 0x1c], 2
je 0x1400c7cfc
cmp byte [rax + 0x19], 2
jb 0x1400c7cfc
mov rcx, qword [rax + 0x10]
lea r8, [0x14000bbb0]
mov edx, 0x5b
mov r9d, ebx
call fcn.14001de24
mov rsi, qword [rsp + 0x30]
jmp 0x1400c7e86
mov rsi, qword [rsp + 0x30]
mov r14d, 0x105
mov rcx, rbp
mov r8, rsi
mov edx, r14d
call fcn.140052508
mov ebx, eax
test eax, eax
jns 0x1400c7d75
mov rax, qword [0x14017d3a8]
lea rcx, [0x14017d3a8]
cmp rax, rcx
je 0x1400c7e86
test byte [rax + 0x1c], 2
je 0x1400c7e86
cmp byte [rax + 0x19], 2
jb 0x1400c7e86
mov rcx, qword [rax + 0x10]
lea r8, [0x14000bbb0]
mov edx, 0x5c
mov r9, rsi
mov dword [rsp + 0x20], reloc.ADVAPI32.dll_TraceEvent
call fcn.14001ecbc
jmp 0x1400c7e86
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rbp + rax*2], r15w
jne 0x1400c7d7c
add rax, 0x19
cmp rax, r12
jb 0x1400c7da8
lea r8, [0x14000b910]
lea rcx, [0x14000b1d0]
mov edx, 0xb8d
call fcn.1400a8be8
lea r8, [0x1400018b0]
mov rdx, r14
mov rcx, rbp
call fcn.14006892c
mov rax, rdi
inc rax
cmp word [rbp + rax*2], r15w
jne 0x1400c7dbd
add rax, 0x13
cmp rax, r12
jb 0x1400c7de9
lea r8, [0x14000b950]
lea rcx, [0x14000b1d0]
mov edx, 0xb95
call fcn.1400a8be8
lea r8, [0x140001800]
mov rdx, r14
mov rcx, rbp
call fcn.14006892c
lea r8, [0x140001888]
mov rdx, r14
mov rcx, rbp
call fcn.14006892c
xor edx, edx
mov rcx, rbp
call fcn.1400b0234
mov ebx, eax
test eax, eax
js 0x1400c7e86
inc rdi
cmp word [rbp + rdi*2], r15w
jne 0x1400c7e1d
add rdi, 0x11
cmp rdi, r12
jb 0x1400c7e49
lea r8, [0x14000b990]
lea rcx, [0x14000b1d0]
mov edx, 0xba5
call fcn.1400a8be8
lea rax, [0x1400018e8]
lea r8, [0x14000a5f8]
lea rcx, [rsp + 0x250]
mov r9, rbp
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.1400284c0
mov ebx, eax
test eax, eax
js 0x1400c7e86
lea rcx, [rsp + 0x250]
xor edx, edx
call fcn.1400b0234
mov ebx, eax
test rsi, rsi
je 0x1400c7e94
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret