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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2e
push 0
push 0
dec ecx
jne 0x4d3300
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
push ebp
push 0x4d36c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
mov ecx, 0x4d36dc
mov edx, dword [ebp - 4]
call fcn.00404af4
mov eax, dword [ebp - 0x154]
call fcn.00404ca8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4d3361
mov al, 1
jmp 0x4d3680
xor eax, eax
jmp 0x4d3680
cmp byte [ebx + 0x3f4], 2
je 0x4d3688
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489ae4
lea eax, [ebp - 8]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404a58
mov eax, dword [ebp - 0x150]
cmp eax, 0x10
je 0x4d33ca
cmp eax, 2
je 0x4d33ca
cmp eax, 4
je 0x4d33ca
cmp eax, 0x80
je 0x4d33ca
cmp eax, 0x100
je 0x4d33ca
cmp eax, 0x12
je 0x4d33ca
cmp eax, 0x13
je 0x4d33ca
cmp eax, 0x20
jne 0x4d3466
push dword [ebp - 4]
push 0x4d36ec
push dword [ebp - 8]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404b68
mov edx, dword [ebp - 0x158]
mov eax, dword [ebx + 0x388]
call fcn.00469d04
mov eax, dword [ebp - 8]
mov edx, 0x4d36f8
call fcn.00404bf4
je 0x4d3466
mov eax, dword [ebp - 8]
mov edx, 0x4d3704
call fcn.00404bf4
je 0x4d3466
push dword [ebp - 4]
push 0x4d36ec
push dword [ebp - 8]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404b68
mov eax, dword [ebp - 0x15c]
call fcn.004d0bbc
test al, al
je 0x4d3466
push dword [ebp - 4]
push 0x4d36ec
push dword [ebp - 8]
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.00404b68
mov edx, dword [ebp - 0x160]
mov eax, ebx
call fcn.004d32f8
mov eax, dword [ebx + 0x358]
mov eax, dword [eax + 0x22c]
call fcn.0044fc98
mov edi, eax
dec edi
test edi, edi
jl 0x4d366a
inc edi
xor esi, esi
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489ae4
cmp byte [ebx + 0x3f4], 2
je 0x4d366a
mov eax, dword [ebx + 0x358]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.0044fcc8
call fcn.0044f630
test al, al
je 0x4d3662
mov eax, dword [ebx + 0x358]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.0044fcc8
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x10]
call fcn.00404880
mov edx, dword [ebp - 0x10]
mov eax, 0x4d3710
call fcn.00404dec
test eax, eax
jle 0x4d35e8
lea eax, [ebp - 0x164]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404d08
mov eax, dword [ebp - 0x164]
mov edx, 0x4d371c
call fcn.00404bf4
jne 0x4d35c4
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404d48
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 8]
call fcn.00409954
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x10]
call fcn.00404bf4
jne 0x4d3662
mov edx, dword [0x4d192c]
mov eax, 0xc
call fcn.004056ec
mov edi, eax
mov eax, edi
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404a58
push dword [ebp - 4]
push 0x4d36ec
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404a58
push dword [ebp - 0x16c]
lea eax, [edi + 4]
mov edx, 3
call fcn.00404b68
mov eax, dword [ebp - 0x130]
mov dword [edi + 8], eax
mov edx, edi
mov eax, dword [ebx + 0x3fc]
call fcn.0041a4d8
jmp 0x4d366a
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 8]
call fcn.00409954
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x10]
call fcn.00404bf4
je 0x4d366a
jmp 0x4d3662
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404bf4
jne 0x4d3662
mov edx, dword [0x4d192c]
mov eax, 0xc
call fcn.004056ec
mov edi, eax
mov eax, edi
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404a58
push dword [ebp - 4]
push 0x4d36ec
lea eax, [ebp - 0x174]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404a58
push dword [ebp - 0x174]
lea eax, [edi + 4]
mov edx, 3
call fcn.00404b68
mov eax, dword [ebp - 0x130]
mov dword [edi + 8], eax
mov edx, edi
mov eax, dword [ebx + 0x3fc]
call fcn.0041a4d8
jmp 0x4d366a
inc esi
dec edi
jne 0x4d3485
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4d3368
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d36cb
lea eax, [ebp - 0x174]
mov edx, 9
call fcn.0040480c
lea eax, [ebp - 0x10]
call fcn.004047e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040480c
ret