Function at 0x418d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afd59
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e506c]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x20019
push str.SYSTEMCurrentControlSetServicesMBAMInstallerServiceParametersISvcErrors
push 0x80000002
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.00406450
test eax, eax
mov eax, dword [ebp - 0x20]
jne 0x41909f
mov dword [ebp - 0x30], 0
nop word [eax + eax]
mov dword [ebp - 0x2c], 0x400
mov dword [ebp - 0x28], 0x400
mov byte [ebp - 4], 2
call fcn.004039d0
test eax, eax
je 0x4190ca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 4
call fcn.004039d0
test eax, eax
je 0x4190ca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x418eb2
push 0x400
lea ecx, [ebp - 0x14]
call fcn.004033c0
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], 0x400
jl 0x4190d9
mov dword [esi - 0xc], 0x400
mov ecx, 1
mov byte [esi + 0x400], 0
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
jge 0x418ef1
push 0x400
lea ecx, [ebp - 0x24]
call fcn.004033c0
mov edi, dword [ebp - 0x24]
cmp dword [edi - 8], 0x400
lea ebx, [edi - 0x10]
jl 0x4190d9
lea eax, [ebp - 0x28]
mov dword [ebx + 4], 0x400
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x2c]
mov byte [edi + 0x400], 0
push eax
push edi
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push dword [ebx + 8]
mov dword [ebp - 0x38], eax
push edi
call fcn.004893fa
add esp, 8
test eax, eax
js 0x4190d9
cmp eax, dword [ebx + 8]
jg 0x4190d9
mov dword [ebx + 4], eax
mov byte [eax + edi], 0
push dword [esi - 8]
push esi
call fcn.004893fa
add esp, 8
test eax, eax
js 0x4190d9
cmp eax, dword [esi - 8]
jg 0x4190d9
cmp dword [ebp - 0x38], 0
mov edi, dword [ebp - 0x34]
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x418fae
cmp dword [edi + 0x10], 0
je 0x418f8f
push 0x4c97c4
mov ecx, edi
call fcn.00410f30
cmp dword [esi - 4], 1
jle 0x418fa3
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00403460
mov esi, dword [ebp - 0x14]
push esi
mov ecx, edi
call fcn.00410f30
inc dword [ebp - 0x30]
add esi, 0xfffffff0
mov byte [ebp - 4], 6
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418fca
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x418fe3
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test ebx, ebx
je 0x418e40
cmp ebx, 0x103
je 0x41909c
lea ecx, [ebp - 0x58]
call fcn.0045e700
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x419015
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x4a2
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_registry_value_enumeration_returned
mov ecx, eax
call fcn.0040f6d0
push ebx
mov ecx, eax
call fcn.00419660
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x41909c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419092
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4190d4
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4190aa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.0046de82
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403b40
call fcn.004892fc
push 0x80070057
call fcn.00403b40
int3