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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428150
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x16c4
call fcn.00420cd0
mov eax, dword [0x4362ec]
xor eax, esp
mov dword [esp + 0x16c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4362ec]
xor eax, esp
push eax
lea eax, [esp + 0x16d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
push eax
push ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
call fcn.00404299
mov edi, eax
test edi, edi
jne 0x403ee1
lea eax, [esp + 0x27c]
push eax
call fcn.004061c1
and dword [esp + 0x16e0], edi
push 0x42bf38
push ebx
mov esi, 0x42bf3c
push esi
lea ecx, [esp + 0x288]
call fcn.0040999a
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x280]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
jne 0x403f07
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
mov dword [esp + 0x14], eax
jne 0x403e8d
push dword [esp + 0x18]
call fcn.0040439e
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
je 0x403ec8
push dword [esp + 0x14]
mov ecx, 0x104
sub esp, 0x410
mov edi, esp
lea esi, [esp + 0x690]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x42c]
push str.FindFileHandle_on___s__failed__Error__d
add esi, 0x3c
call fcn.00406a13
add esp, 0x418
or dword [esp + 0x16e0], 0xffffffff
lea eax, [esp + 0x27c]
push eax
call fcn.0040e135
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x16d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x16c0]
xor ecx, esp
call fcn.004147b8
mov esp, ebp
pop ebp
ret 0x10
mov ebx, 0x42bfa8
cmp dword [esp + 0x14], 0
je 0x403f2c
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [esp + 0x20]
test al, al
je 0x4040d2
mov eax, dword [esp + 0x2c]
and eax, 0x10
mov dword [esp + 0x28], eax
je 0x404020
cmp byte [ebp + 0x10], 0
je 0x404020
mov eax, 0x42bf9c
lea ecx, [esp + 0x58]
call fcn.00407380
test al, al
jne 0x404020
mov eax, 0x42bfa0
lea ecx, [esp + 0x58]
call fcn.00407380
test al, al
jne 0x404020
lea eax, [esp + 0xeac]
push eax
call fcn.004061c1
mov byte [esp + 0x16e0], 1
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xeb4]
push ebx
call fcn.0040999a
add esp, 0xc
lea eax, [esp + 0x68c]
push eax
call fcn.004061c1
mov byte [esp + 0x16e0], 2
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0x694]
push ebx
call fcn.0040999a
mov ecx, dword [esp + 0x24]
add esp, 0xc
push dword [esp + 0x14]
push dword [ebp + 0x10]
push dword [esp + 0x694]
push dword [esp + 0xeb8]
call fcn.00403db4
mov edi, eax
test edi, edi
jne 0x404115
mov byte [esp + 0x16e0], 1
lea eax, [esp + 0x68c]
push eax
call fcn.0040e135
mov byte [esp + 0x16e0], 0
lea eax, [esp + 0xeac]
jmp 0x4040cc
cmp dword [esp + 0x28], 0
jne 0x4040d2
lea eax, [esp + 0x12bc]
push eax
call fcn.004061c1
mov byte [esp + 0x16e0], 3
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x12c4]
push esi
call fcn.0040999a
add esp, 0xc
lea eax, [esp + 0xa9c]
push eax
call fcn.004061c1
mov byte [esp + 0x16e0], 4
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0xaa4]
push esi
call fcn.0040999a
mov edi, dword [esp + 0x24]
add esp, 0xc
push dword [esp + 0xa9c]
push dword [esp + 0x12c0]
call fcn.00404319
mov edi, eax
test edi, edi
jne 0x40413b
mov byte [esp + 0x16e0], 3
lea eax, [esp + 0xa9c]
push eax
call fcn.0040e135
mov byte [esp + 0x16e0], 0
lea eax, [esp + 0x12bc]
push eax
call fcn.0040e135
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40410b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
je 0x40410b
mov esi, dword [esp + 0x18]
push edi
push str.FindNextFile_failed__Error__d
add esi, 0x3c
call fcn.00406a13
pop ecx
pop ecx
mov esi, 0x42bf3c
test edi, edi
je 0x403f0c
jmp 0x404165
mov byte [esp + 0x16e0], 1
lea eax, [esp + 0x68c]
push eax
call fcn.0040e135
mov byte [esp + 0x16e0], 0
lea eax, [esp + 0xeac]
jmp 0x40415f
mov byte [esp + 0x16e0], 3
lea eax, [esp + 0xa9c]
push eax
call fcn.0040e135
mov byte [esp + 0x16e0], 0
lea eax, [esp + 0x12bc]
push eax
call fcn.0040e135
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0x12
je 0x404190
or dword [esp + 0x16e0], 0xffffffff
lea eax, [esp + 0x27c]
push eax
call fcn.0040e135
mov eax, edi
jmp 0x403ee1
xor edi, edi
jmp 0x404174