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

Disassembly:
mov eax, 0x1cd8
call fcn.0049bb40
push ebx
mov ebx, dword [esp + 0x1ce0]
push esi
mov esi, ecx
test ebx, ebx
mov dword [esp + 0xc], esi
jne 0x4c574b
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1cd8
ret 0xc
mov eax, dword [esp + 0x1ce8]
test eax, eax
jge 0x4c5764
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1cd8
ret 0xc
mov dx, word [0x4f5820]
push ebp
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa9a]
mov word [esp + 0xa98], dx
mov word [esp + 0x278], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x27a]
mov ebp, 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 + 0x28]
push ebx
rep stosd dword es:[edi], eax
push str._s.
lea eax, [esp + 0xaa0]
push 0x104
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x28]
lea edx, [esp + 0xa98]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x4c5cfd
jmp 0x4c57f5
mov ebx, dword [esp + 0x1cec]
mov ecx, esi
call fcn.004c48e0
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x54]
push 0x4e51d4
push eax
call edi
add esp, 8
test eax, eax
je 0x4c5cde
lea ecx, [esp + 0x54]
push 0x4e51cc
push ecx
call edi
add esp, 8
test eax, eax
je 0x4c5cde
mov al, byte [esp + 0x28]
test al, 2
jne 0x4c5cde
test al, 0x10
je 0x4c5b8d
mov eax, dword [esp + 0x1cf4]
test eax, eax
je 0x4c5b8d
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x892]
mov word [esp + 0x890], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x54]
stosw word es:[edi], ax
push edx
push 0x4e33c0
lea eax, [esp + 0x898]
push 0x104
push eax
call ebp
mov ecx, dword [esp + 0x1d00]
add esp, 0x10
lea edx, [esp + 0x890]
push 0
push ecx
push 2
push 0
push edx
mov ecx, esi
call fcn.004c4860
mov ebx, eax
cmp ebx, 4
mov dword [esp + 0x18], ebx
jl 0x4c5cde
mov ecx, dword [esp + 0x1cec]
lea eax, [esp + 0x54]
push eax
push ecx
push 0x4e3748
lea edx, [esp + 0x284]
push 0x103
push edx
call ebp
lea eax, [esp + 0x28c]
push 0
push eax
call fcn.004ca180
add esp, 0x1c
lea ecx, [esp + 0x278]
lea edi, [esi + 0x2c]
push ecx
push 0x4e33c0
push 0x103
push edi
call ebp
mov dword [esi + 0x234], ebx
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
lea ebx, [esi + 0x1c]
sub edx, ecx
mov eax, 0x3e88cb3d
imul edx
sar edx, 7
mov eax, edx
add esp, 0x10
shr eax, 0x1f
add edx, eax
mov ebp, ecx
cmp edx, 1
jae 0x4c5a85
mov edi, dword [ebx + 4]
test edi, edi
je 0x4c5957
mov edx, ecx
mov eax, 0x3e88cb3d
sub edx, edi
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov dword [esp + 0x10], edx
ja 0x4c595f
mov dword [esp + 0x10], 1
test edi, edi
jne 0x4c5967
xor edx, edx
jmp 0x4c597a
sub ecx, edi
mov eax, 0x3e88cb3d
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, dword [esp + 0x10]
add eax, edx
test eax, eax
mov dword [esp + 0x24], eax
jge 0x4c598a
xor eax, eax
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*2]
shl edx, 2
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [ebx + 4]
add esp, 4
cmp edi, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
je 0x4c59d5
mov eax, dword [esp + 0x10]
push edi
push eax
call fcn.004c6ef0
mov edx, dword [esp + 0x18]
add edi, 0x20c
add esp, 8
add edx, 0x20c
cmp edi, ebp
mov dword [esp + 0x10], edx
jne 0x4c59af
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x2c]
push eax
push ecx
call fcn.004c6ef0
mov edi, dword [ebx + 8]
add esp, 8
cmp ebp, edi
je 0x4c5a21
mov edx, dword [esp + 0x10]
add edx, 0x20c
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
push ebp
push eax
call fcn.004c6ef0
mov ecx, dword [esp + 0x18]
add ebp, 0x20c
add esp, 8
add ecx, 0x20c
cmp ebp, edi
mov dword [esp + 0x10], ecx
jne 0x4c59fb
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x14], eax
call fcn.0049bb1b
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ecx, eax
add esp, 4
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*2]
lea eax, [edi + edx*4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4c5a54
xor edx, edx
jmp 0x4c5a6a
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x3e88cb3d
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + 1]
mov dword [ebx + 4], edi
mov edx, eax
shl edx, 6
add edx, eax
lea eax, [eax + edx*2]
lea ecx, [edi + eax*4]
mov dword [ebx + 8], ecx
jmp 0x4c5b66
mov edx, ecx
mov eax, 0x3e88cb3d
sub edx, ebp
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x4c5afc
lea edx, [ebp + 0x20c]
push edx
push ecx
push ebp
mov ecx, ebx
call fcn.004c6e80
mov ecx, dword [ebx + 8]
mov eax, 0x3e88cb3d
sub ecx, ebp
push edi
imul ecx
sar edx, 7
mov eax, edx
mov ecx, 1
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 8]
sub ecx, edx
push ecx
push eax
mov ecx, ebx
call fcn.004c6ec0
mov eax, dword [ebx + 8]
cmp ebp, eax
je 0x4c5b5f
mov ecx, 0x83
add esi, 0x2c
mov edi, ebp
add ebp, 0x20c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
cmp ebp, eax
jne 0x4c5ae0
jmp 0x4c5b5f
lea eax, [ecx - 0x20c]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.004c6e80
mov edx, dword [ebx + 8]
lea eax, [edx - 0x20c]
cmp ebp, eax
je 0x4c5b3b
sub eax, 0x20c
sub edx, 0x20c
mov ecx, 0x83
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4c5b1d
mov esi, dword [esp + 0x14]
lea eax, [ebp + 0x20c]
cmp ebp, eax
je 0x4c5b5f
mov ecx, 0x83
add esi, 0x2c
mov edi, ebp
add ebp, 0x20c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
cmp ebp, eax
jne 0x4c5b45
add dword [ebx + 8], 0x20c
mov edx, dword [esp + 0x1cf4]
mov eax, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x27c]
push eax
push ecx
mov ecx, esi
call fcn.004c5720
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
jmp 0x4c5cde
lea edx, [esp + 0x54]
push str..url
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea eax, [esp + eax*2 + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4c5cde
mov eax, dword [esp + 0x1cf4]
test eax, eax
jne 0x4c5cde
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x482]
mov word [esp + 0x480], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x54]
lea edx, [esp + 0x480]
push ecx
push ebx
push 0x4e43d8
push 0x103
push edx
stosw word es:[edi], ax
call ebp
add esp, 0x14
lea eax, [esp + 0x480]
push eax
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 + 0xca2]
mov word [esp + 0xca0], 0
lea edx, [esp + 0xca0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x480]
push ecx
push 0x824
push edx
push 0x4f5820
push 0x4ef740
push str.InternetShortcut
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x68a]
mov word [esp + 0x688], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [esp + 0x54]
push eax
push 0x4e33c0
push str..url
call edi
lea ecx, [esp + 0x60]
mov edx, eax
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0x28]
add esp, 8
sub eax, edx
push eax
lea eax, [esp + 0x694]
push eax
call ebp
mov edx, dword [esp + 0x1d00]
add esp, 0x10
xor ecx, ecx
cmp ebx, 1
sete cl
push ecx
push edx
lea eax, [esp + 0xca8]
push 1
lea ecx, [esp + 0x694]
push eax
push ecx
mov ecx, esi
call fcn.004c4860
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c57ee
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x1cd8
ret 0xc