Function at 0x4063c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x140]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
xor ebx, ebx
push 0x423f20
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], 0x3f2
mov dword [ebp - 0x34], 0x104
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
call fcn.00413688
push 0x423f20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00413688
push 0x423f20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00413688
push 0x423f20
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00413688
lea eax, [esi + 0x210a]
lea ecx, [ebp - 0x1c]
push eax
push 0x41f268
push ecx
mov byte [ebp - 4], 4
call fcn.00412be6
lea edx, [esi + 0x2416]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4066ba
push edx
lea edx, [ebp - 0x24]
push str.Software_s
push edx
call fcn.00412be6
mov ecx, dword [ebp - 0x24]
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push ebx
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40669d
mov al, 1
test al, al
je 0x406649
xor eax, eax
mov ecx, 0x41
push eax
lea edi, [ebp - 0x140]
push eax
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x140]
push edx
push eax
push ebx
push ecx
mov dword [ebp - 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40662e
mov eax, dword [esi + 0x251c]
lea edx, [ebp - 0x140]
push edx
push ebx
push str.__d_th_Enumerate_registry_key__key_name_is___s_
push eax
call fcn.00401990
add esp, 0x10
lea ecx, [ebp - 0x14]
push 0x423f20
call fcn.00413757
lea ecx, [ebp - 0x140]
lea edx, [ebp - 0x14]
push ecx
push 0x41f268
push edx
call fcn.00412be6
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
mov ecx, dword [eax - 8]
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004127e8
mov eax, dword [eax]
push esi
push eax
call fcn.00407ef9
add esp, 8
lea ecx, [ebp - 0x3c]
test eax, eax
sete bl
call fcn.0041361a
test bl, bl
je 0x4065fe
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push ecx
mov eax, dword [esi + 0x251c]
push edx
push str.__s__vs___s__is_identical
push eax
call fcn.00401990
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x423f20
call fcn.00413757
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
push ecx
push edx
lea eax, [ebp - 0x18]
push str._s_sInstall
push eax
call fcn.00412be6
mov edx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x38]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40661d
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x251c]
push eax
push str.__s__Key_is_found
push ecx
call fcn.00401990
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x30], 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406649
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, dword [edx + 0x251c]
push ecx
push str.__s__vs___s__is_not_identical
push eax
call fcn.00401990
add esp, 0x10
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x28], eax
mov ebx, eax
jmp 0x4064b7
push str.RegEnumKeyEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x251c]
push eax
push ecx
call fcn.004018e0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.0041361a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041361a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0041361a
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0041361a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push str.RegOpenKeyEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi + 0x251c]
push eax
call fcn.004018e0
add esp, 0xc
jmp 0x406653
mov ecx, dword [esi + 0x251c]
push str.Manufacture_is_NULL
push ecx
call fcn.00401990
add esp, 8
jmp 0x406653