Function at 0x1000b880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101048e1
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1015050c]
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, ecx
mov dword [ebp - 0x1c], 0x2d002d
mov dword [ebp - 0x18], 0x690070
mov dword [ebp - 0x14], 0x64
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x1000bbbe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x228]
call fcn.10004810
test al, al
jne 0x1000b921
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b902
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.10005b40
lea esi, [ebx + 0x1c]
mov dword [ebp - 4], 1
push esi
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.1000b010
mov edx, dword [ebp - 0x228]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b961
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x1000b9aa
push 0xd0
lea ecx, [ebp - 0x228]
call fcn.100044e0
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.1000adf0
mov edx, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1000b9aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
mov dword [ebp - 0x230], 1
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x104
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x10118238
push dword [0x1014f00c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x224], 0
je 0x1000bb99
lea ecx, [ebp - 0x224]
add ebx, 0x10
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ba20
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10005b40
mov edi, dword [ebx]
xor esi, esi
movzx eax, word [edi]
test ax, ax
je 0x1000babb
mov ecx, eax
nop dword [eax]
push ecx
call fcn.100ab322
add esp, 4
test eax, eax
je 0x1000ba68
test esi, esi
mov eax, edi
cmovne eax, esi
mov esi, eax
jmp 0x1000ba6a
xor esi, esi
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x1000ba50
test esi, esi
je 0x1000babb
mov edx, dword [ebx]
sub esi, edx
sar esi, 1
js 0x1000bbc8
mov eax, dword [edx - 8]
mov edi, 1
mov ecx, edi
sub eax, esi
sub ecx, dword [edx - 4]
or ecx, eax
jge 0x1000baa5
push esi
mov ecx, ebx
call fcn.10005720
mov edx, dword [ebx]
cmp esi, dword [edx - 8]
jg 0x1000bbc8
mov dword [edx - 0xc], esi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + esi*2], cx
jmp 0x1000bac0
mov edi, 1
mov esi, dword [ebx]
movzx eax, word [esi]
push eax
call fcn.100ab322
add esp, 4
test eax, eax
je 0x1000bae6
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.100ab322
add esp, 4
test eax, eax
jne 0x1000bad2
mov ecx, dword [ebx]
cmp esi, ecx
je 0x1000bba2
mov edx, dword [ecx - 0xc]
sub esi, ecx
sar esi, 1
test edx, edx
js 0x1000bbd2
mov eax, dword [ecx - 8]
sub edi, dword [ecx - 4]
sub eax, edx
or edi, eax
jge 0x1000bb15
push edx
mov ecx, ebx
call fcn.10005720
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 0x1000bb76
test eax, eax
jne 0x1000bb43
call fcn.100a9fc9
mov dword [eax], 0x16
call fcn.100a9ea3
mov eax, 0x16
jmp 0x1000bb78
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
cmp eax, edx
jae 0x1000bb68
call fcn.100a9fc9
mov dword [eax], 0x22
call fcn.100a9ea3
mov eax, 0x22
jmp 0x1000bb78
push edx
lea eax, [ecx + esi*2]
push eax
push ecx
call fcn.1008f620
add esp, 0xc
xor eax, eax
push eax
call fcn.10004750
add esp, 4
test edi, edi
js 0x1000bbc8
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x1000bbc8
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
jmp 0x1000bba2
push esi
lea ecx, [ebx + 0x10]
call fcn.1000adf0
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.10073638
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100047f0
push 0x80070057
call fcn.100047f0
push 0x80070057
call fcn.100047f0
int3