Function at 0x10b8950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113bc81
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x115f604]
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 eax, dword [ebp + 8]
mov edx, dword [0x1161d94]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], eax
mov eax, dword [edx + 0xc]
xor ebx, ebx
mov ecx, 0x1161d94
mov dword [ebp - 0x120], ebx
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x124], esi
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], ebx
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x12c], edi
push ebx
push 0x1016b70
lea ecx, [ebp - 0x120]
push ecx
push 0x1016af0
lea edx, [ebp - 0x11c]
push 2
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x130], ebx
call fcn.01075110
add esp, 0x18
mov eax, dword [ebp - 0x148]
mov eax, dword [eax]
push ebx
push ebx
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x134]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x10b8a65
jg 0x10b8a50
mov dword [ebp - 0x120], eax
jmp 0x10b8c75
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
jmp 0x10b8c75
mov edx, dword [ebp - 0x138]
shr edx, 1
mov dword [ebp - 0x128], edx
jmp 0x10b8a88
mov edx, dword [ebp - 0x128]
xor ebx, ebx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x138]
add eax, 1
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x144], ecx
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x10b8aca
push ebx
lea ecx, [ebp - 0x124]
call fcn.010745e0
mov esi, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
cmp dword [esi - 8], ebx
jl 0x10b8c65
mov dword [esi - 0xc], ebx
mov word [esi], bx
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x10b8b00
push ebx
lea ecx, [ebp - 0x12c]
call fcn.010745e0
mov edi, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
cmp dword [edi - 8], ebx
jl 0x10b8c65
mov dword [edi - 0xc], ebx
mov word [edi], bx
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x10b8b38
push edx
lea ecx, [ebp - 0x12c]
call fcn.010745e0
mov edi, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
cmp edx, ebx
jl 0x10b8c65
cmp edx, dword [edi - 8]
jg 0x10b8c65
mov dword [edi - 0xc], edx
mov word [edi + edx*2], bx
mov ebx, dword [ebp - 0x134]
mov eax, dword [esi - 8]
add ebx, 1
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x10b8b7c
push ebx
lea ecx, [ebp - 0x124]
call fcn.010745e0
mov esi, dword [ebp - 0x124]
test ebx, ebx
jl 0x10b8c65
cmp ebx, dword [esi - 8]
jg 0x10b8c65
mov edx, dword [ebp - 0x148]
mov dword [esi - 0xc], ebx
lea ecx, [ebp - 0x144]
push ecx
push edi
mov word [esi + ebx*2], 0
mov eax, dword [edx]
lea edx, [ebp - 0x140]
push edx
mov edx, dword [ebp - 0x130]
push 0
lea ecx, [ebp - 0x13c]
push ecx
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, esi
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10b8bd0
sub ecx, ebx
sar ecx, 1
js 0x10b8c65
cmp ecx, dword [esi - 8]
jg 0x10b8c65
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], dx
mov ecx, edi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10b8bf6
sub ecx, ebx
sar ecx, 1
js 0x10b8c65
cmp ecx, dword [edi - 8]
jg 0x10b8c65
mov dword [edi - 0xc], ecx
mov word [edi + ecx*2], dx
mov ecx, 1
add dword [ebp - 0x130], ecx
cmp eax, 0x103
je 0x10b8c6f
test eax, eax
jne 0x10b8a43
cmp dword [ebp - 0x140], ecx
jne 0x10b8a80
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x14c]
push edx
call fcn.010b8890
test eax, eax
mov dword [ebp - 0x120], eax
jl 0x10b8c75
jmp 0x10b8a80
push 0x80070057
call fcn.01071710
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.01075230
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b8ca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b8cc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.010840d6
mov esp, ebp
pop ebp
ret 8