Function at 0x429cc9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x146c
call fcn.00467d40
mov eax, dword [0x4a13b4]
xor eax, esp
mov dword [esp + 0x1468], eax
cmp byte [0x4a2f30], 0
push ebx
push esi
push edi
jne 0x429d01
call fcn.00429fd0
mov byte [0x4a2f30], 1
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push 3
push ecx
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], ebx
mov edx, 0x405050
mov dword [esp + 0x20], ebx
mov ecx, esi
call fcn.00441760
test eax, eax
jne 0x429e7e
lea eax, [esp + 0x14]
mov edx, 0x4050d0
push eax
push 3
push ecx
mov ecx, esi
call fcn.00441760
test eax, eax
jne 0x429e7e
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x429e7e
mov eax, dword [esp + 0x10]
cmp eax, 0x400
ja 0x429e7e
mov edi, ebx
test eax, eax
je 0x429e62
lea esi, [esp + 0x54]
lea eax, [esp + 0x18]
mov byte [esi], bl
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x20], 0x10
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ebx
push eax
push ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x50], ebx
push eax
lea eax, [esp + 0x1468]
mov dword [esp + 0x58], ebx
push eax
push edi
push dword [esp + 0x28]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], 0x14
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x429e52
cmp dword [esp + 0x38], 3
jne 0x429e52
cmp dword [esp + 0x18], 0x14
jne 0x429e52
mov eax, dword [esp + 0x1c]
add eax, eax
cmp eax, 0x20
jae 0x429ebe
xor ecx, ecx
lea edx, [esi - 4]
mov word [esp + eax + 0x1454], cx
lea ecx, [esp + 0x1454]
call fcn.00440dd1
test al, al
je 0x429eba
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00429ec9
lea ecx, [esp + 0x20]
call fcn.00429f68
xor ebx, ebx
cmp dword [esp + 0x20], ebx
je 0x429eb5
mov eax, dword [esp + 0x10]
inc edi
add esi, 5
cmp edi, eax
jb 0x429d86
mov edi, ebx
test eax, eax
je 0x429e7e
lea esi, [esp + 0x50]
cmp byte [esi + 4], 0
jne 0x473610
inc edi
add esi, 5
cmp edi, eax
jb 0x429e6c
cmp dword [esp + 0xc], 0
je 0x429e8f
push dword [esp + 0xc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [esp + 0x14], 0
je 0x429ea0
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, dword [esp + 0x1474]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042bef0
mov esp, ebp
pop ebp
ret
mov byte [esi], 1
jmp 0x429e52
xor ebx, ebx
jmp 0x429e52
call fcn.0042c04c
int3
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push 0x405050
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
call fcn.00440bbc
push 0x4050d0
lea ecx, [esp + 0x24]
call fcn.00440bbc
mov eax, dword [esp + 0x10]
jmp 0x429e76