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

Disassembly:
sub esp, 0xc
mov eax, dword [0x4d9540]
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 0x447957
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, edi
je 0x447957
push esi
lea ecx, [esp + 0x10]
call fcn.004012f0
test eax, eax
je 0x447957
mov edx, dword [esp + 0xc]
inc esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION_
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
call int.00401970
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 0x44798d
lea ecx, [esp + 8]
call fcn.00405b30
mov edx, dword [esp + 0x10]
mov dword [esp + 8], edx
cmp dword [esp + 0x1c], edi
je 0x447ab8
cmp eax, edi
je 0x4479ec
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 0x4479d9
lea ecx, [esp + 8]
call fcn.00405b30
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
jmp 0x4479dd
mov eax, dword [esp + 8]
cmp eax, edi
je 0x4479ec
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 0x447a1c
lea ecx, [esp + 8]
call fcn.00405b30
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
lea eax, [esp + 0x1c]
push eax
call fcn.004477b0
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 [0x4d9544]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x447a7c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x447a7c
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x447aa7
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x447aa7
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
lea ecx, [esp + 8]
call fcn.00405b30
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret
lea eax, [esp + 0x1c]
push eax
call fcn.004477b0
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 [0x4d9544]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, eax
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x447b06
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x447b06
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x447b31
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x447b31
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
lea ecx, [esp + 8]
call fcn.00405b30
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret