Function at 0x41963b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4306ac
call fcn.004083b8
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov al, byte [ebp + 0x1b]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x50], al
call fcn.00403360
mov esi, 0x4541f8
push esi
call fcn.00409f30
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00403650
mov al, byte [ebp + 0x1b]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c], al
call fcn.00403360
push esi
call fcn.00409f30
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403650
mov al, byte [0x4541f8]
push 0x40
mov byte [ebp - 0x154], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x153]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x444638]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4196e8
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4196d6
mov eax, 0x43257c
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ecx + 0x34]
mov ecx, 0x444538
push eax
call sym.HPZwis01.exe_public:_unsigned_int___thiscall_CFactory::Init_char_const___unsigned_long_int__char_const__const
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4196f4
mov eax, 0x43257c
push 0x800
lea ecx, [ebp - 0x154]
push 0x104
push ecx
mov edi, str.Version
push str.RegistryManufacturer
push edi
push eax
call fcn.0041dce8
add esp, 0x18
test eax, eax
jne 0x419760
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x419729
mov eax, 0x43257c
push 0x800
lea ecx, [ebp - 0x154]
push 0x104
push ecx
push str.Manufacturer
push edi
push eax
call fcn.0041dce8
add esp, 0x18
test eax, eax
jne 0x419760
lea eax, [ebp - 0x154]
push 0x4425d8
push eax
call fcn.0040d890
pop ecx
pop ecx
lea eax, [ebp - 0x154]
push eax
call fcn.00409f30
pop ecx
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x50]
call fcn.00403650
mov al, byte [ebp + 0x1b]
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x40], al
call fcn.00403360
push esi
call fcn.00409f30
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403650
mov esi, str.Software_
mov byte [ebp - 4], 3
push esi
call fcn.00409f30
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402da0
push dword [0x432578]
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x40]
push ebx
push eax
call fcn.00402cc0
mov esi, str.DigitalImaging
push esi
call fcn.00409f30
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402da0
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x4197ef
mov eax, 0x43257c
lea ecx, [ebp - 0x18]
push ecx
push 0xf003f
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419892
push 4
mov dword [ebp - 0x14], ebx
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.ProductLanguage
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419887
push dword [ebp - 0x14]
mov ecx, 0x444538
mov dword [ebp - 0x10], 1
call sym.HPZwis01.exe_public:_char_const__const___thiscall_CFactory::Get3LetterLanguage_unsigned_short_int_const
mov esi, eax
push esi
call fcn.00409f30
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403650
cmp dword [ebp - 0x24], ebx
jne 0x419867
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x419873
mov eax, 0x43257c
push eax
push 0x4418f8
call fcn.00407a2f
pop ecx
test eax, eax
pop ecx
jne 0x419887
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419895
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x4198ad
push dword [0x432578]
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00402e60
push 1
lea ecx, [ebp - 0x40]
pop esi
mov byte [ebp - 4], 2
push esi
call fcn.00403360
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00403360
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00403360
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp + 8]
call fcn.00403360
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14