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

Disassembly:
push 0x2cc
mov eax, 0x546397
call fcn.00506b61
mov dword [ebp - 0x2d8], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2d4], eax
test eax, eax
jne 0x4d7b6d
xor eax, eax
jmp 0x4d7dc1
test ebx, ebx
je 0x4d7b66
push eax
lea ecx, [ebp - 0x70]
xor edi, edi
call fcn.004024f0
and dword [ebp - 4], edi
mov esi, 0x6293b0
push esi
call fcn.004f3a59
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.00404290
xor esi, esi
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], esi
mov word [ebp - 0x40], ax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004024f0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.004cd323
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2c8], esi
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2d0]
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x58]
push 0x602e84
push eax
call fcn.004cd0bc
add esp, 0x10
lea ecx, [ebp - 0x2c0]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2c4], esi
cmp esi, 0xffffffff
je 0x4d7d8a
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4d7d8a
push 0x2e
pop eax
cmp word [ebp - 0x294], ax
je 0x4d7c21
cmp word [ebp - 0x292], 0
je 0x4d7c21
cmp word [ebp - 0x292], ax
jne 0x4d7c60
cmp word [ebp - 0x290], 0
je 0x4d7c21
cmp word [ebp - 0x294], 0
jne 0x4d7c6e
xor eax, eax
jmp 0x4d7c7b
lea eax, [ebp - 0x294]
push eax
call fcn.004f3a59
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402650
test byte [ebp - 0x2c0], 0x10
je 0x4d7c21
lea eax, [ebp - 0x40]
push eax
call fcn.004cd323
mov esi, dword [ebp - 0x2d0]
pop ecx
jmp 0x4d7cea
cmp dword [esi + 0x14], 8
jb 0x4d7cb0
mov eax, dword [esi]
jmp 0x4d7cb2
mov eax, esi
push eax
lea ecx, [ebp - 0x28]
call fcn.004024f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
push 0
call fcn.004169a0
lea ecx, [ebp - 0x28]
push 0
push 1
test eax, eax
je 0x4d7cf4
call fcn.00402590
add esi, 0x18
cmp esi, dword [ebp - 0x2cc]
jne 0x4d7ca6
jmp 0x4d7cfc
xor edi, edi
inc edi
call fcn.00402590
mov esi, dword [ebp - 0x2c4]
test edi, edi
jne 0x4d7c21
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x28]
call fcn.004024f0
push 0xffffffffffffffff
xor esi, esi
mov byte [ebp - 4], 4
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004043c0
push 0x63d88c
call fcn.004f3a59
pop ecx
push eax
push 0x63d88c
lea ecx, [ebp - 0x28]
call fcn.00404290
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x2d8]
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
call fcn.004d7b41
lea ecx, [ebp - 0x28]
push esi
push 1
test eax, eax
jne 0x4d7d7c
mov byte [ebp - 4], 3
call fcn.00402590
mov esi, dword [ebp - 0x2c4]
jmp 0x4d7c21
xor edi, edi
inc edi
call fcn.00402590
mov esi, dword [ebp - 0x2c4]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2d0]
call fcn.004c3153
xor esi, esi
lea ecx, [ebp - 0x58]
push esi
push 1
call fcn.00402590
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.00402590
push esi
push 1
lea ecx, [ebp - 0x70]
call fcn.00402590
mov eax, edi
call fcn.00506b0b
ret 8