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

Disassembly:
mov eax, 0x444578
call fcn.004361ac
sub esp, 0x184
push edi
mov edi, ecx
mov dword [ebp - 0x28], edi
cmp dword [edi], 0
je 0x41838f
push ebx
push esi
mov ebx, edi
mov esi, edi
mov ecx, dword [0x4629dc]
call fcn.00404548
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0
je 0x41837f
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x4181c4
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x41837f
push dword [esi]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0041b299
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str.EINFO.CFG
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00406a74
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040656d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00406944
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 0x44d338
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406947
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004065ed
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x14]
push eax
call fcn.00406944
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 [0x4629d8]
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 0x44d7a8
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.00406a74
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00406947
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004065ed
cmp dword [ebp - 0x24], 0
je 0x418351
test byte [ebp - 0x190], 0x10
je 0x41833b
cmp byte [ebp - 0x164], 0x2e
je 0x41833b
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41833b
push dword [0x4502f4]
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41833b
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406a74
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00406944
push eax
call fcn.00405858
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004065ed
lea eax, [ebp - 0x190]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4182c7
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004065ed
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004065ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004065ed
mov edi, dword [ebp - 0x28]
add esi, 4
mov ebx, esi
cmp dword [esi], 0
jne 0x418193
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret