Function at 0x4b6c80
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x154]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x258]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x154]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], ebp
rep movsb byte es:[edi], byte [esi]
mov edi, str..
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4b6eed
mov ebx, dword [esp + 0x25c]
test byte [esp + 0x14], 0x10
jne 0x4b6ecf
cmp byte [esp + 0x40], 0x2e
je 0x4b6ecf
lea edx, [esp + 0x40]
push str.ntuser.dat
push edx
xor esi, esi
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4b6d52
mov esi, 1
lea eax, [esp + 0x40]
push str..dat
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6d6d
mov esi, 1
lea ecx, [esp + 0x40]
push str..DAT
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6d88
mov esi, 1
lea edx, [esp + 0x40]
push str..Dat
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6da3
mov esi, 1
lea eax, [esp + 0x40]
push str..DAt
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6dbe
mov esi, 1
lea ecx, [esp + 0x40]
push str..ini
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6dd9
mov esi, 1
lea edx, [esp + 0x40]
push str..log
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6df4
mov esi, 1
lea eax, [esp + 0x40]
push str..Ini
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6e0f
mov esi, 1
lea ecx, [esp + 0x40]
push str..INI
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6e2a
mov esi, 1
lea edx, [esp + 0x40]
push str..INi
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6e45
mov esi, 1
lea eax, [esp + 0x40]
push str..LOG
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6e60
mov esi, 1
lea ecx, [esp + 0x40]
push 0x529314
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4b6e7b
mov esi, 1
lea edx, [esp + 0x40]
push 0x529310
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4b6ebf
test esi, esi
jne 0x4b6ebf
mov ecx, dword [esp + 0x258]
lea eax, [esp + 0x40]
push eax
push ecx
push str._s_s
push ebx
call fcn.004f175f
add esp, 0x10
inc ebp
add ebx, 0x100
cmp ebp, 0xfa
je 0x4b6eed
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xfa
mov dword [esp + 0x10], eax
je 0x4b6eed
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4b6d1f
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or edi, 0xffffffff
mov eax, dword [esp + 0x260]
push edi
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0x244
ret