Function at 0x52b760
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a57fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x20], ecx
push 0
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00525dd3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x19ec
call fcn.0052cc30
mov byte [ebp - 4], 1
push 0xa
mov ecx, dword [ebp - 0x20]
add ecx, 0x1a10
call sub.MFC42.DLL_CMapWordToPtr::CMapWordToPtr
mov byte [ebp - 4], 2
push 0xa
mov ecx, dword [ebp - 0x20]
add ecx, 0x1a2c
call sub.MFC42.DLL_CMapWordToPtr::CMapWordToPtr
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
mov dword [eax], vtable.WindowsConversation.0
push str.fidia.ini
push 0
push str.SAFEMODE
push str.FAPI
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1a48], eax
cmp dword [0x606018], 0
jne 0x52b86d
push str.FidiaWinConvDelayedConnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x606004], eax
push str.FidiaWinConvConnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x606010], eax
push str.FidiaWinConvDisconnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x606014], eax
push str.FidiaWinConvDataRead
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x606008], eax
push str.FidiaWinConvDataAccepted
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x60600c], eax
mov dword [0x606018], 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x19f4], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x19f8], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x19fc], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1a00], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1a04], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1a08], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1a0c], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4c], 1
cmp dword [ebp + 0x20], 0
jne 0x52b956
push 0
push 0
call fcn.0040acc0
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [sym.imp.MFC42.DLL_CRectconstCFrameWnd::rectDefault]
push edx
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
push 0x5fc568
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
call fcn.00403d90
push eax
push 0
mov ecx, dword [ebp - 0x20]
call sub.MFC42.DLL_CWnd::Create
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0058df86
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.0058df86
jmp 0x52b9cc
push 0
push 0
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [sym.imp.MFC42.DLL_CRectconstCFrameWnd::rectDefault]
push eax
push 0x40000000
mov ecx, dword [ebp + 0x10]
push ecx
push str.Windows_Conversation:
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x40]
call fcn.00403d90
push eax
push 0
mov ecx, dword [ebp - 0x20]
call sub.MFC42.DLL_CWnd::Create
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.0058df86
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c