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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4650
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.00403a40
mov ecx, eax
test ecx, ecx
je 0x453835
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall35065F43_4BB2_439A_BFF7_0F1014F2E0CD_is1
push 0x80000002
mov dword [ebp - 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4537d1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45379c
cmp dword [ebp - 0x18], 1
jne 0x45379c
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x45379c
mov eax, dword [esi + 0x10]
mov edx, 2
add eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046ee77
add esp, 4
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45375e
cmp dword [ebp - 0x18], 1
jne 0x45375e
push edi
lea ecx, [ebp - 0x30]
call fcn.00404c70
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x45366e
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0040c260
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmovae eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x18]
push 0
push str.UninstallString
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4536cb
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x14]
push str.changed_the_uninstall_string_from___s__to___s_
push eax
call fcn.0040f680
mov edx, 0x3f8
jmp 0x4536e4
push eax
push str.UninstallString
lea eax, [ebp - 0x14]
push str.failed_to_update_the_value_of___s__status__0x_08X
push eax
call fcn.0040f680
mov edx, 0x3fd
mov esi, dword [ebp - 0x14]
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
push esi
call fcn.004413d0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x453733
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45383f
push edx
push ecx
call fcn.0046ec30
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
push edi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.0046ec6e
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4537fb
push eax
push str.UninstallString
lea eax, [ebp - 0x14]
push str.failed_to_get_the_value_of___s__status__0x_08X
push eax
call fcn.0040f680
mov esi, dword [ebp - 0x14]
mov edx, 0x403
push esi
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
call fcn.004413d0
add esp, 0x14
push edi
call fcn.0046ec6e
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4537fb
push eax
push str.UninstallString
lea eax, [ebp - 0x14]
push str.failed_to_get_the_size_of___s__status__0x_08X
push eax
call fcn.0040f680
mov esi, dword [ebp - 0x14]
mov edx, 0x40b
push esi
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
call fcn.004413d0
add esp, 0x14
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4537fb
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall35065F43_4BB2_439A_BFF7_0F1014F2E0CD_is1
lea eax, [ebp - 0x14]
push str.failed_to_open__s__status__0x_08X
push eax
call fcn.0040f680
mov esi, dword [ebp - 0x14]
mov edx, 0x413
push esi
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
call fcn.004413d0
add esp, 0x14
add esi, 0xfffffff0
mov dword [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45381a
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 - 0x10]
xor ecx, ebp
call fcn.0046e70f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403bb0
call fcn.00489b7c
int3