Function at 0x1002a350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1378
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100cdbe8]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
push 0x438
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
test eax, eax
seta al
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x238]
mov byte [edx + 0x118], al
lea ecx, [ebp - 0x14]
call fcn.10006510
mov dword [ebp - 4], 0
push 0
push 0
push 0x2001f
push 0
push 0
push str.PrintCfg
push 0x100cf174
lea eax, [ebp - 0xb4]
push eax
call fcn.10009c70
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
call fcn.1000a250
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.100065e0
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xad], al
lea ecx, [ebp - 0xb4]
call fcn.10009da0
movzx ecx, byte [ebp - 0xad]
test ecx, ecx
je 0x1002a715
push 0x466
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
test eax, eax
jbe 0x1002a46b
push 3
push 0x100ae670
lea ecx, [ebp - 0x14]
call fcn.100067c0
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x238]
add eax, 0x88
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x238]
mov dword [edx + 0xc8], eax
jmp 0x1002a4e1
push 0x465
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
test eax, eax
jbe 0x1002a4b1
push 2
push 0x100ae678
lea ecx, [ebp - 0x14]
call fcn.100067c0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x238]
add ecx, 8
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x238]
mov dword [eax + 0xc8], ecx
jmp 0x1002a4e1
push 1
push str.Area
lea ecx, [ebp - 0x14]
call fcn.100067c0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x238]
add edx, 0x48
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x238]
mov dword [ecx + 0xc8], edx
push 0x46f
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
test eax, eax
jbe 0x1002a506
push 1
push 0x100ae688
lea ecx, [ebp - 0x14]
call fcn.100067c0
jmp 0x1002a515
push 2
push 0x100ae690
lea ecx, [ebp - 0x14]
call fcn.100067c0
push 0x474
mov ecx, dword [ebp - 0xb8]
call fcn.1007113d
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.10006110
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx + 0x238]
mov dword [ecx + 0x110], eax
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x238]
mov ecx, dword [eax + 0x110]
push ecx
push str.Rotate
lea ecx, [ebp - 0x14]
call fcn.100067c0
push 0x80
lea edx, [ebp - 0xa4]
push edx
push 0x476
mov ecx, dword [ebp - 0xb8]
call fcn.10071190
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.10007a80
add esp, 8
movzx edx, al
test edx, edx
jne 0x1002a5a3
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.1000a250
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.10071190
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.10007a80
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x1002a5fc
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.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x479
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
push eax
push 0x100ae6b0
lea ecx, [ebp - 0x14]
call fcn.100067c0
push 0x80
lea eax, [ebp - 0xa4]
push eax
push 0x47b
mov ecx, dword [ebp - 0xb8]
call fcn.10071190
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.10007a80
add esp, 8
movzx eax, al
test eax, eax
jne 0x1002a673
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.1000a250
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.10071190
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.10007a80
add esp, 8
movzx edx, al
test edx, edx
jne 0x1002a6cc
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.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x47e
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
push eax
push str.ScaleFit
lea ecx, [ebp - 0x14]
call fcn.100067c0
lea ecx, [ebp - 0x14]
call fcn.10006590
jmp 0x1002a850
push 0x466
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
test eax, eax
jbe 0x1002a74f
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x238]
add edx, 0x88
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x238]
mov dword [ecx + 0xc8], edx
jmp 0x1002a7a7
push 0x465
mov ecx, dword [ebp - 0xb8]
call fcn.10071211
test eax, eax
jbe 0x1002a786
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x238]
add eax, 8
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x238]
mov dword [edx + 0xc8], eax
jmp 0x1002a7a7
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x238]
add ecx, 0x48
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x238]
mov dword [eax + 0xc8], ecx
push 0x474
mov ecx, dword [ebp - 0xb8]
call fcn.1007113d
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.10006110
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x238]
mov dword [edx + 0x110], eax
push 0x80
lea eax, [ebp - 0xa4]
push eax
push 0x476
mov ecx, dword [ebp - 0xb8]
call fcn.10071190
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.10007a80
add esp, 8
movzx eax, al
test eax, eax
jne 0x1002a815
fldz
fstp qword [ebp - 0x1c]
push 0x80
lea ecx, [ebp - 0xa4]
push ecx
push 0x478
mov ecx, dword [ebp - 0xb8]
call fcn.10071190
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.10007a80
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x1002a850
fldz
fstp qword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10081238
mov esp, ebp
pop ebp
ret