Function at 0x1006f3b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100be461
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x1029c850]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov eax, dword [0x1029c850]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x4c]
xorps xmm0, xmm0
push 0x20019
push edx
movq qword [esp + 0x54], xmm0
call fcn.1006f0e0
add esp, 8
mov dword [esp + 0x868], 0
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x4c]
xor esi, esi
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], 0x400
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], 0x400
push ecx
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], 0
push ecx
lea ecx, [esp + 0x468]
push ecx
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1006f606
cmp dword [esp + 0x48], 1
jne 0x1006f5c2
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp word [esp + 0x454], ax
jne 0x1006f4a5
xor ecx, ecx
jmp 0x1006f4bf
lea ecx, [esp + 0x454]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006f4b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x458]
push eax
lea ecx, [esp + 0x30]
call fcn.10003f40
mov byte [esp + 0x868], 1
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
cmp word [esp + 0x54], ax
je 0x1006f51f
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006f510
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.10003f40
mov byte [esp + 0x868], 2
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1006f66a
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x2c]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
sete bl
mov byte [esp + 0x868], 1
cmp dword [esp + 0x24], 8
jb 0x1006f572
push dword [esp + 0x10]
call fcn.10089b56
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov byte [esp + 0x868], al
cmp dword [esp + 0x3c], 8
jb 0x1006f5a3
push dword [esp + 0x28]
call fcn.10089b56
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
test bl, bl
jne 0x1006f666
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], 0x400
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], 0x400
push ecx
push 0
lea ecx, [esp + 0x50]
inc esi
push ecx
lea ecx, [esp + 0x468]
push ecx
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1006f465
mov bl, 1
mov dword [esp + 0x868], 0xffffffff
mov esi, dword [esp + 0x50]
test esi, esi
je 0x1006f640
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1006f640
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x1006f640
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.100899d2
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x1006f608
call fcn.100859b6
int3