Function at 0x41aec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc18e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x50b080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
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.00407e60
test eax, eax
mov eax, dword [ebp - 0x20]
jne 0x41b20c
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.00404d30
mov ecx, eax
test ecx, ecx
je 0x41b236
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 4
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x41b236
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
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 0x41aff6
push 0x400
lea ecx, [ebp - 0x14]
call fcn.004047d0
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], 0x400
jl 0x41b245
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 0x41b035
push 0x400
lea ecx, [ebp - 0x24]
call fcn.004047d0
mov edi, dword [ebp - 0x24]
cmp dword [edi - 8], 0x400
lea eax, [edi - 0x10]
mov dword [ebp - 0x40], eax
jl 0x41b245
mov dword [eax + 4], 0x400
lea eax, [ebp - 0x28]
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 [edi - 8]
mov dword [ebp - 0x38], eax
push edi
call fcn.00495a21
add esp, 8
test eax, eax
js 0x41b245
cmp eax, dword [edi - 8]
jg 0x41b245
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
push dword [esi - 8]
push esi
call fcn.00495a21
add esp, 8
test eax, eax
js 0x41b245
cmp eax, dword [esi - 8]
jg 0x41b245
cmp dword [ebp - 0x38], 0
mov edi, dword [ebp - 0x34]
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x41b120
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x41b101
mov edx, dword [edi + 0x14]
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x41b0ee
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x41b0e6
mov eax, dword [edi]
mov word [eax + ecx], 0xa
jmp 0x41b101
push 1
push 0x4eccdc
push dword [ebp - 0x44]
mov ecx, edi
push 1
call fcn.00413270
cmp dword [esi - 4], 1
jle 0x41b115
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00404870
mov esi, dword [ebp - 0x14]
push esi
mov ecx, edi
call fcn.00413200
inc dword [ebp - 0x30]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b138
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
or eax, 0xffffffff
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b154
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x41af80
cmp esi, 0x103
je 0x41b209
lea ecx, [ebp - 0x5c]
call fcn.00467d30
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41b182
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, 0x4eb858
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x4b6
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_registry_value_enumeration_returned
mov ecx, eax
call fcn.00411050
push esi
mov ecx, eax
call fcn.0041b830
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 7
jbe 0x41b209
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41b1ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b240
push ecx
push edx
call fcn.004906cd
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41b217
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490396
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404ea0
call fcn.004958ff
push 0x80070057
call fcn.00404ea0
int3