Function at 0x49872e
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe4
mov eax, dword [0x5438cc]
push ebx
push esi
mov esi, 0x5438cc
xor ebx, ebx
push edi
mov ecx, esi
mov dword [ebp + 0x5c], ebx
call dword [eax + 0xc]
push 0x10
pop edi
add eax, edi
mov dword [ebp + 0x60], eax
mov eax, dword [0x5438cc]
mov ecx, esi
call dword [eax + 0xc]
add eax, edi
mov dword [ebp + 0x68], eax
mov eax, dword [0x5438cc]
mov ecx, esi
call dword [eax + 0xc]
add eax, edi
push 0xc6
mov dword [ebp + 0x70], eax
lea eax, [ebp - 0x6a]
push ebx
push eax
mov word [ebp - 0x6c], bx
call sub.MSVCR80.dll_memset
mov eax, dword [0x5438cc]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, edi
mov dword [ebp + 0x64], eax
mov eax, dword [0x5438cc]
mov ecx, esi
call dword [eax + 0xc]
mov ebx, eax
add ebx, edi
lea eax, [ebp + 0x74]
mov dword [ebp + 0x6c], ebx
call fcn.00496f4f
lea edi, [ebp + 0x70]
call fcn.0042a0a0
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff0
call fcn.00401239
mov eax, edi
call fcn.00407211
mov eax, edi
lea edi, [ebp + 0x68]
call fcn.0042a0a0
lea eax, [ebp + 0x70]
lea edi, [ebp + 0x60]
call fcn.0042a0a0
push str.ressrcchsuplive.svr0
lea eax, [ebp + 0x68]
push eax
call fcn.00407371
mov esi, dword [sym.imp.MSVCR80.dll__waccess]
push 0
push dword [ebp + 0x68]
call esi
test eax, eax
pop ecx
pop ecx
je 0x498828
push str.ressrcchsuplive.svr
lea eax, [ebp + 0x70]
lea ecx, [ebp + 0x74]
call fcn.0042a029
pop ecx
lea edi, [ebp + 0x68]
call fcn.0042a0a0
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff0
call fcn.00401239
push str.updatekavindexkav.txt.old.txt
lea eax, [ebp + 0x60]
push eax
call fcn.00407371
push 0
push dword [ebp + 0x60]
call esi
test eax, eax
pop ecx
pop ecx
je 0x498867
push str.ressrcchskismain.ini
lea eax, [ebp + 0x70]
lea ecx, [ebp + 0x74]
call fcn.0042a029
pop ecx
lea edi, [ebp + 0x60]
call fcn.0042a0a0
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff0
call fcn.00401239
push dword [ebp + 0x68]
lea eax, [ebp - 0x6c]
push 0x64
push eax
mov esi, 0x50edd8
push esi
push 0x50c724
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x498949
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.0040127c
lea eax, [ebp + 0x6c]
call fcn.00407211
mov ebx, dword [ebp + 0x6c]
mov ecx, dword [ebx - 0xc]
lea eax, [ebp + 0x74]
push eax
push 2
pop edx
lea eax, [ebp + 0x6c]
call fcn.004297d2
lea edi, [ebp + 0x64]
call fcn.0042a0a0
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff0
call fcn.00401239
push esi
push 0x4da9e8
mov eax, edi
push eax
call fcn.00407090
push esi
push 0x50c734
mov eax, edi
push eax
call fcn.00407090
push dword [ebp + 0x60]
lea eax, [ebp - 0x6c]
push 0x64
push eax
push esi
push 0x50d388
push 0x50d38c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x498949
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.0040127c
lea eax, [ebp + 0x74]
push eax
push 6
pop ecx
lea eax, [ebp + 0x6c]
call fcn.00407292
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.004246f5
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff0
call fcn.00401239
push dword [ebp + 0x64]
call dword [sym.imp.MSVCR80.dll__wtoi]
mov ebx, dword [ebp + 0x6c]
pop ecx
mov dword [ebp + 0x5c], eax
lea eax, [ebx - 0x10]
call fcn.00401239
mov eax, dword [ebp + 0x64]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp + 0x70]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp + 0x60]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp + 0x5c]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret