Function at 0x42b5e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x446747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push ebp
push esi
mov dword [esp + 0x18], ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x89]
mov byte [esp + 0x88], 0
mov byte [esp + 0x18c], 0
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 + 0x18d]
mov dword [esp + 0x28], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x18]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x4579c8]
lea ecx, [esp + 0x18]
add eax, 0x1a48
mov dword [esp + 0x298], 0
push eax
call fcn.004415e2
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 1
push ecx
mov ecx, 0x4579a8
call fcn.00402d30
push str.ancamera.ini
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x2a4], 2
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
push 0x456ce0
push ecx
mov byte [esp + 0x2a4], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x298], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x190]
push 0x104
push eax
push ecx
push str.LASTCAPTUREPATH
push str.OPTION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x4579a0
lea eax, [esp + 0x18c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x42b73b
test cl, cl
je 0x42b737
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x42b73b
add eax, 2
add esi, 2
test cl, cl
jne 0x42b713
xor eax, eax
jmp 0x42b740
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42b76a
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov edx, dword [eax]
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], edx
call sub.MFC42.DLL_CString::CString_3
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 4
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 4]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 8]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x14]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
push edi
push ebp
push ebx
add eax, 0x76c
push ecx
push esi
push eax
lea edx, [esp + 0x3c]
push 0x457630
push edx
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x44]
or ebx, 0xffffffff
mov ecx, ebx
xor eax, eax
add esp, 0x20
lea edx, [esp + 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x16
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2a4]
xor esi, esi
lea ecx, [esp + 0x88]
cmp eax, esi
mov dword [esp + 0x30], 0x58
mov dword [esp + 0x64], 0x804
mov dword [esp + 0x3c], str.JPEG_Files__.jpg_
mov dword [esp + 0x6c], 0x45756c
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0x200
jne 0x42b881
mov dword [esp + 0x34], esi
jmp 0x42b888
mov edx, dword [eax + 0x20]
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18c]
push ecx
mov dword [esp + 0x60], eax
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
jne 0x42b8db
lea ecx, [esp + 0x24]
mov byte [esp + 0x298], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x298], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x298], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x42b9e2
mov eax, dword [esp + 0x48]
cmp eax, 1
jne 0x42b913
mov edx, dword [esp + 0x2a8]
lea eax, [esp + 0x88]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x2a8]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0042ba90
jmp 0x42b98f
cmp eax, 2
jne 0x42b933
mov eax, dword [esp + 0x2a0]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x88]
push edx
push eax
call fcn.0042ae80
jmp 0x42b98f
cmp eax, 3
jne 0x42b95f
push ecx
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2a4]
mov ecx, dword [esp + 0x20]
push eax
call fcn.0042be30
jmp 0x42b98f
cmp eax, 4
jne 0x42b98b
push ecx
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2a4]
mov ecx, dword [esp + 0x20]
push eax
call fcn.0042bc60
jmp 0x42b98f
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
push ecx
add edx, 0x18
push 0x456ce0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x298], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x298], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x298], ebx
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28c
ret 0xc