Function at 0x1400073a0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x19f0]
mov eax, 0x1af0
call fcn.14000d860
sub rsp, rax
mov rax, qword [0x140056fb0]
xor rax, rsp
mov qword [rbp + 0x19e0], rax
cmp byte [0x140049c40], 0
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x20], rbx
movzx esi, cl
je 0x14000759b
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQuerySecurityObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x2a
mov rcx, rdi
mov qword [0x140058bc0], rax
call fcn.14000c9bc
test rax, rax
je 0x1400074fc
mov edx, 0x5c
mov rcx, rdi
call fcn.14000c9bc
test rax, rax
je 0x1400074b3
mov edx, 0x5c
mov rcx, rdi
call fcn.14000c9bc
mov rcx, rbx
lea rdx, [rax + 2]
call fcn.14000aecc
lea rdx, [rbp + 0x9a0]
mov rcx, rdi
sub rdx, rdi
nop
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140007460
lea rcx, [rbp + 0x9a0]
mov edx, 0x5c
lea rbx, [0x140028838]
call fcn.14000c9bc
lea rdx, [0x140028838]
mov ecx, 2
sub rcx, rdx
lea rdx, [rax + rcx]
nop dword [rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rdx + rbx - 2], ax
test ax, ax
jne 0x1400074a0
jmp 0x1400074e1
mov rdx, rdi
mov rcx, rbx
call fcn.14000aecc
lea rdx, [rbp + 0x9a0]
mov rcx, rdi
sub rdx, rdi
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x1400074d0
lea rdx, [0x140025e30]
lea rcx, [rbp + 0x180]
mov r8, rdi
call fcn.14000aecc
jmp 0x1400075ca
lea rdx, [0x140028838]
mov rcx, rbx
call fcn.14000aecc
test sil, sil
je 0x140007514
xor eax, eax
jmp 0x14000751d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp byte [0x140058b11], 0
jne 0x140007550
cmp eax, 0xffffffff
je 0x140007538
test al, 0x10
je 0x140007538
cmp byte [0x140058b12], 0
je 0x140007550
lea rdx, [0x140025e30]
lea rcx, [rbp + 0x9a0]
mov r8, rdi
call fcn.14000aecc
jmp 0x1400074e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x140007554
cmp word [rdi + rax*2 - 2], 0x5c
mov r8, rdi
lea rcx, [rbp + 0x9a0]
lea rdx, str._s
jne 0x14000757e
lea rdx, [0x140028f08]
call fcn.14000aecc
lea rdx, str._s
lea rcx, [rbp + 0x180]
mov r8, rdi
call fcn.14000aecc
jmp 0x1400075ca
mov r8, rdx
lea rcx, [rbp + 0x9a0]
lea rdx, str._s
call fcn.14000aecc
lea rdx, str._s_s
lea rcx, [rbp + 0x180]
mov r9, rbx
mov r8, rdi
call fcn.14000aecc
cmp word [rbp + 0x182], 0x3a
jne 0x140007644
movzx eax, word [rbp + 0x184]
test ax, ax
je 0x1400075fa
cmp ax, 0x5c
jne 0x140007644
cmp word [rbp + 0x186], 0x2a
jne 0x140007644
cmp word [rbp + 0x188], 0
jne 0x140007644
xor ebx, ebx
mov dword [rbp + 0x184], 0x5c
cmp byte [0x140058b12], bl
jne 0x140007634
lea rcx, [rbp + 0x180]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x140007620
mov eax, dword [0x140028838]
mov dword [rcx], eax
jmp 0x140007646
lea rdx, [rbp + 0x180]
xor ecx, ecx
call fcn.140007a30
jmp 0x140007646
xor ebx, ebx
test sil, sil
je 0x1400076ed
cmp byte [0x140058b12], 0
jne 0x1400076c2
lea rdx, str..pipe
lea rcx, [rbp + 0x180]
call fcn.14000a6dc
test eax, eax
jne 0x1400076c2
lea rax, [rbp + 0x180]
sub rax, 2
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140007680
mov edx, dword [0x140028f24]
movzx r8d, word [0x140028f28]
mov dword [rax], edx
mov word [rax + 4], r8w
lea rax, [rbp + 0x9a0]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1400076b0
mov dword [rax], edx
mov word [rax + 4], r8w
lea rcx, [rbp + 0x180]
mov edx, 0x2a
call fcn.14000c9bc
test rax, rax
jne 0x14000771d
lea rdx, [rbp + 0x180]
movzx ecx, sil
call fcn.140007a30
jmp 0x140007a0a
lea rdx, str.._
lea rcx, [rbp + 0x180]
mov r8d, 4
call fcn.14000c990
test eax, eax
jne 0x14000771d
lea rdx, [rbp + 0x180]
xor ecx, ecx
call fcn.140007a30
jmp 0x140007a0a
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007865
nop dword [rax]
movzx edx, word [rsp + 0x5c]
movzx ecx, word [rsp + 0x5e]
cmp dx, word [0x140028f3c]
jne 0x140007760
cmp cx, word [0x140028f3e]
je 0x140007846
cmp dx, word [0x140028f40]
jne 0x140007784
cmp cx, word [0x140028f42]
jne 0x140007784
movzx eax, word [rsp + 0x60]
cmp ax, word [0x140028f44]
je 0x140007846
mov rcx, rbx
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x9a0]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x11be], ax
test ax, ax
jne 0x140007790
lea rcx, [rbp + 0x11c0]
mov edx, 0x5c
call fcn.14000c9bc
test rax, rax
je 0x140007805
lea rcx, [rbp + 0x11c0]
mov edx, 0x5c
lea rbx, [rsp + 0x5c]
call fcn.14000c9bc
lea rdx, [rsp + 0x5c]
mov ecx, 2
sub rcx, rdx
lea rdx, [rax + rcx]
nop word [rax + rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rdx + rbx - 2], ax
test ax, ax
jne 0x1400077f0
xor ebx, ebx
jmp 0x140007826
mov rcx, rbx
nop dword [rax + rax]
movzx eax, word [rsp + rcx + 0x5c]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x11be], ax
test ax, ax
jne 0x140007810
cmp byte [0x140058b12], 0
je 0x140007836
test byte [rsp + 0x30], 0x10
je 0x140007846
lea rdx, [rbp + 0x11c0]
movzx ecx, sil
call fcn.140007a30
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140007740
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [0x140058b11], 0
je 0x140007a0a
cmp byte [0x140049c40], 0
je 0x1400078b3
lea rcx, [rbp + 0x9a0]
mov edx, 0x5c
call fcn.14000c9bc
test rax, rax
jne 0x1400078b3
lea edx, [rax + 0x2a]
lea rcx, [rbp + 0x9a0]
call fcn.14000c9bc
lea rdx, [rsp + 0x30]
test rax, rax
je 0x1400078b8
lea rcx, [0x140028838]
jmp 0x1400078bf
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x9a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007a0a
mov byte [0x140049c40], 0
nop dword [rax]
mov eax, dword [rsp + 0x30]
test al, 0x10
je 0x1400079eb
bt eax, 0xa
jb 0x1400079eb
movzx ecx, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5e]
cmp cx, word [0x140028f3c]
jne 0x140007916
cmp ax, word [0x140028f3e]
je 0x1400079eb
cmp cx, word [0x140028f40]
jne 0x14000793a
cmp ax, word [0x140028f42]
jne 0x14000793a
movzx eax, word [rsp + 0x60]
cmp ax, word [0x140028f44]
je 0x1400079eb
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx + 0x9a0]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x11be], ax
test ax, ax
jne 0x140007940
lea rcx, [rbp + 0x11c0]
mov edx, 0x5c
call fcn.14000c9bc
test rax, rax
je 0x1400079b5
lea rcx, [rbp + 0x11c0]
mov edx, 0x5c
lea rbx, [rsp + 0x5c]
call fcn.14000c9bc
lea rdx, [rsp + 0x5c]
mov ecx, 2
sub rcx, rdx
lea rdx, [rax + rcx]
nop word [rax + rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rdx + rbx - 2], ax
test ax, ax
jne 0x1400079a0
xor ebx, ebx
jmp 0x1400079d6
mov rcx, rbx
nop dword [rax + rax]
movzx eax, word [rsp + rcx + 0x5c]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x11be], ax
test ax, ax
jne 0x1400079c0
mov r8, qword [rsp + 0x20]
lea rdx, [rbp + 0x11c0]
movzx ecx, sil
call fcn.1400073a0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400078e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x19e0]
xor rcx, rsp
call fcn.14000b260
mov rbx, qword [rsp + 0x1b28]
add rsp, 0x1af0
pop rdi
pop rsi
pop rbp
ret