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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdf4e
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5365f0]
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 edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], ebx
je 0x407d38
cmp dword [edi + 0x10], ebx
je 0x407d38
xor eax, eax
push ebx
lea ecx, [ebp + 8]
mov word [ebp - 0x2c], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.004022e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x407a8b
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmp word [eax + edx*2 - 2], 0x5c
lea ecx, [ebp - 0x2c]
jne 0x407aa2
push 1
mov eax, 0x5056a8
jmp 0x407aa9
push 2
mov eax, 0x5056ac
call fcn.004021b0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x407ab9
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x29c], esi
cmp esi, 0xffffffff
jne 0x407b20
mov byte [ebp - 4], bl
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x407aed
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d5559
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x407b16
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d5559
add esp, 4
mov dword [ebp + 0x1c], esi
jmp 0x407d58
mov ecx, 0x5056b4
lea eax, [ebp - 0x26c]
jmp 0x407b30
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407b56
cmp dx, bx
je 0x407b52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407b56
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x407b30
xor eax, eax
jmp 0x407b5b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x407cc4
mov ecx, 0x5056b8
lea eax, [ebp - 0x26c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407b96
cmp dx, bx
je 0x407b92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407b96
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x407b70
xor eax, eax
jmp 0x407b9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x407cc4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp + 8]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x48]
call fcn.004026d0
mov eax, dword [ebp + 8]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x407bd7
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x18]
cmp word [eax + edx*2 - 2], 0x5c
je 0x407bf1
push 1
mov eax, 0x504a74
lea ecx, [ebp - 0x48]
call fcn.004021b0
lea eax, [ebp - 0x26c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407c00
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x26c]
lea ecx, [ebp - 0x48]
call fcn.004021b0
test byte [ebp - 0x298], 0x10
je 0x407c64
cmp dword [edi + 0x1c], ebx
je 0x407c99
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2a0], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push ebx
lea edx, [ebp - 0x48]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.004022e0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.00407a10
jmp 0x407c99
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2a0], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push ebx
lea edx, [ebp - 0x48]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.004022e0
mov byte [ebp - 4], 4
push edi
mov byte [ebp - 4], 2
call fcn.00407d90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], esi
jb 0x407cae
mov eax, dword [ebp - 0x48]
push eax
call fcn.004d5559
add esp, 4
mov esi, dword [ebp - 0x29c]
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp byte [edi + 8], bl
je 0x407cdf
lea edx, [ebp - 0x298]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407b20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], bl
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x407cff
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d5559
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x407d28
mov edx, dword [ebp + 8]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov dword [ebp + 0x1c], edi
mov eax, 1
jmp 0x407d60
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x407d51
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d5559
add esp, 4
mov dword [ebp + 0x1c], 7
xor edx, edx
xor eax, eax
mov word [ebp + 8], dx
mov dword [ebp + 0x18], ebx
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.004d5564
mov esp, ebp
pop ebp
ret 0x1c