Function at 0x4d46b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7c5b
mov eax, dword fs:[0]
push eax
mov eax, 0x8080
call fcn.0056e430
mov eax, dword [0x608554]
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 ebx, dword [ebp + 8]
push ecx
push str.CBaseInfoAddIn::SetEnumRegEntry
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x808c], ebx
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d4787
test byte [ecx + 0x1c], 1
je 0x4d4746
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, 0x93
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x4d4787
test byte [ecx + 0x1c], 1
je 0x4d4787
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b50
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x94
call fcn.004018a0
mov ecx, dword [0x608f30]
add esp, 0x10
xor edi, edi
test ebx, ebx
jne 0x4d47a1
mov edi, 0x80010001
mov dword [0x6183ec], 1
jmp 0x4d49a3
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x4d49a3
lea edi, [esi + 4]
xor eax, eax
mov dword [ebp - 0x8070], 0
mov dword [ebp - 0x806c], 7
mov word [ebp - 0x8080], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov dword [ebp - 0x8084], eax
lea eax, [ebp - 0x8080]
cmp eax, edi
je 0x4d480c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4d47fd
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x8080]
push eax
call fcn.004035d0
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x8068], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x8064], eax
lea eax, [edi + 0x20]
push 0x8000
push eax
lea eax, [ebp - 0x8060]
push eax
call fcn.00571100
add esp, 0xc
lea eax, [ebp - 0x8080]
cmp dword [ebp - 0x806c], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x8080]
push dword [ebp - 0x8070]
push eax
call fcn.004035d0
mov eax, dword [ebp - 0x8064]
mov ebx, dword [ebp - 0x8068]
mov dword [ebp - 0x8088], eax
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x4d48b7
test byte [edx + 0x1c], 4
je 0x4d48b7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x608f54
cmovae ecx, dword [ebp - 0x28]
cmp dword [0x608f68], 8
push ecx
cmovae eax, dword [0x608f54]
mov ecx, 0x95
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5d8b50
call fcn.00405920
add esp, 0x10
push dword [ebp - 0x8088]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x8060]
push ecx
push ebx
mov ebx, dword [ebp - 0x808c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, eax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d4923
test byte [ecx + 0x1c], 4
je 0x4d4923
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edx
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b50
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x96
call fcn.004018a0
add esp, 0x10
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4d4961
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4a0a
push edx
push ecx
call fcn.0056deb6
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x8080]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
call fcn.00403570
mov eax, dword [ebp + 0xc]
add esi, 0x8024
add edi, 0x8024
cmp esi, dword [eax + 4]
jne 0x4d47b2
mov ecx, dword [0x608f30]
xor edi, edi
mov byte [ebp - 0x5c], 1
cmp ecx, 0x608f30
je 0x4d49e2
test byte [ecx + 0x1c], 1
je 0x4d49e2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b50
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x97
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.0040a570
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.0056d977
mov esp, ebp
pop ebp
ret 8
call fcn.00574908
int3