Function at 0x42f680
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x57bfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
push str.Option
lea eax, [esp + 0x20]
push 0x5eed38
push eax
mov dword [esp + 0x40], ebx
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x42f709
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov eax, dword [esp + 0x1c]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f72e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp byte [esp + 0x17], bl
je 0x42f76d
push 4
xor ecx, ecx
cmp byte [edi + 0x4b], bl
lea edx, [esp + 0x20]
push edx
push 4
setne cl
push ebx
push str.ConstrainProportion
push esi
mov dword [esp + 0x34], ecx
call ebp
cmp esi, ebx
je 0x42f769
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
push str.OptionThumbnail
lea eax, [esp + 0x20]
push 0x5eed38
push eax
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x42f7c8
xor eax, eax
cmp esi, ebx
je 0x42f7ba
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov eax, dword [esp + 0x1c]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f7ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x42f8f1
mov ecx, dword [edi + 0x1c]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push str.ThumbWidth
push esi
mov dword [esp + 0x34], ecx
call ebp
mov eax, dword [edi + 0x20]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push str.ThumbHeight
push esi
mov dword [esp + 0x34], eax
call ebp
mov edx, dword [edi + 0x24]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push str.ThumbBorder
push esi
mov dword [esp + 0x34], edx
call ebp
movzx ecx, byte [edi + 0x39]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push str.ReadBitmapFromDwg
push esi
mov dword [esp + 0x34], ecx
call ebp
movzx eax, byte [edi + 0x3a]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push str.ReadBitmapFromRaster
push esi
mov dword [esp + 0x34], eax
call ebp
movzx edx, byte [edi + 0x3b]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push str.ForceUseLibSize
push esi
mov dword [esp + 0x34], edx
call ebp
movzx ecx, byte [edi + 0x38]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push str.SystemColor
push esi
mov dword [esp + 0x34], ecx
call ebp
mov eax, dword [edi + 0x28]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push str.ListCtrlColor
push esi
mov dword [esp + 0x34], eax
call ebp
mov edx, dword [edi + 0x2c]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push str.ThumbnailColor
push esi
mov dword [esp + 0x34], edx
call ebp
cmp esi, ebx
je 0x42f8ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
push str.OptionDwgDraw
lea ecx, [esp + 0x20]
push 0x5eed38
push ecx
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x42f94c
xor eax, eax
cmp esi, ebx
je 0x42f93e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov eax, dword [esp + 0x1c]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x42fa5e
push 4
xor ecx, ecx
cmp word [edi + 0x3c], bx
lea edx, [esp + 0x20]
push edx
push 4
setne cl
push ebx
push str.DrawTextQickly
push esi
mov dword [esp + 0x34], ecx
call ebp
push 4
xor eax, eax
cmp word [edi + 0x3e], bx
lea ecx, [esp + 0x20]
push ecx
push 4
setne al
push ebx
push str.FillOn
push esi
mov dword [esp + 0x34], eax
call ebp
push 4
xor edx, edx
cmp byte [edi + 0x40], bl
lea eax, [esp + 0x20]
push eax
push 4
setne dl
push ebx
push str.ZoomExtend
push esi
mov dword [esp + 0x34], edx
call ebp
push 4
xor ecx, ecx
cmp byte [edi + 0x41], bl
lea edx, [esp + 0x20]
push edx
push 4
setne cl
push ebx
push str.PreviewZoomExtend
push esi
mov dword [esp + 0x34], ecx
call ebp
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push str.BackGroundColor
push esi
mov dword [esp + 0x34], eax
call ebp
push 4
xor edx, edx
cmp byte [edi + 0x4d], bl
lea eax, [esp + 0x20]
push eax
push 4
setne dl
push ebx
push str.HighLight
push esi
mov dword [esp + 0x34], edx
call ebp
xor ecx, ecx
cmp byte [edi + 0x42], bl
push 4
lea edx, [esp + 0x20]
push edx
setne cl
push 4
push ebx
push str.ForAllPaperSpaceLayout
push esi
mov dword [esp + 0x34], ecx
call ebp
cmp esi, ebx
je 0x42fa5a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
push str.OptionBrowser
lea eax, [esp + 0x20]
push 0x5eed38
push eax
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x42fab9
xor eax, eax
cmp esi, ebx
je 0x42faab
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov eax, dword [esp + 0x1c]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x42fc20
push 4
xor ecx, ecx
cmp byte [edi + 0x49], bl
lea edx, [esp + 0x20]
push edx
push 4
setne cl
push ebx
push str.OnlyShowDrawing
push esi
mov dword [esp + 0x34], ecx
call ebp
push 4
xor eax, eax
cmp byte [edi + 0x43], bl
lea ecx, [esp + 0x20]
push ecx
push 4
setne al
push ebx
push str.ShowPathBox
push esi
mov dword [esp + 0x34], eax
call ebp
push 4
xor edx, edx
cmp byte [edi + 0x44], bl
lea eax, [esp + 0x20]
push eax
push 4
setne dl
push ebx
push str.ShowStatus
push esi
mov dword [esp + 0x34], edx
call ebp
push 4
xor ecx, ecx
cmp byte [edi + 0x45], bl
lea edx, [esp + 0x20]
push edx
push 4
setne cl
push ebx
push str.ShowToolBar
push esi
mov dword [esp + 0x34], ecx
call ebp
push 4
xor eax, eax
cmp byte [edi + 0x46], bl
lea ecx, [esp + 0x20]
push ecx
push 4
setne al
push ebx
push str.ShowFullPath
push esi
mov dword [esp + 0x34], eax
call ebp
push 4
xor edx, edx
cmp byte [edi + 0x47], bl
lea eax, [esp + 0x20]
push eax
push 4
setne dl
push ebx
push str.StartPreviousFolder
push esi
mov dword [esp + 0x34], edx
call ebp
xor ecx, ecx
cmp byte [edi + 0x48], bl
push 4
setne cl
lea edx, [esp + 0x20]
push edx
push 4
push ebx
mov dword [esp + 0x2c], ecx
push str.ShowNoneDrawingFile
push esi
call ebp
mov eax, dword [edi + 4]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push str.SortType
push esi
mov dword [esp + 0x34], eax
call ebp
movzx edx, byte [edi + 0x4a]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push str.SortDir
push esi
mov dword [esp + 0x34], edx
call ebp
push 4
xor ecx, ecx
cmp byte [edi + 0x4c], bl
lea edx, [esp + 0x20]
push edx
push 4
setne cl
push ebx
push str.DBClickOpenByAcmeCADSee
push esi
mov dword [esp + 0x34], ecx
call ebp
cmp esi, ebx
je 0x42fc1c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
push str.OptionRaster
lea eax, [esp + 0x20]
push 0x5eed38
push eax
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x42fc7b
xor eax, eax
cmp esi, ebx
je 0x42fc6d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov eax, dword [esp + 0x1c]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fca0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x42fcc4
push 4
xor ecx, ecx
cmp byte [edi + 0x4e], bl
lea edx, [esp + 0x20]
push edx
push 4
setne cl
push ebx
push 0x58c060
push esi
mov dword [esp + 0x34], ecx
call ebp
cmp esi, ebx
je 0x42fccf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret