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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x5f8]
sub rsp, 0x6f8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov byte [rsp + 0x30], r9b
mov qword [rsp + 0x50], r8
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov rsi, rcx
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
test eax, eax
je 0x1401c710a
cmp qword [rsi + 0x18], rcx
je 0x1401c710a
mov bl, byte [rbp + 0x640]
test bl, bl
jne 0x1401c6d9e
mov rax, qword [rsp + 0x50]
mov rdi, qword [rax]
mov qword [rsp + 0x60], rdi
mov rbx, qword [rax + 8]
mov qword [rsp + 0x48], rbx
cmp rdi, rbx
je 0x1401c6d8e
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov r8, qword [rdi]
mov rdx, qword [rsp + 0x38]
call qword [rax + 0xa0]
test al, al
je 0x1401c6d75
mov r8, qword [rdi]
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x1401c6d75
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x1401c6d75
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401c6d75
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rcx]
call qword [rdx + 0x30]
test al, al
jne 0x1401c6cda
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x1401c6d3d
test byte [rsp + 0x70], 0x10
jne 0x1401c6d3d
mov rdx, qword [rdi]
lea rcx, [rbp - 0x64]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401c6d3d
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov rdx, rbx
call qword [rax + 0xa8]
test al, al
je 0x1401c6d3d
lea r8, [rbp - 0x64]
mov rdx, rbx
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x1401c6d3d
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x1c0]
call qword [rax + 0xb0]
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401c6d65
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401c6cc1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401c6d8e
add rdi, 8
jmp 0x1401c6c43
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x38]
mov bl, byte [rbp + 0x640]
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
test eax, eax
je 0x1401c710a
cmp byte [rsp + 0x30], cl
jne 0x1401c6dc2
test bl, bl
je 0x1401c710a
lea r8, [0x14034fa44]
mov rdx, rdi
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x1401c710a
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x1401c70e3
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rcx]
call qword [rdx + 0x30]
xor ecx, ecx
test al, al
jne 0x1401c6e21
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x1401c70aa
test byte [rsp + 0x70], 0x10
je 0x1401c6fe2
cmp byte [rsp + 0x30], cl
je 0x1401c70aa
cmp word [rbp - 0x64], 0x2e
jne 0x1401c6e5a
movzx eax, word [rbp - 0x62]
test ax, ax
je 0x1401c70aa
cmp ax, 0x2e
jne 0x1401c6e5a
cmp word [rbp - 0x60], cx
je 0x1401c70aa
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov rdx, rdi
call qword [rax + UnRegisterTypeLib]
test al, al
je 0x1401c70aa
lea r8, [rbp - 0x64]
mov rdx, rdi
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x1401c6f08
xor eax, eax
or r9, 0xffffffffffffffff
mov rcx, r9
repne scasw ax, word [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, r9
lea rdi, [rbp + 0x1c0]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, rdx
setne al
mov rdi, qword [rsp + 0x38]
test al, al
jne 0x1401c6ee1
mov rdx, rdi
lea rcx, [rbp + 0x1c0]
call fcn.1400bedf4
test eax, eax
setne al
test al, al
je 0x1401c70aa
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], bl
mov r9b, byte [rsp + 0x30]
mov r8, qword [rsp + 0x50]
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call fcn.1401c6bbc
jmp 0x1401c70aa
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r9, [rbp - 0x64]
mov r8, rdi
lea rdx, [0x14035f058]
lea rcx, [rsp + 0x40]
call fcn.14000d9c8
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
call qword [rax + 0xb0]
xor eax, eax
or r8, 0xffffffffffffffff
mov rcx, r8
repne scasw ax, word [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, r8
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, rdx
setne al
mov rdi, qword [rsp + 0x38]
test al, al
jne 0x1401c6f99
mov rdx, rdi
mov rcx, rbx
call fcn.1400bedf4
test eax, eax
setne al
test al, al
je 0x1401c6fbe
mov byte [rsp + 0x28], 1
mov al, byte [rbp + 0x640]
mov byte [rsp + 0x20], al
mov r9b, byte [rsp + 0x30]
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rsi
call fcn.1401c6bbc
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401c70aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401c70aa
test bl, bl
je 0x1401c70aa
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov rdx, rdi
call qword [rax + 0xa8]
xor ebx, ebx
test al, al
je 0x1401c70aa
lea r8, [rbp - 0x64]
mov rdx, rdi
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x1401c703d
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x1c0]
call qword [rax + 0xb0]
jmp 0x1401c70aa
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r9, [rbp - 0x64]
mov r8, rdi
lea rdx, [0x14035f058]
lea rcx, [rsp + 0x58]
call fcn.14000d9c8
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
call qword [rax + 0xb0]
nop
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401c70a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401c70d8
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov bl, byte [rbp + 0x640]
jne 0x1401c6e03
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401c710a
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov r8b, byte [rbp + 0x648]
mov rdx, rdi
call qword [rax + 0xc0]
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
test al, al
sete al
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.1400be110
add rsp, 0x6f8
pop rdi
pop rsi
pop rbx
pop rbp
ret