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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x208]
sub rsp, 0x308
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
and qword [rsp + 0x48], 0
mov rbx, r8
and qword [rbp - 0x80], 0
mov r8d, 0x250
mov qword [rsp + 0x70], rdx
xor edx, edx
mov qword [rsp + 0x78], rcx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x70], rbx
mov qword [rsp + 0x68], r9
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov rcx, qword [rsp + 0x78]
xor eax, eax
or qword [rbp - 0x78], 0xffffffffffffffff
xor edi, edi
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x140264f9d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140264f9d
cmp qword [rsp + 0x68], rsi
je 0x140264f9d
test rbx, rbx
je 0x140264d74
mov rdx, rbx
call fcn.140264b50
mov ebx, eax
test eax, eax
jns 0x140264d21
mov edx, eax
jmp 0x140264fa4
mov rdx, qword [rbp - 0x70]
lea r8, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.140265904
mov ebx, eax
test eax, eax
js 0x140264d1a
mov rdx, qword [rsp + 0x68]
lea r8, [rbp - 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.140265904
mov ebx, eax
test eax, eax
js 0x140264d1a
mov rbx, qword [rbp - 0x80]
lea rdx, str.__
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x140264d86
mov rax, rbx
mov qword [rsp + 0x58], rbx
jmp 0x140264dc0
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1402651b0
jmp 0x140264d34
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, str.__
call fcn.140265904
mov ebx, eax
test eax, eax
jns 0x140264db6
mov edx, eax
call fcn.1402758d0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
jmp 0x140264fa9
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov qword [rbp - 0x78], rax
cmp rax, 0xffffffffffffffff
jne 0x140264df0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140264fa2
lea rdx, [0x1402cb810]
lea rcx, [rbp - 0x34]
call fcn.140265458
test eax, eax
jne 0x140264f58
lea rdx, [0x1402d2758]
lea rcx, [rbp - 0x34]
call fcn.140265458
test eax, eax
jne 0x140264f58
lea rdx, [0x1402e9654]
lea rcx, [rbp - 0x34]
call fcn.140265458
test eax, eax
jne 0x140264f58
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x34]
call fcn.140265904
mov ebx, eax
test eax, eax
js 0x140264eb6
mov rcx, qword [rbp - 0x70]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x34]
call fcn.140265904
mov ebx, eax
test eax, eax
js 0x140264f8a
test byte [rbp - 0x60], 0x10
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
je 0x140264ec7
mov eax, dword [rbp + 0x258]
test eax, eax
je 0x140264f24
mov r9, qword [rsp + 0x68]
mov r8, rsi
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x250]
mov dword [rsp + 0x20], eax
call fcn.140264c60
mov ebx, eax
test eax, eax
jns 0x140264f24
mov edx, eax
call fcn.1402758d0
mov rdi, qword [rsp + 0x30]
jmp 0x140264fa9
lea rdx, str.__
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x140264edf
mov rax, rdi
jmp 0x140264efe
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, str.__
call fcn.140265904
mov ebx, eax
test eax, eax
js 0x140264f72
mov rax, qword [rsp + 0x50]
mov r9d, dword [rbp + 0x250]
mov r8, rsi
mov rcx, qword [rsp + 0x78]
mov rdx, rax
mov qword [rsp + 0x38], rax
call fcn.140264974
mov ebx, eax
test eax, eax
js 0x140264d1a
mov rcx, rdi
call fcn.14027b350
mov rcx, rsi
call fcn.14027b350
mov rcx, qword [rsp + 0x38]
call fcn.14027b350
xor edi, edi
xor esi, esi
xor eax, eax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rsi
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x140264df0
xor ebx, ebx
jmp 0x140264fa9
mov edx, eax
call fcn.1402758d0
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
jmp 0x140264fa9
mov edx, eax
call fcn.1402758d0
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
jmp 0x140264fa9
mov ebx, 0x80070057
mov edx, ebx
call fcn.1402758d0
mov rcx, qword [rsp + 0x48]
call fcn.14027b350
mov rcx, qword [rbp - 0x80]
call fcn.14027b350
mov rcx, qword [rsp + 0x58]
call fcn.14027b350
mov rcx, rdi
call fcn.14027b350
mov rcx, rsi
call fcn.14027b350
mov rcx, qword [rsp + 0x38]
call fcn.14027b350
mov rax, qword [rbp - 0x78]
cmp rax, 0xffffffffffffffff
je 0x140264ff3
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14027a710
add rsp, 0x308
pop rdi
pop rsi
pop rbx
pop rbp
ret