Function at 0x41a9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aee5d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 0x41aa77
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 0x41aa8b
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 0x41aac6
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 0x41aada
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 0x41abc9
cmp esi, 2
je 0x41acae
lea ecx, [ebp - 0x4c]
call fcn.00467c30
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41ab26
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 0x461
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 - 0x38]
add esp, 4
cmp ecx, 7
jbe 0x41acae
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41abb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad12
push ecx
push edx
call fcn.0048355d
add esp, 8
or esi, 0xffffffff
jmp 0x41acbf
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.ErrorStatus
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x41acb3
lea ecx, [ebp - 0x4c]
call fcn.00467c30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41ac12
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 0x46b
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4c1738
mov ecx, eax
call fcn.00411040
mov edx, str.Failed_to_query_status_value__:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b6a0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x38]
add esp, 4
cmp ecx, 7
jbe 0x41aca5
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ac9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad17
push ecx
push edx
call fcn.0048355d
add esp, 8
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or esi, 0xffffffff
jmp 0x41acbf
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x41acf5
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41aceb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad1c
push ecx
push edx
call fcn.0048355d
add esp, 8
mov eax, esi
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