Function at 0x4d6cc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd54
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bac
xor eax, eax
push ebp
push 0x4d7110
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x2ac]
mov ecx, 0x4d7128
mov edx, dword [ebp - 4]
call fcn.00404a08
mov eax, dword [ebp - 0x2ac]
call fcn.00404bbc
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
setne al
jmp 0x4d70d1
mov eax, dword [0x4eb718]
cmp byte [eax], 2
je 0x4d70d9
mov eax, dword [0x4eba00]
mov eax, dword [eax]
call fcn.004809e8
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.0040496c
mov eax, dword [ebp - 0x15c]
cmp eax, 0x10
je 0x4d6d9b
cmp eax, 2
je 0x4d6d9b
cmp eax, 4
je 0x4d6d9b
cmp eax, 0x80
je 0x4d6d9b
cmp eax, 0x100
je 0x4d6d9b
cmp eax, 0x13
je 0x4d6d9b
cmp eax, 0x20
je 0x4d6d9b
cmp eax, 0x16
jne 0x4d70bb
mov eax, dword [ebp - 0x10]
mov edx, 0x4d7138
call fcn.00404b08
je 0x4d70bb
mov eax, dword [ebp - 0x10]
mov edx, 0x4d7144
call fcn.00404b08
je 0x4d70bb
cmp dword [ebp + 8], 1
jne 0x4d6f3e
mov eax, dword [ebp + 0xc]
call fcn.004975dc
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
mov byte [eax + 0xc], 1
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x13
mov edx, 0x4d7150
call fcn.00404750
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
mov dword [eax + 0xe], 6
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x1f
mov edx, 0x4d7160
call fcn.00404750
push dword [ebp - 4]
push 0x4d7178
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x3b
mov edx, 3
call fcn.00404a7c
push dword [ebp - 4]
push 0x4d7178
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x2f
mov edx, 3
call fcn.00404a7c
inc dword [ebp - 0x1c]
push dword [ebp - 4]
push 0x4d7178
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a7c
mov eax, dword [ebp - 0x14]
call fcn.004093e8
test al, al
je 0x4d6f2d
xor eax, eax
push ebp
push 0x4d6f12
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x2a8]
call fcn.00402e44
mov edx, 1
lea eax, [ebp - 0x2a8]
call fcn.004032e8
call fcn.004028bc
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x4b
push eax
lea eax, [ebp - 0x2a8]
call fcn.00403158
call fcn.004028bc
pop edx
mov dword [edx], eax
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
mov eax, dword [eax + 0x4b]
mov edx, dword [0x4ebbd0]
add dword [edx], eax
lea eax, [ebp - 0x2a8]
call fcn.00402fb4
call fcn.004028bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d6f2d
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004c8cf4
cmp dword [ebp + 8], 2
jne 0x4d70bb
mov eax, dword [ebp + 0xc]
call fcn.004975dc
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
mov byte [eax + 0xc], 1
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x13
mov edx, 0x4d7150
call fcn.00404750
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x1f
mov edx, 0x4d7184
call fcn.00404750
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
mov dword [eax + 0xe], 9
push dword [ebp - 4]
push 0x4d7178
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x47
mov edx, 3
call fcn.00404a7c
push dword [ebp - 4]
push 0x4d7178
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x2f
mov edx, 3
call fcn.00404a7c
inc dword [ebp - 0x1c]
push dword [ebp - 4]
push 0x4d7178
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a7c
mov eax, dword [ebp - 0x14]
call fcn.004093e8
test al, al
je 0x4d70aa
xor eax, eax
push ebp
push 0x4d708f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x2a8]
call fcn.00402e44
mov edx, 1
lea eax, [ebp - 0x2a8]
call fcn.004032e8
call fcn.004028bc
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
add eax, 0x4b
push eax
lea eax, [ebp - 0x2a8]
call fcn.00403158
call fcn.004028bc
pop edx
mov dword [edx], eax
mov edx, ebx
mov eax, dword [ebp + 0xc]
call fcn.004975f0
mov eax, dword [eax + 0x4b]
mov edx, dword [0x4ebbd0]
add dword [edx], eax
lea eax, [ebp - 0x2a8]
call fcn.00402fb4
call fcn.004028bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d70aa
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004c8cf4
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4d6d38
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7117
lea eax, [ebp - 0x2ac]
call fcn.004046fc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404720
lea eax, [ebp - 4]
call fcn.004046fc
ret