Function at 0x427f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522949
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5a4aa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov esi, 1
mov dword [ebp - 4], esi
push 0x535a4c
lea ecx, [ebp - 0x1c]
call fcn.00405c00
mov byte [ebp - 4], 2
push 0x535a4c
lea ecx, [ebp - 0x14]
call fcn.00405c00
mov byte [ebp - 4], 3
push 0x535a4c
lea ecx, [ebp - 0x18]
call fcn.00405c00
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x427fb4
sub eax, edx
sar eax, 1
jne 0x42802a
push str.Fail_____Invalid_Parameter_in_CGDPRDataDlg::ReadWebAgreementRegistry____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
push ebx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00405c00
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00406150
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00406150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00406150
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00406150
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x5aa3a8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405ec0
mov ecx, str.GDPR
lea esi, [ebp - 0x18]
call fcn.004160b0
cmp eax, 0xffffffff
je 0x4280c4
call fcn.004290b0
mov eax, dword [eax + 0x11000]
push eax
mov ecx, esi
call fcn.00405ec0
mov eax, dword [edi + 0x33590]
push str.Hewlett_Packard
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x4280ab
mov eax, dword [edi + 0x33590]
push 0x53e09c
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x4280ab
mov ecx, dword [ebp - 0x18]
push ecx
push str.WEB_AGREEMENT
mov edx, dword [edi + 0x33590]
push edx
push str.Software_s_s_s
lea eax, [ebp - 0x14]
push eax
jmp 0x42812c
mov ecx, dword [ebp - 0x18]
push ecx
push str.WEB_AGREEMENT
push str.Hewlett_Packard
push str.Software_s_s_s
lea edx, [ebp - 0x14]
push edx
jmp 0x42812c
mov eax, dword [edi + 0x33590]
push str.Hewlett_Packard
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x428112
mov eax, dword [edi + 0x33590]
push 0x53e09c
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x428112
mov eax, dword [edi + 0x33594]
push eax
push str.WEB_AGREEMENT
mov ecx, dword [edi + 0x33590]
push ecx
push str.Software_s_s_s
lea edx, [ebp - 0x14]
push edx
jmp 0x42812c
mov eax, dword [edi + 0x33594]
push eax
push str.WEB_AGREEMENT
push str.Hewlett_Packard
push str.Software_s_s_s
lea ecx, [ebp - 0x14]
push ecx
call fcn.004081a0
add esp, 0x14
lea edx, [ebp - 0x20]
push edx
push 0xf023f
push ebx
mov eax, dword [ebp - 0x14]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
cmp eax, ebx
je 0x42816c
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
mov edx, dword [ebp - 0x14]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x42819f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4281ac
mov ecx, dword [ebp - 0x28]
push ecx
push 0x53e0e0
lea edx, [ebp - 0x1c]
push edx
call fcn.004081a0
add esp, 0xc
jmp 0x4281ac
push 0x535a4c
lea ecx, [ebp - 0x1c]
call fcn.00405ec0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 4
jmp 0x4281e0
lea ecx, [ebp - 0x1c]
push ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004081c0
or dword [ebp - 0x24], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00406150
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00406150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00406150
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00406150
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8