Function at 0x4d4210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7c16
mov eax, dword fs:[0]
push eax
mov eax, 0x829c
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0x829c], eax
lea ecx, [ebp - 0x268]
mov eax, dword [ebp + 0xc]
push str.CBaseInfoAddIn::GetEnumRegEntry
mov dword [ebp - 0x82a0], eax
mov dword [ebp - 0x82a4], edi
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x4d4301
test byte [esi + 0x1c], 1
je 0x4d42ba
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d8b50
mov ecx, 0x8e
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
cmp esi, 0x608f30
je 0x4d4301
test byte [esi + 0x1c], 1
je 0x4d4301
push dword [ebp - 0x82a0]
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp - 0x829c]
cmovae eax, dword [0x608f54]
mov ecx, 0x8f
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.004cc540
mov esi, dword [0x608f30]
add esp, 0x14
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
add esp, 0xc
mov dword [ebp - 0x82a8], 0x208
cmp dword [ebp - 0x829c], 0
mov dword [ebp - 0x8298], 0
mov dword [ebp - 0x8294], 0
je 0x4d4631
cmp dword [ebp - 0x82a0], 0
je 0x4d4631
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x4d437a
mov edi, eax
nop word [eax + eax]
lea ecx, [esi + 4]
call fcn.00403570
add esi, 0x8024
cmp esi, edi
jne 0x4d4360
mov edi, dword [ebp - 0x82a4]
mov esi, dword [edi]
mov dword [edi + 4], esi
xor edi, edi
mov dword [ebp - 0x8290], 1
nop dword [eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
xor eax, eax
mov dword [ebp - 0x82a8], 0x104
add esp, 0xc
mov dword [ebp - 0x8298], 0
mov dword [ebp - 0x8294], 0
mov dword [ebp - 0x8278], 0
mov dword [ebp - 0x8274], 7
mov word [ebp - 0x8288], ax
lea eax, [ebp - 0x8294]
mov byte [ebp - 4], 1
push eax
push 0
lea eax, [ebp - 0x8298]
push eax
push 0
lea eax, [ebp - 0x82a8]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x829c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d4463
test byte [ecx + 0x1c], 4
je 0x4d4463
cmp dword [0x608f68], 8
lea edx, [ebp - 0x218]
push esi
push edx
mov eax, 0x608f54
mov edx, 0x5d8b50
cmovae eax, dword [0x608f54]
push edi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x90
call fcn.004305a0
mov ecx, dword [0x608f30]
add esp, 0x18
sub esi, 0
je 0x4d44be
sub esi, 0xea
je 0x4d44be
sub esi, 0x19
je 0x4d44af
cmp ecx, 0x608f30
je 0x4d44af
test byte [ecx + 0x1c], 4
je 0x4d44af
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d8b50
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x91
call fcn.00401840
add esp, 0xc
mov dword [ebp - 0x8290], 0
jmp 0x4d460a
mov esi, dword [ebp - 0x82a0]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0057c5ec
add esp, 0xc
test eax, eax
jne 0x4d460a
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x828c], edi
lea edx, [eax + 2]
mov dword [ebp - 0x21c], 7
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d4510
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004035d0
lea ecx, [ebp - 0x8288]
call fcn.00403570
mov eax, dword [ebp - 0x8298]
movups xmm0, xmmword [ebp - 0x230]
mov dword [ebp - 0x8270], eax
mov eax, dword [ebp - 0x8294]
mov dword [ebp - 0x826c], eax
lea eax, [ebp - 0x8294]
push eax
lea eax, [ebp - 0x8268]
push eax
lea eax, [ebp - 0x8298]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x829c]
movups xmmword [ebp - 0x8288], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x8278], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x82a4]
mov esi, dword [eax + 4]
cmp dword [eax + 8], esi
je 0x4d45fb
mov eax, dword [ebp - 0x828c]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x8288]
push eax
call fcn.00402f40
mov eax, dword [ebp - 0x8270]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x826c]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x8268]
push 0x8000
push eax
lea eax, [esi + 0x24]
push eax
call fcn.00571100
mov eax, dword [ebp - 0x82a4]
add esp, 0xc
add dword [eax + 4], 0x8024
jmp 0x4d460a
lea ecx, [ebp - 0x828c]
push ecx
push esi
mov ecx, eax
call fcn.004d5660
lea ecx, [ebp - 0x8288]
mov byte [ebp - 4], 0
inc edi
call fcn.00403570
cmp dword [ebp - 0x8290], 0
jne 0x4d4390
mov esi, dword [0x608f30]
xor edi, edi
jmp 0x4d4640
mov edi, 0x80010001
mov dword [0x6183ec], 1
mov byte [ebp - 0x264], 1
cmp esi, 0x608f30
je 0x4d4682
test byte [esi + 0x1c], 1
je 0x4d4682
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b50
push eax
push dword [esi + 0x14]
mov ecx, 0x92
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x268]
call fcn.0040a570
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.0056d977
mov esp, ebp
pop ebp
ret 0xc