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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x1c8
mov rax, qword [0x1400840b0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x210]
mov rbp, rcx
mov qword [rsp + 0x40], rcx
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x58], rax
xor eax, eax
mov rdi, rbp
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x38], r8d
repne scasb al, byte [rdi]
mov rdi, rdx
mov qword [rsp + 0x60], rdx
not rcx
mov dword [rsp + 0x48], 1
lea rsi, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
lea rbx, [rcx - 1]
lea rcx, [rcx + rsi + 1]
call fcn.140056200
test rax, rax
mov rdi, rax
mov qword [rsp + 0x30], rax
je 0x14003e659
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.14004a400
cmp byte [rsi + rbp - 1], 0x5c
je 0x14003e640
mov byte [rdi + rsi], 0x5c
add rsi, 1
mov rdx, qword [rsp + 0x60]
lea rcx, [rdi + rsi]
mov r8, rbx
call fcn.14004a400
lea rdx, [rdi + rbx]
mov byte [rdx + rsi], 0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
mov rbx, rax
jne 0x14003e67f
mov rcx, rdi
call fcn.14004ad40
xor eax, eax
jmp 0x14003e83f
lea rsi, [rsp + 0x9c]
lea rdi, [0x1400738e4]
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
jne 0x14003e6a7
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x14003e6ab
mov eax, dword [rsp + 0x48]
lea rsi, [rsp + 0x9c]
lea rdi, [0x140071e98]
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
jne 0x14003e6d1
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14003e827
nop
nop
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasb al, byte [rdi]
lea rdi, [rsp + 0x9c]
not rcx
lea rsi, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
lea rbp, [rcx - 1]
lea rcx, [rsi + rcx + 1]
call fcn.140056200
test rax, rax
mov rdi, rax
je 0x14003e759
mov rdx, qword [rsp + 0x40]
mov r8, rsi
mov rcx, rax
call fcn.14004a400
mov rax, qword [rsp + 0x40]
cmp byte [rsi + rax - 1], 0x5c
je 0x14003e73d
mov byte [rdi + rsi], 0x5c
add rsi, 1
lea rcx, [rdi + rsi]
lea rdx, [rsp + 0x9c]
mov r8, rbp
call fcn.14004a400
lea rdx, [rdi + rbp]
mov byte [rdx + rsi], 0
test byte [rsp + 0x70], 0x10
je 0x14003e7b1
cmp dword [rsp + 0x38], 0
je 0x14003e7c3
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov edx, 1
mov r8, rsi
mov rcx, rdi
call rbp
test eax, eax
je 0x14003e80f
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x60]
mov r9, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call fcn.14003e5a0
test eax, eax
je 0x14003e7f8
mov r8, rsi
or edx, 0xffffffff
mov rcx, rdi
call rbp
jmp 0x14003e7bf
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rdi
call qword [rsp + 0x58]
test eax, eax
je 0x14003e80f
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov esi, eax
jne 0x14003e7e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14003e7f8
mov rcx, rdi
call fcn.14004ad40
test esi, esi
je 0x14003e827
mov rbp, qword [rsp + 0x40]
jmp 0x14003e6e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x30]
call fcn.14004ad40
xor eax, eax
jmp 0x14003e83f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x30]
call fcn.14004ad40
or eax, 0xffffffff
jmp 0x14003e83f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x30]
call fcn.14004ad40
mov eax, 1
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140048c00
add rsp, 0x1c8
pop rdi
pop rsi
pop rbp
pop rbx
ret