Function at 0x10029773
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003eef4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
mov dword [ebp - 0x14], ecx
and dword [ebp - 0x24], 0
call fcn.10024159
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.10028947
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
and dword [ebp - 0x74], 0
and dword [ebp - 0x70], 0
and dword [ebp - 4], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
push 0x2001f
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x30]
call fcn.10028f11
test eax, eax
jne 0x10029812
mov dword [ebp - 0x1c], 1
jmp 0x10029816
and dword [ebp - 0x1c], 0
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x48]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10007467
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10029958
and dword [ebp - 0x18], 0
mov ax, word [0x10055328]
mov word [ebp - 0x280], ax
push 0x206
push 0
lea eax, [ebp - 0x27e]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0x104
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1002991a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x104
mov ax, word [0x1005532c]
mov word [ebp - 0x488], ax
push 0x206
push 0
lea eax, [ebp - 0x486]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x54], 0x104
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x30]
call fcn.10028f96
test eax, eax
jne 0x10029915
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.1002b873
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.100076ac
mov dword [ebp - 0x24], 1
jmp 0x10029867
lea ecx, [ebp - 0x30]
call fcn.1001a18b
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [eax + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.10028e7b
mov eax, dword [ebp - 0x64]
sub eax, 0x10
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.10007467
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1001a18b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1001a18b
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret