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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x5e8]
sub rsp, 0x6e8
mov rsi, qword [rbp + 0x648]
lea rcx, [rbp + 0x1c0]
mov rdx, rsi
mov r8d, 0x103
call fcn.1400a2664
xor ebx, ebx
lea rcx, [rbp + 0x1c0]
mov word [rbp + 0x3c6], bx
lea edx, [rbx + 0x5c]
call fcn.140097a74
test rax, rax
je 0x14002eb7b
lea r8, [rax + 2]
lea rdx, [rbp + 0x3d0]
mov rcx, r8
sub rdx, r8
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002eb50
mov word [r8], bx
lea rax, [rbp + 0x1c0]
or rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14002eb70
jmp 0x14002eba3
mov rdx, rbx
nop
movzx eax, word [rbp + rdx + 0x1c0]
mov word [rbp + rdx + 0x3d0], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14002eb80
mov word [rbp + 0x1c0], bx
mov rdi, rbx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x58], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
mov rsi, rax
setne bl
test ebx, ebx
je 0x14002ec02
nop dword [rax]
mov edx, dword [rbp + 0x638]
lea r8, [rbp + 0x1c0]
mov r9, rdi
lea rcx, [rsp + 0x70]
call fcn.140047280
test al, al
je 0x14002ec02
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test eax, eax
jne 0x14002ebd0
mov rax, qword [0x1400edaa8]
mov qword [rsp + 0x50], rax
test ebx, ebx
je 0x14002ed44
nop word [rax + rax]
lea rcx, [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x610]
mov rcx, qword [rax + 0x20]
cmp byte [rcx], 0x73
jne 0x14002ec79
mov rdi, qword [rbp + 0x618]
mov rsi, rax
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x48]
mov r8, rdi
mov edx, 2
call fcn.140027cd0
mov rcx, qword [rsi + 0x20]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
cmp rax, rcx
je 0x14002ec43
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
jmp 0x14002ec9a
mov r8, qword [rbp + 0x618]
lea r9, [rsp + 0x48]
mov edx, 3
call fcn.140027cd0
mov ebx, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14002ecd2
cmp ebx, 6
jne 0x14002eef7
cmp rax, qword [rbp + 0x610]
je 0x14002ece0
mov r9, qword [rbp + 0x628]
mov qword [r9], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
add rsp, 0x6e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp ebx, 1
je 0x14002ece0
cmp ebx, 6
jne 0x14002ef18
mov rax, qword [rbp + 0x630]
test rax, rax
je 0x14002ed01
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14002e600
test al, al
jne 0x14002ef14
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test eax, eax
je 0x14002ed33
mov edx, dword [rbp + 0x638]
lea r8, [rbp + 0x1c0]
mov r9, rdi
lea rcx, [rsp + 0x70]
call fcn.140047280
test al, al
jne 0x14002ed01
mov rax, qword [rsp + 0x50]
inc qword [rax + 8]
test ebx, ebx
jne 0x14002ec20
cmp rsi, 0xffffffffffffffff
je 0x14002ed53
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rbp + 0x640], 0
je 0x14002eee6
cmp rdi, 0x100
ja 0x14002eee6
lea rax, [rbp + 0x1c0]
lea rax, [rax + rdi*2]
mov rdx, rax
mov qword [rsp + 0x50], rax
lea rcx, [0x1400d5eb8]
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002ed90
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14002eee6
lea rax, [rbp + 0x3d0]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14002edd0
add rbx, rdi
nop dword [rax]
test byte [rsp + 0x70], 0x10
je 0x14002eec7
cmp word [rbp - 0x64], 0x2e
jne 0x14002ee10
movzx eax, word [rbp - 0x62]
test ax, ax
je 0x14002eec7
cmp ax, 0x2e
jne 0x14002ee10
cmp word [rbp - 0x60], 0
je 0x14002eec7
lea rcx, [rbp - 0x64]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002ee20
add rax, rbx
cmp rax, 0x102
ja 0x14002eec7
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x3d0]
lea r8, [rbp - 0x64]
lea rdx, [0x1400d25d8]
call fcn.140004900
mov r9, qword [rbp + 0x628]
lea rax, [rbp + 0x1c0]
mov r8, qword [rbp + 0x620]
mov rdx, qword [rbp + 0x618]
mov rcx, qword [rbp + 0x610]
mov qword [rsp + 0x38], rax
movzx eax, byte [rbp + 0x640]
mov byte [rsp + 0x30], al
mov eax, dword [rbp + 0x638]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x630]
mov qword [rsp + 0x20], rax
call fcn.14002ead0
mov edi, eax
cmp eax, 1
jne 0x14002ef2f
mov rax, qword [rbp + 0x620]
cmp byte [rax], 0
jne 0x14002eedd
mov rax, qword [rbp + 0x628]
cmp qword [rax], 0
jne 0x14002eedd
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002ede0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
add rsp, 0x6e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp rax, qword [rbp + 0x610]
jne 0x14002ecb1
mov r8, qword [rbp + 0x620]
mov byte [r8], 1
jmp 0x14002ecbb
mov ebx, dword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
add rsp, 0x6e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
add rsp, 0x6e8
pop rdi
pop rsi
pop rbx
pop rbp
ret