Function at 0x140001a60
Capabilities:
Enumerate files on windows
Get common file path
Terminate process

Disassembly:
push rdi
sub rsp, 0x9d0
mov qword [rsp + 0x60], 0
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140004158]
call sub.SHELL32.dll_SHGetKnownFolderPath
lea rax, [rsp + 0x490]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x380]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x380]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [0x1400051ec]
lea rcx, [rsp + 0x380]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [0x1400051fc]
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x140
rep stosb byte [rdi], al
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0xc0], rax
cmp dword [rsp + 0x130], 0x10
jne 0x140001ba4
jmp 0x140001f35
lea rax, str..lnk
mov qword [rsp + 0xa8], rax
lea rax, str..exe
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x58], 0x2e
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x15c]
call fcn.140003110
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xa8]
call fcn.140003050
test eax, eax
jne 0x140001df7
lea rax, [rsp + 0x5a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x270]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x380]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x270]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
cmp byte [rsp + 0x40], 0
jne 0x140001c4f
lea rax, [rsp + 0x270]
mov qword [rsp + 0x48], rax
dec qword [rsp + 0x48]
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
cmp byte [rax], 0
jne 0x140001c9a
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x15c]
xor edx, edx
movzx edi, byte [rcx + rdx]
mov byte [rax + rdx], dil
inc rdx
test dil, dil
jne 0x140001cb8
lea rax, [rsp + 0x7c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [rsp + 0x270]
call fcn.1400030d0
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x7c0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x270]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0xa0], eax
lea rdx, [rsp + 0x5a0]
lea rcx, [rsp + 0x7c0]
call fcn.140001860
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x5a0]
call fcn.140003110
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140001d5a
jmp 0x140001f35
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
call fcn.140003050
test eax, eax
jne 0x140001d7d
mov dword [rsp + 0x5c], 1
jmp 0x140001d85
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
jne 0x140001d91
jmp 0x140001f35
lea rcx, [rsp + 0x5a0]
call fcn.1400021c0
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xd8]
mov rdi, rax
xor eax, eax
mov ecx, 0x21
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0xb0]
call fcn.140002e70
lea rdx, [0x140005288]
lea rcx, [rsp + 0xd8]
call fcn.140003050
test eax, eax
jne 0x140001df2
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x140001f35
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140003050
test eax, eax
jne 0x140001f35
lea rax, [rsp + 0x6b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x380]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x6b0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x41]
mov byte [rax], cl
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
cmp byte [rsp + 0x41], 0
jne 0x140001e52
lea rax, [rsp + 0x6b0]
mov qword [rsp + 0x50], rax
dec qword [rsp + 0x50]
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x140001ea6
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x15c]
xor edx, edx
movzx edi, byte [rcx + rdx]
mov byte [rax + rdx], dil
inc rdx
test dil, dil
jne 0x140001ec4
lea rcx, [rsp + 0x6b0]
call fcn.1400021c0
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x21
rep stosb byte [rdi], al
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0xb8]
call fcn.140002e70
lea rdx, str.2FBFDD5687585EDB76F5832DADBC55FA
lea rcx, [rsp + 0x100]
call fcn.140003050
test eax, eax
jne 0x140001f35
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001b95
xor eax, eax
add rsp, 0x9d0
pop rdi
ret