Function at 0x460400
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59c548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00461060
call fcn.00443eb0
mov ebx, dword [eax + 0x24]
mov eax, dword [0x6131b0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov cl, byte [0x61810c]
xor eax, eax
mov byte [esp + 0xac], cl
mov ecx, 0x82
lea edi, [esp + 0xad]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xac]
push edx
push eax
mov esi, 0x208
push str.LinearUnit
push 0x5b47b8
mov ecx, ebx
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x20], esi
call fcn.0045b130
test al, al
je 0x4604a1
mov eax, dword [esp + 0xac]
test eax, eax
jle 0x4604a1
cmp eax, dword [ebp + 0x18]
ja 0x4604a1
mov dword [ebp + 8], eax
mov dword [esp + 0x10], esi
mov byte [esp + 0xac], 0
call fcn.0058ec69
mov eax, dword [eax + 4]
push 0x5b1270
mov ecx, eax
call fcn.00576cd2
test eax, eax
je 0x46056a
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push 0x5b47d4
push 0x5b47b8
mov ecx, ebx
call fcn.0045b130
test al, al
je 0x46052e
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
cmp eax, ecx
je 0x460669
mov edx, dword [esp + 0xac]
mov esi, dword [eax + 8]
cmp dword [esi], edx
je 0x460511
mov eax, dword [eax]
cmp eax, ecx
jne 0x4604ff
jmp 0x460669
mov esi, dword [eax + 8]
mov eax, dword [esi]
lea ecx, [esi + 4]
push ecx
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], eax
call fcn.00575d0e
lea edx, [esi + 8]
push edx
jmp 0x460655
lea eax, [esp + 0x14]
push eax
call fcn.00524e77
add esp, 4
mov ecx, eax
call fcn.00524fcc
mov edx, dword [ebp + 0x30]
and eax, 0xffff
mov ecx, dword [edx]
cmp ecx, edx
je 0x460669
mov esi, dword [ecx + 8]
cmp dword [esi], eax
je 0x460638
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x460554
jmp 0x460669
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 0x20]
push ecx
push str.SoftwareAheadNero___Burning_RomGeneral_
push SysReAllocStringLen
call esi
test eax, eax
je 0x4605ed
lea edx, [esp + 0x20]
push edx
push str.SoftwareAheadNeroVisionGeneral_
push SysReAllocStringLen
call esi
test eax, eax
je 0x4605ed
lea eax, [esp + 0x10]
lea ecx, [esp + 0xac]
push eax
push ecx
push 0x5b47d4
push 0x5b47b8
mov ecx, ebx
call fcn.0045b130
lea eax, [esp + 0x14]
push eax
call fcn.00524e77
add esp, 4
mov ecx, eax
call fcn.00524fcc
mov edx, dword [ebp + 0x30]
and eax, 0xffff
mov ecx, dword [edx]
cmp ecx, edx
je 0x460669
mov esi, dword [ecx + 8]
cmp dword [esi], eax
je 0x460638
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x4605de
jmp 0x460669
lea edx, [esp + 0x10]
lea eax, [esp + 0xac]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.Language
push edx
mov dword [esp + 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
cmp eax, ecx
je 0x460669
mov edx, dword [esp + 0xac]
mov esi, dword [eax + 8]
cmp dword [esi], edx
je 0x46063d
mov eax, dword [eax]
cmp eax, ecx
jne 0x460629
jmp 0x460669
mov esi, dword [ecx + 8]
jmp 0x460640
mov esi, dword [eax + 8]
mov ecx, dword [esi]
lea edx, [esi + 4]
mov dword [ebp + 0x1c], ecx
push edx
lea ecx, [ebp + 0x20]
call fcn.00575d0e
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x24]
call fcn.00575d0e
add esi, 0xc
lea ecx, [ebp + 0x28]
push esi
call fcn.00575d0e
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
mov esi, 0x208
push str.UndoOption
push 0x5b47b8
mov ecx, ebx
mov dword [esp + 0x20], esi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x4606a6
mov eax, dword [esp + 0xac]
mov dword [ebp + 0x48], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push str.UndoMemory
push 0x5b47b8
mov ecx, ebx
mov dword [esp + 0x20], esi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x4606f6
mov eax, dword [esp + 0xac]
cmp eax, 0x400
jae 0x4606ee
cmp eax, 1
jae 0x4606f3
mov eax, 1
jmp 0x4606f3
mov eax, 0x400
mov dword [ebp + 0x4c], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xac]
push eax
push ecx
push str.UndoSteps
push 0x5b47b8
mov ecx, ebx
mov dword [esp + 0x20], esi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460746
mov eax, dword [esp + 0xac]
cmp eax, 0xf4240
jae 0x46073e
cmp eax, 1
jae 0x460743
mov eax, 1
jmp 0x460743
mov eax, 0xf4240
mov dword [ebp + 0x50], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0xac]
push edx
push eax
push str.DefaultLabelMetrics
push 0x5b47b8
mov ecx, ebx
mov dword [esp + 0x20], esi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460785
cmp dword [esp + 0xac], 1
sete cl
mov byte [ebp + 0x80], cl
mov dl, byte [esp + 0x43]
push 0x18
mov byte [esp + 0x34], dl
call fcn.00570bbc
xor esi, esi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x34]
mov byte [esp + 0x2c4], 1
push eax
call fcn.0046cb90
mov ecx, dword [0x6131b0]
add esp, 8
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], vtable.CSerializable.0
lea edx, [esp + 0x54]
lea ecx, [esp + 0x48]
push edx
mov byte [esp + 0x2c4], 3
call fcn.0057594a
mov ebx, vtable.CCoverItemSettings.0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 5
call fcn.00575bd5
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x460b04
mov eax, dword [0x6131b0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
push str.Normal_Paper
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c4], 7
call fcn.00575c43
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x2c4], 8
call fcn.00576ee0
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
push str.PaperStock
push edx
call fcn.00575ede
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c4], 9
call fcn.00575d0e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c0], 8
call fcn.00575bd5
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xac]
push eax
push ecx
push edx
push 0x5b47b8
mov ecx, edi
call fcn.0045b130
test al, al
je 0x4608bd
mov al, byte [esp + 0xac]
test al, al
je 0x4608bd
lea eax, [esp + 0xac]
lea ecx, [esp + 0x3c]
push eax
call fcn.00575d5e
mov ecx, dword [esi + 8]
lea edx, [esp + 0x28]
mov eax, dword [ecx + 4]
push eax
push str.CoverItemType
push str._s_d
push edx
call fcn.0056ad27
mov ecx, dword [esp + 0x38]
add esp, 0x10
lea eax, [esp + 0x44]
push eax
push ecx
push 0x5b47b8
mov ecx, edi
call fcn.0045b090
test al, al
je 0x4609be
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [0x6131b0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x70], vtable.CSerializable.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 0xb
push ecx
lea ecx, [esp + 0x78]
call fcn.0057594a
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], ebx
lea edx, [esp + 0x70]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2c8], 0xc
call fcn.00462170
lea ecx, [esp + 0xa4]
push eax
push ecx
lea ecx, [ebp + 0x54]
mov byte [esp + 0x2c8], 0xd
call fcn.00462080
mov edi, dword [eax]
lea ecx, [esp + 0x98]
mov byte [esp + 0x2c0], 0xc
call fcn.00461010
lea ecx, [esp + 0x70]
mov byte [esp + 0x2c0], 0xa
call fcn.00461010
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 8
call fcn.00575bd5
lea edx, [esp + 0x48]
lea ecx, [edi + 0x14]
push edx
call fcn.00575d0e
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x18], eax
jmp 0x460ac3
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 4]
mov dword [esp + 0x58], vtable.CSerializable.0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x5c]
push edx
mov byte [esp + 0x2c4], 0xe
call fcn.0057594a
mov dword [esp + 0x60], 1
mov dword [esp + 0x58], ebx
mov eax, dword [0x6131b0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], vtable.CSerializable.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 0x11
push ecx
lea ecx, [esp + 0x6c]
call fcn.0057594a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
lea edx, [esp + 0x64]
lea ecx, [esp + 0x80]
push edx
mov byte [esp + 0x2c4], 0x12
mov dword [esp + 0x80], edi
call fcn.00461540
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x8c]
push eax
push ecx
lea ecx, [ebp + 0x54]
mov byte [esp + 0x2c8], 0x13
call fcn.00462080
mov edi, dword [eax]
lea ecx, [esp + 0x80]
mov byte [esp + 0x2c0], 0x12
call fcn.00461010
lea ecx, [esp + 0x64]
mov byte [esp + 0x2c0], 0x10
call fcn.00461010
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 0xf
call fcn.00575bd5
lea edx, [esp + 0x5c]
lea ecx, [edi + 0x14]
push edx
call fcn.00575d0e
mov eax, dword [esp + 0x60]
mov dword [edi + 0x18], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2c0], 0x14
call fcn.00575bd5
mov dword [esp + 0x58], vtable.CSerializable.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c0], 7
call fcn.00575bd5
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c0], 6
call fcn.00575bd5
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c0], 5
call fcn.00575bd5
mov esi, dword [esi]
mov eax, dword [esp + 0x34]
cmp esi, eax
jne 0x46080c
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
mov edi, 0x208
push str.Docs
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
lea eax, [esp + 0xac]
lea ecx, [ebp + 0x38]
push eax
call fcn.00575d5e
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push 0x5b47e8
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
lea ebx, [ebp + 0x3c]
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
call fcn.00575d5e
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push str.ImportFiles
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
lea eax, [esp + 0xac]
lea ecx, [ebp + 0x40]
push eax
call fcn.00575d5e
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push str.DlgFontName
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
mov al, byte [esp + 0xac]
test al, al
je 0x460c02
lea eax, [esp + 0xac]
lea ecx, [ebp + 0x44]
push eax
call fcn.00575d5e
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push 0x5b4850
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460c6b
lea eax, [esp + 0xac]
lea ecx, [esp + 0x18]
push eax
call fcn.00575d5e
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
push edx
call fcn.0054046b
fst qword [ebp + 0x68]
fcomp qword [0x6186f0]
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x460c6b
xor eax, eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xac]
push eax
push ecx
push str.PrintOffsetX
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460ceb
lea edx, [esp + 0xac]
lea ecx, [esp + 0x18]
push edx
call fcn.00575d5e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.0054046b
fst qword [ebp + 0x70]
fld qword [0x6186e8]
fchs
fld st(1)
fcompp
add esp, 8
fnstsw ax
test ah, 1
jne 0x460ce1
fcomp qword [0x6186e8]
fnstsw ax
test ah, 0x41
jne 0x460ceb
jmp 0x460ce3
fstp st(0)
xor eax, eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0xac]
push edx
push eax
push str.PrintOffsetY
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460d6b
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00575d5e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x50]
push edx
push eax
call fcn.0054046b
fst qword [ebp + 0x78]
fld qword [0x6186e8]
fchs
fld st(1)
fcompp
add esp, 8
fnstsw ax
test ah, 1
jne 0x460d61
fcomp qword [0x6186e8]
fnstsw ax
test ah, 0x41
jne 0x460d6b
jmp 0x460d63
fstp st(0)
xor eax, eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push str.PromptNewPage
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460daa
cmp dword [esp + 0xac], 1
sete al
mov byte [ebp + 0x81], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push str.PrintBleeding
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460de9
cmp dword [esp + 0xac], 1
sete al
mov byte [ebp + 0x82], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push str.UsageOfBorders
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460e24
mov eax, dword [esp + 0xac]
mov dword [ebp + 0x84], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push str.UsageOfCropMarks
push 0x5b47b8
mov ecx, esi
mov dword [esp + 0x20], edi
mov byte [esp + 0xbc], 0
call fcn.0045b130
test al, al
je 0x460e5f
mov eax, dword [esp + 0xac]
mov dword [ebp + 0x88], eax
mov ecx, dword [ebp + 0x38]
lea esi, [ebp + 0x38]
xor edi, edi
cmp dword [ecx - 8], edi
jne 0x460e99
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
call fcn.00461c50
push eax
mov ecx, esi
mov byte [esp + 0x2c4], 0x15
call fcn.00575d0e
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 5
call fcn.00575bd5
mov eax, dword [ebp + 0x40]
lea esi, [ebp + 0x40]
cmp dword [eax - 8], edi
jne 0x460ed1
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.00461c50
push eax
mov ecx, esi
mov byte [esp + 0x2c4], 0x16
call fcn.00575d0e
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 5
call fcn.00575bd5
mov edx, dword [ebx]
cmp dword [edx - 8], edi
jne 0x460f4f
lea eax, [esp + 0x24]
mov byte [esp + 0x2c0], 0x17
push eax
push 0x20019
push edi
push str.SOFTWARE_aheadCover_DesignerDefaultSettings
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x460f4f
mov esi, dword [esp + 0x24]
push 0x80
mov ecx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], 0x7f
call fcn.00576005
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
push edi
push str.DocTemplates
push esi
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00576054
cmp esi, edi
je 0x460f4f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c0], 0x18
call fcn.00575bd5
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], vtable.CSerializable.0
mov edi, eax
mov esi, dword [eax]
cmp esi, eax
je 0x460fa1
mov eax, esi
mov esi, dword [esi]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.00570be5
mov ecx, dword [esp + 0x3c]
add esp, 4
dec ecx
cmp esi, edi
mov dword [esp + 0x38], ecx
jne 0x460f74
mov eax, dword [esp + 0x34]
push eax
call fcn.00570be5
xor eax, eax
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00575bd5
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b4
ret