Function at 0x456f11
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4abbb4
call fcn.004a8254
sub esp, 0xe4
push ebx
call fcn.004571ce
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x4571c1
mov eax, dword [0x4da2a0]
push esi
mov esi, 0x4da2a0
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4da2a0]
mov ecx, esi
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.00478300
mov eax, dword [0x4da2a0]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
mov eax, dword [0x4da2a0]
mov ecx, esi
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.0040656b
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00405db2
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd2
mov eax, edi
call fcn.00405257
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00405db2
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x24]
call fcn.00405db2
push str.ressrcchsuplive.svr0
lea eax, [ebp - 0x1c]
push eax
call fcn.00406cf7
push ebx
push dword [ebp - 0x1c]
call fcn.0047f5b6
test eax, eax
pop ecx
pop ecx
je 0x457046
lea eax, [ebp - 0x10]
push str.ressrcchsuplive.svr
push eax
lea ecx, [ebp - 0x14]
call fcn.004098e5
pop ecx
pop ecx
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00405db2
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd2
push str.updatewmindexpcmgr.txt.old.txt
lea eax, [ebp - 0x24]
push eax
call fcn.00406cf7
push ebx
push dword [ebp - 0x24]
call fcn.0047f5b6
test eax, eax
pop ecx
pop ecx
je 0x457091
lea eax, [ebp - 0x10]
push str.datawmain.ini
push eax
lea ecx, [ebp - 0x14]
call fcn.004098e5
pop ecx
pop ecx
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00405db2
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd2
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x64
lea eax, [ebp - 0xf0]
push eax
mov esi, 0x4b94e0
push esi
push str.Version
push str.Common
call ebx
test eax, eax
je 0x457185
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040607b
lea eax, [ebp - 0x18]
call fcn.00405257
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.00406680
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00405db2
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd2
push esi
push 0x4b94dc
mov eax, edi
push eax
call fcn.00454deb
push esi
push 0x4be758
mov eax, edi
push eax
call fcn.00454deb
push dword [ebp - 0x24]
lea eax, [ebp - 0xf0]
push 0x64
push eax
push esi
push 0x4be824
push 0x4be828
call ebx
test eax, eax
je 0x457185
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040607b
lea eax, [ebp - 0x10]
push eax
push 6
pop ecx
lea eax, [ebp - 0x18]
call fcn.00406d1a
mov byte [ebp - 4], 9
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406ca6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd2
push dword [ebp - 0x20]
call fcn.0047be33
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405cd2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00405cd2
mov eax, dword [ebp - 0x28]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret