Function at 0x4cae60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
mov eax, dword [0x547570]
push ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov eax, str.Filter2
push ebp
push esi
push edi
test eax, eax
je 0x4caece
mov ecx, eax
shr ecx, 0x10
jne 0x4cae95
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, ax
push edx
call fcn.00413ae0
jmp 0x4caece
push str.Filter2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4caece
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4caece
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.Filter2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x547570]
mov dword [0x55e9b0], 0
mov dword [esp + 0x14], eax
mov ecx, 0x7d00
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4caef6
cmp dword [eax - 4], ecx
jge 0x4caf37
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x4caeff
mov ecx, ebp
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4caf37
mov edi, dword [esp + 0x14]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4caf45
mov ecx, dword [0x55df8c]
mov edx, dword [esp + 0x10]
push ecx
push 0x7d00
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
ja 0x4caf9e
mov eax, 0x54dc38
test eax, eax
je 0x4caf6f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x4caf71
xor esi, esi
push esi
lea ecx, [esp + 0x14]
call fcn.00405660
test eax, eax
je 0x4caf9e
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x54dc38
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor esi, esi
push esi
lea edx, [esp + 0x1c]
push 0x548b44
push edx
call fcn.00405cb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push 0x554e08
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.0048ee40
add esp, 0x1c
lea eax, [esp + 0x28]
push 0x55e9b0
push ecx
mov ecx, esp
push eax
call fcn.00405440
mov eax, dword [0x55e9b0]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx*4 + 0x55e5c8]
push edx
call fcn.004ca4d0
mov eax, dword [esp + 0x34]
mov edx, dword [0x547574]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4cb02d
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4cb02d
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
inc esi
cmp esi, 0x20
jl 0x4cafa6
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4cb052
mov eax, dword [0x55e9b0]
test eax, eax
jne 0x4cb052
push 0
call fcn.004ca4c0
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4cb05f
call fcn.004c98b0
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4cb08a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4cb08a
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4cb0b5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4cb0b5
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4cb0e0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4cb0e0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret