Function at 0x41ee28
Capabilities:
Enumerate files on windows
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402b70
push 0x45db24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x2e8c
call fcn.0045da90
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x41ee65
xor eax, eax
jmp 0x41ee6d
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
mov edx, dword [ebp + 0xc]
cmp edx, eax
jge 0x41ef79
mov ebx, edx
shl ebx, 2
cmp dword [ebx + ecx], 0
je 0x41ef79
mov edi, dword [ebx + ecx]
mov dword [ebp - 0x820], edi
cmp word [edi], 0x2a
jne 0x41eec4
push 0x800
lea eax, [ebp - 0x818]
push eax
add edi, 2
push edi
call fcn.00424e92
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
mov ecx, 0x4776b0
call fcn.004193af
jmp 0x41f1ea
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
cmp word [edi + eax*2 - 2], 0x5c
jne 0x41f11d
xor esi, esi
cmp dword [0x47531c], esi
je 0x41ef24
push esi
push esi
push 0xbb
call fcn.00424eff
pop ecx
push eax
mov ebx, 0x45fc60
mov ecx, ebx
call fcn.00412078
push dword [0x5341b4]
mov ecx, ebx
call fcn.004120e8
mov dword [ebp - 0xc80], eax
mov ecx, ebx
call fcn.004120d4
mov dword [0x47531c], eax
cmp dword [ebp - 0xc80], 1
jne 0x41ef79
or dword [ebp - 0xc7c], 0xffffffff
push 0x40aaf0
push edi
push 0x40aae4
push 0x104
lea eax, [ebp - 0xc78]
push eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
call ebx
add esp, 0x14
mov word [ebp - 0xa72], si
mov dword [ebp - 4], esi
lea eax, [ebp - 0xa70]
push eax
lea eax, [ebp - 0xc78]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc7c], eax
cmp eax, 0xffffffff
jne 0x41ef8a
or dword [ebp - 4], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
mov esi, 0x800
push 0x40aae0
lea eax, [ebp - 0xa44]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
je 0x41f0c8
push 0x40aad8
lea eax, [ebp - 0xa44]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
je 0x41f0c8
test byte [ebp - 0xa70], 0x10
jne 0x41f0c8
lea eax, [ebp - 0xa44]
push eax
push edi
push 0x40aae4
push 0x104
lea eax, [ebp - 0xe88]
push eax
call ebx
add esp, 0x14
and word [ebp - 0xc82], 0
lea eax, [ebp - 0xe88]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
jne 0x41f0c8
and byte [ebp - 0x818], 0
and word [ebp - 0x1e88], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1e86]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xe88]
push eax
call fcn.00426f64
pop ecx
test eax, eax
lea eax, [ebp - 0xe88]
push eax
je 0x41f07d
push esi
lea eax, [ebp - 0x1e88]
push eax
push 0x4605b4
push 0x40aa4c
push 0x40aa28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x1e88]
push eax
call fcn.00424e92
add esp, 0xc
jmp 0x41f0b2
call fcn.00426f05
pop ecx
test eax, eax
je 0x41f0b2
push esi
lea eax, [ebp - 0x1e88]
push eax
lea eax, [ebp - 0xe88]
push eax
call fcn.00427511
push esi
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x1e88]
push eax
call fcn.00424e92
add esp, 0x18
push 1
lea eax, [ebp - 0x818]
push eax
call fcn.00420e9b
pop ecx
pop ecx
mov edi, dword [ebp - 0x820]
lea eax, [ebp - 0xa70]
push eax
push dword [ebp - 0xc7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ef8f
push dword [ebp - 0xc7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0xc7c], 0xffffffff
or dword [ebp - 4], 0xffffffff
jmp 0x41f1ea
mov edx, dword [esi + 4]
cmp dword [ebx + edx], 0
je 0x41f1ea
and byte [ebp - 0x818], 0
and word [ebp - 0x2e88], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x2e86]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [ebx + edx]
call fcn.00426f64
pop ecx
test eax, eax
je 0x41f198
mov eax, dword [esi + 4]
push dword [ebx + eax]
mov esi, 0x800
push esi
lea eax, [ebp - 0x2e88]
push eax
push 0x4605b4
push 0x40aa4c
push 0x40aa28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x2e88]
push eax
call fcn.00424e92
add esp, 0xc
jmp 0x41f1da
mov esi, dword [esi + 4]
push dword [ebx + esi]
call fcn.00426f05
pop ecx
test eax, eax
je 0x41f1da
mov esi, 0x800
push esi
lea eax, [ebp - 0x2e88]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push dword [ebx + eax]
call fcn.00427511
push esi
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x2e88]
push eax
call fcn.00424e92
add esp, 0x18
push 0
lea eax, [ebp - 0x818]
push eax
call fcn.00420e9b
pop ecx
pop ecx
push 1
pop eax
jmp 0x41ef7b