Function at 0x4cee40
Capabilities:
Enumerate files on windows
Enumerate files recursively
Read .ini file

Disassembly:
mov eax, 0x1cc8
call fcn.004ace40
push ebx
mov ebx, dword [esp + 0x1cd0]
test ebx, ebx
mov dword [esp + 4], ecx
jne 0x4cee67
or eax, 0xffffffff
pop ebx
add esp, 0x1cc8
ret 0xc
mov eax, dword [esp + 0x1cd4]
test eax, eax
jge 0x4cee7f
or eax, 0xffffffff
pop ebx
add esp, 0x1cc8
ret 0xc
mov dx, word [0x50fce0]
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x87e]
mov word [esp + 0x87c], dx
mov word [esp + 0xa84], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa86]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
push str._s.
lea eax, [esp + 0x884]
push 0x104
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x14]
lea edx, [esp + 0x87c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x4cf160
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov eax, dword [esp + 0x1ce4]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004ce860
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x44]
push 0x4f853c
push ecx
call edi
add esp, 8
test eax, eax
je 0x4cf13c
lea edx, [esp + 0x44]
push 0x4f8534
push edx
call edi
add esp, 8
test eax, eax
je 0x4cf13c
mov al, byte [esp + 0x18]
test al, 2
jne 0x4cf13c
test al, 0x10
je 0x4cf003
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x472]
mov word [esp + 0x470], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x470]
push eax
push 0x4f6574
push 0x104
push ecx
call esi
mov edx, dword [esp + 0x1cf0]
add esp, 0x10
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x470]
push 0
push 0
push 2
push edx
push 0
push 0
push eax
call fcn.004cc510
mov edi, eax
cmp edi, 4
jl 0x4cf13c
lea ecx, [esp + 0x44]
lea edx, [esp + 0xa88]
push ecx
push ebx
push 0x4f6a74
push 0x103
push edx
call esi
mov ecx, dword [esp + 0x24]
add esp, 0x14
lea eax, [esp + 0xa88]
push 0
push edi
push eax
call fcn.004cee40
jmp 0x4cf13c
lea ecx, [esp + 0x44]
push str..url
push ecx
call ebp
add esp, 4
lea edx, [esp + eax*2 + 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4cf13c
mov ecx, 0x81
lea edi, [esp + 0x26a]
mov word [esp + 0x268], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x268]
push eax
push ebx
push 0x4f6608
push 0x103
push ecx
call esi
add esp, 0x14
lea edx, [esp + 0x268]
push edx
push 0
push str.BEST
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xc92]
mov word [esp + 0xc90], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x268]
lea ecx, [esp + 0xc90]
push eax
push 0x824
push ecx
push 0x50fce0
push 0x509620
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x67a]
mov word [esp + 0x678], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x44]
push edx
push 0x4f6574
push str..url
stosw word es:[edi], ax
call ebp
mov edi, eax
lea eax, [esp + 0x50]
push eax
call ebp
add esp, 8
sub eax, edi
lea ecx, [esp + 0x680]
push eax
push ecx
call esi
mov eax, dword [esp + 0x1cf0]
add esp, 0x10
xor edx, edx
cmp ebx, 1
sete dl
push 0
push edx
push 1
push eax
lea ecx, [esp + 0xca0]
push 0
lea edx, [esp + 0x68c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.004cc510
mov ebx, dword [esp + 0x1cdc]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4cef0e
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1cc8
ret 0xc