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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rbp
push rsi
push rdi
lea rbp, [rax - 0x778]
sub rsp, 0x860
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov bl, r8b
mov rsi, rdx
mov qword [rsp + 0x50], rcx
mov rdi, qword [rbp + 0x7a0]
mov qword [rsp + 0x58], rdi
lea rax, [0x140005df0]
mov qword [rsp + 0x68], rax
lea rax, [0x140040260]
mov qword [rsp + 0x70], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x406
mov dword [rbp - 0x7c], 4
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x80]
call fcn.140052e50
nop
xor eax, eax
cmp byte [rbp + 0x7b0], al
je 0x140110a43
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call fcn.1401114c8
test al, al
je 0x140110f2b
test bl, bl
jne 0x140110a9d
mov rbx, qword [rbp + 0x798]
mov rcx, rbx
call fcn.1401135d0
mov rdi, rax
mov rcx, rbx
call fcn.140113500
cmp rdi, rax
jae 0x140110a84
mov rcx, qword [rbx + 0x10]
lea rdi, [rcx + 0x48]
mov r8, rsi
mov edx, 1
call fcn.14010eee4
mov qword [rbx + 0x10], rdi
jmp 0x140110f2b
mov r9, rsi
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140113538
jmp 0x140110f2b
lea rax, [0x14004025c]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x10]
lea r8, [0x140002e98]
mov edx, 0x104
lea rcx, [rbp + 0x540]
call fcn.14004af20
mov ebx, eax
mov dword [rbp + 0x88], eax
test eax, eax
jns 0x140110b40
lea rcx, [0x140005df0]
mov qword [rsp + 0x68], rcx
lea rcx, [0x140040260]
mov qword [rsp + 0x70], rcx
lea rcx, [0x140005d90]
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], 0x422
mov dword [rbp - 0x7c], 4
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov r9d, ebx
lea r8, [0x14003fc60]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x80]
call fcn.1400510b0
jmp 0x140110f2b
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x540]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_FindFirstFileW]
mov rdx, rax
mov qword [rsp + 0x60], rax
lea rax, [0x14000d480]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
cmp rdx, 0xffffffffffffffff
jne 0x140110be4
lea rax, [0x140005df0]
mov qword [rsp + 0x68], rax
lea rax, [0x140040260]
mov qword [rsp + 0x70], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x42a
mov dword [rbp - 0x7c], 4
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
lea r9, [rbp + 0x540]
lea r8, [0x1400402b0]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x80]
call fcn.1400510b0
jmp 0x140110f21
test dword [rbp + 0x2f0], 0x400
jne 0x140110e3d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount64]
mov rbx, rax
mov rax, qword [rbp + 0x7a8]
cmp rax, 0xffffffffffffffff
je 0x140110c17
lea rcx, [rdi + rax]
cmp rbx, rcx
ja 0x140110e5c
test byte [rbp + 0x2f0], 0x10
je 0x140110d7e
xor eax, eax
cmp byte [rsi], al
je 0x140110e3d
lea rdx, [0x1400402ac]
lea rcx, [rbp + 0x31c]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140110e3d
lea rdx, [0x14004036c]
lea rcx, [rbp + 0x31c]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140110e3d
lea rax, [rbp + 0x31c]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x10]
lea r8, [0x140002e98]
mov edx, 0x104
lea rcx, [rbp + 0x540]
call fcn.14004af20
mov edi, eax
mov dword [rbp + 0x88], eax
test eax, eax
jns 0x140110d09
lea rcx, [0x140005df0]
mov qword [rsp + 0x68], rcx
lea rcx, [0x140040260]
mov qword [rsp + 0x70], rcx
lea rcx, [0x140005d90]
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], 0x453
mov dword [rbp - 0x7c], 4
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov r9d, edi
lea r8, [0x14003fc60]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x80]
call fcn.1400510b0
jmp 0x140110e38
mov rax, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdi, qword [rsp + 0x58]
sub rbx, rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x540]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.14010f0c4
nop
xor eax, eax
mov byte [rsp + 0x30], al
mov rax, qword [rbp + 0x7a8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp + 0x798]
mov r8b, 1
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.140110974
nop
lea rcx, [rbp + 0x30]
call fcn.14010f348
jmp 0x140110e3d
lea r8, [rbp + 0x31c]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140112f84
test al, al
je 0x140110e3d
mov rcx, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x10]
sub rbx, rdi
mov eax, dword [rbp + 0x30c]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x310]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rcx
lea rax, [rbp + 0x31c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
lea rcx, [rbp + 0x30]
call fcn.14010f18c
nop
mov rbx, qword [rbp + 0x798]
mov rcx, rbx
call fcn.1401135d0
mov rdi, rax
mov rcx, rbx
call fcn.140113500
cmp rdi, rax
jae 0x140110e1a
mov rcx, qword [rbx + 0x10]
lea rdi, [rcx + 0x48]
lea r8, [rbp + 0x30]
mov edx, 1
call fcn.14010eee4
mov qword [rbx + 0x10], rdi
jmp 0x140110e2f
lea r9, [rbp + 0x30]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x28]
mov rcx, rbx
call fcn.140113538
nop
lea rcx, [rbp + 0x30]
call fcn.14010f348
mov rdi, qword [rsp + 0x58]
lea rdx, [rbp + 0x2f0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_FindNextFileW]
test eax, eax
jne 0x140110be4
jmp 0x140110f21
lea rax, [0x140005df0]
mov qword [rsp + 0x68], rax
lea rax, [0x140040260]
mov qword [rsp + 0x70], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x43b
mov ebx, 4
mov dword [rbp - 0x7c], ebx
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x74]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov r8, qword [rsi + 0x10]
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x68]
call fcn.1400ffa98
mov r8, qword [rsi + 0x20]
lea rdx, [rbp + 0x198]
mov rcx, rax
call fcn.1400ffa98
mov r8, qword [rsi + 0x38]
lea rdx, [rbp + 0x240]
mov rcx, rax
call fcn.1400ffa98
mov r9d, ebx
mov r8, rax
mov edx, 0x201b
lea rcx, [rbp + 0x80]
call fcn.14004a830
lea rcx, [rbp + 0x198]
call fcn.1400ff75c
lea rcx, [rbp + 0xf0]
call fcn.1400ff75c
lea rcx, [rsp + 0x68]
call fcn.1400ff75c
nop
lea rcx, [rbp + 0x10]
call fcn.14010f268
nop
lea rcx, [rbp + 0x80]
call fcn.140050f50
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.14005dc70
mov rbx, qword [rsp + 0x890]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret