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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2290]
mov eax, 0x2390
call fcn.1400540e0
sub rsp, rax
mov rax, qword [0x1400a9100]
xor rax, rsp
mov qword [rbp + 0x2280], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x28], rdx
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x280]
call fcn.14007ec80
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14002297d
mov r9, qword [rdi]
lea r8, [0x140084918]
mov edx, 0x1000
lea rcx, [rbp + 0x280]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x30]
call fcn.14007ec80
mov dword [rsp + 0x28], 2
xor r15d, r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp + 0x30]
xor edx, edx
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
jne 0x1400229f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_FindFistFileExW__last_error_code__d_n
mov ecx, 1
call fcn.14001cdd0
jmp 0x140022c47
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov r14, r15
lea rdx, [0x140084988]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140022bc4
lea rdx, [0x14008498c]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140022bc4
lea r8, [rsi + 0xa8]
lea rcx, [rbp + 0x5c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140022a50
mov rdx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 7
jbe 0x140022a68
mov r8, qword [r8]
cmp rdx, rax
jne 0x140022a9a
lea rax, [rbp + 0x5c]
test rdx, rdx
je 0x140022bc4
lea rcx, [rbp + 0x5c]
sub r8, rcx
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140022a9a
add rax, 2
sub rdx, 1
jne 0x140022a81
jmp 0x140022bc4
test byte [rbp + 0x30], 0xb7
je 0x140022bc4
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140022ab1
mov r9, qword [rdi]
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
mov edx, 0x1000
lea rcx, [rbp + 0x280]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov r9d, dword [rbp + 0x30]
shr r9d, 4
not r9d
and r9d, 1
lea r8, [rbp + 0x5c]
lea rdx, [rbp + 0x280]
lea rcx, [rbp - 0x20]
call fcn.140020c10
nop
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1400237d0
test al, al
je 0x140022bb2
test byte [rbp + 0x30], 0x10
je 0x140022b6b
cmp byte [rsi + 8], 0
je 0x140022bb2
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0x280]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140022b40
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x40]
call fcn.140004d30
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140022920
jmp 0x140022bb2
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.140020ba0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x140022c75
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
mov rdx, rbx
mov rcx, rax
call r8
nop
lea rcx, [rbx + 0x20]
call fcn.140001be0
mov rcx, rbx
call fcn.140001be0
inc r14
lea rcx, [rbp]
call fcn.140001be0
lea rcx, [rbp - 0x20]
call fcn.140001be0
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140022a04
test r14, r14
je 0x140022c3b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140001c50
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140001c50
nop
xor r9d, r9d
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140020cb0
nop
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140023770
nop
lea rcx, [rbp]
call fcn.140001be0
lea rcx, [rbp - 0x20]
call fcn.140001be0
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, rdi
call fcn.140001be0
mov rcx, qword [rbp + 0x2280]
xor rcx, rsp
call fcn.140053250
mov rbx, qword [rsp + 0x23d0]
add rsp, 0x2390
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14002e3cc
nop
int3