Function at 0x4d6857
Capabilities:
Enumerate files on windows

Disassembly:
push 0x6f4
mov eax, 0x5461c2
call fcn.00506b61
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x498]
mov edi, dword [ebp + 0xc]
push eax
call fcn.004024f0
xor ebx, ebx
lea ecx, [ebp - 0x480]
push edi
mov dword [ebp - 4], ebx
call fcn.004024f0
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.004cd4ec
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 2
push eax
call fcn.004cd2e0
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004cd1cb
add esp, 0x14
lea ecx, [ebp - 0x480]
push eax
call fcn.00404010
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00402590
mov esi, 0x6293b0
push esi
call fcn.004f3a59
pop ecx
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00404290
cmp dword [ebp - 0x484], 8
lea ecx, [ebp - 0x700]
lea eax, [ebp - 0x498]
cmovae eax, dword [ebp - 0x498]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d6b5f
lea eax, [ebp - 0x700]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4d6b5f
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
cmp word [ebp - 0x6d4], ax
jne 0x4d6962
mov eax, ebx
jmp 0x4d696f
lea eax, [ebp - 0x6d4]
push eax
call fcn.004f3a59
pop ecx
push eax
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402650
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.004cd4ec
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.00409360
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.0046d37e
lea eax, [ebp - 0x468]
push eax
call fcn.004cd2e0
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.004cd1cb
add esp, 0xc
lea ecx, [ebp - 0x438]
push eax
call fcn.00404010
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.00402590
push 0x2e
pop eax
cmp word [ebp - 0x6d4], ax
je 0x4d6b03
cmp word [ebp - 0x6d2], 0
je 0x4d6b03
cmp word [ebp - 0x6d2], ax
jne 0x4d6a26
cmp word [ebp - 0x6d0], 0
je 0x4d6b03
test byte [ebp - 0x700], 0x10
jne 0x4d6b03
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004e37a0
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004e37a0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push 0x63d898
push eax
call fcn.00407eb0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004cfe68
lea eax, [ebp - 0x420]
push str..lnk
push eax
call fcn.004f39f7
add esp, 0x34
test eax, eax
jne 0x4d6b03
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004d00ed
cmp dword [ebp - 0x46c], 8
lea ecx, [ebp - 0x480]
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x480]
cmp dword [ebp - 0x43c], 8
push ecx
cmovae eax, dword [ebp - 0x450]
push eax
call fcn.004cce4f
add esp, 0x10
test eax, eax
jne 0x4d6b1a
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00402590
push ebx
push 1
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.00402590
jmp 0x4d6926
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
push edi
call fcn.004f39f7
xor ebx, ebx
test eax, eax
pop ecx
pop ecx
setne bl
lea ecx, [ebp - 0x450]
xor esi, esi
inc ebx
push esi
push 1
call fcn.00402590
push esi
push 1
lea ecx, [ebp - 0x438]
call fcn.00402590
jmp 0x4d6b61
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x468]
call fcn.0046d37e
push esi
push 1
lea ecx, [ebp - 0x480]
call fcn.00402590
push esi
push 1
lea ecx, [ebp - 0x498]
call fcn.00402590
mov eax, ebx
call fcn.00506b0b
ret 8