Function at 0x413f90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41998a
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.00411373
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x19ec
call fcn.00415460
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 [0x42e41c], 0
jne 0x41409d
push str.FidiaWinConvDelayedConnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x42e408], eax
push str.FidiaWinConvConnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x42e414], eax
push str.FidiaWinConvDisconnect
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x42e418], eax
push str.FidiaWinConvDataRead
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x42e40c], eax
push str.FidiaWinConvDataAccepted
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x42e410], eax
mov dword [0x42e41c], 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 0x414186
push 0
push 0
call fcn.00406350
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 0x421bd0
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_1
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.00402650
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.004183d4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.004183d4
jmp 0x4141fc
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_1
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.00402650
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.004183d4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004183d4
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