Function at 0x420c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x6235e0]
push esi
push edi
mov edi, ecx
test eax, eax
mov esi, 1
jne 0x420f08
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.Control_PanelInternational
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x420ca6
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.iMeasure
push ecx
mov dword [esp + 0x28], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x420c9b
lea edx, [esp + 0x18]
push edx
call fcn.004f66ae
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6235e8]
mov dword [0x6235f8], esi
lea esi, [edi + 0xc0]
push ecx
push str.InvertBw
push str.Print
mov ecx, esi
call fcn.004bb040
mov edx, dword [0x6235ec]
mov ecx, esi
push edx
push str.BWOnly
push str.Print
mov dword [0x6235e8], eax
call fcn.004bb040
mov dword [0x6235ec], eax
mov eax, dword [0x62363c]
push eax
push str.BlackLevel
push str.Print
mov ecx, esi
call fcn.004bb040
mov ecx, dword [0x6235f0]
mov dword [0x62363c], eax
push ecx
push str.DrawFrame
push str.Print
mov ecx, esi
call fcn.004bb040
mov edx, dword [0x6235f4]
mov ecx, esi
push edx
push str.CenterImage
push str.Print
mov dword [0x6235f0], eax
call fcn.004bb040
mov dword [0x6235f4], eax
mov eax, dword [0x6235f8]
push eax
push str.Units
push str.Print
mov ecx, esi
call fcn.004bb040
mov ecx, dword [0x623604]
mov edx, dword [0x623600]
push ecx
push edx
push str.LeftMarg
push str.Print
mov ecx, esi
mov dword [0x6235f8], eax
call fcn.004bb090
mov eax, dword [0x62360c]
mov ecx, dword [0x623608]
fstp qword [0x623600]
push eax
push ecx
push str.RightMarg
push str.Print
mov ecx, esi
call fcn.004bb090
mov edx, dword [0x623614]
mov eax, dword [0x623610]
fstp qword [0x623608]
push edx
push eax
push str.TopMarg
push str.Print
mov ecx, esi
call fcn.004bb090
mov ecx, dword [0x62361c]
mov edx, dword [0x623618]
fstp qword [0x623610]
push ecx
push edx
push str.BotMarg
push str.Print
mov ecx, esi
call fcn.004bb090
fstp qword [0x623618]
mov eax, dword [0x623624]
push eax
push str.PgOrient
push str.Print
mov ecx, esi
call fcn.004bb040
mov ecx, dword [0x623628]
mov dword [0x623624], eax
push ecx
push str.AutoFit
push str.Print
mov ecx, esi
call fcn.004bb040
mov edx, dword [0x623640]
mov ecx, esi
push edx
push str.AFitTooLarge
push str.Print
mov dword [0x623628], eax
call fcn.004bb040
mov ecx, dword [0x623630]
mov dword [0x623640], eax
mov eax, dword [0x623634]
push eax
push ecx
push str.Scale
push str.Print
mov ecx, esi
call fcn.004bb090
mov edx, dword [0x623638]
mov ecx, esi
fstp qword [0x623630]
push edx
push str.UsePrnRes
push str.Print
call fcn.004bb040
mov dword [0x623638], eax
mov eax, dword [0x623644]
push eax
push str.ActMargLeft
push str.Print
mov ecx, esi
call fcn.004bb040
mov ecx, dword [0x62364c]
mov dword [0x623644], eax
push ecx
push str.ActMargRight
push str.Print
mov ecx, esi
call fcn.004bb040
mov edx, dword [0x623648]
mov ecx, esi
push edx
push str.ActMargTop
push str.Print
mov dword [0x62364c], eax
call fcn.004bb040
mov dword [0x623648], eax
mov eax, dword [0x623650]
push eax
push str.ActMargBottom
push str.Print
mov ecx, esi
call fcn.004bb040
mov dword [0x623650], eax
mov dword [0x6235e0], 1
call fcn.004410a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret