Function at 0x1002f64c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10288294]
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.10079740
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x210], ecx
cmp ecx, eax
je 0x1002f71c
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x214], eax
lea ebx, [eax + 0xc]
push ebx
call fcn.1008133f
pop ecx
test eax, eax
jle 0x1002f700
lea eax, [edi + 0x78]
cmp dword [eax + 0x14], 8
jb 0x1002f6b7
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x101e8f60
push ebx
push str.Setting
call esi
lea eax, [ebp - 0x20c]
push 0x101e8f60
push eax
call fcn.100875a3
pop ecx
pop ecx
test eax, eax
je 0x1002f700
lea eax, [ebp - 0x20c]
push eax
call fcn.10088846
pop ecx
mov ecx, dword [ebp - 0x214]
mov ecx, dword [ecx + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x210]
call fcn.1006e15c
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [eax]
jne 0x1002f695
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x210], ecx
cmp ecx, eax
je 0x1002f7b8
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x214], eax
lea ebx, [eax + 0xc]
push ebx
call fcn.1008133f
pop ecx
test eax, eax
jle 0x1002f79c
lea eax, [edi + 0x78]
cmp dword [eax + 0x14], 8
jb 0x1002f753
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x101e8f60
push ebx
push str.Setting
call esi
lea eax, [ebp - 0x20c]
push 0x101e8f60
push eax
call fcn.100875a3
pop ecx
pop ecx
test eax, eax
je 0x1002f79c
lea eax, [ebp - 0x20c]
push eax
call fcn.10088846
pop ecx
mov ecx, dword [ebp - 0x214]
mov ecx, dword [ecx + 8]
mov byte [ecx], al
lea ecx, [ebp - 0x210]
call fcn.1006e15c
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [eax]
jne 0x1002f731
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x210], ecx
cmp ecx, eax
je 0x1002f842
mov ebx, dword [ecx + 0x14]
lea eax, [ebx + 0xc]
push eax
call fcn.1008133f
pop ecx
test eax, eax
jle 0x1002f82a
lea eax, [edi + 0x78]
cmp dword [eax + 0x14], 8
jb 0x1002f7e5
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebx + 0xc]
push eax
push str.Setting
call esi
lea eax, [ebp - 0x20c]
push str.nothing
push eax
call fcn.100875a3
pop ecx
pop ecx
test eax, eax
je 0x1002f82a
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 8]
call fcn.1008131d
pop ecx
pop ecx
lea ecx, [ebp - 0x210]
call fcn.1006e15c
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [eax]
jne 0x1002f7c9
mov ecx, edi
call fcn.1002f9dd
lea eax, [edi + 0x90]
cmp dword [eax + 0x14], 8
jb 0x1002f857
mov eax, dword [eax]
push eax
push 0x101e55f4
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 0x1002f8b1
push dword [esi + 0x10]
mov ecx, edi
call fcn.1002de1a
test eax, eax
je 0x1002f899
mov edx, dword [eax + 8]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [edx]
mov dword [ecx], eax
lea ecx, [ebp - 0x210]
call fcn.1006e15c
mov eax, dword [edi + 0x58]
mov esi, dword [ebp - 0x210]
cmp esi, dword [eax]
jne 0x1002f87e
mov eax, dword [edi + 0x54]
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x210], esi
cmp esi, eax
je 0x1002f8f5
push dword [esi + 0x10]
mov ecx, edi
call fcn.1002de1a
test eax, eax
je 0x1002f8dd
mov edx, dword [eax + 8]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov al, byte [edx]
mov byte [ecx], al
lea ecx, [ebp - 0x210]
call fcn.1006e15c
mov eax, dword [edi + 0x54]
mov esi, dword [ebp - 0x210]
cmp esi, dword [eax]
jne 0x1002f8c2
call fcn.100770de
xor ebx, ebx
mov ecx, eax
push ebx
push 0x85
mov edx, dword [eax]
call dword [edx + 8]
mov esi, eax
call fcn.10076fa1
push esi
push 0xe
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
call fcn.100770de
push ebx
push 0x84
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, eax
call fcn.10076fa1
push esi
push 0xd
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
call fcn.100770de
push ebx
push 0x82
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, eax
call fcn.10076fa1
push esi
push 0xb
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
call fcn.100770de
push ebx
push 0x83
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, eax
call fcn.10076fa1
push esi
push 0xc
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
call fcn.100770de
push ebx
push 0x80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, eax
call fcn.10076fa1
push esi
push 9
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
call fcn.100770de
push ebx
push 0x81
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, eax
call fcn.10076fa1
push esi
push 0xa
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d919
mov esp, ebp
pop ebp
ret