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

Disassembly:
mov eax, 0x4441cc
call fcn.0043680c
sub esp, 0x184
push edi
mov edi, ecx
mov dword [ebp - 0x28], edi
cmp dword [edi], 0
je 0x418a0f
push ebx
push esi
mov ebx, edi
mov esi, edi
mov ecx, dword [0x46487c]
call fcn.004045d7
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0
je 0x4189ff
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x418844
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x4189ff
push dword [esi]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0041b919
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str.EINFO.CFG
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00406bba
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004066b3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00406a8a
push eax
push 0xffffffffffffffff
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push 0x44e390
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406bba
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406a8d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00406733
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x14]
push eax
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
push 7
setne al
mov dword [ebp - 0x24], eax
mov al, byte [0x464878]
mov byte [ebp - 0x50], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
push dword [ebp - 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push 0x44e800
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406bba
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00406a8d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00406733
cmp dword [ebp - 0x24], 0
je 0x4189d1
test byte [ebp - 0x190], 0x10
je 0x4189bb
cmp byte [ebp - 0x164], 0x2e
je 0x4189bb
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4189bb
push dword [0x451734]
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4189bb
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406bba
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00406a8a
push eax
call fcn.0040599e
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00406733
lea eax, [ebp - 0x190]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x418947
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00406733
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00406733
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406733
mov edi, dword [ebp - 0x28]
add esi, 4
mov ebx, esi
cmp dword [esi], 0
jne 0x418813
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret