Function at 0x1800373c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x1800b70c0]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x40]
call fcn.18006d9c0
lea rcx, [rbp - 0x40]
call fcn.18002eeb0
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x140]
call fcn.18006d9c0
lea rcx, [rbp + 0x140]
call fcn.18002eeb0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2c0]
call fcn.18006d9c0
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x80]
call fcn.180011580
nop
cmp byte [rbx], 0
je 0x180037526
movabs rbx, 0x7ffffffffffffffe
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, 0x13
jb 0x180037750
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x13
lea rdx, str.System32_ntdll.dll
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.18002cd60
mov ebx, 4
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.18002f130
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1800376a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003751c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037756
call fcn.18004b4cc
jmp 0x1800376a5
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movzx eax, byte [rbx + 1]
mov qword [rbp - 0x60], 0
mov byte [rbp - 0x58], al
test al, al
je 0x18003754b
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
cmp rax, 0x13
jb 0x18003775c
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x13
lea rdx, str.System32_ntdll.dll
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.18002cd60
mov dword [rsp + 0x40], 8
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.18002f130
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1800375f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800375f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037762
call fcn.18004b4cc
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, 0x13
jb 0x180037768
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x13
lea rcx, str.SysWOW64_ntdll.dll
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.18002cd60
mov ebx, 0x18
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.18002f130
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x180037695
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003768f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003776e
call fcn.18004b4cc
nop
cmp byte [rbp - 0x58], 0
je 0x1800376a5
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.180037780
nop
lea rcx, [rdi + 0x180]
lea rdx, [rbp + 0x140]
call fcn.180037780
nop
or ebx, 2
or ebx, 1
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18003770d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037707
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003774a
call fcn.18004b4cc
nop
lea rcx, [rbp + 0x140]
call fcn.18002efe0
nop
lea rcx, [rbp - 0x40]
call fcn.18002efe0
mov rax, rdi
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.18004bb30
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18005212c
nop
call fcn.180003590
int3
call fcn.18005212c
nop
call fcn.180003590
int3
call fcn.18005212c
int3
call fcn.180003590
int3
call fcn.18005212c
int3