Function at 0x4d3d1c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd90
push ebx
push esi
push edi
xor ebx, 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.00404fb4
xor eax, eax
push ebp
push 0x4d3f88
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.004c1b6c
test al, al
je 0x4d3e1f
xor eax, eax
push ebp
push 0x4d3e10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00477f04
mov eax, dword [edi + 0x4ec]
mov edx, dword [ebp - 4]
call fcn.004c19e8
mov eax, dword [edi + 0x4ec]
call fcn.004c1904
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4d3e03
inc ebx
xor esi, esi
mov eax, dword [edi + 0x4ec]
mov edx, esi
call fcn.004c1a18
lea edx, [ebp - 0xc]
call fcn.004c1694
lea eax, [ebp - 0x260]
mov edx, dword [ebp - 0xc]
call fcn.00404560
mov eax, dword [ebp - 0x260]
call fcn.004999c0
test al, al
je 0x4d3dff
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 0x4d3dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d3ec6
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
mov ecx, 0x4d3f9c
mov edx, dword [ebp - 4]
call fcn.00404c78
mov eax, dword [ebp - 0x264]
call fcn.00404bfc
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d3eb9
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.00404b64
lea eax, [ebp - 0x268]
mov edx, dword [ebp - 0xc]
call fcn.00404560
mov eax, dword [ebp - 0x268]
call fcn.004999c0
test al, al
je 0x4d3ea2
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404c78
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 0x4d3e51
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 0x4d3f39
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00473df8
lea eax, [ebp - 0x270]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404da8
mov eax, dword [ebp - 0x270]
mov edx, 0x4d3fa8
call fcn.00404d24
jne 0x4d3f1c
lea eax, [ebp - 0xc]
mov ecx, 4
mov edx, 1
call fcn.00404df4
mov eax, dword [0x4e32e8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.004c2a44
mov eax, dword [0x4e32e8]
mov eax, dword [eax]
mov dl, 1
call fcn.004c2a1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3f8f
lea eax, [ebp - 0x270]
mov edx, 2
call fcn.004049d0
lea eax, [ebp - 0x268]
call fcn.004042bc
lea eax, [ebp - 0x264]
call fcn.004049b8
lea eax, [ebp - 0x260]
call fcn.004042bc
lea eax, [ebp - 0xc]
call fcn.004049b8
lea eax, [ebp - 4]
call fcn.004049b8
ret