Function at 0x10096960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140b6e
mov eax, dword fs:[0]
push eax
mov eax, 0x10a0
call fcn.10123480
mov eax, dword [0x101ba518]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10ac], ecx
cmp dword [esi + 0x14], 8
mov edi, dword [ebp + 8]
mov dword [ebp - 0x109c], 7
mov dword [ebp - 0x1098], 1
jb 0x100969bb
mov eax, dword [esi]
jmp 0x100969bd
mov eax, esi
lea edx, [ebp - 0x1098]
push edx
push 0
lea edx, [ebp - 0x109c]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, 2
je 0x10096bac
cmp dword [ebp - 0x109c], 7
jne 0x10096bac
test ebx, ebx
je 0x10096a7b
push str.REGISTRY::GetMultiValue:_RegQueryValueExW_failed__trying_to_obtain_size_of_buffer__for_ValueName:
lea ecx, [ebp - 0x2c]
call fcn.100062a0
mov dword [ebp - 4], 0
mov edx, eax
push esi
lea ecx, [ebp - 0x44]
call fcn.1001cf30
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x10096a2e
push dword [ebp - 0x2c]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
sub esp, 8
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], 0
push eax
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push ebx
push 0x21
lea ecx, [ebp - 0x1094]
call fcn.1008e2c0
mov esi, eax
lea edi, [ebp - 0x86c]
push 0x101b7cc0
lea eax, [ebp - 0x86c]
mov ecx, 0x20a
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1011935b
mov eax, dword [ebp - 0x1098]
add eax, 2
mov dword [ebp - 0x10a8], 0
mov dword [ebp - 0x1098], eax
mov dword [ebp - 0x10a4], 0
mov dword [ebp - 0x10a0], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x10a8]
push eax
call fcn.1001e7a0
mov dword [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x10096acc
mov eax, dword [esi]
jmp 0x10096ace
mov eax, esi
lea ecx, [ebp - 0x1098]
push ecx
push dword [ebp - 0x10a8]
lea ecx, [ebp - 0x109c]
push ecx
push 0
push eax
push dword [ebp - 0x10ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x10096b31
push str.REGISTRY::GetMultiValue:_RegQueryValueExW_failed_for_ValueName:
lea ecx, [ebp - 0x44]
call fcn.100062a0
mov byte [ebp - 4], 5
mov edx, eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.1001cf30
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.10006340
sub esp, 8
lea eax, [ebp - 0x2c]
push 0
push 0
jmp 0x10096a4a
mov eax, dword [ebp - 0x10a8]
xor esi, esi
lea esp, [esp]
lea eax, [eax + esi*2]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100062a0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.10014d00
mov eax, dword [ebp - 0x1c]
inc eax
add esi, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
jb 0x10096b76
push dword [ebp - 0x2c]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x10a8]
mov dword [ebp - 0x1c], 0
cmp byte [eax + esi*2], 0
jne 0x10096b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10a8]
call fcn.1002c610
mov al, 1
jmp 0x10096bae
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10115289
mov esp, ebp
pop ebp
ret