Function at 0x42afe0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x446702
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a4
push ebx
push ebp
push esi
mov dword [esp + 0x2c], ecx
push edi
push 0x4579a0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1b1]
mov byte [esp + 0x1b0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x24]
mov dword [esp + 0x4bc], 1
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xad]
mov byte [esp + 0xac], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x2b5]
mov byte [esp + 0x2b4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
mov byte [esp + 0x4c0], 2
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 3
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
mov ecx, 0x4579a8
push eax
mov byte [esp + 0x4c0], 4
call fcn.00402d30
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push ecx
push 0x456ce0
push edx
mov byte [esp + 0x4c8], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x4bc], 4
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
mov ecx, 0x4579a8
push eax
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x14]
mov bl, 6
push eax
push ecx
mov byte [esp + 0x4c8], bl
call sub.MFC42.DLL_operator_2
mov edx, dword [eax]
mov byte [esp + 0x4bc], 7
push edx
push 0x456ce0
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x4bc], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4bc], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x1b4]
push 0x104
push edx
push eax
push str.SELECT_FOLDER
push str.OPTION
call esi
cmp eax, 0xffffffff
je 0x42b19f
lea ecx, [esp + 0x1b0]
lea edx, [esp + 0x24]
push ecx
push 0x456ce0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x2b8]
push 0x200
push ecx
push edx
push str.LASTCAPTUREPATH
push str.OPTION
call esi
mov esi, 0x4579a0
lea eax, [esp + 0x2b4]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x42b1f6
test cl, cl
je 0x42b1f2
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x42b1f6
add eax, 2
add esi, 2
test cl, cl
jne 0x42b1ce
xor eax, eax
jmp 0x42b1fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42b225
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2b4]
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]
mov edx, dword [esp + 0x4c8]
lea ecx, [esp + 0x94]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0x4d0]
test ebx, ebx
jg 0x42b24f
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x4d4]
test ebp, ebp
jg 0x42b261
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call edi
mov esi, eax
push esi
call edi
mov ecx, dword [esp + 0x34]
push ebp
push ebx
push ecx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x4c8]
mov dword [esp + 0x10], eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebp
push ebx
push 0
push 0
push edi
push ebp
push ebx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x34]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
lea edx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString_3
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c0], 8
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 4]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 8]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x1c]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push ebx
mov edx, dword [esp + 0x1c]
push ebp
push edx
push esi
push eax
lea eax, [esp + 0x44]
push 0x457630
push eax
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xac]
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 + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4cc]
lea ecx, [esp + 0xac]
test eax, eax
mov dword [esp + 0x3c], 0x58
mov dword [esp + 0x70], 0x804
mov dword [esp + 0x48], 0x457570
mov dword [esp + 0x78], 0x45756c
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0x200
jne 0x42b3e6
mov dword [esp + 0x40], eax
jmp 0x42b3ed
mov edx, dword [eax + 0x20]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x2b4]
push ecx
mov dword [esp + 0x6c], eax
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
jne 0x42b432
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x4c4]
push 0x4579a0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x38], 1
jmp 0x42b524
mov eax, dword [esp + 0x54]
cmp eax, 1
jne 0x42b467
mov eax, dword [esp + 0x4d8]
lea edx, [esp + 0xac]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
push eax
call fcn.0042ba90
jmp 0x42b4e4
cmp eax, 2
jne 0x42b484
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.0042ae80
jmp 0x42b4e4
cmp eax, 3
jne 0x42b4ad
push ecx
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0042be30
jmp 0x42b4e4
cmp eax, 4
jne 0x42b4d6
push ecx
lea edx, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
push eax
call fcn.0042bc60
jmp 0x42b4e4
push 0x4579a0
lea ecx, [esp + 0x24]
call fcn.0044159a
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [esp + 0xac]
lea eax, [esp + 0x20]
push edx
push 0x456ce0
push eax
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x4d0]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00441540
mov dword [esp + 0x38], 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4bc], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x4bc], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4bc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4bc], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4b4]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4b0
ret 0x18