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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8495
mov eax, dword fs:[0]
push eax
sub esp, 0x744
mov eax, dword [0x5381f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6a8], ecx
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004a03d0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.00403a90
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x507b50
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 1
mov dword [ebp - 0x684], ecx
cmp dword [ebp - 0x684], 0
jg 0x421b21
lea edx, [ebp - 0x6b0]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x690], eax
mov eax, dword [ebp - 0x690]
mov dword [ebp - 0x694], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x694]
call fcn.00406890
mov dword [ebp - 0x67c], eax
mov ecx, dword [ebp - 0x67c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x67c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x671], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6b0]
call fcn.00409eb0
movzx ecx, byte [ebp - 0x671]
test ecx, ecx
je 0x421b1c
lea edx, [ebp - 0x6b8]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x698], eax
mov eax, dword [ebp - 0x698]
mov dword [ebp - 0x69c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x69c]
call fcn.004068b0
mov dword [ebp - 0x680], eax
push str.dir_to_deep_return
lea ecx, [ebp - 0x750]
call fcn.004091f0
mov dword [ebp - 0x6a0], eax
mov ecx, dword [ebp - 0x6a0]
mov dword [ebp - 0x6a4], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6a4]
call fcn.00419540
push eax
mov edx, dword [ebp - 0x680]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x680]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x750]
call fcn.00409f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6b8]
call fcn.00409eb0
jmp 0x421d0d
push 0x250
push 0
lea eax, [ebp - 0x670]
push eax
call fcn.004a03d0
add esp, 0xc
lea ecx, [ebp - 0x670]
push ecx
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x678], eax
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004a03d0
add esp, 0xc
cmp dword [ebp - 0x678], 0xffffffff
je 0x421d0d
lea ecx, [ebp - 0x670]
push ecx
mov edx, dword [ebp - 0x678]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x421d00
mov eax, dword [ebp - 0x670]
and eax, 0x10
je 0x421c81
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x644]
cmp eax, 0x2e
jne 0x421bf7
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0x644]
test edx, edx
je 0x421bf0
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x644]
cmp ecx, 0x2e
jne 0x421bf7
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x644]
test eax, eax
jne 0x421bf7
jmp 0x421b74
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.004a03d0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.00403a90
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x688]
call fcn.00403720
mov dword [ebp - 4], 3
lea eax, [ebp - 0x684]
push eax
lea ecx, [ebp - 0x688]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x6a8]
call fcn.00421980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x688]
call fcn.00403900
jmp 0x421cfb
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004a03d0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.00403a90
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x644]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x68c]
call fcn.00403720
mov dword [ebp - 4], 4
lea edx, [ebp - 0x68c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00436260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68c]
call fcn.00403900
jmp 0x421b74
mov eax, dword [ebp - 0x678]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046621a
mov esp, ebp
pop ebp
ret 0xc