Function at 0x18002c0c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1800ef3c8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [0x180103020]
test rax, rax
jne 0x18002c36c
lea ecx, [rax + 0x18]
call fcn.1800670bc
xor edi, edi
test rax, rax
je 0x18002c111
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
jmp 0x18002c114
mov rax, rdi
mov qword [0x180103020], rax
mov rdx, qword [0x1800ef310]
cmp qword [rdx + 0x10], 0
je 0x18002c1ef
cmp qword [rdx + 0x18], 0x10
jb 0x18002c137
mov rdx, qword [rdx]
mov qword [rsp + 0x30], rdi
mov ebx, 0xf
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x20], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18002c152
lea rcx, [rsp + 0x20]
call fcn.180016ee0
nop
mov rax, qword [0x180103020]
mov rdx, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
je 0x18002c195
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov byte [rsp + 0x20], 0
add qword [rax + 8], 0x20
jmp 0x18002c1ae
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.18002a790
mov rbx, qword [rsp + 0x38]
mov rax, qword [0x180103020]
cmp rbx, 0x10
jb 0x18002c36c
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c360
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c393
jmp 0x18002c360
mov rcx, rax
call fcn.18002c3a0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, 0xf
test eax, eax
je 0x18002c2c2
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x20], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x18002c230
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180016ee0
nop
mov rcx, qword [0x180103020]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18002c27b
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov rdx, rbx
mov byte [rsp + 0x20], 0
add qword [rcx + 8], 0x20
jmp 0x18002c28a
lea r8, [rsp + 0x20]
call fcn.18002a790
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18002c2c2
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c2bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c38d
call fcn.1800670f8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x20], 0
mov r8d, 2
lea rdx, [0x1800badcc]
lea rcx, [rsp + 0x20]
call fcn.180016ee0
nop
mov rax, qword [0x180103020]
mov rdx, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
je 0x18002c317
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov byte [rsp + 0x20], 0
add qword [rax + 8], 0x20
jmp 0x18002c330
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.18002a790
mov rbx, qword [rsp + 0x38]
mov rax, qword [0x180103020]
cmp rbx, 0x10
jb 0x18002c36c
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c360
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c38d
call fcn.1800670f8
mov rax, qword [0x180103020]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180067630
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.18008a97c
int3
call fcn.18008a97c
int3