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

Disassembly:
mov eax, 0x1cd8
call fcn.004ace40
push ebx
mov ebx, dword [esp + 0x1ce0]
push esi
mov esi, ecx
test ebx, ebx
mov dword [esp + 0xc], esi
jne 0x4d689b
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1cd8
ret 0xc
mov eax, dword [esp + 0x1ce8]
test eax, eax
jge 0x4d68b4
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1cd8
ret 0xc
mov dx, word [0x50fce0]
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 0x4d6e51
jmp 0x4d6945
mov ebx, dword [esp + 0x1cec]
mov ecx, esi
call fcn.004d5a00
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x54]
push 0x4f853c
push eax
call edi
add esp, 8
test eax, eax
je 0x4d6e32
lea ecx, [esp + 0x54]
push 0x4f8534
push ecx
call edi
add esp, 8
test eax, eax
je 0x4d6e32
mov al, byte [esp + 0x28]
test al, 2
jne 0x4d6e32
test al, 0x10
je 0x4d6cdf
mov eax, dword [esp + 0x1cf4]
test eax, eax
je 0x4d6cdf
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 0x4f6574
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 0
push ecx
push 2
push 0
push edx
mov ecx, esi
call fcn.004d58b0
mov ebx, eax
cmp ebx, 4
mov dword [esp + 0x18], ebx
jl 0x4d6e32
mov ecx, dword [esp + 0x1cec]
lea eax, [esp + 0x54]
push eax
push ecx
push 0x4f6a74
lea edx, [esp + 0x284]
push 0x103
push edx
call ebp
lea eax, [esp + 0x28c]
push 0
push eax
call fcn.004db580
add esp, 0x1c
lea ecx, [esp + 0x278]
lea edi, [esi + 0x30]
push ecx
push 0x4f6574
push 0x103
push edi
call ebp
mov dword [esi + 0x238], ebx
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
lea ebx, [esi + 0x20]
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 0x4d6bd7
mov edi, dword [ebx + 4]
test edi, edi
je 0x4d6aa9
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 0x4d6ab1
mov dword [esp + 0x10], 1
test edi, edi
jne 0x4d6ab9
xor edx, edx
jmp 0x4d6acc
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 0x4d6adc
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 0x4d6b27
mov eax, dword [esp + 0x10]
push edi
push eax
call fcn.004d81e0
mov edx, dword [esp + 0x18]
add edi, 0x20c
add esp, 8
add edx, 0x20c
cmp edi, ebp
mov dword [esp + 0x10], edx
jne 0x4d6b01
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x30]
push eax
push ecx
call fcn.004d81e0
mov edi, dword [ebx + 8]
add esp, 8
cmp ebp, edi
je 0x4d6b73
mov edx, dword [esp + 0x10]
add edx, 0x20c
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
push ebp
push eax
call fcn.004d81e0
mov ecx, dword [esp + 0x18]
add ebp, 0x20c
add esp, 8
add ecx, 0x20c
cmp ebp, edi
mov dword [esp + 0x10], ecx
jne 0x4d6b4d
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x14], eax
call fcn.004ace19
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 0x4d6ba6
xor edx, edx
jmp 0x4d6bbc
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 0x4d6cb8
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 0x4d6c4e
lea edx, [ebp + 0x20c]
push edx
push ecx
push ebp
mov ecx, ebx
call fcn.004d80f0
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.004d8130
mov eax, dword [ebx + 8]
cmp ebp, eax
je 0x4d6cb1
mov ecx, 0x83
add esi, 0x30
mov edi, ebp
add ebp, 0x20c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
cmp ebp, eax
jne 0x4d6c32
jmp 0x4d6cb1
lea eax, [ecx - 0x20c]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.004d80f0
mov edx, dword [ebx + 8]
lea eax, [edx - 0x20c]
cmp ebp, eax
je 0x4d6c8d
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 0x4d6c6f
mov esi, dword [esp + 0x14]
lea eax, [ebp + 0x20c]
cmp ebp, eax
je 0x4d6cb1
mov ecx, 0x83
add esi, 0x30
mov edi, ebp
add ebp, 0x20c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
cmp ebp, eax
jne 0x4d6c97
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.004d6870
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
jmp 0x4d6e32
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 0x4d6e32
mov eax, dword [esp + 0x1cf4]
test eax, eax
jne 0x4d6e32
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 0x4f76fc
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 0x50fce0
push 0x509620
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 0x4f6574
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 0
push ecx
push edx
lea eax, [esp + 0xcac]
push 1
lea ecx, [esp + 0x698]
push eax
push ecx
mov ecx, esi
call fcn.004d58b0
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d693e
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