Function at 0x14003c4d0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x4c8]
sub rsp, 0x5c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x60]
call fcn.1400482f0
lea rcx, [rbp - 0x60]
call fcn.140017090
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x120]
call fcn.1400482f0
lea rcx, [rbp + 0x120]
call fcn.140017090
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1400482f0
mov edx, 0x104
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
lea rax, [rbp + 0x2a0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003c5a0
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x60]
call fcn.140002410
nop
cmp byte [rbx], 0
je 0x14003c67e
movdqa xmm0, xmmword [0x140084720]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], si
mov dword [rsp + 0x20], 2
mov rbx, qword [rsp + 0x70]
lea rdx, [rbx + 0x13]
lea rcx, [rbp - 0x80]
call fcn.14001b9c0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, rbx
lea rcx, [rbp - 0x80]
call fcn.14001ba80
mov r8d, 0x13
lea rdx, str.System32_ntdll.dll
lea rcx, [rbp - 0x80]
call fcn.14001ba80
mov r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.1400173b0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14003c821
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c8c8
call fcn.14004654c
jmp 0x14003c821
xor eax, eax
mov qword [rbp - 0x78], rax
movzx eax, byte [rbx + 1]
mov qword [rbp - 0x80], rsi
mov byte [rbp - 0x78], al
test al, al
je 0x14003c69e
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
movdqa xmm0, xmmword [0x140084720]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 4
mov rbx, qword [rsp + 0x70]
lea rdx, [rbx + 0x13]
lea rcx, [rsp + 0x28]
call fcn.14001b9c0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14001ba80
mov r8d, 0x13
lea rdx, str.System32_ntdll.dll
lea rcx, [rsp + 0x28]
call fcn.14001ba80
mov r8b, 1
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x120]
call fcn.1400173b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14003c759
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c753
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c8ce
call fcn.14004654c
nop
movdqa xmm0, xmmword [0x140084720]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 8
mov rbx, qword [rsp + 0x70]
lea rdx, [rbx + 0x13]
lea rcx, [rsp + 0x28]
call fcn.14001b9c0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14001ba80
mov r8d, 0x13
lea rdx, str.SysWOW64_ntdll.dll
lea rcx, [rsp + 0x28]
call fcn.14001ba80
mov r8b, 1
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.1400173b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14003c811
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c80b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c8d4
call fcn.14004654c
nop
cmp byte [rbp - 0x78], 0
je 0x14003c821
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.14003c8e0
nop
lea rcx, [rdi + 0x180]
lea rdx, [rbp + 0x120]
call fcn.14003c8e0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14003c881
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c87b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c8c2
call fcn.14004654c
nop
lea rcx, [rbp + 0x120]
call fcn.140017200
nop
lea rcx, [rbp - 0x60]
call fcn.140017200
mov rax, rdi
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140045ef0
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14004cff4
nop
call fcn.14004cff4
nop
call fcn.14004cff4
int3
call fcn.14004cff4
int3