Function at 0x455570
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4d33b1
call fcn.004cdff0
sub esp, 0xe4
mov eax, dword [0x50c868]
push ebx
push esi
push edi
mov edi, 0x50c868
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x28], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x50c868]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x50c868]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0xc6
lea eax, [ebp - 0xee]
push ebx
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0xf0], bx
call fcn.00489f10
mov eax, dword [0x50c868]
add esp, 0xc
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
mov eax, dword [0x50c868]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.00408953
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00407526
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, edi
call fcn.00407567
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00407526
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x24]
call fcn.00407526
push str.ressrcchsuplive.svr0
lea eax, [ebp - 0x1c]
push eax
call fcn.00408995
push ebx
push dword [ebp - 0x1c]
call fcn.0048eea5
test eax, eax
pop ecx
pop ecx
je 0x455698
lea eax, [ebp - 0x10]
push str.ressrcchsuplive.svr
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b01a
pop ecx
pop ecx
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00407526
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
push str.update_asindexpcmastercn.txt.old.txt
lea eax, [ebp - 0x24]
push eax
call fcn.00408995
push ebx
push dword [ebp - 0x24]
call fcn.0048eea5
test eax, eax
pop ecx
pop ecx
je 0x4556e3
lea eax, [ebp - 0x10]
push str.ressrcchs_asmain.ini
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b01a
pop ecx
pop ecx
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00407526
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
push dword [ebp - 0x1c]
lea eax, [ebp - 0xf0]
push 0x64
push eax
mov esi, 0x4e6a7c
push esi
push str.Version
push str.Common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
cmp eax, ebx
je 0x4557f5
lea eax, [ebp - 0xf0]
push eax
call fcn.0048a91e
pop ecx
lea ecx, [ebp - 0xf0]
mov ebx, eax
push ecx
lea eax, [ebp - 0x18]
call fcn.00408058
lea eax, [ebp - 0x18]
call fcn.00407567
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x10]
push eax
push 2
pop edx
lea eax, [ebp - 0x18]
call fcn.00408af9
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00407526
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
push esi
push 0x4e6a68
mov eax, edi
push eax
call fcn.0045257d
push esi
push 0x4eba3c
mov eax, edi
push eax
call fcn.0045257d
push dword [ebp - 0x24]
lea eax, [ebp - 0xf0]
push 0x64
push eax
push esi
push 0x4ebac4
push 0x4ebac8
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
test eax, eax
je 0x4557f5
lea eax, [ebp - 0xf0]
push eax
call fcn.0048a91e
pop ecx
lea ecx, [ebp - 0xf0]
mov ebx, eax
push ecx
lea eax, [ebp - 0x18]
call fcn.00408058
lea eax, [ebp - 0x10]
push eax
push 6
pop ecx
lea eax, [ebp - 0x18]
call fcn.00408b77
mov byte [ebp - 4], 9
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00408f7c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
push dword [ebp - 0x20]
call fcn.0048b302
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret