Function at 0x45b350
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0805
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x50b080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x45b649
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall35065F43_4BB2_439A_BFF7_0F1014F2E0CD_is1
push 0x80000002
mov dword [ebp - 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b5e9
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x38]
call esi
test eax, eax
jne 0x45b5b4
cmp dword [ebp - 0x1c], 1
jne 0x45b5b4
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x45b5b4
mov eax, dword [edi + 0x10]
mov edx, 2
add eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490916
add esp, 4
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x38]
call esi
test eax, eax
jne 0x45b576
cmp dword [ebp - 0x1c], 1
jne 0x45b576
mov ecx, edi
mov dword [ebp - 0x24], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x34], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b480
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.0040df90
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040dab0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 7
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3c], ecx
cmova eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
push 0
push str.UninstallString
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x45b4fb
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x18]
push str.changed_the_uninstall_string_from___s__to___s_
push eax
call fcn.00411010
mov edx, 0x3fe
jmp 0x45b514
push eax
push str.UninstallString
lea eax, [ebp - 0x18]
push str.failed_to_update_the_value_of___s__status__0x_08X
push eax
call fcn.00411010
mov edx, 0x403
mov esi, dword [ebp - 0x18]
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
push esi
call fcn.004474b0
mov ecx, dword [ebp - 0x20]
add esp, 0x14
cmp ecx, 7
jbe 0x45b5a0
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b555
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b653
push ecx
push edx
call fcn.004906cd
add esp, 8
push edi
call fcn.004906db
add esp, 4
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45b613
push eax
push str.UninstallString
lea eax, [ebp - 0x18]
push str.failed_to_get_the_value_of___s__status__0x_08X
push eax
call fcn.00411010
mov esi, dword [ebp - 0x18]
mov edx, 0x409
push esi
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
call fcn.004474b0
add esp, 0x14
push edi
call fcn.004906db
add esp, 4
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45b613
push eax
push str.UninstallString
lea eax, [ebp - 0x18]
push str.failed_to_get_the_size_of___s__status__0x_08X
push eax
call fcn.00411010
mov esi, dword [ebp - 0x18]
mov edx, 0x411
push esi
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
call fcn.004474b0
add esp, 0x14
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45b613
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall35065F43_4BB2_439A_BFF7_0F1014F2E0CD_is1
lea eax, [ebp - 0x18]
push str.failed_to_open__s__status__0x_08X
push eax
call fcn.00411010
mov esi, dword [ebp - 0x18]
mov edx, 0x419
push esi
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
call fcn.004474b0
add esp, 0x14
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45b62b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00490396
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404ea0
call fcn.004958ff
int3