Function at 0x10029ade
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b8
mov eax, dword [0x10054e34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x99c]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push eax
push 0x20019
push esi
push ebx
push SysReAllocString
mov dword [ebp - 0x9b0], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10029b26
xor al, al
jmp 0x10029d3c
push edi
push SysReAllocString
call fcn.10029ddb
lea eax, [ebp - 0x9b8]
push eax
lea eax, [ebp - 0x9a4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10029b65
push dword [ebp - 0x99c]
call fcn.10028d28
jmp 0x10029b1f
push 0x100000
call fcn.10035426
mov esi, eax
pop ecx
test esi, esi
jne 0x10029b82
mov ecx, 0x100587e8
call fcn.1001ec4a
jmp 0x10029b1f
lea eax, [ebp - 0x9a0]
mov dword [ebp - 0x998], 0x200
push eax
push esi
xor ecx, ecx
mov dword [ebp - 0x9a0], 0x100000
lea eax, [ebp - 0x9a8]
mov dword [ebp - 0x9ac], ecx
push eax
push ecx
lea eax, [ebp - 0x998]
push eax
lea eax, [ebp - 0x594]
push eax
push ecx
push dword [ebp - 0x99c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10029c40
mov edi, dword [ebp - 0x9ac]
push dword [ebp - 0x9a0]
lea eax, [ebp - 0x594]
push esi
push dword [ebp - 0x9a8]
push 0
push eax
push dword [ebp - 0x9a4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x9a0]
mov dword [ebp - 0x998], 0x200
push eax
push esi
lea eax, [ebp - 0x9a8]
mov dword [ebp - 0x9a0], 0x100000
push eax
push 0
lea eax, [ebp - 0x998]
inc edi
push eax
lea eax, [ebp - 0x594]
push eax
push edi
push dword [ebp - 0x99c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10029bd3
mov edi, dword [ebp - 0x9b0]
push esi
call fcn.10035421
pop ecx
xor ecx, ecx
lea eax, [ebp - 0x9b4]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x998]
mov esi, ecx
push eax
lea eax, [ebp - 0x194]
push eax
push ecx
jmp 0x10029d06
lea eax, [ebp - 0x194]
push eax
push ebx
push str._s_s
lea eax, [ebp - 0x994]
push 0x200
push eax
call fcn.10003e47
lea eax, [ebp - 0x194]
push eax
push edi
push str._s_s
lea eax, [ebp - 0x594]
push 0x200
push eax
call fcn.10003e47
add esp, 0x28
lea eax, [ebp - 0x9b8]
push eax
lea eax, [ebp - 0x9a4]
push eax
xor eax, eax
push eax
push 0x20006
push eax
push eax
push eax
lea eax, [ebp - 0x594]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10029d24
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x994]
push eax
call fcn.10029ade
lea eax, [ebp - 0x9b4]
inc esi
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x998]
push eax
lea eax, [ebp - 0x194]
push eax
push esi
push dword [ebp - 0x99c]
mov dword [ebp - 0x998], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10029c69
push dword [ebp - 0x99c]
call fcn.10028d28
push dword [ebp - 0x9a4]
call fcn.10028d28
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f614
mov esp, ebp
pop ebp
ret 8