Function at 0x4091e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x443731
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
mov byte [esp + 0x120], 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 + 0x121]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
mov ecx, 0x4579a8
push eax
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x238], ebx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea edx, [esp + 0x20]
push 0x104
push edx
push str.TRUE
push str.CAPTURE_REVIEW
push str.OPTION
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
mov ecx, 0x4579a8
push eax
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x238], 1
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [esp + 0x120]
push eax
push 0x104
push edx
push str.FALSE
push str.AUTO_SAVE
push str.OPTION
call edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
lea eax, [esp + 0x1c]
push str.TRUE
push eax
call edi
add esp, 8
test eax, eax
jne 0x40932a
mov ecx, dword [esi + 0x114]
mov dword [ecx + 0x304], 1
jmp 0x409336
mov edx, dword [esi + 0x114]
mov dword [edx + 0x304], ebx
lea eax, [esp + 0x120]
push str.TRUE
push eax
call edi
add esp, 8
test eax, eax
jne 0x40935e
mov ecx, dword [esi + 0x114]
mov dword [ecx + 0x300], 1
jmp 0x40936a
mov edx, dword [esi + 0x114]
mov dword [edx + 0x300], ebx
mov eax, dword [esi + 0x114]
cmp dword [eax + 0x304], 1
jne 0x4093a8
mov eax, dword [eax + 0x308]
mov ecx, dword [esp + 0x234]
push 1
push 1
push eax
mov eax, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
jmp 0x409420
cmp dword [eax + 0x300], ebx
je 0x4093f4
mov edx, dword [eax + 0x308]
mov eax, dword [esp + 0x234]
push edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x124]
call fcn.00427bb0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
jmp 0x40942b
mov edx, dword [eax + 0x308]
mov eax, dword [esp + 0x234]
push 1
push ebx
push edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x124]
call fcn.00427330
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 + 0x238], 2
call sub.MFC42.DLL_operator_2
mov ecx, dword [esi + 0x124]
mov eax, dword [eax]
push eax
mov ecx, dword [ecx + 0x88]
push ecx
push str.LASTCAPTUREPATH
push str.OPTION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret 4