Function at 0x4d673c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
lea eax, [ebp - 4]
call fcn.00404fc4
xor eax, eax
push ebp
push 0x4d69d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 4]
call fcn.004c4098
test al, al
je 0x4d6845
xor eax, eax
push ebp
push 0x4d6836
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00477fa8
mov eax, dword [edi + 0x50c]
mov edx, dword [ebp - 4]
call fcn.004c3f14
mov eax, dword [edi + 0x50c]
call fcn.004c3e2c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4d6829
inc ebx
xor esi, esi
mov eax, dword [edi + 0x50c]
mov edx, esi
call fcn.004c3f44
lea edx, [ebp - 0xc]
call fcn.004c3bbc
lea eax, [ebp - 0x260]
mov edx, dword [ebp - 0xc]
call fcn.00404570
mov eax, dword [ebp - 0x260]
call fcn.0049b8d8
test al, al
je 0x4d6825
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4d67e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d68ec
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
mov ecx, 0x4d69e4
mov edx, dword [ebp - 4]
call fcn.00404c88
mov eax, dword [ebp - 0x264]
call fcn.00404c0c
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d68df
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.00404b74
lea eax, [ebp - 0x268]
mov edx, dword [ebp - 0xc]
call fcn.00404570
mov eax, dword [ebp - 0x268]
call fcn.0049b8d8
test al, al
je 0x4d68c8
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404c88
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x25c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4d6877
push ebx
call sub.kernel32.dll_FindClose_1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x9c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4d6970
lea edx, [ebp - 0x270]
mov eax, dword [ebp - 4]
call fcn.00473ffc
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0xc]
call fcn.00404b90
lea eax, [ebp - 0x274]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404db8
mov eax, dword [ebp - 0x274]
mov edx, 0x4d69f0
call fcn.00404d34
jne 0x4d6953
lea eax, [ebp - 0xc]
mov ecx, 4
mov edx, 1
call fcn.00404e04
mov eax, dword [0x4e642c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.004c4ffc
mov eax, dword [0x4e642c]
mov eax, dword [eax]
mov dl, 1
call fcn.004c4fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d69d7
lea eax, [ebp - 0x274]
call fcn.004049c8
lea eax, [ebp - 0x270]
call fcn.004042bc
lea eax, [ebp - 0x26c]
call fcn.004049c8
lea eax, [ebp - 0x268]
call fcn.004042bc
lea eax, [ebp - 0x264]
call fcn.004049c8
lea eax, [ebp - 0x260]
call fcn.004042bc
lea eax, [ebp - 0xc]
call fcn.004049c8
lea eax, [ebp - 4]
call fcn.004049c8
ret