Function at 0x41a690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aee0d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4de080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.SystemCurrentControlSetServices_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.0040df90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edi, dword [ebp - 0x1c]
sub eax, edi
cmp eax, 0x14
jb 0x41a727
cmp ecx, 7
lea esi, [ebp - 0x2c]
lea eax, [edi + 0x14]
cmova esi, dword [ebp - 0x2c]
push 0x28
mov dword [ebp - 0x1c], eax
push str.MBAMInstallerService
lea eax, [esi + edi*2]
push eax
call fcn.00485270
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x28], ax
jmp 0x41a73b
push 0x14
push str.MBAMInstallerService
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push 0x14
call fcn.0040d970
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edi, dword [ebp - 0x1c]
sub eax, edi
cmp eax, 0xb
jb 0x41a776
cmp ecx, 7
lea esi, [ebp - 0x2c]
lea eax, [edi + 0xb]
cmova esi, dword [ebp - 0x2c]
push 0x16
mov dword [ebp - 0x1c], eax
push str.Parameters
lea eax, [esi + edi*2]
push eax
call fcn.00485270
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x16], ax
jmp 0x41a78a
push 0xb
push str.Parameters
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push 0xb
call fcn.0040d970
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x34]
push ecx
push 0x20019
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x41a87a
cmp esi, 2
je 0x41a963
lea ecx, [ebp - 0x50]
call fcn.00467c30
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41a7d6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c17e8
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x43f
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4c1738
mov ecx, eax
call fcn.00411040
mov edx, str.Failed_to_open_service_parameters_registry:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b6a0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 7
jbe 0x41a963
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a867
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a9ce
push ecx
push edx
call fcn.0048355d
add esp, 8
mov byte [ebp - 0x35], 0
jmp 0x41a97a
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 4
push eax
push 0
push 0
push str.RestartRequired
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x41a969
lea ecx, [ebp - 0x50]
call fcn.00467c30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41a8c3
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c17e8
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x44a
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4c1738
mov ecx, eax
call fcn.00411040
mov edx, str.Failed_to_query_restart_value__:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b6a0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 7
jbe 0x41a95a
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a950
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a9d3
push ecx
push edx
call fcn.0048355d
add esp, 8
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x35], 0
jmp 0x41a97a
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], 0
setne byte [ebp - 0x35]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x41a9b0
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a9a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a9d8
push ecx
push edx
call fcn.0048355d
add esp, 8
mov al, byte [ebp - 0x35]
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.00483226
mov esp, ebp
pop ebp
ret
call fcn.0048878f
call fcn.0048878f
call fcn.0048878f
int3