Function at 0x464600
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x56ddf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov eax, dword [0x5c58d0]
push ebx
push ebp
mov ebp, dword [esp + 0x278]
push esi
mov dword [esp + 0x268], eax
push edi
mov eax, ebp
call fcn.004657d0
mov eax, dword [0x68c9b4]
mov esi, dword [eax + 0x24]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
xor eax, eax
mov dword [esp + 0x278], eax
mov byte [esp + 0x60], al
mov ecx, 0x82
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
push str.LinearUnit
push esi
lea ebx, [esp + 0x1c]
mov eax, 0x57cea8
mov dword [esp + 0x1c], 0x208
call fcn.0045ea90
test al, al
je 0x46469c
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x46469c
cmp eax, dword [ebp + 0x14]
ja 0x46469c
mov dword [ebp + 8], eax
mov edi, 0x208
mov dword [esp + 0x10], edi
mov byte [esp + 0x60], 0
call sub.MFC71.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
call fcn.0051db2a
push eax
mov ecx, esi
call sub.MFC71.DLL_CObject::IsKindOf
test eax, eax
je 0x464757
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x60]
push edx
push 0x57cec4
push eax
lea ebx, [esp + 0x1c]
mov eax, 0x57cea8
call fcn.0045ea90
test al, al
je 0x464717
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46486b
mov ecx, dword [esp + 0x60]
lea esp, [esp]
mov edx, dword [eax + 8]
cmp dword [edx], ecx
je 0x46483c
mov eax, dword [eax]
cmp eax, dword [ebp + 0x2c]
jne 0x464700
jmp 0x46486b
lea eax, [esp + 0x14]
push eax
call fcn.00541e75
add esp, 4
mov ecx, eax
call fcn.00541b37
mov ecx, dword [ebp + 0x2c]
movzx edx, ax
mov eax, dword [ecx]
cmp eax, ecx
je 0x46486b
jmp 0x464740
mov ecx, dword [eax + 8]
cmp dword [ecx], edx
je 0x464821
mov eax, dword [eax]
cmp eax, dword [ebp + 0x2c]
jne 0x464740
jmp 0x46486b
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0x18]
push edx
push str.SoftwareAheadNero___Burning_RomGeneral_
push SysReAllocString
call esi
test eax, eax
je 0x4647db
lea eax, [esp + 0x18]
push eax
push str.SoftwareAheadNeroVisionGeneral_
push SysReAllocString
call esi
test eax, eax
je 0x4647db
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push ecx
push 0x57cec4
push edx
lea ebx, [esp + 0x1c]
mov eax, 0x57cea8
call fcn.0045ea90
lea ecx, [esp + 0x14]
push ecx
call fcn.00541e75
add esp, 4
mov ecx, eax
call fcn.00541b37
mov ecx, dword [ebp + 0x2c]
movzx edx, ax
mov eax, dword [ecx]
cmp eax, ecx
je 0x46486b
mov ecx, dword [eax + 8]
cmp dword [ecx], edx
je 0x464821
mov eax, dword [eax]
cmp eax, dword [ebp + 0x2c]
jne 0x4647c8
jmp 0x46486b
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push str.Language
push eax
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46486b
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + 8]
cmp dword [edx], ecx
je 0x46483c
mov eax, dword [eax]
cmp eax, dword [ebp + 0x2c]
jne 0x464811
jmp 0x46486b
mov esi, dword [eax + 8]
mov edx, dword [esi]
lea eax, [esi + 4]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x18], edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esi + 8]
push ecx
jmp 0x464855
mov esi, dword [eax + 8]
mov eax, dword [esi]
lea ecx, [esi + 4]
push ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x18], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea edx, [esi + 8]
push edx
lea ecx, [ebp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
add esi, 0xc
lea ecx, [ebp + 0x24]
push esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], edi
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
je 0x4648e3
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push str.UndoOption
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4648b1
push esi
call ebx
jmp 0x4648e3
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.UndoOption
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call ebx
test edi, edi
sete al
test al, al
je 0x4648e3
mov edx, dword [esp + 0x60]
mov dword [ebp + 0x44], edx
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x464977
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push str.UndoMemory
push esi
call ebx
test eax, eax
je 0x46492d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x464977
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.UndoMemory
push esi
call ebx
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
test al, al
je 0x464977
mov eax, dword [esp + 0x60]
cmp eax, 0x400
jae 0x46496f
cmp eax, 1
jae 0x464974
mov eax, 1
jmp 0x464974
mov eax, 0x400
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x464a05
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x20]
push eax
push 0
push str.UndoSteps
push esi
call ebx
test eax, eax
je 0x4649bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x464a05
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.UndoSteps
push esi
call ebx
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
test al, al
je 0x464a05
mov eax, dword [esp + 0x60]
cmp eax, 0xf4240
jae 0x4649fd
cmp eax, 1
jae 0x464a02
mov eax, 1
jmp 0x464a02
mov eax, 0xf4240
mov dword [ebp + 0x4c], eax
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x464a7f
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push str.DefaultLabelMetrics
push esi
call ebx
test eax, eax
je 0x464a49
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x464a7f
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push str.DefaultLabelMetrics
push esi
call ebx
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
test al, al
je 0x464a7f
cmp dword [esp + 0x60], 1
sete al
mov byte [ebp + 0x78], al
call fcn.00466ac0
mov ebp, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0
mov byte [esp + 0x278], 1
mov eax, dword [0x68ca38]
test eax, eax
jne 0x464aad
call fcn.0046c390
mov eax, dword [0x68ca38]
lea ecx, [esp + 0x40]
cmp ecx, eax
je 0x464afa
mov edi, dword [eax + 4]
mov eax, dword [ebp]
cmp eax, ebp
mov ebx, dword [edi]
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
mov dword [esp + 0x48], 0
je 0x464ae1
nop
mov esi, dword [eax]
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x464ad0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push edx
push edi
push ebx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0046d420
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov byte [esp + 0x278], 3
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], vtable.CCoverItemSettings.0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
mov dword [esp + 0x38], 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov edi, dword [ebp]
cmp edi, ebp
je 0x464d53
mov ebp, dword [esp + 0x280]
add ebp, 0x50
mov edi, edi
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push str.Normal_Paper
lea ecx, [esp + 0x28]
mov byte [esp + 0x27c], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
mov bl, 8
mov byte [esp + 0x278], bl
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push str.PaperStock
push eax
call fcn.00407ae0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x278], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
push 0x57cea8
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x464c4a
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x44]
push edx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x464c08
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x464c4a
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
test al, al
je 0x464c4a
mov al, byte [esp + 0x60]
test al, al
je 0x464c4a
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
call dword [0x574b1c]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 4]
push eax
push str.CoverItemType
lea edx, [esp + 0x30]
push str._s_d
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
add esp, 0x10
lea eax, [esp + 0x30]
push eax
push ecx
push 0x57cea8
push edx
call fcn.0045e970
test al, al
je 0x464cb4
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov ebx, ebp
call fcn.00466590
mov esi, eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
jmp 0x464d21
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x24]
mov byte [esp + 0x278], 0xa
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], vtable.CCoverItemSettings.0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
mov dword [esp + 0x58], 1
lea ecx, [esp + 0x14]
mov ebx, ebp
mov byte [esp + 0x278], 0xb
call fcn.00466590
lea ecx, [esp + 0x54]
mov esi, eax
push ecx
lea ecx, [esi + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x54]
mov dword [esi + 8], edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov dword [esp + 0x50], vtable.CSerializable.0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x28]
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov edi, dword [edi]
cmp edi, dword [esp + 0x44]
jne 0x464b50
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x464dc3
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.Docs
push esi
call edi
test eax, eax
je 0x464d9f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call ebx
jmp 0x464dc9
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.Docs
push esi
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call ebx
jmp 0x464dc9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x280]
lea edx, [esp + 0x60]
lea ecx, [ebp + 0x34]
push edx
mov dword [esp + 0x40], ecx
call dword [0x574b1c]
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x464e39
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.ImportFiles
push esi
call edi
test eax, eax
jne 0x464e36
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.ImportFiles
push esi
call edi
push esi
call ebx
lea edx, [esp + 0x60]
lea ecx, [ebp + 0x3c]
push edx
mov dword [esp + 0x30], ecx
call dword [0x574b1c]
call sub.MFC71.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
push 0
push str.DocTemplates
push str.DefaultSettings
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call sub.MFC71.DLL_CWinApp::GetProfileStringA
add ebp, 0x38
mov byte [esp + 0x278], 0xc
push eax
mov ecx, ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x14]
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x464ff3
lea edx, [esp + 0x18]
push edx
push 0x2001f
push eax
push str.SoftwareAheadCover_DesignerDefaultSettings
mov byte [esp + 0x288], 0xd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x464f0e
mov ebx, dword [esp + 0x18]
push 0x105
mov ecx, ebp
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_2]
mov esi, eax
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.DocTemplates
push ebx
mov dword [esp + 0x30], 0x105
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x464f49
mov esi, eax
jmp 0x464f77
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], vtable.CSerializable.0
mov eax, dword [edi]
cmp eax, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x465771
mov esi, dword [eax]
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x464f33
jmp 0x465771
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x464f5e
cmp eax, 2
je 0x464f5e
mov esi, 0xd
jmp 0x464f77
test esi, esi
je 0x464f75
mov edx, dword [esp + 0x18]
mov al, byte [edx + esi - 1]
test al, al
je 0x464f75
mov esi, 0xd
jmp 0x464f77
xor esi, esi
push 0xffffffffffffffff
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer_1]
test esi, esi
je 0x464fcb
test ebx, ebx
je 0x464f90
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], vtable.CSerializable.0
mov eax, dword [edi]
cmp eax, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x465771
mov esi, dword [eax]
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x464fb5
jmp 0x465771
mov eax, dword [ebp]
push eax
push str.DocTemplates
push str.DefaultSettings
mov ecx, edi
call sub.MFC71.DLL_CWinApp::WriteProfileStringA
test ebx, ebx
mov byte [esp + 0x278], 5
je 0x464ff3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x280]
lea esi, [ebx + 0x88]
push 0x105
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Preallocate]
push 0
push str.DefaultAudioTemplate
push 0x57e818
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call sub.MFC71.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, esi
mov byte [esp + 0x27c], 0xe
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append]
lea ecx, [esp + 0x14]
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x46509e
push ebp
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append]
push 0x5c
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp eax, 0xffffffff
je 0x465073
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
dec ecx
cmp eax, ecx
je 0x46507d
push 0x5c
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::AppendChar_1]
push str.Audio_Title.nct
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_1]
mov esi, dword [esi]
push esi
push str.DefaultAudioTemplate
push 0x57e818
mov ecx, edi
call sub.MFC71.DLL_CWinApp::WriteProfileStringA
lea esi, [ebx + 0x8c]
push 0x105
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Preallocate]
push 0
push str.DefaultDataTemplate
push 0x57e818
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call sub.MFC71.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, esi
mov byte [esp + 0x27c], 0xf
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append]
lea ecx, [esp + 0x14]
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x465142
push ebp
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append]
push 0x5c
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp eax, 0xffffffff
je 0x465117
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
dec ecx
cmp eax, ecx
je 0x465121
push 0x5c
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::AppendChar_1]
push str.Data_Title.nct
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_1]
mov esi, dword [esi]
push esi
push str.DefaultDataTemplate
push 0x57e818
mov ecx, edi
call sub.MFC71.DLL_CWinApp::WriteProfileStringA
lea esi, [ebx + 0x90]
push 0x105
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Preallocate]
push 0
push str.DefaultMixedTemplate
push 0x57e818
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call sub.MFC71.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, esi
mov byte [esp + 0x27c], 0x10
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append]
lea ecx, [esp + 0x14]
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x4651e6
push ebp
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append]
push 0x5c
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp eax, 0xffffffff
je 0x4651bb
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
dec ecx
cmp eax, ecx
je 0x4651c5
push 0x5c
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::AppendChar_1]
push str.Data_Title.nct
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_1]
mov esi, dword [esi]
push esi
push str.DefaultMixedTemplate
push 0x57e818
mov ecx, edi
call sub.MFC71.DLL_CWinApp::WriteProfileStringA
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x465256
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.DlgFontName
push esi
call ebx
test eax, eax
je 0x465232
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call ebp
jmp 0x46525c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.DlgFontName
push esi
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call ebp
jmp 0x46525c
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x60]
test al, al
je 0x465279
mov ecx, dword [esp + 0x280]
lea edx, [esp + 0x60]
push edx
add ecx, 0x40
call dword [0x574b1c]
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x465328
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x57cf40
push esi
call ebx
test eax, eax
je 0x4652bd
push esi
call ebp
jmp 0x465328
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x57cf40
push esi
call ebx
push esi
mov edi, eax
call ebp
test edi, edi
sete al
test al, al
je 0x465328
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x24]
call dword [0x574b1c]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.MSVCR71.dll_strtod]
fld st(0)
mov ecx, dword [esp + 0x288]
fstp qword [ecx + 0x60]
add esp, 8
fcomp qword [0x68d0c0]
fnstsw ax
test ah, 0x41
jne 0x465328
fld qword [0x594cf8]
fstp qword [ecx + 0x60]
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x4653f1
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push str.PrintOffsetX
push esi
call ebx
test eax, eax
je 0x46536f
push esi
call ebp
jmp 0x4653f1
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PrintOffsetX
push esi
call ebx
push esi
mov edi, eax
call ebp
test edi, edi
sete al
test al, al
je 0x4653f1
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x24]
call dword [0x574b1c]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.MSVCR71.dll_strtod]
fld st(0)
mov ecx, dword [esp + 0x288]
fstp qword [ecx + 0x68]
add esp, 8
fld qword [0x68d0c8]
fchs
fld st(1)
fcompp
fnstsw ax
test ah, 5
jnp 0x4653e6
fcomp qword [0x68d0c8]
fnstsw ax
test ah, 0x41
jne 0x4653f1
jmp 0x4653e8
fstp st(0)
fld qword [0x594cf8]
fstp qword [ecx + 0x68]
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x4654ba
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push str.PrintOffsetY
push esi
call ebx
test eax, eax
je 0x465438
push esi
call ebp
jmp 0x4654ba
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.PrintOffsetY
push esi
call ebx
push esi
mov edi, eax
call ebp
test edi, edi
sete al
test al, al
je 0x4654ba
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x24]
call dword [0x574b1c]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.MSVCR71.dll_strtod]
fld st(0)
mov ecx, dword [esp + 0x288]
fstp qword [ecx + 0x70]
add esp, 8
fld qword [0x68d0c8]
fchs
fld st(1)
fcompp
fnstsw ax
test ah, 5
jnp 0x4654af
fcomp qword [0x68d0c8]
fnstsw ax
test ah, 0x41
jne 0x4654ba
jmp 0x4654b1
fstp st(0)
fld qword [0x594cf8]
fstp qword [ecx + 0x70]
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x465533
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.PromptNewPage
push esi
call ebx
test eax, eax
je 0x4654fa
push esi
call ebp
jmp 0x465533
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.PromptNewPage
push esi
call ebx
push esi
mov edi, eax
call ebp
test edi, edi
sete al
test al, al
je 0x465533
cmp dword [esp + 0x60], 1
mov eax, dword [esp + 0x280]
sete dl
mov byte [eax + 0x79], dl
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x4655ae
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push str.PrintBleeding
push esi
call ebx
test eax, eax
je 0x465573
push esi
call ebp
jmp 0x4655ae
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.PrintBleeding
push esi
call ebx
push esi
mov edi, eax
call ebp
test edi, edi
sete al
test al, al
je 0x4655ae
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x280]
cmp eax, 1
sete al
mov byte [ecx + 0x7a], al
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x465623
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push str.UsageOfBorders
push esi
call ebx
test eax, eax
je 0x4655ee
push esi
call ebp
jmp 0x465623
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.UsageOfBorders
push esi
call ebx
push esi
mov edi, eax
call ebp
test edi, edi
sete al
test al, al
je 0x465623
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x280]
mov dword [edx + 0x7c], ecx
mov eax, dword [esp + 0x1c]
push 0x57cea8
mov dword [esp + 0x14], 0x208
mov byte [esp + 0x64], 0
call fcn.0045ee50
mov esi, eax
test esi, esi
je 0x46569b
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.UsageOfCropMarks
push esi
call ebx
test eax, eax
je 0x465663
push esi
call ebp
jmp 0x46569b
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.UsageOfCropMarks
push esi
call ebx
push esi
mov edi, eax
call ebp
test edi, edi
sete al
test al, al
je 0x46569b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x280]
mov dword [eax + 0x80], edx
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x4656d2
lea ebx, [esp + 0x14]
call fcn.00466210
push eax
mov ecx, esi
mov byte [esp + 0x27c], 0x11
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov ecx, ebx
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov esi, dword [esp + 0x2c]
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x465709
lea ebx, [esp + 0x14]
call fcn.00466210
push eax
mov ecx, esi
mov byte [esp + 0x27c], 0x12
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov ecx, ebx
mov byte [esp + 0x278], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x46573a
push 1
push 0x15
push 0x105
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBufferSetLength]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, esi
push 0xffffffffffffffff
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer_1]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], vtable.CSerializable.0
mov eax, dword [edi]
cmp eax, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x465771
jmp 0x465760
mov esi, dword [eax]
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x465760
push edi
call sub.MFC71.DLL_operator_delete_1
lea ecx, [esp + 0x24]
add esp, 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x260]
pop ebx
call fcn.0054939e
add esp, 0x26c
ret 4