Function at 0x415460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464c20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x483068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
push 0x22
xor eax, eax
mov dword [esi], 0
push str.SystemCurrentControlSetServices_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00409520
push 0x14
push str.MBAMInstallerService
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004053f0
push 0xb
push str.Parameters
lea ecx, [ebp - 0x2c]
call fcn.004053f0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x4155c0
lea ecx, [ebp - 0x48]
call fcn.0041f060
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x415520
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4858e0
call fcn.00408830
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.004073d0
mov edx, 0x476f7c
mov ecx, eax
call fcn.004073d0
push 0x747
mov ecx, eax
call fcn.00405950
mov edx, 0x4778b4
mov ecx, eax
call fcn.004073d0
mov edx, str.Failed_to_open_service_parameters_registry:
mov ecx, eax
call fcn.004073d0
push edi
mov ecx, eax
call fcn.004057b0
push eax
call fcn.00407a20
mov edx, dword [ebp - 0x34]
add esp, 4
cmp edx, 8
jb 0x415737
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4155b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415789
push edx
push ecx
call fcn.004290dc
add esp, 8
jmp 0x415737
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push 0
push str.MaxStep
push dword [ebp - 0x30]
call esi
mov edi, eax
test edi, edi
je 0x41569b
lea ecx, [ebp - 0x48]
call fcn.0041f060
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x415601
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4858e0
call fcn.00408830
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.004073d0
mov edx, 0x476f7c
mov ecx, eax
call fcn.004073d0
push 0x751
mov ecx, eax
call fcn.00405950
mov edx, 0x4778b4
mov ecx, eax
call fcn.004073d0
mov edx, str.Failed_to_query_restart_value__:
mov ecx, eax
call fcn.004073d0
push edi
mov ecx, eax
call fcn.004057b0
push eax
call fcn.00407a20
mov edx, dword [ebp - 0x34]
add esp, 4
cmp edx, 8
jb 0x41572e
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415724
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41578e
jmp 0x415724
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push ebx
push 0
push 0
push str.CurrentStep
push dword [ebp - 0x30]
call esi
mov esi, eax
test esi, esi
je 0x415737
lea ecx, [ebp - 0x48]
call fcn.0041f060
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4156d2
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4858e0
call fcn.00408830
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.004073d0
mov edx, 0x476f7c
mov ecx, eax
call fcn.004073d0
push 0x75b
mov ecx, eax
call fcn.00405950
mov edx, 0x4778b4
mov ecx, eax
call fcn.004073d0
mov edx, str.Failed_to_query_restart_value__:
mov ecx, eax
call fcn.004073d0
push esi
jmp 0x41564e
push edx
push ecx
call fcn.004290dc
add esp, 8
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41576d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415763
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41578e
push edx
push ecx
call fcn.004290dc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004290a8
mov esp, ebp
pop ebp
ret
call fcn.00443bfc
call fcn.00443bfc
int3