Function at 0x10073020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c6801
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x100fa850]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov eax, dword [0x100fa850]
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.10072d50
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 0x10073276
cmp dword [esp + 0x48], 1
jne 0x10073232
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 0x10073115
xor ecx, ecx
jmp 0x1007312f
lea ecx, [esp + 0x454]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10073120
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x458]
push eax
lea ecx, [esp + 0x30]
call fcn.10004260
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 0x1007318f
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10073180
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.10004260
mov byte [esp + 0x868], 2
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x100732da
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 0x100731e2
push dword [esp + 0x10]
call fcn.1008f73b
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 0x10073213
push dword [esp + 0x28]
call fcn.1008f73b
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 0x100732d6
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 0x100730d5
mov bl, 1
mov dword [esp + 0x868], 0xffffffff
mov esi, dword [esp + 0x50]
test esi, esi
je 0x100732b0
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x100732b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100732b0
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.1008f5b7
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x10073278
call fcn.1008b59b
int3