Function at 0x4191c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x30
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [0x6a6ec0], 0
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
mov esi, 1
jne 0x41945b
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.Control_PanelInternational
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41924f
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.iMeasure
push ecx
mov dword [esp + 0x2c], 0x20
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x419244
lea edx, [esp + 0x1c]
push edx
call fcn.005a6475
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [0x6a6ed8], esi
mov esi, dword [0x6a6ec8]
add ebp, 0xa4
mov edi, str.InvertBw
mov ebx, str.Print
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6ecc]
mov dword [0x6a6ec8], eax
mov edi, str.BWOnly
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6f1c]
mov dword [0x6a6ecc], eax
mov edi, str.BlackLevel
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6ed0]
mov dword [0x6a6f1c], eax
mov edi, str.DrawFrame
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6ed4]
mov dword [0x6a6ed0], eax
mov edi, str.CenterImage
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6ed8]
mov dword [0x6a6ed4], eax
mov edi, str.Units
mov eax, ebp
call fcn.004d6600
fld qword [0x6a6ee0]
mov dword [0x6a6ed8], eax
sub esp, 8
mov ebx, str.LeftMarg
fstp qword [esp]
mov edi, str.Print
mov eax, ebp
call fcn.004d6630
fstp qword [0x6a6ee0]
fld qword [0x6a6ee8]
sub esp, 8
mov ebx, str.RightMarg
fstp qword [esp]
mov eax, ebp
call fcn.004d6630
fstp qword [0x6a6ee8]
fld qword [0x6a6ef0]
sub esp, 8
mov ebx, str.TopMarg
fstp qword [esp]
mov eax, ebp
call fcn.004d6630
fstp qword [0x6a6ef0]
fld qword [0x6a6ef8]
sub esp, 8
mov ebx, str.BotMarg
fstp qword [esp]
mov eax, ebp
call fcn.004d6630
fstp qword [0x6a6ef8]
mov esi, dword [0x6a6f04]
mov edi, str.PgOrient
mov ebx, str.Print
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6f08]
mov dword [0x6a6f04], eax
mov edi, str.AutoFit
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6f20]
mov dword [0x6a6f08], eax
mov edi, str.AFitTooLarge
mov eax, ebp
call fcn.004d6600
fld qword [0x6a6f10]
sub esp, 8
fstp qword [esp]
mov dword [0x6a6f20], eax
mov ebx, str.Scale
mov edi, str.Print
mov eax, ebp
call fcn.004d6630
fstp qword [0x6a6f10]
mov esi, dword [0x6a6f18]
mov edi, str.UsePrnRes
mov ebx, str.Print
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6f24]
mov dword [0x6a6f18], eax
mov edi, str.ActMargLeft
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6f2c]
mov dword [0x6a6f24], eax
mov edi, str.ActMargRight
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6f28]
mov dword [0x6a6f2c], eax
mov edi, str.ActMargTop
mov eax, ebp
call fcn.004d6600
mov esi, dword [0x6a6f30]
mov dword [0x6a6f28], eax
mov edi, str.ActMargBottom
mov eax, ebp
call fcn.004d6600
mov dword [0x6a6f30], eax
mov dword [0x6a6ec0], 1
call fcn.0043b430
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005a58d9
add esp, 0x30
ret 4