Function at 0x429e1f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x550
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x540]
mov ebx, ecx
push eax
xor ecx, ecx
mov dword [ebp - 0x538], ebx
push 0x2001f
push ecx
push 0x407578
mov edi, ecx
mov dword [ebp - 0x540], ecx
push SysReAllocStringLen
mov dword [ebp - 0x544], edi
mov dword [ebp - 0x53c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x429f64
lea eax, [ebp - 0x53c]
push eax
push 0x2001f
push esi
push 0x406a74
push dword [ebp - 0x540]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x429f64
mov edi, dword [ebp - 0x538]
mov ebx, eax
mov dword [ebp - 0x534], 0x80
mov dword [ebp - 0x530], eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 0x53c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x429f4c
lea eax, [ebp - 0x530]
mov dword [ebp - 0x534], 0x80
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x10c]
inc ebx
push eax
push dword [ebp - 0x53c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x429f4c
push dword [ebp - 0x530]
mov ecx, edi
call fcn.00429768
test eax, eax
jns 0x429f39
lea eax, [ebp - 0x10c]
push eax
push 0x406a88
push 4
call fcn.0041e83a
add esp, 0xc
push dword [ebp - 0x530]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x429ebc
push dword [ebp - 0x53c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x544]
mov ebx, dword [ebp - 0x538]
cmp dword [ebp - 0x540], 0
je 0x429f79
push dword [ebp - 0x540]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x429f9c
cmp esi, 0x103
je 0x429f9c
test esi, esi
jg 0x429f8d
mov edi, esi
jmp 0x429f96
movzx edi, si
or edi, 0x80070000
mov dword [ebp - 0x544], edi
cmp dword [ebx + 0x1c], 3
jne 0x42a131
push 0x406ab8
push 0x407578
push 0x401d10
lea eax, [ebp - 0x31c]
push 0x105
push eax
call fcn.0040c0e1
add esp, 0x14
test eax, eax
js 0x42a167
and dword [ebp - 0x530], 0
lea eax, [ebp - 0x530]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x31c]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a167
mov edi, dword [ebp - 0x538]
xor ebx, ebx
and dword [ebp - 0x534], ebx
mov dword [ebp - 0x548], 0x80
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x548]
push eax
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 0x530]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x42a11f
lea eax, [ebp - 0x534]
mov dword [ebp - 0x548], 0x80
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x10c]
inc ebx
push eax
push dword [ebp - 0x530]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x42a11f
lea eax, [ebp - 0x54c]
mov dword [ebp - 0x54c], 0x20a
push eax
lea eax, [ebp - 0x52c]
inc esi
push eax
lea eax, [ebp - 0x538]
mov dword [ebp - 0x538], esi
push eax
push 0
push 0x407400
push dword [ebp - 0x534]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a10e
cmp dword [ebp - 0x538], esi
jne 0x42a10e
mov esi, dword [edi + 4]
jmp 0x42a0e3
mov eax, dword [esi]
test eax, eax
je 0x42a0e0
push dword [eax + 0x24]
lea eax, [ebp - 0x52c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x42a10e
mov esi, dword [esi + 4]
test esi, esi
jne 0x42a0c4
push dword [ebp - 0x534]
mov ecx, edi
call fcn.00429768
test eax, eax
jns 0x42a10e
lea eax, [ebp - 0x10c]
push eax
push 0x406ad4
push 4
call fcn.0041e83a
add esp, 0xc
push dword [ebp - 0x534]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42a018
push dword [ebp - 0x530]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x544]
test esi, esi
je 0x42a167
cmp esi, 0x103
je 0x42a167
test esi, esi
jle 0x42a14c
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x42a167
test edi, edi
jns 0x42a154
mov esi, edi
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 4
test edi, edi
js 0x42a152
xor esi, esi
jmp 0x42a154