Function at 0x4d17e8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x4d17f0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046b8
lea edi, [ebp - 0x160]
xor eax, eax
push ebp
push 0x4d1afe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 4]
call fcn.004044c8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404728
mov eax, dword [ebp - 0x164]
mov edx, 0x4d1b14
call fcn.00404614
jne 0x4d1860
mov eax, dword [ebp - 4]
call fcn.004044c8
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404768
mov dl, 1
mov eax, dword [0x4174c4]
call fcn.004033c4
mov ebx, eax
push edi
lea eax, [ebp - 0x168]
mov ecx, 0x4d1b20
mov edx, dword [ebp - 4]
call fcn.00404514
mov eax, dword [ebp - 0x168]
call fcn.004046c8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
setne al
jmp 0x4d198a
lea eax, [ebp - 8]
lea edx, [edi + 0x2c]
mov ecx, 0x104
call fcn.00404478
mov eax, dword [edi]
cmp eax, 0x10
je 0x4d18d3
cmp eax, 2
je 0x4d18d3
cmp eax, 4
je 0x4d18d3
cmp eax, 0x80
je 0x4d18d3
cmp eax, 0x100
jne 0x4d197d
push dword [ebp - 4]
push 0x4d1b14
push dword [ebp - 8]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x16c]
call fcn.00409010
test al, al
je 0x4d1928
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 8]
call fcn.00408774
mov edx, dword [ebp - 0x170]
mov eax, 0x4d1b30
call fcn.0040480c
dec eax
jne 0x4d1928
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [ebp - 4]
push 0x4d1b14
push dword [ebp - 8]
push 0x4d1b3c
lea eax, [ebp - 0x174]
mov edx, 4
call fcn.00404588
mov eax, dword [ebp - 0x174]
call fcn.00409000
test al, al
je 0x4d197d
push dword [ebp - 4]
push 0x4d1b14
push dword [ebp - 8]
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x178]
call fcn.004d1618
push edi
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4d18a0
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4d1a32
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov esi, dword [ebp - 0xc]
inc esi
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, esi
jl 0x4d1a2a
inc eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404614
jbe 0x4d1a24
mov ecx, dword [ebp - 0x14]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea ecx, [ebp - 0x18]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
inc esi
dec dword [ebp - 0x20]
jne 0x4d19d9
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x4d19b8
call fcn.004e78d4
test al, al
je 0x4d1a42
mov esi, 9
jmp 0x4d1a47
mov esi, 2
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x4d1aab
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
cmp esi, dword [ebp - 0x10]
jg 0x4d1aa2
push dword [ebp - 4]
push 0x4d1b14
lea ecx, [ebp - 0x180]
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x17c]
call fcn.004d1618
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4d1a57
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d1c88
mov eax, ebx
call fcn.004033f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1b05
lea eax, [ebp - 0x180]
mov edx, 8
call fcn.0040422c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040422c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040422c
ret