Function at 0x40ba06
Capabilities:
Read .ini file

Disassembly:
push 0x3c
mov eax, 0x46c4c4
call fcn.00454b95
mov edi, ecx
mov ebx, 0x800
push ebx
call fcn.0044d9cd
mov dword [esp], 0x2004
call fcn.0044d9cd
pop ecx
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
test eax, eax
mov esi, 0x409715
je 0x40ba5b
push fcn.00409720
push esi
push ebx
mov dword [eax], ebx
add eax, 4
push 4
push eax
mov dword [ebp - 0x2c], eax
call fcn.0044fcb9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
jmp 0x40ba5f
and dword [ebp - 0x10], 0
push dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0040bdbe
test eax, eax
mov dword [ebp - 0x28], eax
jle 0x40bc6a
push 0x2004
call fcn.0044d9cd
pop ecx
mov dword [ebp - 0x30], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x40bab0
push fcn.00409720
push esi
push ebx
mov dword [eax], ebx
add eax, 4
push 4
push eax
mov dword [ebp - 0x2c], eax
call fcn.0044fcb9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
jmp 0x40bab4
and dword [ebp - 0x1c], 0
or dword [ebp - 4], 0xffffffff
push 0x2004
call fcn.0044d9cd
pop ecx
mov dword [ebp - 0x30], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x40baf0
push fcn.00409720
push esi
push ebx
mov dword [eax], ebx
add eax, 4
push 4
push eax
mov dword [ebp - 0x2c], eax
call fcn.0044fcb9
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
jmp 0x40baf7
and dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
lea eax, [eax + ecx*4 - 4]
push dword [eax]
mov ecx, edi
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0040becc
mov ecx, ebx
lea esi, [ebp - 0x2c]
call fcn.00410bc5
mov dword [ebp - 4], 3
mov eax, dword [edi + 0x4ec]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
push eax
push 0
push str.soft_id
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebx + 8]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.00410bc5
lea ecx, [ebx + 0xc]
lea esi, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00410bc5
lea ecx, [ebx + 0x10]
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00410bc5
lea ecx, [ebx + 0x14]
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00410bc5
mov eax, esi
mov byte [ebp - 4], 7
call fcn.004103ac
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
push 1
push dword [ebp - 0x30]
push ecx
mov ecx, esi
mov esi, esp
mov dword [ebp - 0x30], esp
call fcn.00410bc5
push ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
mov esi, esp
mov dword [ebp - 0x34], esp
call fcn.00410bc5
push ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
mov esi, esp
mov dword [ebp - 0x38], esp
call fcn.00410bc5
push ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
mov esi, esp
mov dword [ebp - 0x3c], esp
call fcn.00410bc5
push ecx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x40], esp
lea ecx, [ebp - 0x28]
mov esi, esp
call fcn.00410bc5
lea ecx, [edi + 0x58]
push ecx
mov byte [ebp - 4], 0xc
mov esi, esp
mov dword [ebp - 0x44], esp
call fcn.00410bc5
push ecx
mov ebx, 0x472d34
mov esi, esp
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x48], esp
call fcn.004101fd
push dword [edi + 4]
mov byte [ebp - 4], 7
mov edi, dword [edi + 0x74]
call fcn.0040a7db
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40bc2a
call fcn.0040bc70
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40bc36
call fcn.0040bc70
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40bc42
call fcn.0040bc70
lea ecx, [ebp - 0x14]
call fcn.00409720
lea ecx, [ebp - 0x20]
call fcn.00409720
lea ecx, [ebp - 0x24]
call fcn.00409720
lea ecx, [ebp - 0x28]
call fcn.00409720
lea ecx, [ebp - 0x2c]
call fcn.00409720
call fcn.00454c34
ret