Function at 0x40b1b5
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x480244]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x1c
mov eax, 0x469cb2
call fcn.0043eaab
mov edi, 0x481bd4
xor ebx, ebx
mov ecx, edi
lea esi, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
call fcn.0040189d
mov ecx, edi
lea esi, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0040189d
mov ecx, edi
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040189d
push 0xc6
lea eax, [ebp + 2]
push ebx
mov byte [ebp - 4], 2
push eax
mov word [ebp], bx
call fcn.00437c90
add esp, 0xc
mov ecx, edi
lea esi, [ebp - 0x20]
call fcn.0040189d
mov ecx, edi
lea esi, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040189d
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.00412810
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004018d4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004023f7
mov eax, edi
call fcn.004077ee
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.004018d4
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x24]
call fcn.004018d4
push str.ressrcchsuplive.svr0
lea eax, [ebp - 0x1c]
push eax
call fcn.004036ef
push ebx
push dword [ebp - 0x1c]
call fcn.00437de8
test eax, eax
pop ecx
pop ecx
je 0x40b2ca
lea eax, [ebp - 0x10]
push str.ressrcchsuplive.svr
push eax
lea ecx, [ebp - 0x14]
call fcn.004016d7
pop ecx
pop ecx
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004018d4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004023f7
push str.updatekavindexkav.txt.old.txt
lea eax, [ebp - 0x24]
push eax
call fcn.004036ef
push ebx
push dword [ebp - 0x24]
call fcn.00437de8
test eax, eax
pop ecx
pop ecx
je 0x40b315
lea eax, [ebp - 0x10]
push str.ressrcchskismain.ini
push eax
lea ecx, [ebp - 0x14]
call fcn.004016d7
pop ecx
pop ecx
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004018d4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004023f7
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x64
lea eax, [ebp]
push eax
mov esi, 0x4713dc
push esi
push str.Version
push str.Common
call ebx
test eax, eax
je 0x40b3fe
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401ef0
lea eax, [ebp - 0x18]
call fcn.004077ee
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 2
pop ecx
call fcn.004045b1
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004018d4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004023f7
push esi
push 0x4734f8
mov eax, edi
push eax
call fcn.0040b45b
push esi
push 0x4734fc
mov eax, edi
push eax
call fcn.0040b45b
push dword [ebp - 0x24]
lea eax, [ebp]
push 0x64
push eax
push esi
push 0x473580
push 0x473584
call ebx
test eax, eax
je 0x40b3fe
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401ef0
lea eax, [ebp - 0x10]
push eax
push 6
pop ecx
lea eax, [ebp - 0x18]
call fcn.0040737c
mov byte [ebp - 4], 9
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00403731
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004023f7
push dword [ebp - 0x20]
call fcn.00438abd
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004023f7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004023f7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004023f7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004023f7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004023f7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.00437538
add ebp, 0xcc
leave
ret