Function at 0x40b354
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a11c
call fcn.00414a8c
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.00402110
mov esi, 0x439698
push esi
call fcn.00414a10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00404540
mov al, byte [ebp + 0x1b]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c], al
call fcn.00402110
push esi
call fcn.00414a10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00404540
mov al, byte [0x439698]
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 [0x439860]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x40b402
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x40b3ef
mov eax, 0x42b4d8
mov ecx, dword [ebp - 0x14]
push ebx
push ebx
push dword [ecx + 0x34]
mov ecx, 0x439760
push eax
call fcn.0040c31b
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x40b40e
mov eax, 0x42b4d8
push 0x800
lea ecx, [ebp - 0x154]
push 0x104
push ecx
mov edi, str.Version
push str.RegistryManufacturer
push edi
push eax
call fcn.0040f7c3
add esp, 0x18
test eax, eax
jne 0x40b47a
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x40b443
mov eax, 0x42b4d8
push 0x800
lea ecx, [ebp - 0x154]
push 0x104
push ecx
push str.Manufacturer
push edi
push eax
call fcn.0040f7c3
add esp, 0x18
test eax, eax
jne 0x40b47a
lea eax, [ebp - 0x154]
push 0x433a20
push eax
call fcn.004159f0
pop ecx
pop ecx
lea eax, [ebp - 0x154]
push eax
call fcn.00414a10
pop ecx
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404540
mov al, byte [ebp + 0x1b]
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x40], al
call fcn.00402110
push esi
call fcn.00414a10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00404540
mov esi, str.Software_
mov byte [ebp - 4], 3
push esi
call fcn.00414a10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402050
push dword [0x42b4dc]
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x40]
push ebx
push eax
call fcn.00401f70
mov esi, str.DigitalImaging
push esi
call fcn.00414a10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402050
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x40b509
mov eax, 0x42b4d8
lea ecx, [ebp - 0x18]
push ecx
push 0xf003f
push ebx
push eax
push 0x80000002
call fcn.0040a3a3
test eax, eax
jne 0x40b5ab
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 0x40b5a0
push dword [ebp - 0x14]
mov ecx, 0x439760
mov dword [ebp - 0x10], 1
call fcn.0040c26e
mov esi, eax
push esi
call fcn.00414a10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00404540
cmp dword [ebp - 0x24], ebx
jne 0x40b580
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x40b58c
mov eax, 0x42b4d8
push eax
push 0x4339f0
call fcn.00414393
pop ecx
test eax, eax
pop ecx
jne 0x40b5a0
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b5ae
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x40b5c6
push dword [0x42b4dc]
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00404340
push 1
lea ecx, [ebp - 0x40]
pop esi
mov byte [ebp - 4], 2
push esi
call fcn.00402110
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402110
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00402110
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp + 8]
call fcn.00402110
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14