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

Disassembly:
mov eax, 0x4260
call fcn.0042f550
mov eax, dword [0x45b9b0]
xor eax, esp
mov dword [esp + 0x425c], eax
push ebp
push esi
mov esi, dword [esp + 0x426c]
push edi
push 0x3ffe
lea eax, [esp + 0x26e]
mov ebp, ecx
push 0
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov word [esp + 0x274], 0
call fcn.0042ec20
mov edi, dword [esp + 0x4280]
add esp, 0xc
test edi, edi
je 0x402f3f
push 0
mov ecx, ebp
call fcn.0040ca90
test eax, eax
je 0x402f3f
mov eax, 1
jmp 0x403105
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x270]
push ecx
call esi
lea edx, [ebp + 0x4038]
push edx
lea eax, [esp + 0x270]
push eax
call esi
push 0x250
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.0042ec20
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
je 0x403128
cmp word [esp + 0x48], 0x2e
jne 0x402fbc
mov ax, word [esp + 0x4a]
cmp ax, 0x2e
jne 0x402fb3
cmp word [esp + 0x4c], 0
jmp 0x402fb6
test ax, ax
je 0x4030dd
lea esi, [ebp + 0x1c]
mov ecx, esi
call fcn.00401e50
cmp eax, 0x40000
jb 0x402fff
mov ecx, esi
call fcn.00401e50
push eax
mov ecx, esi
call fcn.00401c50
mov ecx, dword [ebp + 0x6040]
push eax
call fcn.0040e030
test eax, eax
je 0x4030fb
mov ecx, ebp
call fcn.00402e00
test eax, eax
je 0x4030fb
push 0
push 0x4013
mov ecx, esi
call fcn.00401ce0
mov esi, eax
test esi, esi
je 0x4030fb
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
xor ecx, ecx
or ecx, eax
xor ebx, ebx
or edx, ebx
mov dword [esi + 6], edx
mov dword [esi + 2], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xa], ecx
mov edx, dword [esp + 0x34]
mov dword [esi + 0xe], edx
test byte [esp + 0x1c], 0x10
setne al
add al, 1
mov byte [esi + 0x12], al
lea eax, [esp + 0x48]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403050
sub eax, edx
sar eax, 1
mov ebx, eax
lea ebp, [ebx + ebx + 2]
push ebp
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esi + 0x13]
push edx
call fcn.0042ece0
add esp, 0xc
test edi, edi
je 0x4030ac
mov eax, dword [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403082
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
lea eax, [edi + edi]
push eax
push ecx
lea edx, [esi + ebp + 0x13]
push edx
call fcn.0042ece0
add esp, 0xc
jmp 0x4030ba
mov eax, dword [0x4497cc]
mov edi, 2
mov dword [esi + ebp + 0x13], eax
lea eax, [ebx + edi + 1]
lea eax, [eax + eax + 0x13]
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x1c
mov word [esi], ax
call fcn.00401da0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x1c]
push edx
push ebx
call edi
test eax, eax
je 0x40311f
mov edi, dword [esp + 0x4278]
jmp 0x402f98
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4268]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0042ec03
add esp, 0x4260
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403145
test edi, edi
je 0x403102
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0x403211
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [esp + 0x4278], 0
je 0x403211
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea ecx, [esp + 0x270]
push 0x4497c4
push ecx
call ebx
push 0x250
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.0042ec20
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x403211
jmp 0x4031a0
cmp word [esp + 0x48], 0x2e
jne 0x4031c0
mov ax, word [esp + 0x4a]
cmp ax, 0x2e
jne 0x4031bb
cmp word [esp + 0x4c], 0
jmp 0x4031be
test ax, ax
je 0x4031fe
test byte [esp + 0x1c], 0x10
je 0x4031fe
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x274]
push 0x4497b8
push ecx
call ebx
mov edx, dword [esp + 0x4288]
add esp, 0x10
push edx
lea eax, [esp + 0x270]
push eax
mov ecx, ebp
call fcn.00402ed0
test eax, eax
je 0x40321b
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
test eax, eax
jne 0x4031a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x403104
push esi
jmp 0x4030fc