Function at 0x41b3ad
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x274], 0
push ebx
push esi
mov dword [ebp - 0x25c], eax
xor ebx, ebx
and dword [ebp - 0x258], ebx
mov eax, 0x400000
push edi
push eax
mov dword [ebp - 0x27c], edx
xor esi, esi
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x288], eax
call fcn.004c8d06
mov edi, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x28c], edi
pop ecx
test edi, edi
je 0x41b656
lea eax, [ebp - 0x25c]
push eax
call fcn.004cf4fc
mov dword [esp], str..sml
lea ecx, [eax + 0xc]
push dword [ecx]
lea edx, [eax + 0x10]
mov dword [ebp - 0x26c], ecx
add eax, 0x14
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x260], eax
mov eax, dword [edx]
inc eax
push eax
mov eax, dword [ebp - 0x260]
mov eax, dword [eax]
add eax, 0x76c
push eax
push dword [ebp - 0x264]
lea eax, [ebp - 0x114]
push str._s_04d_02d_02d_s
push eax
call fcn.00402a6e
add esp, 0x1c
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x41b64b
mov edi, dword [ebp - 0x258]
push dword [ebp - 0x23c]
push dword [ebp - 0x240]
call fcn.0041b389
pop ecx
pop ecx
cmp eax, dword [ebp + 8]
jb 0x41b53e
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x26c]
push dword [eax]
mov eax, dword [ebp - 0x270]
mov eax, dword [eax]
inc eax
push eax
mov eax, dword [ebp - 0x260]
mov eax, dword [eax]
add eax, 0x76c
push eax
push dword [ebp - 0x264]
lea eax, [ebp - 0x114]
push str._s_04d_02d_02d_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov dword [ebp - 0x258], eax
cmp esi, edi
jb 0x41b523
add edi, 0x20
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.004cf030
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x258]
pop ecx
inc eax
push eax
call fcn.004c8d06
pop ecx
lea ecx, [ebp - 0x114]
mov dword [ebx + esi*4], eax
push ecx
push eax
call fcn.004c99d0
pop ecx
pop ecx
inc esi
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b4a2
push dword [ebp - 0x268]
mov dword [ebp - 0x258], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
add dword [ebp - 0x25c], 0x15180
lea eax, [ebp - 0x25c]
push eax
call fcn.004cf4fc
mov dword [esp], str..sml
lea ecx, [eax + 0xc]
push dword [ecx]
lea edx, [eax + 0x10]
mov dword [ebp - 0x26c], ecx
add eax, 0x14
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x260], eax
mov eax, dword [edx]
inc eax
push eax
mov eax, dword [ebp - 0x260]
mov eax, dword [eax]
add eax, 0x76c
push eax
push dword [ebp - 0x264]
lea eax, [ebp - 0x114]
push str._s_04d_02d_02d_s
push eax
call fcn.00402a6e
add esp, 0x1c
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
jne 0x41b4a2
mov edi, dword [ebp - 0x278]
test esi, esi
je 0x41b640
lea edi, [ebx - 4]
mov ebx, dword [ebp - 0x27c]
lea edi, [edi + esi*4]
mov ecx, dword [edi]
lea eax, [ebp - 0x28c]
push eax
mov edx, ebx
call fcn.0041b2b6
pop ecx
push dword [edi]
mov dword [ebp - 0x274], eax
call fcn.004c8ceb
and dword [edi], 0
lea edi, [edi - 4]
pop ecx
sub esi, 1
jne 0x41b60a
mov edi, dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x258]
test ebx, ebx
je 0x41b64b
push ebx
call fcn.004c8ceb
pop ecx
test edi, edi
je 0x41b656
push edi
call fcn.004c8ceb
pop ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x274]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0049d307
leave
ret