Function at 0x10089220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189928
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x84c], esi
mov dword [ebp - 0x850], 0
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x868], ax
lea ecx, [ebp - 0x868]
lea eax, [edi + 0x10]
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x84c], eax
mov eax, dword [eax]
add eax, 0x22
mov dword [ebp - 0x854], 7
push eax
mov dword [ebp - 0x850], 2
call fcn.10087de0
push 0x22
push str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x868]
call fcn.10087570
cmp dword [edi + 0x14], 8
jb 0x100892c5
mov edi, dword [edi]
mov eax, dword [ebp - 0x84c]
lea ecx, [ebp - 0x868]
push dword [eax]
push edi
call fcn.10087570
push 0xb
push str.Parameters
lea ecx, [ebp - 0x868]
call fcn.10087570
mov dword [ebp - 0x830], 0
xor ecx, ecx
mov dword [ebp - 0x82c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x840], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x830], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x854]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x1008936d
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10089363
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008955b
push edx
push ecx
call fcn.1012659a
add esp, 8
xor eax, eax
mov dword [ebp - 0x858], 0
push 0xa
push str.ServiceDll
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], ax
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.10044c60
cmp dword [ebp - 0x82c], 8
lea ecx, [ebp - 0x844]
push ecx
push 1
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x840]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x848], 0x800
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10089483
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x848]
push ecx
lea ecx, [ebp - 0x810]
push ecx
push 0
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push 0
push eax
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x844]
test eax, eax
jne 0x1008947d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x848]
xor eax, eax
shr ecx, 1
dec ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x810]
push ecx
push eax
mov ecx, esi
call fcn.10044c60
lea ecx, [ebp - 0x828]
call fcn.100424a0
lea ecx, [ebp - 0x840]
call fcn.100424a0
jmp 0x1008953c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x1019e5ec
mov word [esi], ax
call fcn.10044c60
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x100894e3
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100894d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089560
push edx
push ecx
call fcn.1012659a
add esp, 8
mov edx, dword [ebp - 0x82c]
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp edx, 8
jb 0x1008953c
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10089532
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089565
push edx
push ecx
call fcn.1012659a
add esp, 8
mov eax, esi
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.10126919
mov esp, ebp
pop ebp
ret 8
call fcn.101513dc
call fcn.101513dc
call fcn.101513dc
int3