Function at 0x427aa0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52df40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x53a4d4
mov word [ecx], ax
call fcn.0040c2a0
call fcn.0041f890
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
add esp, 0x18
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427b11
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040c2a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427b4e
xor edi, edi
jmp 0x427c8b
call fcn.004066f0
mov ecx, eax
test ecx, ecx
je 0x427cde
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov eax, dword [esi - 8]
mov ecx, 1
cmovae edi, dword [ebp - 0x28]
sub eax, 0x104
sub ecx, dword [esi - 4]
or eax, ecx
mov byte [ebp - 4], 1
jge 0x427b9b
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.00406bd0
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x427ce8
push edi
push 0x104
push esi
push 0x53a740
push str.state
xor eax, eax
mov dword [esi - 0xc], 0x104
push 0x53c404
mov word [esi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.00504a25
add esp, 8
test eax, eax
js 0x427ce8
cmp eax, dword [esi - 8]
jg 0x427ce8
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, str.chatUpdate
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427c27
test dx, dx
je 0x427c23
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427c27
add eax, 4
add ecx, 4
test dx, dx
jne 0x427c01
xor eax, eax
jmp 0x427c2c
sbb eax, eax
or eax, 1
test eax, eax
je 0x427c6a
mov ecx, str.bigupdate
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427c5d
test dx, dx
je 0x427c59
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427c5d
add eax, 4
add ecx, 4
test dx, dx
jne 0x427c37
xor eax, eax
jmp 0x427c62
sbb eax, eax
or eax, 1
test eax, eax
je 0x427c6a
xor edi, edi
jmp 0x427c6f
mov edi, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x427c8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x427cc1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427cb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427cf2
push edx
push ecx
call fcn.004bdb0a
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004062e0
push 0x80070057
call fcn.004062e0
call fcn.00504809
int3