Function at 0x40ad20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43730c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
push ebx
push ebp
mov dword [esp + 0x14], ecx
push esi
add ecx, 0x104
push edi
push ecx
lea ecx, [esp + 0x18]
call fcn.0042c6ee
xor ebp, ebp
push str.Filter.ini
lea ecx, [esp + 0x18]
mov dword [esp + 0x844], ebp
call fcn.0042ca54
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x840], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x840], 2
call sub.MFC42.DLL_CString::CString_1
push ebp
lea eax, [esp + 0x14]
push str.Filter_d
push eax
mov byte [esp + 0x84c], 3
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x438]
push ecx
push 0x400
push edx
push 0x44adc0
push str.Name
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x438]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40af8b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x438]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push 0
push 0x448c98
push eax
call ebx
test eax, eax
mov dword [esp + 0x28], eax
jle 0x40af8b
cmp eax, 5
jg 0x40af8b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push 0
push 0x448c94
push edx
call ebx
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x40af8b
cmp eax, 5
jg 0x40af8b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0
push str.Bias
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
push edx
push 0
push str.Division
push eax
call ebx
mov ecx, dword [esp + 0x2c]
xor esi, esi
imul ecx, dword [esp + 0x28]
test ecx, ecx
mov dword [esp + 0x34], eax
jle 0x40aed0
lea edi, [esp + 0x38]
push esi
push ebp
lea edx, [esp + 0x20]
push str.Filter_dData_d
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 0x10
push eax
push 0
push ecx
push edx
call ebx
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
imul eax, dword [esp + 0x28]
inc esi
add edi, 4
cmp esi, eax
jl 0x40ae96
sub esp, 0x414
lea ecx, [esp + 0x438]
mov dword [esp + 0x434], esp
mov esi, esp
push ecx
mov ecx, esi
call fcn.0042c6ee
mov edx, dword [esp + 0x43c]
lea edi, [esi + 0x14]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x440]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x444]
mov eax, dword [esp + 0x430]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x448]
mov ecx, 0x100
mov dword [esi + 0x10], edx
lea esi, [esp + 0x44c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x14c]
call fcn.0040c250
inc ebp
lea ecx, [esp + 0x10]
push ebp
push str.Filter_d
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x438]
push edx
push 0x400
push eax
push 0x44adc0
push str.Name
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x438]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40adf4
lea ecx, [esp + 0x24]
mov byte [esp + 0x840], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x840], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x840], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x840], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x838]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x834
ret