Function at 0x404a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x42c318
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x437a60]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov eax, dword [0x438fec]
xor bl, bl
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], 0x104
mov byte [ebp - 4], 1
cmp eax, edi
je 0x404c65
mov eax, dword [eax]
cmp eax, edi
je 0x404c65
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
je 0x404c65
push str.SOFTWAREBackWebBackWeb_ClientApplications_
lea ecx, [ebp - 0x18]
call fcn.004037d0
push 0x438fec
lea ecx, [ebp - 0x18]
call fcn.00403890
push str.General
lea ecx, [ebp - 0x20]
call fcn.00402eb0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00403890
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00403750
mov esi, dword [ebp - 0x18]
cmp esi, edi
je 0x404b29
cmp dword [esi + 4], edi
jne 0x404b24
mov ecx, dword [esi]
push ecx
call fcn.00417b60
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x404b2b
xor esi, esi
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404c53
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp]
push ecx
push edi
push edi
push str.InstallDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404c49
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404b70
sub eax, edx
cmp byte [ebp + eax - 1], 0x5c
je 0x404b95
lea edi, [ebp]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404b84
mov ax, word [0x42e614]
mov word [edi], ax
mov edi, dword [ebp - 0x14]
lea ecx, [ebp]
add edi, 0x30
push ecx
mov ecx, edi
call fcn.004037d0
mov ebx, dword [ebp - 0x14]
lea esi, [ebx + 0x2c]
push edi
mov ecx, esi
call fcn.004037a0
push str.Program_vCenter_
lea ecx, [ebp - 0x14]
call fcn.00402eb0
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00403890
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403750
lea esi, [ebx + 0x34]
push edi
mov ecx, esi
call fcn.004037a0
push str.UsersDefaultData_
lea ecx, [ebp - 0x14]
call fcn.00402eb0
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00403890
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403750
push esi
mov ecx, ebx
call fcn.004030b0
test al, al
jne 0x404c47
push edi
mov ecx, esi
call fcn.004037a0
push str.InitDataData_
lea ecx, [ebp - 0x14]
call fcn.00402eb0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00403890
lea ecx, [ebp - 0x14]
call fcn.00403750
mov bl, 1
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call fcn.00403750
mov al, bl
jmp 0x404c6f
lea ecx, [ebp - 0x18]
call fcn.00403750
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00418a11
add ebp, 0x108
mov esp, ebp
pop ebp
ret