Function at 0x404bcf
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40f288
call fcn.0040ea50
sub esp, 0x34
push ebx
push esi
lea eax, [ebp - 0x30]
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, ecx
push eax
push dword [esi + 0x20]
call edi
push 0x3f1
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
lea ecx, [ebp - 0x40]
push ecx
push dword [eax + 0x20]
call edi
mov eax, dword [ebp - 0x24]
mov ecx, esi
sub eax, dword [ebp - 0x2c]
mov dword [esi + 0x1a4], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x2c]
mov dword [esi + 0x1a8], eax
call fcn.00404a30
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, 0x87
push eax
push 0xc
push eax
call sub.MFC42u.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call fcn.00401fc4
lea eax, [ebp - 0x18]
push eax
call fcn.00403e0c
pop ecx
pop ecx
push str.logo.bmp
push eax
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040e5c2
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x2010
push edi
push edi
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
cmp eax, edi
je 0x404ca0
push eax
push edi
push 0x172
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20]
push eax
call fcn.00403e0c
mov dword [esp], str.Config.ini
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0040e640
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040e5c2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0040e5c2
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
push 0x64
push 0x64
call sub.MFC42u.DLL_CString::GetBuffer
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x41a638
mov ebx, str.Parameters
push str.Caption
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x404d43
push eax
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetWindowTextW
lea eax, [ebp - 0x10]
lea ecx, [esi + 0xcb4]
push eax
call fcn.0040e640
jmp 0x404d53
push 0x41a280
lea ecx, [esi + 0xcb4]
call sub.MFC42u.DLL_CString::operator_2
lea eax, [ebp - 0x1c]
push 0x66
push eax
call fcn.00403db7
pop ecx
pop ecx
push dword [ebp - 0x14]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
push 0x64
push 0x64
mov dword [ebp - 0x20], eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push dword [ebp - 0x20]
push str.LinkURL
push ebx
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040e5c2
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42u.DLL_CString::CString_1
add esi, 0x60
mov ecx, esi
call fcn.004024d3
lea eax, [ebp - 0x1c]
push 0x68
push eax
call fcn.00403db7
pop ecx
pop ecx
push dword [ebp - 0x14]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
push 0x64
push 0x64
mov dword [ebp - 0x20], eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push dword [ebp - 0x20]
push str.LinkTip
push ebx
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040e5c2
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0040204d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040e5c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e5c2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret