Function at 0x18001a050
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 [0x18010bb00]
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 0x18001a35e
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x18009d480]
movdqu xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [str.details.txt]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x18009cfa0]
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 0x18001a110
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.180002970
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1800024d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18001a17a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a175
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a388
call fcn.180066678
movdqa xmm0, xmmword [0x18009d3e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18001a1d2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a1c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a394
call fcn.180066678
movdqa xmm0, xmmword [0x18009d3e0]
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 [0x18009d480]
movdqu xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [str.details.txt]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x18009cfa0]
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 0x18001a230
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.180002970
nop
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
movzx edx, byte [rsp + 0x30]
mov rcx, rdi
call fcn.180004760
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 0x18001a2b2
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a2ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a38e
call fcn.180066678
movdqa xmm0, xmmword [0x18009d3e0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18001a308
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a2fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a394
call fcn.180066678
movdqa xmm0, xmmword [0x18009d3e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x18001a352
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a345
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a382
call fcn.180066678
movdqa xmm0, xmmword [0x18009d3e0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180066c80
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18006ca34
nop
call fcn.18006ca34
nop
call fcn.18006ca34
nop
call fcn.18006ca34
int3