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

Disassembly:
push 0xffffffffffffffff
push 0x478ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebp, ebp
push 0xffffffffffffffff
mov dword [esp + 0x80], ebp
push ebp
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
call fcn.00401910
mov bl, 1
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x4c], ebp
ja 0x412582
lea esi, [esp + 0x1c]
call fcn.004123e0
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 2
call fcn.00401910
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x34], 0x10
jb 0x412582
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004396bc
add esp, 4
lea edx, [esp + 0x54]
push edx
call fcn.0040ebe0
add esp, 4
push str.IsWow64Process
mov byte [esp + 0x80], 3
push str.kernel32
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x4125c6
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 0x18], ebp
jne 0x4125d8
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
jmp 0x4125e2
lea edx, [esp + 0x14]
push edx
push str.SOFTWAREWow6432NodeMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [esp + 0x6c], 0x10
mov edi, dword [esp + 0x58]
mov ebx, eax
jae 0x4125fe
lea edi, [esp + 0x58]
mov esi, dword [esp + 0x98]
mov eax, esi
cmp esi, 2
jb 0x412611
mov eax, 2
cmp dword [esp + 0x9c], 0x10
mov edx, dword [esp + 0x88]
jae 0x412629
lea edx, [esp + 0x88]
mov ecx, 0x483570
call fcn.00401d10
cmp eax, ebp
jne 0x4126f1
cmp esi, 2
jb 0x4126f1
xor eax, eax
cmp esi, 2
setne al
cmp eax, ebp
jne 0x4126f1
cmp ebx, ebp
jne 0x41266f
mov eax, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0x10
cmp dword [esp + 0x6c], ebx
jb 0x412687
mov edx, dword [esp + 0x58]
push edx
call fcn.004396bc
add esp, 4
mov esi, 0xf
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
mov byte [esp + 0x58], 0
cmp dword [esp + 0x50], ebx
jb 0x4126ac
mov eax, dword [esp + 0x3c]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x9c], ebx
jb 0x4126d2
mov ecx, dword [esp + 0x88]
push ecx
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x6c
ret
cmp ebx, ebp
jne 0x41266f
mov eax, dword [esp + 0x3c]
mov ebx, 0x10
cmp dword [esp + 0x50], ebx
jae 0x41270c
lea eax, [esp + 0x3c]
push eax
call fcn.0045ea2e
add esp, 4
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412674