Function at 0x426be0
Capabilities:
Get process heap flags
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x445f7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8f8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x301]
mov byte [esp + 0x300], 0
mov byte [esp + 0x708], 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 + 0x709]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x24]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1fd]
mov byte [esp + 0x1fc], 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 + 0xf9]
mov byte [esp + 0xf8], 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 + 0x501]
mov byte [esp + 0x500], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x918]
xor esi, esi
mov byte [esp + 0x30], 0
mov dword [esp + 0x31], esi
mov edx, dword [eax]
mov dword [esp + 0x910], esi
cmp dword [edx - 8], esi
je 0x426d60
lea esi, [ebp + 0x10]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x426d01
lea ecx, [esp + 0x94]
lea eax, [esp + 0x1fc]
push ecx
push esi
lea ecx, [esp + 0x38]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebp + 0x74]
push eax
push esi
lea edx, [eax + 1]
lea eax, [esp + 0x308]
push str._s__ld
push eax
mov dword [ebp + 0x74], edx
call edi
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x310]
push ecx
lea eax, [esp + 0x210]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x44]
push str._s_s_s_s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x4c]
add esp, 0x28
mov ecx, ebp
push eax
call fcn.00427910
test eax, eax
jne 0x426d07
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x605]
mov byte [esp + 0x604], 0
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
lea ecx, [esp + 0x1c]
mov byte [esp + 0x910], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x910], 2
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x4579c8]
mov byte [esp + 0x910], 3
add ecx, 0x1a48
push ecx
lea ecx, [esp + 0x20]
call fcn.004415e2
lea edx, [esp + 0x2c]
mov ecx, 0x4579a8
push edx
call fcn.00402d30
push str.ancamera.ini
push eax
lea eax, [esp + 0x30]
mov bl, 4
push eax
mov byte [esp + 0x91c], bl
call sub.MFC42.DLL_operator_2
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push ecx
push 0x456ce0
push edx
mov byte [esp + 0x91c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x910], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x910], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x608]
push 0x104
push ecx
push edx
push str.SELECT_FOLDER
push str.OPTION
call esi
cmp eax, 0xffffffff
je 0x426e72
lea eax, [esp + 0x604]
lea ecx, [esp + 0x18]
push eax
push 0x456ce0
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x70c]
push 0x200
push eax
push ecx
push str.LASTCAPTUREPATH
push str.OPTION
call esi
mov esi, 0x4579a0
lea eax, [esp + 0x708]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x426ec9
test cl, cl
je 0x426ec5
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x426ec9
add eax, 2
add esi, 2
test cl, cl
jne 0x426ea1
xor eax, eax
jmp 0x426ece
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x426ef8
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x708]
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 + 0x38]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov edx, dword [eax]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], edx
call sub.MFC42.DLL_CString::CString_3
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x914], 6
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 4]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 8]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x14]
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 edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x28]
push edi
push ebx
push edx
add eax, 0x76c
push ecx
push esi
push eax
lea edx, [esp + 0x38]
push str._04d__02d__02d__02d__02d__02d
push edx
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x300]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x500]
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]
lea edi, [esp + 0x300]
or ecx, 0xffffffff
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
lea ecx, [esp + 0x300]
cmp eax, ebx
mov dword [esp + 0x3c], 0x58
mov dword [esp + 0x70], 0x806
mov dword [esp + 0x48], 0x457570
mov dword [esp + 0x78], 0x45756c
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0x200
jne 0x42703c
mov dword [esp + 0x40], ebx
jmp 0x427043
mov edx, dword [eax + 0x20]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x708]
push ecx
mov dword [esp + 0x6c], eax
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
jne 0x4270bc
lea ecx, [esp + 0x20]
mov byte [esp + 0x910], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x910], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x910], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x910], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x910], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4271cc
mov eax, dword [esp + 0x918]
lea edx, [esp + 0x300]
push edx
push 0x456ce0
push eax
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x104]
push ecx
lea eax, [esp + 0x20c]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x318]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x20
lea esi, [esp + 0xf8]
lea eax, [esp + 0x500]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x427136
test cl, cl
je 0x427132
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x427136
add eax, 2
add esi, 2
test cl, cl
jne 0x427112
xor eax, eax
jmp 0x42713b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x427169
lea edi, [esp + 0xf8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x10]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x74], ebx
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x20]
mov dword [ebp + 0x78], eax
mov esi, eax
mov byte [esp + 0x910], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x910], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x910], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x910], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x910], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x908]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x904
ret 4