Function at 0x417f80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x445157
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x229]
mov byte [esp + 0x228], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x32d]
mov byte [esp + 0x32c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x125]
mov byte [esp + 0x124], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x431]
mov byte [esp + 0x430], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x535]
mov byte [esp + 0x534], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x1c]
mov ecx, 0x4579a8
push eax
mov dword [esp + 0x644], ebx
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x64c], 1
call sub.MFC42.DLL_operator_2
mov edx, dword [eax]
lea eax, [esp + 0x10]
push edx
push 0x456ce0
push eax
mov byte [esp + 0x64c], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
push 0x104
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x28]
push edx
push str.FALSE
push str.REMEMBER_POSITION
push str.OPTION
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x418107
lea eax, [esp + 0x20]
push str.TRUE
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x418107
mov ecx, dword [ebp + 0x160]
push ebx
push 1
push 0xf1
push ecx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x228]
push edx
push 0x104
push eax
push str.TRUE
push str.ALWAYS_TOP
push str.OPTION
call esi
cmp eax, 0xffffffff
je 0x41815a
lea ecx, [esp + 0x228]
push str.TRUE
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x41815a
mov edx, dword [ebp + 0x1a0]
push ebx
push 1
push 0xf1
push edx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x430]
push eax
push 0x104
push ecx
push str.FALSE
push str.AUTO_SAVE
push str.OPTION
call esi
cmp eax, 0xffffffff
je 0x4181ad
lea edx, [esp + 0x430]
push str.TRUE
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4181ad
mov eax, dword [ebp + 0x220]
push ebx
push 1
push 0xf1
push eax
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x124]
push ecx
push 0x104
push edx
push str.TRUE
push str.CAPTURE_REVIEW
push str.OPTION
call esi
cmp eax, 0xffffffff
je 0x418200
lea eax, [esp + 0x124]
push str.TRUE
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x418200
mov ecx, dword [ebp + 0x1e0]
push ebx
push 1
push 0xf1
push ecx
call edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x4579c8]
lea ecx, [esp + 0x18]
add edx, 0x1a48
mov byte [esp + 0x640], 3
push edx
call fcn.004415e2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x330]
push 0x104
push ecx
push edx
push str.SELECT_FOLDER
push str.OPTION
call esi
cmp eax, 0xffffffff
je 0x4182a3
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x32c]
lea ecx, [esp + 0x14]
push eax
push 0x456ce0
push ecx
mov byte [esp + 0x64c], 4
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, ebp
push edx
push 0x42b
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x534]
push eax
push 0x104
push ecx
push 0x456da0
push str.JPEG_QUALITY
push str.OPTION
call esi
cmp eax, 0xffffffff
je 0x4182e6
lea edx, [esp + 0x534]
mov ecx, ebp
push edx
push 0x426
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x640], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x638]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x634
ret