Function at 0x40ee80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413aeb
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.0040c259
mov dword [ebp - 4], 0
push 0xa
mov ecx, dword [ebp - 0x20]
add ecx, 0x1a0c
call sub.MFC42.DLL_CMapWordToPtr::CMapWordToPtr
mov byte [ebp - 4], 1
push 0xa
mov ecx, dword [ebp - 0x20]
add ecx, 0x1a28
call sub.MFC42.DLL_CMapWordToPtr::CMapWordToPtr
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x415ec0
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 + 0x1a44], eax
cmp dword [0x426840], 0
jne 0x40ef7b
push str.FidiaWinConvDelayedConnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x42682c], eax
push str.FidiaWinConvConnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x426838], eax
push str.FidiaWinConvDisconnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x42683c], eax
push str.FidiaWinConvDataRead
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x426830], eax
push str.FidiaWinConvDataAccepted
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x426834], eax
mov dword [0x426840], 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x19f0], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x19f4], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x19f8], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x19fc], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1a00], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1a04], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1a08], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4c], 1
cmp dword [ebp + 0x20], 0
jne 0x40f064
push 0
push 0
call fcn.0040d020
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 0x41ad84
lea ecx, [ebp - 0x10]
call fcn.00412b9c
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 3
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], 4
mov ecx, dword [ebp - 0x30]
call fcn.0040d010
push eax
push 0
mov ecx, dword [ebp - 0x20]
call sub.MFC42.DLL_CWnd::Create
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x40f0da
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 fcn.00412b9c
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 5
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], 6
mov ecx, dword [ebp - 0x40]
call fcn.0040d010
push eax
push 0
mov ecx, dword [ebp - 0x20]
call sub.MFC42.DLL_CWnd::Create
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
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