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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xdf8]
sub rsp, 0xef8
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rbp + 0xde0], rax
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rcx
mov esi, 0x2800
mov edx, esi
mov dword [rsp + 0x30], r9d
mov ecx, 0x40
mov qword [rsp + 0x40], r8
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r8, rdi
lea rdx, [0x2d9e407860]
lea rcx, [rbp + 0x9d0]
mov qword [rsp + 0x38], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x9d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x2d9e3b4e5a
mov byte [rbx], 0x74
mov edi, 1
nop word [rax + rax]
movzx ecx, word [rbp - 0x74]
cmp cx, word [0x2d9e407870]
movzx eax, word [rbp - 0x72]
jne 0x2d9e3b4c4e
cmp ax, word [0x2d9e407872]
je 0x2d9e3b4e12
cmp cx, word [0x2d9e407874]
jne 0x2d9e3b4c71
cmp ax, word [0x2d9e407876]
jne 0x2d9e3b4c71
movzx eax, word [rbp - 0x70]
cmp ax, word [0x2d9e407878]
je 0x2d9e3b4e12
xor eax, eax
movzx ecx, word [rbp + rax - 0x74]
mov word [rbp + rax + 0x5c0], cx
lea rax, [rax + 2]
test cx, cx
jne 0x2d9e3b4c73
cmp dword [rsp + 0x30], 0
je 0x2d9e3b4c9c
lea rcx, [rbp + 0x5c0]
call fcn.2d9e3e46c0
cmp dword [rbp + 0xe40], 0
jne 0x2d9e3b4cb0
test byte [rsp + 0x60], 0x10
jne 0x2d9e3b4db2
cmp dword [rbp + 0xe48], 0
je 0x2d9e3b4cd4
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x5c0]
call fcn.2d9e3e3024
xor ecx, ecx
test rax, rax
setne cl
jmp 0x2d9e3b4cfe
mov r8, qword [rsp + 0x40]
lea rax, [rbp + 0x5c0]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x2d9e3b4cf7
add rax, 2
test ecx, ecx
jne 0x2d9e3b4ce3
xor ecx, ecx
test edx, edx
sete cl
test ecx, ecx
je 0x2d9e3b4dab
lea eax, [rsi - 0x410]
cmp edi, eax
jbe 0x2d9e3b4d2f
add esi, 0x410
mov r8d, 0x42
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
mov qword [rsp + 0x38], rax
movzx ecx, byte [rsp + 0x60]
lea r9, [rbp - 0x74]
mov r8, qword [rsp + 0x48]
lea rdx, [0x2d9e407880]
mov eax, edi
and cl, 0x10
inc edi
mov byte [rax + rbx], cl
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, edi
lea rdx, [rbp + 0x1b0]
add rcx, qword [rsp + 0x38]
lea ebx, [rax*2 + 2]
movsxd r8, ebx
call fcn.2d9e3e2bb0
mov eax, dword [rsp + 0x7c]
add edi, ebx
mov rbx, qword [rsp + 0x38]
mov dword [rdi + rbx], eax
add edi, 4
mov eax, dword [rbp - 0x80]
mov dword [rdi + rbx], eax
add edi, 4
mov rax, qword [rsp + 0x74]
mov qword [rdi + rbx], rax
add edi, 8
test byte [rsp + 0x60], 0x10
je 0x2d9e3b4e12
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x410
call fcn.2d9e3e3840
mov r8, qword [rsp + 0x48]
lea r9, [rbp - 0x74]
lea rdx, [0x2d9e407880]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [rbp + 0xe48]
lea rdx, [rbp + 0x1b0]
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0xe40]
mov dword [rsp + 0x20], eax
call fcn.2d9e3b4b90
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x2d9e3b4c30
cmp edi, 1
jbe 0x2d9e3b4e46
mov rax, qword [rsp + 0x50]
mov r9b, 0x3f
mov r8d, edi
mov rdx, rbx
mov rcx, qword [rax + 8]
call fcn.2d9e3b1ff0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
mov rcx, qword [rbp + 0xde0]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0xef8
pop rdi
pop rsi
pop rbx
pop rbp
ret