Function at 0x442ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3730
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e706c]
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 eax, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ecx], 0
mov ecx, eax
mov byte [ebp - 0x39], 0
call fcn.0040c600
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
call fcn.00403ab0
mov ecx, eax
test ecx, ecx
je 0x442eef
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 1
call fcn.00403ab0
mov ecx, eax
test ecx, ecx
je 0x442ef9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, str.SystemCurrentControlSetServices_
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
test eax, 0xffff0000
jne 0x442b72
movzx eax, ax
push eax
call fcn.0041c130
jmp 0x442b7e
push 0x22
push str.SystemCurrentControlSetServices_
call fcn.0040c6c0
push 0x14
push str.MBAMInstallerService
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0044b640
push 0xb
push str.Parameters
lea ecx, [ebp - 0x18]
call fcn.0044b640
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0x2001f
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
push dword [ebp - 0x18]
push 0x80000002
call fcn.00406530
mov esi, eax
or ebx, 0xffffffff
test esi, esi
jne 0x442d9b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
mov esi, dword [ebp - 0x30]
push str.CurrentStep
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0xe]
test eax, eax
jne 0x442c21
cmp dword [ebp - 0x1c], 4
cmovne eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push str.MaxStep
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x442c54
cmp dword [ebp - 0x24], 4
mov eax, 0xd
cmovne esi, eax
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
mov dword [ebp - 0x1c], 0x400
jge 0x442c7f
push 0x400
lea ecx, [ebp - 0x20]
call fcn.00403710
mov edi, dword [ebp - 0x20]
cmp dword [edi - 8], 0x400
jl 0x442f03
xor eax, eax
mov dword [edi - 0xc], 0x400
mov word [edi + 0x800], ax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push edi
push str.StepName
call fcn.0040c380
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
js 0x442f03
cmp ecx, dword [edi - 8]
jg 0x442f03
xor edx, edx
mov dword [edi - 0xc], ecx
mov word [edi + ecx*2], dx
cmp dword [ebp - 0x14], edx
jne 0x442d72
test esi, esi
jne 0x442d72
test eax, eax
jne 0x442d72
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.00449880
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 5
mov edx, dword [eax]
mov esi, dword [edi]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x442d4b
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x442d40
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x442d40
call fcn.00403ce0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
lea ecx, [esi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x442d36
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
add eax, 0x10
mov dword [edi], eax
jmp 0x442d4b
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.0040c6c0
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442d69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x39], 1
jmp 0x442d89
push str.Unable_to_query_installer_service_registry_settings
mov edx, 0x2ae
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbutils.cpp
call fcn.004417b0
add esp, 4
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x442e08
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x442e08
cmp esi, 2
je 0x442e05
mov byte [ebp - 4], 8
call fcn.00403ab0
mov ecx, eax
test ecx, ecx
je 0x442f0d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
push str.Failed_to_open_installer_service_registry_settings__0x_08X_
push eax
call fcn.0040f6f0
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x2b8
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbutils.cpp
push esi
call fcn.004417b0
add esp, 4
add esi, 0xfffffff0
mov byte [ebp - 4], 0xa
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x442e05
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x442e74
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x442e74
cmp ecx, dword [0x4ecbd4]
jbe 0x442e3b
push edx
push 0x64
push ecx
mov dword [0x4ecbd4], ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [0x4ecbd8]
cmp eax, ecx
cmovg ecx, eax
jmp 0x442e80
jne 0x442e6c
mov eax, dword [0x4ecbd8]
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ecx + 1]
cmp edx, eax
push edx
cmovb eax, edx
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [ebp - 0x40]
cmp edx, eax
jge 0x442e6c
mov ecx, dword [0x4ecbd8]
cmp edx, ecx
cmovg ecx, edx
jmp 0x442e80
mov ecx, dword [0x4ecbd8]
jmp 0x442e86
mov ecx, dword [0x4ecbd8]
cmp ecx, 5
jge 0x442e86
inc ecx
mov dword [0x4ecbd8], ecx
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
test esi, esi
je 0x442e96
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442eb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xc
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x442ed0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x39]
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.0046ebaf
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403c20
push 0x80004005
call fcn.00403c20
push 0x80070057
call fcn.00403c20
push 0x80004005
call fcn.00403c20
int3