Function at 0x10071130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bfa11
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x100f1850]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov eax, dword [0x100f1850]
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.10070e60
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 0x10071386
cmp dword [esp + 0x48], 1
jne 0x10071342
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 0x10071225
xor ecx, ecx
jmp 0x1007123f
lea ecx, [esp + 0x454]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071230
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x458]
push eax
lea ecx, [esp + 0x30]
call fcn.10006890
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 0x1007129f
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10071290
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.10006890
mov byte [esp + 0x868], 2
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x100713ea
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 0x100712f2
push dword [esp + 0x10]
call fcn.1008b066
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 0x10071323
push dword [esp + 0x28]
call fcn.1008b066
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 0x100713e6
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 0x100711e5
mov bl, 1
mov dword [esp + 0x868], 0xffffffff
mov esi, dword [esp + 0x50]
test esi, esi
je 0x100713c0
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x100713c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100713c0
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.1008aee2
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x10071388
call fcn.100874ee
int3