Function at 0x14002e620
Capabilities:
Check if file exists
Enumerate files on windows
Get disk size

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x11f8]
mov eax, 0x12f8
call fcn.14006f190
sub rsp, rax
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov rcx, qword [0x1400c1298]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
lea rdx, [0x1400d26f0]
xor eax, eax
lea rcx, [rbp + 0x5e0]
mov r8d, 0x400
mov qword [rbp - 0x60], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call fcn.1400498e0
movsxd rdi, eax
lea ecx, [rdi - 1]
cmp ecx, 0x3fc
ja 0x14002efaf
movsxd rcx, ecx
cmp byte [rbp + rcx + 0x5e0], 0x5c
je 0x14002e6db
mov byte [rbp + rdi + 0x5e0], 0x5c
inc edi
movsxd rcx, edi
cmp rcx, 0x400
jae 0x14002efc7
mov byte [rbp + rcx + 0x5e0], 0
mov qword [rsp + 0x1310], rbx
lea rax, [rbp + 0x9e0]
mov qword [rsp + 0x1318], rsi
lea r8, [rbp + 0x5e0]
mov qword [rsp + 0x1320], r12
xor edx, edx
mov qword [rsp + 0x12f0], r15
mov r12, 0xffffffffffffffff
xor r15d, r15d
mov dword [rsp + 0x28], 0x400
mov r9d, r12d
mov dword [0x1400d2af4], r15d
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14002e78e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x7a
jne 0x14002e767
lea r8, [rbp + 0x5e0]
mov edx, 0x400
lea rcx, str.String_too_long:__.s_r_n
call fcn.140020ee0
neg ebx
jmp 0x14002e791
mov r8d, 0x100
lea rdx, [rbp + 0x4e0]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
neg ebx
jmp 0x14002e791
lea ebx, [rax - 1]
lea eax, [rbx - 1]
cmp eax, 0x3fd
ja 0x14002ef97
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov r8, qword [rsp + 0x40]
test eax, eax
cmove r8, r12
xor edx, edx
mov qword [rsp + 0x40], r8
lea ecx, [rdx + 0x26]
call fcn.14001de80
movsxd rax, ebx
mov ecx, 0x2a
mov word [rbp + rax*2 + 0x9e0], cx
lea rax, [rax*2 + 2]
cmp rax, 0x800
jae 0x14002efcd
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x1328], r14
lea rcx, [rbp + 0x9e0]
mov word [rbp + rax + 0x9e0], r15w
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, r12
jne 0x14002e8f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14002e8b7
movzx ecx, byte [rbp + 0x5e0]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x14002e848
sub cl, 0x61
cmp cl, 0x19
ja 0x14002e8b7
cmp byte [rbp + 0x5e1], 0x3a
jne 0x14002e8b7
cmp byte [rbp + 0x5e2], 0x5c
jne 0x14002e8b7
cmp byte [rbp + 0x5e3], sil
jne 0x14002e8b7
lea rdx, [rbp + 0x5e0]
lea rcx, str.Empty_volume:__s_r_n
call fcn.140020ee0
mov r14, qword [rsp + 0x1328]
mov r12, qword [rsp + 0x1320]
mov rsi, qword [rsp + 0x1318]
mov rbx, qword [rsp + 0x1310]
mov r15, qword [rsp + 0x12f0]
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x12f8
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rbp + 0x4e0]
mov ecx, eax
call fcn.140044d90
mov r8, rax
lea rdx, [rbp + 0x5e0]
lea rcx, str.Cant_list_directory___s_:__s_r_n
call fcn.140020ee0
jmp 0x14002e876
test byte [rbp - 0x30], 2
je 0x14002e91f
cmp dword [0x1400bc3a4], r15d
jne 0x14002e91f
cmp dword [0x1400d22b0], r15d
je 0x14002e918
lea rdx, [rbp - 4]
lea rcx, str.Skipping_hidden_file__S_r_n
call fcn.140020ee0
inc esi
jmp 0x14002ef1d
mov eax, dword [0x1400d2af4]
mov ecx, dword [0x1400d22e8]
cmp eax, ecx
jl 0x14002e99e
lea eax, [rcx + 0x3e8]
movsxd rcx, eax
imul rdx, rcx, 0x148
mov rcx, qword [0x1400d3088]
call fcn.140074c20
mov rbx, rax
test rax, rax
je 0x14002ef34
mov edx, dword [0x1400d22e8]
add edx, 0x3e8
cmp dword [0x1400d22b0], r15d
mov dword [0x1400d22e8], edx
je 0x14002e988
mov r8, qword [0x1400d3088]
lea rcx, str.Reallocated_Local_List_to__d___p__p__r_n
mov r9, rax
call fcn.140020ee0
mov eax, dword [0x1400d2af4]
mov qword [0x1400d3088], rbx
mov qword [0x140235d90], rbx
jmp 0x14002e9a5
mov rbx, qword [0x1400d3088]
cdqe
xor edx, edx
imul rcx, rax, 0x148
mov r8d, 0x148
add rcx, rbx
call fcn.140070680
mov eax, dword [rbp - 0x10]
mov ebx, dword [rbp - 0x14]
mov edx, dword [rbp - 0x18]
shl rdx, 0x20
shl rbx, 0x20
or rbx, rax
mov eax, dword [rbp - 0x1c]
or rdx, rax
movsxd rax, dword [0x1400d2af4]
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
mov qword [rcx + rax + 0x40], rdx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x1c]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rbp - 0x50]
xor ecx, ecx
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test byte [rbp - 0x30], 0x10
movsxd rax, dword [0x1400d2af4]
je 0x14002eb8a
mov rdx, qword [0x1400d3088]
mov r8d, 0xfe
imul rcx, rax, 0x148
add rdx, 0x48
add rdx, rcx
lea rcx, [rbp - 4]
call fcn.14002d040
movsxd r8, dword [0x1400d2af4]
mov r9, qword [0x1400d3088]
movsxd r10, eax
cmp r10d, 1
jne 0x14002ea72
imul rdx, r8, 0x148
cmp byte [rdx + r9 + 0x48], 0x2e
jne 0x14002ea9a
cmp byte [rdx + r9 + 0x49], r15b
jmp 0x14002ea94
cmp r10d, 2
jne 0x14002ea9a
imul rcx, r8, 0x148
cmp byte [rcx + r9 + 0x48], 0x2e
jne 0x14002ea9a
cmp byte [rcx + r9 + 0x49], 0x2e
jne 0x14002ea9a
cmp byte [rcx + r9 + 0x4a], r15b
je 0x14002ef1d
imul rcx, r8, 0x148
mov r8d, 0x18
mov dword [rcx + r9], 1
movsxd rax, dword [0x1400d2af4]
imul rcx, rax, 0x148
add rcx, qword [0x1400d3088]
mov byte [r10 + rcx + 0x48], 0x5c
movsxd rax, dword [0x1400d2af4]
imul rcx, rax, 0x148
lea eax, [r10 + 1]
add rcx, qword [0x1400d3088]
movsxd rdx, eax
mov byte [rdx + rcx + 0x48], r15b
lea rdx, [0x1400c2e60]
movsxd rax, dword [0x1400d2af4]
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
mov qword [rcx + rax + 8], r15
movsxd rax, dword [0x1400d2af4]
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
add rax, 0x10
add rcx, rax
call fcn.1400498e0
movsxd rax, dword [0x1400d2af4]
movzx edx, word [rbp - 0x46]
movzx r8d, word [rbp - 0x48]
movzx r10d, word [rbp - 0x4a]
movzx r11d, word [rbp - 0x4e]
movzx r9d, word [rbp - 0x50]
mov dword [rsp + 0x38], edx
mov edx, 0x18
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
mov dword [rsp + 0x30], r8d
add rax, 0x28
mov dword [rsp + 0x28], r10d
lea r8, [0x1400c2e70]
add rcx, rax
mov dword [rsp + 0x20], r11d
call fcn.140044c10
jmp 0x14002ec83
imul rdx, rax, 0x148
mov rax, qword [0x1400d3088]
mov r8d, 0x18
mov rcx, rbx
mov qword [rdx + rax + 8], rbx
movsxd rax, dword [0x1400d2af4]
imul rdx, rax, 0x148
mov rax, qword [0x1400d3088]
add rax, 0x10
add rdx, rax
call fcn.14006b0d0
movsxd rax, dword [0x1400d2af4]
movzx edx, word [rbp - 0x46]
movzx r8d, word [rbp - 0x48]
movzx r10d, word [rbp - 0x4a]
movzx r11d, word [rbp - 0x4e]
movzx r9d, word [rbp - 0x50]
mov dword [rsp + 0x38], edx
mov edx, 0x18
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
mov dword [rsp + 0x30], r8d
add rax, 0x28
mov dword [rsp + 0x28], r10d
lea r8, str._4d__02d__02d__02d:_02d
add rcx, rax
mov dword [rsp + 0x20], r11d
call fcn.140044c10
movsxd rax, dword [0x1400d2af4]
mov r8d, 0xff
mov rdx, qword [0x1400d3088]
imul rcx, rax, 0x148
add rdx, 0x48
add rdx, rcx
lea rcx, [rbp - 4]
call fcn.14002d040
movsxd rcx, dword [0x1400d2af4]
imul rdx, rcx, 0x148
mov rcx, qword [0x1400d3088]
movsxd r8, eax
add rcx, rdx
mov byte [r8 + rcx + 0x48], r15b
movsxd rax, dword [0x1400d2af4]
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
mov dword [rcx + rax], r15d
movsxd rax, dword [0x1400d2af4]
mov rdx, qword [0x1400d3088]
imul rcx, rax, 0x148
add rdx, 0x48
movsxd r8, edi
add rdx, rcx
lea rcx, [rbp + 0x5e0]
add rcx, r8
lea r8, [rbp + 0x9e0]
call fcn.14006ae40
lea rax, [rbp + 0x9e0]
mov dword [rsp + 0x28], 0x400
mov r9d, r12d
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x5e0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14002ed2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002ed0c
lea r8, [rbp + 0x5e0]
mov edx, 0x400
lea rcx, str.String_too_long:__.s_r_n
call fcn.140020ee0
jmp 0x14002ed2f
mov r8d, 0x100
lea rdx, [rbp + 0x4e0]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4021
lea r8, [rbp + 0x220]
xor edx, edx
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
movsxd rdx, dword [0x1400d2af4]
mov r8, qword [0x1400d3088]
test rax, rax
jne 0x14002ed7d
mov eax, r15d
imul rcx, rdx, 0x148
cmp dword [rcx + r8], eax
setne al
mov dword [rbp + 0x228], eax
imul rax, rdx, 0x148
lea rcx, [r8 + 0x48]
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x78], rdx
add rcx, rax
mov r8d, 0x400
mov dword [rsp + 0x58], r15d
lea rdx, [rbp + 0x9e0]
mov dword [rsp + 0x50], 5
call fcn.14002d120
mov rcx, qword [0x1400c1298]
lea rax, [rbp + 0x9e0]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov edx, 0x104d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test eax, eax
jns 0x14002ee0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x80
lea rdx, [rbp + 0x4e0]
mov ecx, eax
call fcn.140044d90
mov edx, dword [0x1400d2af4]
lea rcx, str.Error_inserting_item__d:__s_r_n
mov r8, rax
call fcn.140020ee0
movsxd rax, dword [0x1400d2af4]
lea r9, [rsp + 0x50]
mov rcx, qword [0x1400c1298]
xor r8d, r8d
mov qword [rsp + 0x78], rax
mov edx, 0x104c
mov eax, dword [rbp + 0x228]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], 7
mov dword [rsp + 0x58], r15d
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rax, dword [0x1400d2af4]
lea rdx, [rbp + 0x9e0]
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
mov r8d, 0x18
add rax, 0x10
add rcx, rax
call fcn.14002d120
mov rcx, qword [0x1400c1298]
lea rax, [rbp + 0x9e0]
movsxd rbx, ebx
lea r9, [rbp + 0x4e0]
mov r8, rbx
mov qword [rbp + 0x4f8], rax
mov edx, 0x1074
mov dword [rbp + 0x4e8], 1
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rax, dword [0x1400d2af4]
lea rdx, [rbp + 0x9e0]
imul rcx, rax, 0x148
mov rax, qword [0x1400d3088]
mov r8d, 0x18
add rax, 0x28
add rcx, rax
call fcn.14002d120
mov rcx, qword [0x1400c1298]
lea rax, [rbp + 0x9e0]
lea r9, [rbp + 0x4e0]
mov qword [rbp + 0x4f8], rax
mov r8, rbx
mov dword [rbp + 0x4e8], 2
mov edx, 0x1074
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [0x1400d2af4]
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002e8f0
jmp 0x14002ef40
lea rcx, str.Not_enough_memory_to_list_all_files__r_n
call fcn.140020ee0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [0x1400d2af4], r15d
jne 0x14002ef72
test esi, esi
lea rax, str.Empty_folder:__s_r_n
lea rcx, str.No_visible_contents:__s_r_n
cmove rcx, rax
lea rdx, [0x1400d26f0]
jmp 0x14002e871
mov rcx, qword [0x1400c1298]
lea r9, [0x14002c620]
lea r8, [0x140235d90]
mov edx, 0x1030
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14002e876
lea rdx, [rbp + 0x5e0]
lea rcx, str.Invalid_Path_Length:___s__r_n
call fcn.140020ee0
jmp 0x14002e87e
lea rdx, [rbp + 0x5e0]
lea rcx, [0x1400c2d78]
call fcn.140020ee0
jmp 0x14002e89e
call fcn.14006ef6c
int3
call fcn.14006ef6c
int3