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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x508]
sub rsp, 0x608
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
mov rax, qword [rbp + 0x588]
mov rbx, r9
mov rsi, qword [rbp + 0x580]
lea r9, [0x1800aedfc]
mov r12, qword [rbp + 0x578]
mov r15, rdx
mov qword [rsp + 0x70], rax
mov r14, rcx
mov rax, qword [rbp + 0x590]
mov dil, 1
mov dword [rsp + 0x58], r8d
mov r8, rdx
mov qword [rsp + 0x68], rcx
mov edx, 0x209
lea rcx, [rbp + 0x2e0]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
call fcn.180025454
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
mov qword [rbp - 0x78], rax
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x78], rax
cmp r13, 0xffffffffffffffff
je 0x1800212af
test byte [rbp - 0x70], 0x10
je 0x1800211a3
mov bl, byte [rbp + 0x570]
test bl, bl
je 0x18002119e
lea rdx, [0x1800aee00]
lea rcx, [rbp - 0x44]
call fcn.180053900
test eax, eax
je 0x180021281
lea rdx, [0x1800aee04]
lea rcx, [rbp - 0x44]
call fcn.180053900
test eax, eax
je 0x180021281
lea rcx, [rbp - 0x44]
call fcn.180053980
cmp rax, 0x104
lea rcx, [rbp - 0x44]
lea r9, [rbp + 0xc0]
mov r8, r15
cmovb r9, rcx
mov edx, 0x209
lea rcx, [rbp + 0xd0]
call fcn.180025454
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180021156
lea rdx, [rbp + 0xd0]
mov rcx, r14
call rax
test al, al
je 0x180021281
mov rax, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x80]
lea rdx, [rbp + 0xd0]
mov r8d, dword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov rcx, r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x20], bl
mov rbx, qword [rsp + 0x50]
mov r9, rbx
call fcn.180021000
mov dil, al
test al, al
je 0x1800212a6
jmp 0x180021286
mov rbx, qword [rsp + 0x50]
xor r14d, r14d
test rax, rax
jle 0x1800212d5
mov r13, qword [rsp + 0x68]
mov rdx, qword [rbx + r14*8]
lea rcx, [rbp - 0x44]
mov r8b, 1
call fcn.18003ae98
test al, al
je 0x180021265
test r12, r12
je 0x1800211d5
inc dword [r12]
test rsi, rsi
je 0x180021265
mov rcx, r15
call fcn.18006bd38
mov rbx, rax
test rax, rax
je 0x18002120a
mov rcx, r15
call fcn.180053980
cmp byte [rax + rbx - 1], 0x5c
jne 0x18002120a
mov rcx, r15
call fcn.180053980
mov byte [rax + rbx - 1], 0
lea rdx, [rbp - 0x44]
mov rcx, r15
call fcn.1800254cc
mov rsi, rax
test rbx, rbx
je 0x180021239
test rax, rax
je 0x180021239
mov r9, rax
lea r8, [rbp - 0x44]
mov rdx, rbx
mov rcx, r13
call qword [rsp + 0x60]
mov dil, al
jmp 0x18002123c
mov dil, 1
test rsi, rsi
je 0x180021249
mov rcx, rsi
call fcn.180053728
test rbx, rbx
je 0x180021256
mov rcx, rbx
call fcn.180053728
test dil, dil
je 0x180021273
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
inc r14
cmp r14, qword [rsp + 0x78]
jl 0x1800211b4
mov r13, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
lea rdx, [rbp - 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1800212a6
mov rax, qword [rsp + 0x78]
cmp dil, 1
je 0x1800210b9
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.180043830
add rsp, 0x608
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rsp + 0x68]
jmp 0x180021286