Function at 0x41a3ac
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b2d6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xb8]
call fcn.004598a0
mov ecx, dword [esi + 0x550]
mov eax, dword [esi + 0x588]
xor ebx, ebx
push ebx
push ecx
push eax
lea ecx, [esp + 0xc4]
mov dword [esp + 0x37c], ebx
call fcn.00459a10
test eax, eax
jne 0x41a452
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
push 0x400
lea ecx, [esp + 0x14]
mov byte [esp + 0x374], 1
call sub.MFC42.DLL_CString::GetBufferSetLength
mov edx, dword [esp + 0x10]
mov ecx, dword [0x4dbcf0]
push ecx
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
push eax
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x4d7068
push str.CONNECTFAILEDMSG
push str.PROTECTEDID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x10]
push 5
push 0x30
push edx
call fcn.00457e70
add esp, 0xc
mov byte [esp + 0x370], bl
lea ecx, [esp + 0x10]
jmp 0x41a5e0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x20]
push 0x14
rep stosd dword es:[edi], eax
mov eax, dword [0x4dc0a4]
lea ecx, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x28], 0x79
mov dword [esp + 0x2c], 0x98
call esi
mov edx, dword [0x4dc0a4]
push 0x80
add edx, 0x5ca8
lea eax, [esp + 0x3c]
push edx
push eax
call esi
lea ecx, [esp + 0x18]
push 0x80000079
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x24], ebx
call fcn.0045a9f0
mov eax, dword [esp + 0x18]
pop edi
cmp eax, ebx
je 0x41a576
cmp dword [eax + 8], 1
jne 0x41a576
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
push 0x400
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], 3
call sub.MFC42.DLL_CString::GetBufferSetLength
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4dbcf0]
push ecx
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x4d7038
push str.PROTECTEDSUCCESSMSG
push str.PROTECTEDID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0xc]
push 5
push 0x30
push edx
call fcn.00457e70
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x370], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb8]
mov dword [esp + 0x370], 0xffffffff
call fcn.00459990
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x360]
mov dword fs:[0], ecx
add esp, 0x36c
ret
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_5
push 0x400
lea ecx, [esp + 0xc]
mov byte [esp + 0x374], 2
call sub.MFC42.DLL_CString::GetBufferSetLength
mov eax, dword [esp + 8]
mov ecx, dword [0x4dbcf0]
push ecx
lea ecx, [esp + 0xc]
mov eax, dword [eax - 8]
push eax
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x4d7014
push str.PROTECTEDFAILEDMSG
push str.PROTECTEDID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 8]
push 5
push 0x30
push edx
call fcn.00457e70
add esp, 0xc
mov byte [esp + 0x370], bl
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb8]
mov dword [esp + 0x370], 0xffffffff
call fcn.00459990
mov ecx, dword [esp + 0x368]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x36c
ret