Function at 0x1000d840
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 0x1000da5c
lea ecx, [ebp - 8]
call fcn.100657c0
push 0x2001f
mov eax, dword [ebp + 8]
push eax
push SysReAllocStringLen
lea ecx, [ebp - 8]
call fcn.10006600
test eax, eax
jne 0x1000da52
lea ecx, [ebp - 0x14]
push ecx
push 0x100a9588
lea ecx, [ebp - 8]
call fcn.10006660
test eax, eax
jne 0x1000d8e2
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.10006660
test eax, eax
jne 0x1000d904
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.10006660
test eax, eax
jne 0x1000d926
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.10006660
test eax, eax
jne 0x1000d948
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.10006660
test eax, eax
jne 0x1000d966
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.10006660
test eax, eax
jne 0x1000d984
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.10006660
test eax, eax
jne 0x1000d9a2
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.1000abd0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000d9e6
cmp dword [ebp - 0x10], 3
jne 0x1000d9de
cmp dword [ebp - 0xc], 8
je 0x1000d9e6
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.1000abd0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000da2a
cmp dword [ebp - 0x10], 3
jne 0x1000da22
cmp dword [ebp - 0xc], 4
je 0x1000da2a
mov edx, dword [ebp + 0xc]
fldz
fstp dword [edx + 0x14]
lea ecx, [ebp - 8]
call fcn.10006540
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.100064f0
mov al, byte [ebp - 0x15]
jmp 0x1000da6e
lea ecx, [ebp - 8]
call fcn.100064f0
jmp 0x1000da6c
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