Function at 0x180016ce0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x18011b1c0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x34], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x180016fee
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1800a9880]
movdqu xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [str.details.txt]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1800a9358]
mov dword [rsp + 0x68], eax
mov byte [rsp + 0x6c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180016da0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.180002990
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1800024f0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180016e0a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016e05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017018
call fcn.180070538
movdqa xmm0, xmmword [0x1800a97f0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180016e62
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016e55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017024
call fcn.180070538
movdqa xmm0, xmmword [0x1800a97f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x1800a9880]
movdqu xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [str.details.txt]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1800a9358]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp - 0x40]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180016ec0
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.180002990
nop
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
movzx edx, byte [rsp + 0x30]
mov rcx, rdi
call fcn.1800045a0
mov eax, 4
mov dword [rsp + 0x34], eax
and eax, 0xfffffffb
mov dword [rsp + 0x34], eax
or eax, 1
mov dword [rsp + 0x34], eax
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180016f42
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016f3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001701e
call fcn.180070538
movdqa xmm0, xmmword [0x1800a97f0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180016f98
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017024
call fcn.180070538
movdqa xmm0, xmmword [0x1800a97f0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180016fe2
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016fd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017012
call fcn.180070538
movdqa xmm0, xmmword [0x1800a97f0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180070b40
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800768f4
nop
call fcn.1800768f4
nop
call fcn.1800768f4
nop
call fcn.1800768f4
int3