Function at 0x18001a3a0
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 0x18001a6be
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x18009d470]
movdqu xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [str.wdsadw.txt]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x18009cf90]
mov word [rsp + 0x68], ax
movzx eax, byte [0x18009cf92]
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 0x18001a464
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 0x18001a4ce
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a4c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a6e8
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 0x18001a526
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a519
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a6f4
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 [0x18009d470]
movdqu xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [str.wdsadw.txt]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x18009cf90]
mov word [rsp + 0x48], ax
movzx eax, byte [0x18009cf92]
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 0x18001a590
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 0x18001a612
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a60d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a6ee
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 0x18001a668
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a65b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a6f4
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 0x18001a6b2
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a6a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a6e2
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