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

Disassembly:
push 0xffffffffffffffff
push 0x44c58e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x674
mov eax, dword [0x46420c]
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.0042b87a
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 0x409d59
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 0x409d59
cmp word [esp + 0x4c], 0x2e
je 0x409bd0
mov ax, word [esp + 0x4e]
test ax, ax
je 0x409bd0
cmp ax, 0x2e
jne 0x409c08
cmp word [esp + 0x50], 0
je 0x409bd0
call fcn.0043f04a
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 0x44fd08
push ecx
mov byte [esp + 0x698], 1
call fcn.00402810
mov al, byte [esp + 0x2c]
add esp, 0xc
test al, 0x10
je 0x409cd2
mov esi, dword [esp + 0x10]
push esi
push ebp
lea edx, [esp + 0x480]
push 0x450e5c
push edx
call fcn.0042b87a
add esp, 0xc
lea eax, [esp + 0x47c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004028f0
mov ecx, dword [esp + 0x1c]
call fcn.00409b50
test eax, eax
jne 0x409d2e
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 0x409ca6
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 0x409ccb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x409d90
call fcn.0043f04a
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 0x450e5c
push eax
mov byte [esp + 0x69c], 2
call fcn.00402810
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 0x409d2e
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 0x409bd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x409bd0
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 0x409d8e
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.0042b3a1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x680
ret 4