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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a668
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x410008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov eax, 0x7ffffffe
mov edi, dword [ebp + 8]
sub eax, ecx
cmp eax, 2
jb 0x401e74
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x401bb2
mov eax, dword [esi]
push 2
push 0x40b578
push ecx
push eax
push ecx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x294]
call fcn.00408ce0
cmp dword [ebp - 0x280], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x27c], eax
cmp ecx, 8
jb 0x401c37
mov edx, dword [ebp - 0x294]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401c2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401c2d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x280], 7
cmp eax, 0xffffffff
je 0x401e58
test byte [ebp - 0x278], 0x10
je 0x401e2f
mov ecx, 0x40b580
lea eax, [ebp - 0x24c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401ca6
test dx, dx
je 0x401ca2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401ca6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401c80
xor eax, eax
jmp 0x401cab
sbb eax, eax
or eax, 1
test eax, eax
je 0x401e29
mov ecx, 0x40b584
lea eax, [ebp - 0x24c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401ce6
test dx, dx
je 0x401ce2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401ce6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401cc0
xor eax, eax
jmp 0x401ceb
sbb eax, eax
or eax, 1
test eax, eax
je 0x401e29
mov ecx, dword [esi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x401e74
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x401d10
mov eax, dword [esi]
push 1
push 0x40b574
push ecx
push eax
push ecx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x2ac]
call fcn.00408ce0
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x28]
call fcn.00407750
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x298]
cmp ecx, 8
jb 0x401d8e
mov edx, dword [ebp - 0x2ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c27
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
mov edx, ebx
mov dword [ebp - 0x298], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2ac], ax
call fcn.004019d0
test al, al
je 0x401dda
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [edi + 8]
je 0x401dd2
mov ecx, eax
call fcn.00406630
add dword [edi + 4], 0x18
jmp 0x401dda
push eax
mov ecx, edi
call fcn.00409390
push edi
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.00401b60
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x401e29
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401e1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c27
push ecx
push edx
call fcn.0040984c
add esp, 8
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401e4c
mov eax, dword [ebp - 0x27c]
jmp 0x401c63
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004096f9
mov esp, ebp
pop ebp
ret
call fcn.00401170
int3