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

Disassembly:
push 0xffffffffffffffff
push 0x4460fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x674
mov eax, dword [0x45b1e4]
push ebx
push ebp
push esi
mov dword [esp + 0x67c], eax
push edi
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x694]
push ebp
lea eax, [esp + 0x274]
push str._s.
push eax
mov dword [esp + 0x698], 0
call fcn.00428c0a
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
je 0x4099d9
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4099d9
cmp word [esp + 0x4c], 0x2e
je 0x409850
mov ax, word [esp + 0x4e]
test ax, ax
je 0x409850
cmp ax, 0x2e
jne 0x409888
cmp word [esp + 0x50], 0
je 0x409850
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x14]
push 0x448cf8
push ecx
mov byte [esp + 0x698], 1
call fcn.00403780
mov al, byte [esp + 0x2c]
add esp, 0xc
test al, 0x10
je 0x409952
mov esi, dword [esp + 0x10]
push esi
push ebp
lea edx, [esp + 0x480]
push 0x449e6c
push edx
call fcn.00428c0a
add esp, 0xc
lea eax, [esp + 0x47c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00404410
mov ecx, dword [esp + 0x1c]
call fcn.004097d0
test eax, eax
jne 0x4099ae
mov byte [esp + 0x68c], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x68c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40994b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x409a10
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
push esi
push ebp
lea eax, [esp + 0x1c]
push 0x449e6c
push eax
mov byte [esp + 0x69c], 2
call fcn.00403780
mov edi, dword [esp + 0x24]
add esp, 0x10
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [esp + 0x68c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x68c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409850
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x409850
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x68c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x684]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x680]
call fcn.00428731
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x680
ret 4