Function at 0x4d3f50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5515cc
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.004d5580
lea ecx, [ebp - 0x14]
call fcn.00408880
mov dword [ebp - 4], 0
push 0
push 0
push 0x2001f
push 0
push 0
push str.PrintCfg
push 0x5b4398
lea eax, [ebp - 0xb4]
push eax
call fcn.00408ed0
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
call fcn.004a7b60
push eax
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.00408a80
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xad], al
lea ecx, [ebp - 0xb4]
call fcn.00408fa0
movzx ecx, byte [ebp - 0xad]
test ecx, ecx
je 0x4d4316
push 0x466
mov ecx, dword [ebp - 0xb8]
call fcn.004fa210
test eax, eax
jbe 0x4d4044
push 3
push 0x57d57c
lea ecx, [ebp - 0x14]
call fcn.00417570
mov edx, dword [ebp - 0xb8]
add edx, 0x2c0
mov eax, dword [ebp - 0xb8]
mov dword [eax + 0x300], edx
jmp 0x4d40a7
push 0x465
mov ecx, dword [ebp - 0xb8]
call fcn.004fa210
test eax, eax
jbe 0x4d4081
push 2
push 0x57d584
lea ecx, [ebp - 0x14]
call fcn.00417570
mov ecx, dword [ebp - 0xb8]
add ecx, 0x240
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x300], ecx
jmp 0x4d40a7
push 1
push str.Area
lea ecx, [ebp - 0x14]
call fcn.00417570
mov eax, dword [ebp - 0xb8]
add eax, 0x280
mov ecx, dword [ebp - 0xb8]
mov dword [ecx + 0x300], eax
push 0x46d
mov ecx, dword [ebp - 0xb8]
call fcn.004fa13c
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.00457330
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x34c], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x34c]
push ecx
push str.Colors
lea ecx, [ebp - 0x14]
call fcn.00417570
push 0x46f
mov ecx, dword [ebp - 0xb8]
call fcn.004fa210
test eax, eax
jbe 0x4d4113
push 1
push 0x57d59c
lea ecx, [ebp - 0x14]
call fcn.00417570
jmp 0x4d4122
push 2
push str.Unit
lea ecx, [ebp - 0x14]
call fcn.00417570
push 0x474
mov ecx, dword [ebp - 0xb8]
call fcn.004fa13c
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.00457330
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x348], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x348]
push ecx
push str.Rotate
lea ecx, [ebp - 0x14]
call fcn.00417570
push 0x80
lea edx, [ebp - 0xa4]
push edx
push 0x476
mov ecx, dword [ebp - 0xb8]
call fcn.004fa18f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004b9960
add esp, 8
movzx edx, al
test edx, edx
jne 0x4d41a4
fldz
fstp qword [ebp - 0x1c]
push 8
lea eax, [ebp - 0x1c]
push eax
push 3
push 0
push str.OffsetX
lea ecx, [ebp - 0x14]
call fcn.004a7b60
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x80
lea ecx, [ebp - 0xa4]
push ecx
push 0x478
mov ecx, dword [ebp - 0xb8]
call fcn.004fa18f
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.004b9960
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4d41fd
fldz
fstp qword [ebp - 0x1c]
push 8
lea edx, [ebp - 0x1c]
push edx
push 3
push 0
push str.OffsetY
lea ecx, [ebp - 0x14]
call fcn.004a7b60
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x479
mov ecx, dword [ebp - 0xb8]
call fcn.004fa210
push eax
push str.Center
lea ecx, [ebp - 0x14]
call fcn.00417570
push 0x80
lea eax, [ebp - 0xa4]
push eax
push 0x47b
mov ecx, dword [ebp - 0xb8]
call fcn.004fa18f
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.004b9960
add esp, 8
movzx eax, al
test eax, eax
jne 0x4d4274
fld1
fstp qword [ebp - 0x1c]
push 8
lea ecx, [ebp - 0x1c]
push ecx
push 3
push 0
push str.ScalePaperUnit
lea ecx, [ebp - 0x14]
call fcn.004a7b60
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x80
lea edx, [ebp - 0xa4]
push edx
push 0x47c
mov ecx, dword [ebp - 0xb8]
call fcn.004fa18f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004b9960
add esp, 8
movzx edx, al
test edx, edx
jne 0x4d42cd
fld1
fstp qword [ebp - 0x1c]
push 8
lea eax, [ebp - 0x1c]
push eax
push 3
push 0
push str.ScaleDrawingUnit
lea ecx, [ebp - 0x14]
call fcn.004a7b60
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x47e
mov ecx, dword [ebp - 0xb8]
call fcn.004fa210
push eax
push str.ScaleFit
lea ecx, [ebp - 0x14]
call fcn.00417570
lea ecx, [ebp - 0x14]
call fcn.00408900
jmp 0x4d4459
push 0x466
mov ecx, dword [ebp - 0xb8]
call fcn.004fa210
test eax, eax
jbe 0x4d4344
mov ecx, dword [ebp - 0xb8]
add ecx, 0x2c0
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x300], ecx
jmp 0x4d4389
push 0x465
mov ecx, dword [ebp - 0xb8]
call fcn.004fa210
test eax, eax
jbe 0x4d4371
mov eax, dword [ebp - 0xb8]
add eax, 0x240
mov ecx, dword [ebp - 0xb8]
mov dword [ecx + 0x300], eax
jmp 0x4d4389
mov edx, dword [ebp - 0xb8]
add edx, 0x280
mov eax, dword [ebp - 0xb8]
mov dword [eax + 0x300], edx
push 0x46d
mov ecx, dword [ebp - 0xb8]
call fcn.004fa13c
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.00457330
mov ecx, dword [ebp - 0xb8]
mov dword [ecx + 0x34c], eax
push 0x474
mov ecx, dword [ebp - 0xb8]
call fcn.004fa13c
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.00457330
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x348], eax
push 0x80
lea eax, [ebp - 0xa4]
push eax
push 0x476
mov ecx, dword [ebp - 0xb8]
call fcn.004fa18f
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.004b9960
add esp, 8
movzx eax, al
test eax, eax
jne 0x4d441e
fldz
fstp qword [ebp - 0x1c]
push 0x80
lea ecx, [ebp - 0xa4]
push ecx
push 0x478
mov ecx, dword [ebp - 0xb8]
call fcn.004fa18f
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.004b9960
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4d4459
fldz
fstp qword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004088b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret