Function at 0x40f607
Capabilities:
Read .ini file

Disassembly:
push 0x38
mov eax, 0x47dbe3
call fcn.0047bc99
mov edi, ecx
mov esi, 0x800
push esi
call fcn.0047bb8b
mov dword [esp], 0x2004
call fcn.0047bb8b
pop ecx
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
mov ebx, 0x402bf4
test eax, eax
je 0x40f65c
push fcn.00401bab
push ebx
push esi
mov dword [eax], esi
add eax, 4
push 4
push eax
mov dword [ebp - 0x28], eax
call fcn.0047be5b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
jmp 0x40f660
and dword [ebp - 0x10], 0
push dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0040d4ed
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x40f870
push 0x2004
call fcn.0047bb8b
pop ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x40f6b1
push fcn.00401bab
push ebx
push esi
mov dword [eax], esi
add eax, 4
push 4
push eax
mov dword [ebp - 0x28], eax
call fcn.0047be5b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x40f6b5
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
push 0x2004
call fcn.0047bb8b
pop ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x40f6ee
push fcn.00401bab
push ebx
push esi
mov dword [eax], esi
add eax, 4
push 4
push eax
mov dword [ebp - 0x28], eax
call fcn.0047be5b
mov esi, dword [ebp - 0x28]
jmp 0x40f6f0
xor esi, esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
lea ebx, [eax + ecx*4 - 4]
push dword [ebx]
mov ecx, edi
push esi
push dword [ebp - 0x18]
call fcn.0040e816
push esi
lea ecx, [ebp - 0x28]
call fcn.0040daa0
mov eax, dword [edi + 0x8cc]
mov ebx, dword [ebx]
push eax
push 0
push str.soft_id
push ebx
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040daa0
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0040daa0
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040daa0
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0040daa0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040c1c1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
push 1
push ebx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0040daa0
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 8
call fcn.0040daa0
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
mov byte [ebp - 4], 9
call fcn.0040daa0
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x38], esp
mov byte [ebp - 4], 0xa
push eax
call fcn.0040daa0
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.0040daa0
push ecx
lea eax, [edi + 0x41c]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.0040daa0
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x47fc50
mov byte [ebp - 4], 0xd
call fcn.0040dad3
push dword [edi + 4]
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0x44c]
call fcn.0040e1d9
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40f82d
push 3
call fcn.0040bb34
test esi, esi
je 0x40f83a
push 3
mov ecx, esi
call fcn.0040bb34
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40f848
push 3
call fcn.0040bb34
lea ecx, [ebp - 0x14]
call fcn.00401bab
lea ecx, [ebp - 0x1c]
call fcn.00401bab
lea ecx, [ebp - 0x20]
call fcn.00401bab
lea ecx, [ebp - 0x24]
call fcn.00401bab
lea ecx, [ebp - 0x28]
call fcn.00401bab
call fcn.0047bd38
ret