Function at 0x1000d200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10108bd2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101555ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], ebx
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.10092350
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.10004f30
mov ecx, eax
test ecx, ecx
je 0x1000d46b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x224]
push eax
push 0x10118bcc
push str.SOFTWARESmartWriter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d2d0
sub ecx, edx
sar ecx, 1
je 0x1000d44d
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.100056f0
mov edi, dword [ebx]
xor esi, esi
movzx eax, word [edi]
test ax, ax
je 0x1000d36d
mov ecx, eax
push ecx
call fcn.100bd8e1
add esp, 4
test eax, eax
je 0x1000d31a
test esi, esi
mov eax, edi
cmovne eax, esi
mov esi, eax
jmp 0x1000d31c
xor esi, esi
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x1000d302
test esi, esi
je 0x1000d36d
mov eax, dword [ebx]
sub esi, eax
sar esi, 1
js 0x1000d475
mov edi, 1
mov ecx, edi
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x1000d355
push esi
mov ecx, ebx
call fcn.100052c0
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x1000d475
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + esi*2], cx
jmp 0x1000d372
mov edi, 1
mov esi, dword [ebx]
movzx eax, word [esi]
push eax
call fcn.100bd8e1
add esp, 4
test eax, eax
je 0x1000d398
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.100bd8e1
add esp, 4
test eax, eax
jne 0x1000d384
mov eax, dword [ebx]
cmp esi, eax
je 0x1000d44d
mov ecx, dword [eax - 0xc]
sub esi, eax
sar esi, 1
test ecx, ecx
js 0x1000d47f
sub edi, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ecx
or edi, eax
jge 0x1000d3c5
push ecx
mov ecx, ebx
call fcn.100052c0
mov ecx, dword [ebx]
mov edi, dword [ecx - 0xc]
lea eax, [ecx + esi*2]
sub edi, esi
lea edx, [edi*2 + 2]
test edx, edx
je 0x1000d42c
test ecx, ecx
jne 0x1000d3f5
call fcn.100adb97
mov dword [eax], 0x16
call fcn.100ada70
mov eax, 0x16
jmp 0x1000d42e
test eax, eax
je 0x1000d3de
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
cmp eax, edx
jae 0x1000d41e
call fcn.100adb97
mov dword [eax], 0x22
call fcn.100ada70
mov eax, 0x22
jmp 0x1000d42e
push edx
lea eax, [ecx + esi*2]
push eax
push ecx
call fcn.10092fc0
add esp, 0xc
xor eax, eax
push eax
call fcn.10004240
add esp, 4
test edi, edi
js 0x1000d475
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x1000d475
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063718
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100042e0
push 0x80070057
call fcn.100042e0
push 0x80070057
call fcn.100042e0
int3