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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x388], rbx
mov rax, qword [0x1401310c8]
xor rax, rsp
mov qword [rbp + 0x240], rax
movzx esi, r8b
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov rbx, rcx
mov qword [rbp - 0x50], rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
xor r8d, r8d
xor edx, edx
call fcn.140016e90
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x60], 7
xor eax, eax
mov qword [rsp + 0x58], rax
mov word [rsp + 0x48], ax
lea r8d, [rax + 1]
lea rdx, [0x14010cc18]
lea rcx, [rsp + 0x48]
call fcn.140007ad0
nop
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14001d430
cmp qword [rax + 0x18], 8
jb 0x14001d9df
mov rax, qword [rax]
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14001da0b
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140007ea0
mov qword [rbp - 0x60], 7
xor edx, edx
mov qword [rbp - 0x68], rdx
mov word [rbp - 0x78], dx
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14001da3c
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140007ea0
xor edx, edx
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdx
mov word [rsp + 0x48], dx
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x14001dc05
nop dword [rax + rax]
test byte [rbp - 0x10], 0x10
je 0x14001dbd3
movzx ecx, word [rbp + 0x1c]
movzx eax, word [rbp + 0x1e]
cmp cx, word [reloc.WLDAP32.dll_Ordinal_46]
jne 0x14001da88
cmp ax, word [0x14010cc1e]
je 0x14001dbd3
cmp cx, word [reloc.WLDAP32.dll_Ordinal_46]
jne 0x14001daab
cmp ax, word [reloc.WLDAP32.dll_Ordinal_46]
jne 0x14001daab
movzx eax, word [rbp + 0x20]
cmp ax, word [0x14010cc24]
je 0x14001dbd3
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdx
mov word [rsp + 0x68], dx
test cx, cx
jne 0x14001dac7
mov r8, rdx
jmp 0x14001dadb
lea rax, [rbp + 0x1c]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14001dad0
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x68]
call fcn.140007ad0
nop
lea r8, [rsp + 0x68]
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.14001d430
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x14001db18
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140007ea0
mov qword [rbp - 0x80], 7
xor eax, eax
mov qword [rsp + 0x78], rax
mov word [rsp + 0x68], ax
mov rdi, qword [rbx]
lea r9, [rbp - 0x38]
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14001e160
movabs rcx, 0x555555555555554
sub rcx, qword [rbx + 8]
cmp rcx, 1
jb 0x14001dbed
inc qword [rbx + 8]
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
test sil, sil
je 0x14001dbb4
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
movzx r8d, sil
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.14001d930
nop
cmp qword [rbp - 0x40], 0
je 0x14001dba1
mov rdx, qword [rbx]
mov r9, qword [rbp - 0x48]
mov r8, qword [r9]
mov rcx, rbx
call fcn.14001e0a0
nop
lea rcx, [rbp - 0x48]
call fcn.1400166e0
mov rcx, qword [rbp - 0x48]
call fcn.140078bcc
nop
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14001dbce
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.140007ea0
mov rdi, qword [rsp + 0x40]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001dbfa
xor edx, edx
jmp 0x14001da60
lea rcx, str.list_T__too_long
call fcn.140079b20
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rbx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400784c0
mov rbx, qword [rsp + 0x388]
add rsp, 0x350
pop rdi
pop rsi
pop rbp
ret