Function at 0x42b230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435cf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
push 0x400
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::GetBuffer
push 0x400
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42b2a6
lea eax, [ebp - 0x34]
push 0x440298
push eax
mov dword [ebp - 0x34], 0xffffffff
call sub.MSVCRT.dll__CxxThrowException
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReverseFind
lea ecx, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov bl, 3
push 0x5c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
jne 0x42b2ec
lea edx, [ebp - 0x2c]
push 0x440298
push edx
mov dword [ebp - 0x2c], eax
call sub.MSVCRT.dll__CxxThrowException
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
push ecx
push edx
mov dword [ebp - 4], edi
call fcn.0041bc60
add esp, 8
mov ecx, dword [str.CommonModuleRawPlugIn2Ext.cfg]
lea edx, [ebp - 0x24]
push ecx
push eax
push edx
mov byte [ebp - 4], 6
call sub.MFC42.DLL_operator
mov bl, 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push eax
push ecx
call fcn.0041bc60
add esp, 8
mov edx, dword [str.CommonModuleRawPlugIn2Color]
mov byte [ebp - 4], 9
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator
push 0x445148
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_operator
mov edx, dword [str.EwsRGB.icm]
mov byte [ebp - 4], 0xb
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x20]
push edi
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jne 0x42b435
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x434]
push edx
push 0x400
push eax
push 0x446fe0
push str.DscExtension
push str.Extension
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [ebp - 0x434]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42b471
add esi, 0x2c
push 0x444aa8
mov ecx, esi
call fcn.0042c7e4
lea ecx, [ebp - 0x434]
push ecx
mov ecx, esi
call fcn.0042c7e4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret