Function at 0x180017030
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 0x18001734e
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1800a9870]
movdqu xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [str.wdsadw.txt]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x1800a9348]
mov word [rsp + 0x68], ax
movzx eax, byte [0x1800a934a]
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 0x1800170f4
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 0x18001715e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180017159
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017378
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 0x1800171b6
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800171a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017384
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 [0x1800a9870]
movdqu xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [str.wdsadw.txt]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1800a9348]
mov word [rsp + 0x48], ax
movzx eax, byte [0x1800a934a]
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 0x180017220
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 0x1800172a2
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001729d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001737e
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 0x1800172f8
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800172eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017384
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 0x180017342
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180017335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017372
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