Function at 0x1000e2a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.10039000
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edx, edx
push 0x206
mov dword [ebp - 0x1058], eax
push edx
lea eax, [ebp - 0x104a]
push eax
mov dword [ebp - 0x105c], ecx
mov dword [ebp - 0x1050], 0
mov word [ebp - 0x104c], dx
call fcn.1002a830
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41a]
push edx
mov word [ebp - 0x41c], cx
call fcn.1002a830
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0xc3a]
push ecx
mov word [ebp - 0xc3c], ax
call fcn.1002a830
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0xe42]
push eax
mov word [ebp - 0xe44], dx
call fcn.1002a830
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x212]
push edx
mov word [ebp - 0x214], cx
call fcn.1002a830
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x622]
push ecx
mov word [ebp - 0x624], ax
call fcn.1002a830
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0xa32]
push eax
mov word [ebp - 0xa34], dx
call fcn.1002a830
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x82a]
push edx
mov word [ebp - 0x82c], cx
call fcn.1002a830
add esp, 0xc
push 0x1074bd50
lea eax, [ebp - 0x104c]
push str._s2.ini
push eax
call fcn.10026910
add esp, 0xc
push 0x1074bf58
push str._s2.ini
lea ecx, [ebp - 0x41c]
push ecx
call fcn.10026910
add esp, 0xc
lea edx, [ebp - 0x41c]
push edx
push 0
push 0x10045fd4
push 0x10045fdc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov eax, 1
mov dword [ebp - 0x1054], eax
push eax
lea eax, [ebp - 0xc3c]
push 0x10045fe4
push eax
call fcn.10026910
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
push 0x104
lea edx, [ebp - 0x214]
push edx
push 0x10045a28
lea eax, [ebp - 0xc3c]
push eax
push 0x10045fdc
call esi
cmp word [ebp - 0x214], 0
je 0x1000e572
lea ecx, [ebp - 0x41c]
push ecx
push 0x104
lea edx, [ebp - 0x624]
push edx
push 0x10045a28
lea eax, [ebp - 0x214]
push eax
push str.File
call esi
cmp word [ebp - 0x624], 0
je 0x1000e572
lea ecx, [ebp - 0x41c]
push ecx
push 0x104
lea edx, [ebp - 0xa34]
push edx
push 0x10045a28
lea eax, [ebp - 0x214]
push eax
push str.Check
call esi
cmp word [ebp - 0xa34], 0
je 0x1000e572
lea ecx, [ebp - 0x624]
push ecx
push 0x1074bf58
lea edx, [ebp - 0xe44]
push str._s_s
push edx
call fcn.10026910
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0xe44]
call fcn.1000e770
add esp, 0x14
lea ecx, [ebp - 0x82c]
push ecx
lea edx, [ebp - 0xa34]
push edx
call fcn.10026b57
add esp, 8
test eax, eax
jne 0x1000e572
cmp word [ebp - 0x82c], ax
je 0x1000e572
lea edi, [ebp - 0x624]
lea ebx, [ebp - 0x82c]
lea esi, [ebp - 0xc3c]
call fcn.1000e5a0
test eax, eax
jne 0x1000e572
mov esi, dword [ebp - 0x105c]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x1058]
lea edx, [ecx + eax*4]
push edx
lea eax, [ebp - 0x214]
push 0x10045fe4
push eax
call fcn.10027ffc
add esp, 0xc
inc dword [esi]
mov dword [ebp - 0x1050], 1
mov eax, dword [ebp - 0x1054]
inc eax
mov dword [ebp - 0x1054], eax
cmp eax, 0x20
jl 0x1000e419
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1050]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002656f
mov esp, ebp
pop ebp
ret