Function at 0x4529d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x546560]
push esi
push edi
mov ecx, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION_
xor edi, edi
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp + 8], edi
je 0x452a27
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, edi
je 0x452a27
push esi
lea ecx, [esp + 0x10]
call fcn.00405530
test eax, eax
je 0x452a27
mov edx, dword [esp + 0xc]
inc esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION_
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
push 0xf003f
push edi
push ecx
push SHChangeNotifyDeregister
call esi
cmp eax, edi
jne 0x452a5d
lea ecx, [esp + 8]
call fcn.00409900
mov edx, dword [esp + 0x10]
mov dword [esp + 8], edx
cmp dword [esp + 0x1c], edi
je 0x452b88
cmp eax, edi
je 0x452abc
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push SHChangeNotifyDeregister
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x452aa9
lea ecx, [esp + 8]
call fcn.00409900
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
jmp 0x452aad
mov eax, dword [esp + 8]
cmp eax, edi
je 0x452abc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push edi
push ecx
push SHChangeNotifyDeregister
mov dword [esp + 0x30], edi
call esi
test eax, eax
jne 0x452aec
lea ecx, [esp + 8]
call fcn.00409900
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
lea eax, [esp + 0x1c]
push eax
call fcn.00452880
mov eax, dword [eax]
mov edx, dword [esp + 0xc]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x2af9
push 4
push ecx
push 4
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [0x546564]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x452b4c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x452b4c
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x452b77
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x452b77
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 8]
call fcn.00409900
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret
lea eax, [esp + 0x1c]
push eax
call fcn.00452880
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
add esp, 4
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x546564]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, eax
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x452bd6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x452bd6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x452c01
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x452c01
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 8]
call fcn.00409900
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret