Function at 0x40a790
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x443c80
push eax
mov dword fs:[0], esp
sub esp, 0x460
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x40a8f7
push eax
lea ecx, [esp + 0xe0]
call fcn.00413fb0
lea ecx, [esp + 0xdc]
mov dword [esp + 0x478], 0
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x40a894
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
lea ecx, [esi + 0x12a8]
push eax
mov byte [esp + 0x47c], 1
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
mov dword [esi + 0xe4], edx
lea ebp, [esi + 0xe0]
repne scasb al, byte es:[edi]
not ecx
push ebp
push ecx
push edx
mov ecx, esi
call fcn.00407700
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp]
lea edx, [esp + 0x14]
push ecx
push str.http:__www.ancamera.co.kr_home_member_login.html_rtn
push str._s_s
push edx
mov byte [esp + 0x488], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [esi + 0x60]
push 0
push 0
push 0
push 0
push 0
push eax
call sub.MFC42.DLL_CHtmlView::Navigate2
lea ecx, [esp + 0x14]
mov byte [esp + 0x478], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x478], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x144]
mov dword [esp + 0x478], 4
call fcn.0042dc90
lea ecx, [esp + 0x13c]
mov dword [esp + 0x13c], 0x448b98
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x478], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x13c], 0x448bc0
mov dword [esp + 0x478], 0xffffffff
lea ecx, [esp + 0xdc]
jmp 0x40ad0e
cmp eax, 1
jne 0x40ad13
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4579a8
call fcn.00402d30
push str.ancamera.ini
lea edx, [esp + 0x14]
push eax
push edx
mov dword [esp + 0x484], 6
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.LEFT
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x10]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x478], ebp
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]
push eax
push ecx
mov dword [esp + 0x484], 7
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0
push 0x456098
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x478], ebp
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x1a44]
sub edi, edx
sub ebp, ecx
cmp eax, 1
jne 0x40a9f6
push 1
push 1
push 1
push 0
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
push 0
lea ecx, [esp + 0x3c]
call fcn.00420820
lea ecx, [esp + 0x38]
mov dword [esp + 0x478], 8
call sub.MFC42.DLL_CDialog::DoModal
test eax, eax
je 0x40acff
cmp dword [esp + 0xd8], 1
jne 0x40acff
lea ecx, [esp + 0x38]
call fcn.00420d40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x40ab90
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x40ab90
push 1
push 0xff00ff
mov ecx, esi
call fcn.004063c0
push 5
lea ecx, [esi + 0x430c]
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [esi + 0x1a2c]
test eax, eax
je 0x40aaa8
push 9
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
lea ecx, [esi + 0xa50]
mov dword [esi + 0x1a2c], 0
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [esi + 0xbb4]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
sub edx, eax
add edx, 0x90
push 1
push edx
mov edx, dword [esp + 0xa8]
sub edx, ecx
add eax, 0xffffff87
add edx, 8
add ecx, 0xfffffffc
push edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
push 0
lea ecx, [esp + 0xe0]
call fcn.00413510
lea ecx, [esp + 0xdc]
mov byte [esp + 0x478], 9
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x40c]
mov byte [esp + 0x478], 0xd
call fcn.0042f180
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x478], 0xc
call fcn.0042dc90
lea ecx, [esp + 0x144]
mov byte [esp + 0x478], 0xb
call fcn.0042dc90
lea eax, [esp + 0x13c]
mov dword [esp + 0x13c], 0x448b98
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x478], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0xdc]
mov dword [esp + 0x13c], 0x448bc0
mov byte [esp + 0x478], 8
call fcn.004412fa
jmp 0x40acff
cmp dword [esi + 0x1a44], 1
jne 0x40aba2
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [esi + 0x1a2c]
test eax, eax
je 0x40abd9
push 9
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
lea ecx, [esi + 0xa50]
mov dword [esi + 0x1a2c], 0
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [esi + 0xbb4]
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x18]
push 1
push ebp
push edi
push ecx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esi + 0x114]
mov edi, 1
cmp dword [eax + 0x304], edi
jne 0x40ac41
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x114]
push 0
mov ecx, dword [eax + 0x304]
mov edx, dword [eax + 0x308]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0040ad30
mov ecx, dword [esi + 0x124]
call fcn.00427330
jmp 0x40ac8f
mov ecx, dword [eax + 0x300]
test ecx, ecx
je 0x40ac72
mov ecx, dword [eax + 0x308]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x124]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0042a8a0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
jmp 0x40ac8f
mov ecx, dword [eax + 0x308]
mov edx, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x124]
push edx
call fcn.0042a420
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], edi
jne 0x40acf6
lea eax, [esp + 0x1c]
mov ecx, 0x4579a8
push eax
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x484], 0xf
call sub.MFC42.DLL_operator_2
mov edx, dword [esi + 0x124]
mov eax, dword [eax]
push eax
mov ecx, dword [edx + 0x88]
push ecx
push str.LASTCAPTUREPATH
push str.OPTION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x478], 8
call sub.MFC42.DLL_CString::CString
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esp + 0x478], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.004412fa
mov ecx, dword [esp + 0x470]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x46c
ret