Function at 0x406540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x57c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
call fcn.004125c0
call fcn.0040c7a0
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x39d4]
push eax
mov eax, dword [ebx + 0x20]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x406596
xor eax, eax
jmp 0x406599
mov eax, dword [ebx + 0x20]
mov ecx, dword [0x447234]
push 1
push ecx
push eax
call dword [sym.imp.USER32.dll_SetPropA]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00406c70
jmp 0x4065d3
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00408c50
mov eax, dword [0x444e64]
mov edx, dword [str.Fcc.Fcc]
mov dword [ebp - 0x158], eax
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x154]
mov dword [ebp - 0x15c], edx
mov edx, dword [0x444e50]
rep stosd dword es:[edi], eax
mov ecx, dword [str.Fcc.Enlarge_Info]
mov eax, dword [0x444e54]
mov dword [ebp - 0x13c], ecx
mov ecx, dword [0x444e58]
mov dword [ebp - 0x138], edx
mov dl, byte [0x444e5c]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], ecx
mov ecx, dword [str.Fcc.Enlarge_RedEye]
xor eax, eax
mov byte [ebp - 0x12c], dl
mov edx, dword [0x444e3c]
mov dword [ebp - 0x12b], eax
mov dword [ebp - 0x11c], ecx
mov ecx, dword [0x444e44]
mov dword [ebp - 0x127], eax
mov dword [ebp - 0x118], edx
mov dx, word [0x444e48]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x123], eax
xor ecx, ecx
mov word [ebp - 0x10c], dx
mov edx, dword [str.Fcc.Enlarge_Revise]
mov word [ebp - 0x11f], ax
mov dword [ebp - 0x109], ecx
mov byte [ebp - 0x11d], al
mov eax, dword [0x444e40]
mov dword [ebp - 0x105], ecx
mov dword [ebp - 0xfc], edx
mov edx, dword [0x444e30]
mov dword [ebp - 0x101], ecx
mov dword [ebp - 0x114], eax
mov al, byte [0x444e4a]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 0xfd], cl
mov ecx, dword [0x444e2c]
xor edx, edx
mov byte [ebp - 0x10a], al
mov eax, dword [0x444e28]
mov dword [ebp - 0xe9], edx
mov dword [ebp - 0xf4], ecx
mov cl, byte [0x444e36]
mov dword [ebp - 0xe5], edx
mov dword [ebp - 0xf8], eax
mov ax, word [0x444e34]
mov byte [ebp - 0xea], cl
mov dword [ebp - 0xe1], edx
mov ecx, 5
mov esi, str.Fcc.Enlarge_Trimming
lea edi, [ebp - 0xdc]
mov word [ebp - 0xec], ax
mov byte [ebp - 0xdd], dl
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.Fcc.Search]
mov edx, dword [0x444e04]
xor eax, eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc7], eax
mov dword [ebp - 0xbc], ecx
mov cl, byte [0x444e0a]
mov dword [ebp - 0xc3], eax
mov word [ebp - 0xbf], ax
mov dword [ebp - 0xb8], edx
mov byte [ebp - 0xbd], al
mov ax, word [0x444e08]
xor edx, edx
mov word [ebp - 0xb4], ax
mov byte [ebp - 0xb2], cl
mov dword [ebp - 0xb1], edx
mov eax, dword [str.Fcc.Dsc]
mov ecx, dword [0x444dfc]
mov dword [ebp - 0xad], edx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa9], edx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa5], edx
mov ecx, 6
mov dword [ebp - 0xa1], edx
xor eax, eax
lea edi, [ebp - 0x94]
mov byte [ebp - 0x9d], dl
rep stosd dword es:[edi], eax
mov eax, dword [0x444df0]
mov cx, word [0x444df4]
mov edx, dword [str.Fcc.Config]
mov dword [ebp - 0x78], eax
xor eax, eax
mov word [ebp - 0x74], cx
mov dword [ebp - 0x71], eax
mov dword [ebp - 0x7c], edx
mov dl, byte [0x444df6]
mov dword [ebp - 0x6d], eax
mov dword [ebp - 0x69], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x65], eax
push ecx
mov dword [ebp - 0x61], eax
mov byte [ebp - 0x72], dl
mov byte [ebp - 0x5d], al
call fcn.0040cdc0
add esp, 4
push 0x5c
lea edx, [ebp - 0x40]
push eax
push edx
mov dword [ebp - 4], 2
call sub.MFC42.DLL_operator_2
mov ecx, dword [str.Settings.cfg]
lea edx, [ebp - 0x30]
push ecx
push eax
push edx
mov byte [ebp - 4], 3
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea esi, [ebp - 0x15c]
lea edi, [ebx + 0x39b4]
mov dword [ebp - 0x18], 8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
push eax
push 0x400
push 0x400
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [str.HelpFilePath]
push eax
push 0x446fe0
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x14]
push edx
push 0x444de8
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
add edi, 4
add esi, 0x20
dec eax
mov dword [ebp - 0x18], eax
jne 0x40686a
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [ebp - 0x588]
push 0x400
push ecx
push 0x446fe0
push str.DscExtension
push str.Extension
mov byte [ebp - 4], 8
call esi
lea edi, [ebp - 0x588]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x406921
lea edx, [ebp - 0x588]
lea ecx, [ebp - 0x2c]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x447258]
lea ecx, [ebp - 0x48]
push eax
push ecx
call fcn.0041bc60
mov edi, eax
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 9
push edx
call fcn.0040ca50
mov eax, dword [eax]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0041bc60
add esp, 0x14
push edi
lea ecx, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_operator_1
push 0x447250
lea edx, [ebp - 0x38]
push eax
push edx
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x588]
push eax
push 0x400
push ecx
push 0x446fe0
push str.DscExtension
push str.Extension
call esi
lea edi, [ebp - 0x588]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4069f3
push 0x444aa8
lea ecx, [ebp - 0x2c]
call fcn.0042c7e4
lea edx, [ebp - 0x588]
lea ecx, [ebp - 0x2c]
push edx
call fcn.0042c7e4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x406a10
mov edx, dword [ebx + 0x117c]
lea ecx, [ebx + 0x117c]
push eax
call dword [edx + 0x118]
mov edi, dword [ebp - 0x34]
mov ecx, ebx
mov eax, dword [edi + 0x24]
push eax
push ebx
call fcn.00409780
mov edx, dword [ebx + 0x117c]
lea esi, [ebx + 0x117c]
mov ecx, esi
call dword [edx + 0x184]
lea eax, [ebx + 0xad8]
mov ecx, ebx
push eax
push esi
call fcn.00409820
mov ecx, ebx
call fcn.00408c00
lea esi, [edi + 0xc]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x406a65
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CenterWindow
jmp 0x406beb
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov eax, dword [eax + 0x20]
lea edx, [ebp - 0x5c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x54]
cmp eax, edx
jle 0x406ac1
mov esi, dword [ebp - 0x28]
mov ecx, eax
sub eax, esi
mov esi, dword [0x43850c]
sub ecx, edx
sub eax, esi
cmp ecx, eax
mov dword [ebp - 0x20], edx
jle 0x406abc
sub ecx, eax
jmp 0x406abe
xor ecx, ecx
sub dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x50]
cmp eax, edx
jle 0x406aec
mov esi, dword [ebp - 0x24]
mov ecx, eax
sub eax, esi
mov esi, dword [0x438510]
sub ecx, edx
sub eax, esi
cmp ecx, eax
mov dword [ebp - 0x1c], edx
jle 0x406ae7
sub ecx, eax
jmp 0x406ae9
xor ecx, ecx
sub dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x28]
xor esi, esi
cmp eax, esi
jge 0x406af8
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x24], esi
jge 0x406b00
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
push str.PnlFileManager
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 0x12
call fcn.0041c8f0
mov edx, dword [eax]
push esi
lea ecx, [ebp - 0x18]
push 7
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov eax, dword [eax]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x188]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CWnd::GetWindowPlacement
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x1c]
cmp eax, esi
mov dword [ebp - 0x164], edx
je 0x406bcc
mov ecx, ebx
call fcn.00408d00
test eax, eax
jne 0x406bc2
push esi
push 0x44715c
call fcn.0040be40
mov ecx, eax
call fcn.0040bfe0
mov dword [ebp - 0x180], 1
jmp 0x406bcc
mov dword [ebp - 0x180], 3
lea ecx, [ebp - 0x188]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowPlacement
mov edx, dword [ebx + 0x20]
push 0x185
push esi
push esi
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.004054b0
mov eax, dword [eax + 0x24]
test eax, eax
je 0x406c0e
cmp eax, 6
je 0x406c24
mov eax, dword [ebx + 0x20]
push 0
push 0x82dc
push 0x111
push eax
jmp 0x406c1e
mov ecx, dword [ebx + 0x20]
push 0
push 0x82dd
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret