Function at 0x10014eb6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014b4c4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0c
mov eax, dword [0x101fe1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov dword [ebp - 0xb14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb08], eax
xor eax, eax
mov dword [ebp - 0x3c], vtable.RefCounted.0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], vtable.ORegistryKey.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x85
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp - 0xb04], eax
lea ecx, [ebp - 0x54]
mov eax, dword [edi + 4]
mov edx, esi
mov dword [ebp - 0xb10], eax
call fcn.1001650a
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100151c6
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
jbe 0x10014f78
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0xb04]
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov word [eax], cx
mov edi, dword [edi + 0x20]
test edi, edi
je 0x100152e8
cmp dword [esi + 0x10], 0xff
ja 0x10015310
mov eax, dword [ebp - 0xb10]
cmp eax, 1
jne 0x10015363
lea eax, [ebp - 0xb00]
mov dword [ebp - 0xb00], ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x10015335
cmp dword [ebp - 0xb00], 1
jne 0x100150eb
mov ecx, 0x20119
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10014fef
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push ecx
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001539a
mov ecx, dword [ebp - 0xb04]
lea eax, [ebp - 0x34]
push eax
mov edx, esi
lea ecx, [ecx + 8]
call fcn.1000a0de
mov cl, 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
mov byte [ebp - 0xaf9], cl
cmp eax, 7
jbe 0x1001505e
mov ecx, dword [ebp - 0x54]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xb10], eax
mov dword [ebp - 0xb04], ecx
cmp eax, 0x1000
jae 0x100153a1
push ecx
call fcn.1003bf94
mov cl, byte [ebp - 0xaf9]
add esp, 4
test cl, cl
je 0x10015419
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
sete al
test al, al
jne 0x100153bd
mov edi, dword [ebp - 0xb14]
mov eax, edi
mov dword [ebp - 0xb18], 1
mov dword [ebp - 0xb0c], 0
cmp dword [edi + 0x14], 7
jbe 0x1001509a
mov eax, dword [edi]
lea edx, [ebp - 0xb0c]
push edx
push 0
lea edx, [ebp - 0xb18]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x100150f5
mov byte [ebp - 0xaf9], 0
lea ecx, [ebp - 0x3c]
call fcn.10015fbc
mov al, byte [ebp - 0xaf9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033218
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0x20019
jmp 0x10014fe5
mov ecx, dword [ebp - 0xb18]
cmp ecx, 1
jne 0x100153e7
test eax, eax
jne 0x100153f5
mov esi, dword [ebp - 0xb08]
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x1001511c
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
mov eax, dword [ebp - 0xb0c]
cmp eax, 2
jbe 0x100151ba
mov edx, dword [esi + 0x10]
shr eax, 1
lea ecx, [eax - 1]
cmp ecx, edx
ja 0x100151e3
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10015151
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], ecx
mov word [eax + ecx*2], dx
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10015164
mov eax, dword [esi]
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x1001516e
mov ecx, dword [edi]
lea edx, [ebp - 0xb0c]
push edx
push eax
lea eax, [ebp - 0xb18]
push eax
push 0
push ecx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100153f5
mov ecx, dword [ebp - 0xb0c]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
shr ecx, 1
dec ecx
cmp ecx, edx
ja 0x1001525c
mov eax, esi
cmp edi, 7
jbe 0x100151b1
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], ecx
mov word [eax + ecx*2], dx
mov byte [ebp - 0xaf9], 1
jmp 0x100150c0
cmp byte [ebp - 0x18], 0
je 0x10014f6c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
jmp 0x10014f6c
mov eax, ecx
sub eax, edx
mov dword [ebp - 0xb00], eax
mov eax, dword [esi + 0x14]
sub eax, edx
cmp dword [ebp - 0xb00], eax
ja 0x100152b0
cmp dword [esi + 0x14], 7
mov eax, esi
mov dword [esi + 0x10], ecx
mov dword [ebp - 0xb04], esi
jbe 0x10015217
mov eax, dword [esi]
mov dword [ebp - 0xb04], eax
lea eax, [eax + edx*2]
mov dword [ebp - 0xb08], eax
mov eax, dword [ebp - 0xb00]
test eax, eax
je 0x10015249
mov edi, dword [ebp - 0xb08]
mov ecx, eax
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0xb14]
mov eax, dword [ebp - 0xb00]
mov ecx, dword [ebp - 0xb04]
add eax, edx
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x1001515a
mov eax, ecx
sub eax, edx
mov dword [ebp - 0xb00], eax
mov eax, edi
sub eax, edx
cmp dword [ebp - 0xb00], eax
ja 0x100152cc
mov dword [esi + 0x10], ecx
cmp edi, 7
jbe 0x1001527c
mov esi, dword [esi]
mov eax, dword [ebp - 0xb00]
lea edi, [esi + edx*2]
test eax, eax
je 0x1001529c
mov ecx, eax
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0xb00]
add eax, edx
mov byte [ebp - 0xaf9], 1
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100150c0
mov eax, dword [ebp - 0xb00]
mov ecx, esi
push 0
push eax
push dword [ebp - 0xb08]
push eax
call fcn.1001a3d3
jmp 0x1001515a
mov eax, dword [ebp - 0xb00]
mov ecx, esi
push 0
push eax
push dword [ebp - 0xb08]
push eax
call fcn.1001a3d3
jmp 0x100151ba
push str.ORegistryKey.Open_failure:_Parent_key_is_NULL
push 0x3a
push 0x30303030
lea ecx, [ebp - 0x76c]
call fcn.1006259a
push 0x101ebb90
lea eax, [ebp - 0x76c]
push eax
call fcn.100357e4
push esi
sub esp, 8
lea ecx, [ebp - 0xaf8]
push 0x30303030
call fcn.1006277b
push 0x101ebb90
lea eax, [ebp - 0xaf8]
push eax
call fcn.100357e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.error_calling_IsWow64Process__
push eax
push ecx
push 0x30303030
lea ecx, [ebp - 0x3e0]
call fcn.100582ec
push 0x101ebb90
lea eax, [ebp - 0x3e0]
push eax
call fcn.100357e4
cmp eax, 3
jne 0x10015387
call fcn.10016574
test al, al
jne 0x10014fe0
call fcn.10058a50
test al, al
je 0x100150eb
jmp 0x10014fe0
mov ecx, 0x20219
cmp eax, 2
je 0x10014fe5
jmp 0x100150eb
xor cl, cl
jmp 0x1001501c
lea edx, [ebp - 0xb10]
lea ecx, [ebp - 0xb04]
call fcn.100179ed
mov ecx, dword [ebp - 0xb04]
jmp 0x1001504f
push dword [ebp - 0xb14]
lea ecx, [ebp - 0x3e0]
sub esp, 8
push 0x30303030
call fcn.100626d9
push 0x101ebb90
lea eax, [ebp - 0x3e0]
push eax
call fcn.100357e4
cmp ecx, 2
jne 0x100150b9
jmp 0x10015104
push edi
lea ecx, [ebp - 0x34]
push ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x3e0]
call fcn.100626b7
push 0x101ebb90
lea eax, [ebp - 0x3e0]
push eax
call fcn.100357e4
lea ecx, [ebp - 0x3c]
call fcn.10015fbc
xor al, al
jmp 0x100150ce