Function at 0x42fcf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57c118
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
push str.Option
lea eax, [esp + 0x24]
push 0x5eed38
push eax
mov dword [esp + 0x44], ebp
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebp
push eax
push SysReAllocString
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x42fd73
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
cmp eax, ebp
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fd96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test bl, bl
je 0x42fdf0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.ConstrainProportion
mov ebx, 4
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x42fddb
cmp dword [esp + 0x1c], ebx
jne 0x42fddb
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp dword [esp + 0x14], ebp
setne cl
mov dword [edx + 0x1c], ecx
cmp esi, ebp
je 0x42fdec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
push str.OptionThumbnail
lea eax, [esp + 0x24]
push 0x5eed38
push eax
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebp
push eax
push SysReAllocString
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x42fe43
xor eax, eax
cmp esi, ebp
je 0x42fe35
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
cmp eax, ebp
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fe66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4300b1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.ThumbWidth
mov ebx, 4
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x42fea4
cmp dword [esp + 0x1c], ebx
jne 0x42fea4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1c]
mov ebx, 0x50
cmp eax, ebx
mov ebp, 0xfa
jge 0x42febe
mov dword [ecx + 0x1c], ebx
jmp 0x42fec5
cmp eax, ebp
jle 0x42fec5
mov dword [ecx + 0x1c], ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.ThumbHeight
push esi
mov dword [esp + 0x38], 4
call edi
test eax, eax
jne 0x42fefe
cmp dword [esp + 0x1c], 4
jne 0x42fefe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x20], eax
jmp 0x42ff02
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
cmp eax, ebx
jge 0x42ff0e
mov dword [ecx + 0x20], ebx
jmp 0x42ff15
cmp eax, ebp
jle 0x42ff15
mov dword [ecx + 0x20], ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.ThumbBorder
mov ebx, 4
push esi
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x42ff4e
cmp dword [esp + 0x1c], ebx
jne 0x42ff4e
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [ebp + 0x24], ecx
jmp 0x42ff52
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
cmp eax, 5
jge 0x42ff63
mov dword [ebp + 0x24], 5
jmp 0x42ff6f
cmp eax, 0xa
jle 0x42ff6f
mov dword [ebp + 0x24], 0xa
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.ReadBitmapFromDwg
push esi
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x42ffa0
cmp dword [esp + 0x1c], ebx
jne 0x42ffa0
cmp dword [esp + 0x14], eax
setne dl
mov byte [ebp + 0x39], dl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.ReadBitmapFromRaster
push esi
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x42ffd1
cmp dword [esp + 0x1c], ebx
jne 0x42ffd1
cmp dword [esp + 0x14], eax
setne al
mov byte [ebp + 0x3a], al
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.ForceUseLibSize
push esi
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x430002
cmp dword [esp + 0x1c], ebx
jne 0x430002
cmp dword [esp + 0x14], eax
setne cl
mov byte [ebp + 0x3b], cl
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.SystemColor
push esi
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x430033
cmp dword [esp + 0x1c], ebx
jne 0x430033
cmp dword [esp + 0x14], eax
setne dl
mov byte [ebp + 0x38], dl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.ListCtrlColor
push esi
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x430061
cmp dword [esp + 0x1c], ebx
jne 0x430061
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x28], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.ThumbnailColor
push esi
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x43008f
cmp dword [esp + 0x1c], ebx
jne 0x43008f
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x2c], ecx
mov ecx, ebp
call fcn.0042e610
test esi, esi
je 0x4300a7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
xor ebp, ebp
push str.OptionDwgDraw
lea edx, [esp + 0x24]
push 0x5eed38
push edx
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebp
push eax
push SysReAllocString
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x430104
xor eax, eax
cmp esi, ebp
je 0x4300f6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
cmp eax, ebp
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4302ce
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.DrawTextQickly
mov ebx, 4
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x43016b
cmp dword [esp + 0x1c], ebx
jne 0x43016b
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp dword [esp + 0x14], ebp
setne cl
mov word [edx + 0x3c], cx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.FillOn
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x4301a2
cmp dword [esp + 0x1c], ebx
jne 0x4301a2
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x14], ebp
setne al
mov word [ecx + 0x3e], ax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.ZoomExtend
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x4301d6
cmp dword [esp + 0x1c], ebx
jne 0x4301d6
cmp dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
setne dl
mov byte [eax + 0x40], dl
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.PreviewZoomExtend
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x43020a
cmp dword [esp + 0x1c], ebx
jne 0x43020a
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
setne cl
mov byte [edx + 0x41], cl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.BackGroundColor
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430251
cmp dword [esp + 0x1c], ebx
jne 0x430251
movsx ebx, word [esp + 0x14]
mov eax, dword [ebx*4 + 0x5e05a0]
push eax
call dword [sym.imp.gsio.dll_DWG_SetBackgroundColor]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], ebx
add esp, 4
mov ebx, 4
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.HighLight
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430285
cmp dword [esp + 0x1c], ebx
jne 0x430285
cmp dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
setne dl
mov byte [eax + 0x4d], dl
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.ForAllPaperSpaceLayout
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x4302b9
cmp dword [esp + 0x1c], ebx
jne 0x4302b9
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
setne cl
mov byte [edx + 0x42], cl
cmp esi, ebp
je 0x4302ca
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
push str.OptionBrowser
lea eax, [esp + 0x24]
push 0x5eed38
push eax
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebp
push eax
push SysReAllocString
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x430321
xor eax, eax
cmp esi, ebp
je 0x430313
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
cmp eax, ebp
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430344
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43057f
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.OnlyShowDrawing
mov ebx, 4
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430385
cmp dword [esp + 0x1c], ebx
jne 0x430385
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
setne cl
mov byte [edx + 0x49], cl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.ShowPathBox
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x4303b9
cmp dword [esp + 0x1c], ebx
jne 0x4303b9
cmp dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x18]
setne al
mov byte [ecx + 0x43], al
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.ShowStatus
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x4303ed
cmp dword [esp + 0x1c], ebx
jne 0x4303ed
cmp dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
setne dl
mov byte [eax + 0x44], dl
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.ShowToolBar
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430421
cmp dword [esp + 0x1c], ebx
jne 0x430421
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
setne cl
mov byte [edx + 0x45], cl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.ShowFullPath
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430455
cmp dword [esp + 0x1c], ebx
jne 0x430455
cmp dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x18]
setne al
mov byte [ecx + 0x46], al
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.StartPreviousFolder
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430489
cmp dword [esp + 0x1c], ebx
jne 0x430489
cmp dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
setne dl
mov byte [eax + 0x47], dl
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.ShowNoneDrawingFile
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x4304bd
cmp dword [esp + 0x1c], ebx
jne 0x4304bd
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
setne cl
mov byte [edx + 0x48], cl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.SortType
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430502
cmp dword [esp + 0x1c], ebx
jne 0x430502
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
jge 0x4304f5
mov dword [ecx + 4], ebp
mov eax, 3
cmp dword [ecx + 4], eax
jle 0x430502
mov dword [ecx + 4], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.SortDir
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x430536
cmp dword [esp + 0x1c], ebx
jne 0x430536
cmp dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x18]
setne al
mov byte [ecx + 0x4a], al
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.DBClickOpenByAcmeCADSee
push esi
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebp
jne 0x43056a
cmp dword [esp + 0x1c], ebx
jne 0x43056a
cmp dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
setne dl
mov byte [eax + 0x4c], dl
cmp esi, ebp
je 0x43057b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
push str.OptionRaster
lea ecx, [esp + 0x24]
push 0x5eed38
push ecx
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x2001f
push ebp
push ebp
push ebp
push eax
push SysReAllocString
mov dword [esp + 0x40], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebp
jne 0x4305da
xor eax, eax
cmp esi, ebp
je 0x4305cc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
cmp eax, ebp
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4305fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43063a
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push 0x58c060
push esi
mov dword [esp + 0x38], 4
call edi
cmp eax, ebp
jne 0x43063a
cmp dword [esp + 0x1c], 4
jne 0x43063a
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
setne cl
mov byte [edx + 0x4e], cl
cmp esi, ebp
je 0x430645
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret