Function at 0x14010d340
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1058]
mov eax, 0x1130
call fcn.14005e1f0
sub rsp, rax
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov ecx, pe_nt_image_headers64
lea rax, [rbp + 0xa20]
mov qword [rsp + 0x40], rcx
lea r9, [rbp + 0xe20]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x810]
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0xc20]
lea edi, [rcx + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8d, edi
mov rcx, qword [0x1401fcaa8]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea rax, [rbp + 0xa20]
xor r12d, r12d
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x600]
lea rax, [rbp + 0xc20]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
mov sil, r12b
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmakepath_s]
or rbx, 0xffffffffffffffff
lea r13d, [r12 + 1]
cmp qword [0x1401fa508], r12
je 0x14010d529
lea edx, [rbx + 0x2b]
lea rcx, [rbp + 0x600]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x14010d441
lea edx, [rbx + 0x40]
lea rcx, [rbp + 0x600]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x14010d529
mov rdx, qword [0x1401fa508]
lea rcx, [rbp + 0x3f0]
mov r8, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfullpath]
lea r8, [0x1401a1908]
mov rdx, rdi
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rax, [rbp + 0x3f0]
mov rsi, rbx
inc rsi
cmp word [rax + rsi*2], r12w
jne 0x14010d479
lea r8, [rbp + 0x600]
mov rdx, rdi
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, rbx
je 0x14010d50c
mov r14, rdi
sub r14, rsi
lea rsi, [rbp + rsi*2 + 0x3f0]
lea r8, [rsp + 0x7c]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rbp + 0x3f0]
lea rcx, str.Deleting:__s_n
call fcn.1400084a0
lea rcx, [rbp + 0x3f0]
call fcn.1400ba5e4
test al, al
je 0x14010d60a
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14010d4c2
mov rcx, qword [0x1401fa988]
lea r8, [rbp + 0x600]
lea rdx, str.__PGD:_s__r_n
call fcn.1400ebc1c
mov sil, r13b
mov rcx, qword [0x1401fcaa8]
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea r8, [rbp + 0xe20]
mov rdx, rdi
lea rcx, [rbp + 0x810]
mov r15, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rax, [rbp + 0x810]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x14010d55e
lea r14, [rbp + 0x810]
sub rdi, rbx
lea r14, [r14 + rbx*2]
lea r8, [rbp + 0x1cc]
mov rdx, rdi
mov rcx, r14
mov bl, sil
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
test sil, sil
movzx eax, sil
mov rdx, r12
mov byte [rsp + 0x28], r12b
cmove eax, r13d
mov byte [rsp + 0x20], r12b
mov sil, al
lea rcx, [rbp + 0x810]
lea rax, str._PGD:
test bl, bl
cmove rdx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.1401115b0
lea rdx, [rbp + 0x1a0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14010d576
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.14005a600
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp + 0x3f0]
mov edx, 0x455
xor ecx, ecx
call fcn.14005e3e8
int3