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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4b60
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.00403ab0
mov ecx, eax
test ecx, ecx
je 0x453cf5
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 0x453c91
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 0x453c5c
cmp dword [ebp - 0x18], 1
jne 0x453c5c
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x453c5c
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.0046f317
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 0x453c1e
cmp dword [ebp - 0x18], 1
jne 0x453c1e
push edi
lea ecx, [ebp - 0x30]
call fcn.00404ce0
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x453b2e
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0040c2d0
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 0x453b8b
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.0040f6f0
mov edx, 0x3f9
jmp 0x453ba4
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.0040f6f0
mov edx, 0x3fe
mov esi, dword [ebp - 0x14]
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
push esi
call fcn.004417b0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x453bf3
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453be9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453cff
push edx
push ecx
call fcn.0046f0d0
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.0046f10e
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x453cbb
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.0040f6f0
mov esi, dword [ebp - 0x14]
mov edx, 0x404
push esi
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
call fcn.004417b0
add esp, 0x14
push edi
call fcn.0046f10e
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x453cbb
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.0040f6f0
mov esi, dword [ebp - 0x14]
mov edx, 0x40c
push esi
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
call fcn.004417b0
add esp, 0x14
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x453cbb
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.0040f6f0
mov esi, dword [ebp - 0x14]
mov edx, 0x414
push esi
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetup_setuputils.cpp
call fcn.004417b0
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 0x453cda
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.0046ebaf
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403c20
call fcn.0048a05c
int3