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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x5e8]
sub rsp, 0x6e8
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rax, qword [rcx]
xor edi, edi
mov byte [rsp + 0x30], r9b
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov esi, edi
call qword [rax + 0x30]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x10]
mov edi, 0x4c7
test al, al
je 0x14010b800
mov esi, edi
jmp 0x14010bb57
xor ecx, ecx
cmp byte [rbp + 0x630], cl
jne 0x14010b951
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
mov rdi, qword [rax + 8]
cmp rbx, rdi
je 0x14010b93f
test esi, esi
jne 0x14010b93f
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
jne 0x14010b936
mov rcx, qword [rsp + 0x48]
mov r8, qword [rbx]
mov rdx, qword [rsp + 0x38]
add rcx, 0x18
mov qword [rsp + 0x58], rcx
mov rax, qword [rcx]
call qword [rax]
test al, al
je 0x14010b92d
mov r8, qword [rbx]
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x14010b92d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14010b92d
mov rax, qword [rsp + 0x48]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
test al, al
jne 0x14010b91d
test byte [rsp + 0x60], 0x10
jne 0x14010b907
mov rdx, qword [rsp + 0x38]
lea r8, [rbp - 0x74]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x14010b907
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp + 0x1b0]
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x14010b907
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x1b0]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov esi, eax
test eax, eax
jne 0x14010b922
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14010b922
jmp 0x14010b8a0
mov esi, 0x4c7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
add rbx, 8
jmp 0x14010b81a
mov edi, 0x4c7
mov esi, edi
jmp 0x14010b944
mov edi, 0x4c7
mov rbx, qword [rsp + 0x48]
test esi, esi
jne 0x14010bb57
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor ecx, ecx
test al, al
jne 0x14010bb57
cmp byte [rsp + 0x30], cl
jne 0x14010b976
cmp byte [rbp + 0x630], cl
je 0x14010bb57
mov rdx, qword [rsp + 0x38]
lea r8, [0x14034fa44]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x14010bb57
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14010bb57
test esi, esi
jne 0x14010bb1f
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
xor ecx, ecx
test al, al
jne 0x14010bb86
test byte [rsp + 0x60], 0x10
je 0x14010bab1
cmp byte [rsp + 0x30], cl
je 0x14010bb07
cmp word [rbp - 0x74], 0x2e
jne 0x14010ba0d
movzx eax, word [rbp - 0x72]
test ax, ax
je 0x14010bb07
cmp ax, 0x2e
jne 0x14010ba0d
cmp word [rbp - 0x70], cx
je 0x14010bb07
mov rdx, qword [rsp + 0x38]
lea r8, [rbp - 0x74]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x14010bb07
mov rax, qword [rbx + 0x18]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbx + 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14010bb07
mov rax, qword [rbx + 0x18]
lea r8, [0x14034fa44]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbx + 0x18]
call qword [rax]
test al, al
je 0x14010bb07
mov rax, qword [rbx + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbx + 0x18]
call qword [rax + 0x18]
mov esi, eax
test eax, eax
jne 0x14010bb1f
mov al, byte [rbp + 0x630]
mov r9b, byte [rsp + 0x30]
mov r8, qword [rsp + 0x50]
lea rdx, [rbp + 0x1b0]
mov rcx, rbx
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], al
call fcn.14010b7a0
jmp 0x14010bb01
cmp byte [rbp + 0x630], cl
je 0x14010bb07
mov rdx, qword [rsp + 0x38]
lea r8, [rbp - 0x74]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x14010bb07
mov rax, qword [rbx + 0x18]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbx + 0x18]
call qword [rax + 0x10]
test al, al
je 0x14010bb07
mov rax, qword [rbx + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbx + 0x18]
call qword [rax + 0x20]
mov esi, eax
test eax, eax
jne 0x14010bb1f
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14010b9b9
mov edi, 0x4c7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x10]
test al, al
jne 0x14010bb57
test esi, esi
jne 0x14010bb57
mov r8b, byte [rbp + 0x638]
mov rdx, qword [rsp + 0x38]
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
je 0x14010bb69
test esi, esi
cmove esi, edi
mov eax, esi
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.1400be110
add rsp, 0x6e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edi, 0x4c7
mov esi, edi
jmp 0x14010bb24