Function at 0x180017ed0
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 [0x180107b00]
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 0x1800181ee
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x18009a0c0]
movdqu xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [str.wdsadw.txt]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x180099be0]
mov word [rsp + 0x68], ax
movzx eax, byte [0x180099be2]
mov byte [rsp + 0x6a], al
mov byte [rsp + 0x6b], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180017f94
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 0x180017ffe
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180017ff9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018218
call fcn.1800635b8
movdqa xmm0, xmmword [0x18009a030]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180018056
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018049
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018224
call fcn.1800635b8
movdqa xmm0, xmmword [0x18009a030]
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 [0x18009a0c0]
movdqu xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [str.wdsadw.txt]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x180099be0]
mov word [rsp + 0x48], ax
movzx eax, byte [0x180099be2]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp - 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800180c0
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.1800045b0
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 0x180018142
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001813d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001821e
call fcn.1800635b8
movdqa xmm0, xmmword [0x18009a030]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180018198
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001818b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018224
call fcn.1800635b8
movdqa xmm0, xmmword [0x18009a030]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1800181e2
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800181d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018212
call fcn.1800635b8
movdqa xmm0, xmmword [0x18009a030]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180063bc0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180069974
nop
call fcn.180069974
nop
call fcn.180069974
nop
call fcn.180069974
int3