Function at 0x409acf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.0045ef40
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x210], ecx
cmp ecx, eax
je 0x409b8c
mov ebx, dword [ecx + 0x14]
lea esi, [ebx + 8]
push esi
call fcn.00462b51
pop ecx
test eax, eax
jle 0x409b74
lea eax, [edi + 0x90]
cmp dword [eax + 0x14], 8
jb 0x409b2d
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5a1294
push esi
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x5a1294
push eax
call fcn.00462b6c
pop ecx
pop ecx
test eax, eax
je 0x409b74
lea eax, [ebp - 0x20c]
push eax
call fcn.0046bbe8
pop ecx
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea ecx, [ebp - 0x210]
call fcn.004554fa
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [eax]
jne 0x409b0e
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x210], ecx
cmp ecx, eax
je 0x409c1b
mov ebx, dword [ecx + 0x14]
lea esi, [ebx + 8]
push esi
call fcn.00462b51
pop ecx
test eax, eax
jle 0x409c03
lea eax, [edi + 0x90]
cmp dword [eax + 0x14], 8
jb 0x409bbc
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5a1294
push esi
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x5a1294
push eax
call fcn.00462b6c
pop ecx
pop ecx
test eax, eax
je 0x409c03
lea eax, [ebp - 0x20c]
push eax
call fcn.0046bbe8
pop ecx
mov ecx, dword [ebx + 4]
mov byte [ecx], al
lea ecx, [ebp - 0x210]
call fcn.004554fa
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [eax]
jne 0x409b9d
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x210], ecx
cmp ecx, eax
je 0x409ca9
mov esi, dword [ecx + 0x14]
lea ebx, [esi + 8]
push ebx
call fcn.00462b51
pop ecx
test eax, eax
jle 0x409c91
lea eax, [edi + 0x90]
cmp dword [eax + 0x14], 8
jb 0x409c4b
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
push ebx
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push str.nothing
push eax
call fcn.00462b6c
pop ecx
pop ecx
test eax, eax
je 0x409c91
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call fcn.00462bac
pop ecx
pop ecx
lea ecx, [ebp - 0x210]
call fcn.004554fa
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [eax]
jne 0x409c2c
mov ecx, edi
call fcn.00409de8
lea eax, [edi + 0xa8]
cmp dword [eax + 0x14], 8
jb 0x409cbe
mov eax, dword [eax]
push eax
push 0x5a0e70
push str.ModifySetConfig
push str.SetModify
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [edi + 0x58]
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x210], esi
cmp esi, eax
je 0x409d18
push dword [esi + 0x10]
mov ecx, edi
call fcn.00407d60
test eax, eax
je 0x409d00
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [edx]
mov dword [ecx], eax
lea ecx, [ebp - 0x210]
call fcn.004554fa
mov eax, dword [edi + 0x58]
mov esi, dword [ebp - 0x210]
cmp esi, dword [eax]
jne 0x409ce5
mov eax, dword [edi + 0x54]
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x210], esi
cmp esi, eax
je 0x409d5c
push dword [esi + 0x10]
mov ecx, edi
call fcn.00407d60
test eax, eax
je 0x409d44
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 4]
mov al, byte [edx]
mov byte [ecx], al
lea ecx, [ebp - 0x210]
call fcn.004554fa
mov eax, dword [edi + 0x54]
mov esi, dword [ebp - 0x210]
cmp esi, dword [eax]
jne 0x409d29
mov esi, 0x92
mov ecx, edi
push esi
call fcn.00407de7
push eax
push esi
mov ecx, edi
call fcn.0040a6ac
dec esi
mov ecx, edi
push esi
call fcn.00407de7
push eax
push esi
mov ecx, edi
call fcn.0040a6ac
mov esi, 0x8f
mov ecx, edi
push esi
call fcn.00407de7
push eax
push esi
mov ecx, edi
call fcn.0040a6ac
inc esi
mov ecx, edi
push esi
call fcn.00407de7
push eax
push esi
mov ecx, edi
call fcn.0040a6ac
mov esi, 0x8d
mov ecx, edi
push esi
call fcn.00407de7
push eax
push esi
mov ecx, edi
call fcn.0040a6ac
inc esi
mov ecx, edi
push esi
call fcn.00407de7
push eax
push esi
mov ecx, edi
call fcn.0040a6ac
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00448575
mov esp, ebp
pop ebp
ret