Function at 0x10071ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c5091
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x102c0850]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov eax, dword [0x102c0850]
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.100717e0
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 0x10071d06
cmp dword [esp + 0x48], 1
jne 0x10071cc2
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 0x10071ba5
xor ecx, ecx
jmp 0x10071bbf
lea ecx, [esp + 0x454]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071bb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x458]
push eax
lea ecx, [esp + 0x30]
call fcn.10004140
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 0x10071c1f
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10071c10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.10004140
mov byte [esp + 0x868], 2
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10071d6a
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 0x10071c72
push dword [esp + 0x10]
call fcn.1008dfdb
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 0x10071ca3
push dword [esp + 0x28]
call fcn.1008dfdb
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 0x10071d66
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 0x10071b65
mov bl, 1
mov dword [esp + 0x868], 0xffffffff
mov esi, dword [esp + 0x50]
test esi, esi
je 0x10071d40
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10071d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10071d40
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.1008de57
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x10071d08
call fcn.10089e3b
int3