Function at 0x1000d8f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 1], 0
mov edx, dword [ebp + 0xc]
mov byte [edx + 2], 1
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], 2
mov edx, dword [ebp + 0xc]
fld1
fstp qword [edx + 8]
mov eax, dword [ebp + 0xc]
fldz
fstp dword [eax + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], 0xffffff
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0xffffffff
cmp dword [ebp + 8], 0
je 0x1000db0c
lea ecx, [ebp - 8]
call fcn.10006510
push 0x2001f
mov eax, dword [ebp + 8]
push eax
push SysReAllocStringLen
lea ecx, [ebp - 8]
call fcn.10006650
test eax, eax
jne 0x1000db02
lea ecx, [ebp - 0x14]
push ecx
push 0x100a9588
lea ecx, [ebp - 8]
call fcn.100066b0
test eax, eax
jne 0x1000d992
cmp dword [ebp - 0x14], 0
setne dl
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
lea ecx, [ebp - 0x14]
push ecx
push 0x100a9598
lea ecx, [ebp - 8]
call fcn.100066b0
test eax, eax
jne 0x1000d9b4
cmp dword [ebp - 0x14], 0
setne dl
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], dl
lea ecx, [ebp - 0x14]
push ecx
push 0x100a95a4
lea ecx, [ebp - 8]
call fcn.100066b0
test eax, eax
jne 0x1000d9d6
cmp dword [ebp - 0x14], 0
setne dl
mov eax, dword [ebp + 0xc]
mov byte [eax + 2], dl
lea ecx, [ebp - 0x14]
push ecx
push 0x100a95b4
lea ecx, [ebp - 8]
call fcn.100066b0
test eax, eax
jne 0x1000d9f8
cmp dword [ebp - 0x14], 0
setne dl
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], dl
lea ecx, [ebp - 0x14]
push ecx
push 0x100a95c4
lea ecx, [ebp - 8]
call fcn.100066b0
test eax, eax
jne 0x1000da16
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
lea ecx, [ebp - 0x14]
push ecx
push 0x100a95d0
lea ecx, [ebp - 8]
call fcn.100066b0
test eax, eax
jne 0x1000da34
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
lea ecx, [ebp - 0x14]
push ecx
push 0x100a95e8
lea ecx, [ebp - 8]
call fcn.100066b0
test eax, eax
jne 0x1000da52
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov dword [ebp - 0xc], 8
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100a95f0
lea ecx, [ebp - 8]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000da96
cmp dword [ebp - 0x10], 3
jne 0x1000da8e
cmp dword [ebp - 0xc], 8
je 0x1000da96
mov ecx, dword [ebp + 0xc]
fld1
fstp qword [ecx + 8]
mov dword [ebp - 0xc], 4
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x14
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x100a9600
lea ecx, [ebp - 8]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000dada
cmp dword [ebp - 0x10], 3
jne 0x1000dad2
cmp dword [ebp - 0xc], 4
je 0x1000dada
mov edx, dword [ebp + 0xc]
fldz
fstp dword [edx + 0x14]
lea ecx, [ebp - 8]
call fcn.10006590
mov esi, dword [ebp + 0xc]
mov ecx, 8
mov edi, 0x100cf380
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x15], 1
lea ecx, [ebp - 8]
call fcn.10006540
mov al, byte [ebp - 0x15]
jmp 0x1000db1e
lea ecx, [ebp - 8]
call fcn.10006540
jmp 0x1000db1c
mov ecx, sym.GsUI.dll_class_GsUI::PrintPenSet_GsUI::g_printPenSet
call sym.GsUI.dll_public:_double___thiscall_GsUI::PrintPenSet::GetMinWidth_void_
mov eax, dword [ebp + 0xc]
fstp dword [eax + 0x14]
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret