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

Disassembly:
sub esp, 0x450
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35d]
mov byte [esp + 0x35c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x259]
mov byte [esp + 0x258], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x35c]
stosb byte es:[edi], al
mov eax, dword [esp + 0x464]
push eax
push ecx
call esi
lea edx, [esp + 0x35c]
push str..
push edx
call esi
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x35c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x40], 0x2e
je 0x1002eabb
mov edi, dword [esp + 0x464]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x258]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x258]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x100ff5b4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x258]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x14]
mov ecx, edx
and ecx, 3
test al, 0x10
rep movsb byte es:[edi], byte [esi]
je 0x1002e989
lea eax, [esp + 0x258]
push eax
call fcn.1002e840
add esp, 4
jmp 0x1002eabb
lea ecx, [esp + 0x40]
push str..url
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x1002eabb
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x155]
mov byte [esp + 0x154], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x258]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x158]
push 0x104
push eax
push 0x10130544
push 0x10125724
push str.InternetShortcut
call ebx
lea ecx, [esp + 0x154]
push ecx
call ebp
lea edx, [esp + 0x40]
mov esi, eax
push edx
call ebp
mov ecx, dword [0x1012557c]
mov edx, dword [0x1013386c]
lea eax, [esi + eax + 2]
push edx
lea esi, [ecx + eax]
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x1002ea30
mov eax, dword [0x1013386c]
add esi, 0x400
push 0x42
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [0x1013386c], eax
lea ecx, [esp + 0x40]
push ecx
call ebp
mov edx, dword [0x1013386c]
mov ecx, eax
mov eax, dword [0x1012557c]
inc ecx
lea esi, [esp + 0x40]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x40]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [0x1012557c]
lea edx, [ecx + eax + 1]
lea eax, [esp + 0x154]
push eax
mov dword [0x1012557c], edx
call ebp
mov edx, dword [0x1013386c]
mov ecx, eax
mov eax, dword [0x1012557c]
inc ecx
lea esi, [esp + 0x154]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x154]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [0x1012557c]
lea edx, [ecx + eax + 1]
mov dword [0x1012557c], edx
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1002e8d7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret