Function at 0x40c5e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4440a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x10]
push edi
push eax
mov ecx, 0x4579a8
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.LEFT
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x10]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
mov ecx, 0x4579a8
push edx
call fcn.00402d30
push str.ancamera.ini
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 1
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0
push 0x456098
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x4579a8
call fcn.00402d30
push str.ancamera.ini
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x38], 2
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0x3b4
push str.WIDTH
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
mov ecx, 0x4579a8
push eax
call fcn.00402d30
mov dword [esp + 0x2c], 3
push str.ancamera.ini
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0x2ac
push str.HEIGHT
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x4d54]
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40c784
mov edx, dword [esp + 0x10]
push 1
dec edx
push edi
push edx
jmp 0x40c860
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x4d58]
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40c7ac
mov eax, dword [esp + 0x10]
push 1
inc eax
push edi
push eax
jmp 0x40c860
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x4d5c]
mov eax, dword [esi + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40c7d4
mov ecx, dword [esp + 0x10]
dec edi
push 1
push edi
push ecx
jmp 0x40c860
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x4d60]
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40c7f9
mov edx, dword [esp + 0x10]
inc edi
push 1
push edi
push edx
jmp 0x40c860
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
cmp eax, 0x100
jne 0x40c869
cmp dword [ecx + 8], 0x25
jne 0x40c819
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
push ebp
dec ebx
jmp 0x40c861
cmp eax, 0x100
jne 0x40c869
cmp dword [ecx + 8], 0x27
jne 0x40c832
mov ecx, dword [esp + 0x10]
push 1
push edi
push ecx
push ebp
inc ebx
jmp 0x40c861
cmp eax, 0x100
jne 0x40c869
cmp dword [ecx + 8], 0x26
jne 0x40c84a
mov edx, dword [esp + 0x10]
push 1
push edi
push edx
dec ebp
jmp 0x40c860
cmp eax, 0x100
jne 0x40c869
cmp dword [ecx + 8], 0x28
jne 0x40c869
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
inc ebp
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4