Function at 0x43e8e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498e1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x4d757c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x23c], eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
mov dword [esp + 0x20], esi
jne 0x43e93a
push 0x4ae4c0
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
jmp 0x43eb50
mov esi, dword [ebp + 0xc]
cmp esi, 1
je 0x43e947
cmp esi, 6
jne 0x43e967
mov ecx, ebx
call fcn.0043e170
dec eax
je 0x43e962
sub eax, 2
je 0x43e962
sub eax, 2
jne 0x43e967
mov esi, 6
jmp 0x43e967
mov esi, 1
push 0x4ae4c0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
mov dword [esp + 0x254], edi
call fcn.0043e2f0
push 0x4ae4c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x4ae4c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov edx, dword [esp + 0x18]
mov word [esp + 0x28], di
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
mov eax, dword [edx - 0xc]
test eax, eax
mov byte [esp + 0x24c], 3
je case.default.0x43e9f4
mov eax, dword [ebp + 0x10]
cmp eax, 3
ja case.default.0x43e9f4
jmp dword [eax*4 + 0x43eb78]
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0x43e9f4
jmp dword [eax*4 + 0x43eb88]
push str.Image_32Pixel_Color
jmp 0x43ea41
push str.Image_32Pixel_Gray
jmp 0x43ea41
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0x43e9f4
jmp dword [eax*4 + 0x43eb98]
push str.Image_16Pixel_Color
jmp 0x43ea41
push str.Image_16Pixel_Gray
jmp 0x43ea41
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0x43e9f4
jmp dword [eax*4 + 0x43eba8]
push str.Image_Category_Color
jmp 0x43ea41
push str.Image_Category_Gray
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_3]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x43ea6c
mov esi, dword [esp + 0x20]
push 0x4ae4c0
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
jmp 0x43eb28
push esi
lea ecx, [esp + 0x20]
push 0x4af308
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push edx
mov edx, dword [esp + 0x20]
push 0x104
lea eax, [esp + 0x30]
push eax
push 0x4ae4c0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.0043e4a0
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4ae7ec
push eax
mov byte [esp + 0x25c], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
test eax, eax
je 0x43eb0d
mov edx, dword [esp + 0x14]
push 0
push edx
call dword [sym.imp.MSVCR71.dll__waccess]
add esp, 8
cmp eax, 0xffffffff
jne 0x43eb17
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_CRichEditView::EditStreamCallBack]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x23c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 0x10