Function at 0x1400192e0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x360
mov rsi, rcx
xor r12d, r12d
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 2
jb 0x140019cc8
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x140019325
mov r9, qword [rsi]
mov qword [rsp + 0x30], 2
lea rax, [0x1400560d8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.140008870
nop
mov rbx, qword [0x140069608]
mov rdi, qword [0x140069610]
nop dword [rax + rax]
cmp rbx, rdi
je 0x140019474
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140019376
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14001946b
cmp qword [rbx + 0x18], 8
jb 0x1400193a0
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, rbx
lea rcx, str.____Scan__Skip_directory:__s__found__s_n
call fcn.140001db0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140019403
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400193fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019d12
call fcn.140024d94
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140019456
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140019451
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140019cd4
mov rcx, r8
call fcn.140024d94
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
jmp 0x140019caf
add rbx, 0x20
jmp 0x140019360
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x110]
call fcn.140027310
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rsp + 0x110]
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14001959a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8d, eax
lea rcx, str.____Scan__Can_t_open_directory__s__error_0x_X_n
call fcn.140001db0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140019532
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001952d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019d12
call fcn.140024d94
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140019585
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140019580
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140019cd4
mov rcx, r8
call fcn.140024d94
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
jmp 0x140019caf
mov ecx, 0x20
call fcn.140024d9c
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rcx, qword [rsi + 0x10]
movabs r14, 0x7ffffffffffffffe
mov rax, r14
sub rax, rcx
cmp rax, 1
jb 0x140019cce
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400195e8
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
lea rdi, [0x140056190]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x80]
call fcn.140008870
nop
lea rdx, [0x140061c20]
cmp qword [0x140061c38], 8
cmovae rdx, qword [0x140061c20]
mov r8, qword [0x140061c30]
lea rcx, [rsp + 0x80]
call fcn.140006290
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140006380
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400196ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400196a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019cda
call fcn.140024d94
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 8
jb 0x1400196f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400196ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019ce0
call fcn.140024d94
mov rcx, rbx
call fcn.140018150
nop dword [rax]
movzx ecx, word [rsp + 0x13c]
movzx eax, word [rsp + 0x13e]
cmp cx, 0x2e
jne 0x140019739
cmp ax, cx
jne 0x14001972a
cmp word [rsp + 0x140], 0
je 0x140019be0
cmp cx, 0x2e
jne 0x140019739
test ax, ax
je 0x140019be0
mov rcx, qword [rsi + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 1
jb 0x140019ce6
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001975a
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0xa0]
call fcn.140008870
nop
lea rax, [rsp + 0x13c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140019790
lea rdx, [rsp + 0x13c]
lea rcx, [rsp + 0xa0]
call fcn.140006290
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140019823
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019cec
call fcn.140024d94
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0xb8]
cmp rdx, 8
jb 0x140019875
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019870
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019cf2
call fcn.140024d94
test byte [rsp + 0x110], 0x10
je 0x1400198d5
lea rdx, [0x140061ce0]
cmp qword [0x140061cf8], 8
cmovae rdx, qword [0x140061ce0]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140019be0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.140002140
mov rcx, rax
call fcn.1400192e0
jmp 0x140019be0
lea rdx, [0x140061c20]
cmp qword [0x140061c38], 8
cmovae rdx, qword [0x140061c20]
lea rcx, [rsp + 0x13c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019be0
lea rcx, [0x140061cc0]
cmp qword [0x140061cd8], 8
cmovae rcx, qword [0x140061cc0]
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [0x140061cd0]
jne 0x14001995d
test rdx, rdx
je 0x140019be0
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14001995d
add rcx, 2
sub rdx, 1
jne 0x140019944
jmp 0x140019be0
lea rcx, [rsp + 0x13c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r14, rax
mov rbx, qword [0x140061d38]
mov rdi, qword [0x140061d40]
cmp rbx, rdi
je 0x1400199a8
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001998e
mov rdx, qword [rbx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019be0
add rbx, 0x20
cmp rbx, rdi
jne 0x140019981
lea rdx, [0x140061d70]
cmp qword [0x140061d88], 8
cmovae rdx, qword [0x140061d70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019be0
mov edx, dword [rsp + 0x110]
test dl, 1
je 0x140019a23
and edx, 0xfffffffe
mov dword [rsp + 0x110], edx
lea rcx, [rsp + 0x13c]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140019a23
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8d, eax
lea rcx, str.____Scan__Can_t_unset_attributes_for:__s__error:_0x_X_n
call fcn.140001db0
jmp 0x140019be0
mov ecx, 0x28
call fcn.140024d9c
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
xor eax, eax
mov qword [rdi + 0x20], rax
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x140019aa6
mov rdx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x140019a9e
mov r14, rdi
cmp rax, 8
jb 0x140019a81
mov r14, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, r14
call fcn.140026c70
mov word [r14 + rbx], r12w
jmp 0x140019aa6
mov rcx, rdi
call fcn.140007a80
mov eax, dword [rsp + 0x130]
mov dword [rdi + 0x20], eax
mov eax, dword [rsp + 0x12c]
mov dword [rdi + 0x24], eax
mov r15, qword [0x140069540]
test r15, r15
je 0x140019bd8
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_ScanDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___::_45::_lambda_1___void___.0
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rdi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x100], rax
lea rbx, [r15 + 0x40]
mov qword [rsp + 0x3a8], rbx
mov rcx, rbx
call fcn.140024c08
test eax, eax
jne 0x140019cf8
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x140019d02
mov rax, qword [r15 + 0x38]
inc rax
cmp qword [r15 + 0x28], rax
ja 0x140019b31
lea rcx, [r15 + 0x18]
call fcn.14001ea20
mov rdx, qword [r15 + 0x28]
dec rdx
mov rcx, rdx
and rcx, qword [r15 + 0x30]
mov qword [r15 + 0x30], rcx
add rcx, qword [r15 + 0x38]
and rdx, rcx
lea r14, [rdx*8]
mov rax, qword [r15 + 0x20]
cmp qword [r14 + rax], 0
jne 0x140019b6f
mov ecx, 0x40
call fcn.140024d9c
mov rcx, qword [r15 + 0x20]
mov qword [r14 + rcx], rax
mov rax, qword [r15 + 0x20]
mov r14, qword [r14 + rax]
mov qword [rsp + 0x3b0], r14
mov qword [r14 + 0x38], r12
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x140019b9c
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [r14 + 0x38], rax
inc qword [r15 + 0x38]
mov rcx, rbx
call fcn.140024c2c
lea rcx, [r15 + 0x90]
call fcn.1400232b4
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x140019be0
mov rax, qword [rcx]
lea rdx, [rsp + 0xc8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x140019be0
mov rcx, rdi
call fcn.1400182f0
lea rdx, [rsp + 0x110]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
movabs r14, 0x7ffffffffffffffe
lea rdi, [0x140056190]
jne 0x140019700
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140019c57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019c51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019d12
call fcn.140024d94
nop
jmp 0x140019c64
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140019c9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140019c9a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140019cc2
mov rcx, r8
call fcn.140024d94
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140035ab4
nop
call fcn.1400016c0
nop
call fcn.1400016c0
nop
call fcn.140035ab4
nop
call fcn.140035ab4
nop
call fcn.140035ab4
int3
call fcn.1400016c0
nop
call fcn.140035ab4
nop
call fcn.140035ab4
nop
mov ecx, 5
call fcn.140024970
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.140024970
nop
call fcn.140035ab4
int3