Function at 0x404a50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d0629
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0x14], ebp
call fcn.004a5384
lea esi, [ebp + 0x3c]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x124], ebx
call fcn.004a3c8d
mov dword [esi], method.CObArray.virtual_0
lea eax, [esp + 0x10]
mov esi, 0x104
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov byte [esp + 0x130], 1
mov dword [ebp], method.CWnd.virtual_0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x404c5e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebx
push ebx
push 0x50d65c
push eax
mov dword [esp + 0x28], esi
call edi
mov esi, 0x50d658
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x404b20
cmp cl, bl
je 0x404b1c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x404b20
add eax, 2
add esi, 2
cmp cl, bl
jne 0x404afc
xor eax, eax
jmp 0x404b25
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x404b31
mov eax, dword [ebp + 0x5c]
or al, 0x10
mov dword [ebp + 0x5c], eax
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
push ebx
push 0x50d640
push edx
mov dword [esp + 0x28], 0x104
call edi
mov esi, 0x50d658
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x404b7e
cmp cl, bl
je 0x404b7a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x404b7e
add eax, 2
add esi, 2
cmp cl, bl
jne 0x404b5a
xor eax, eax
jmp 0x404b83
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x404b8f
mov eax, dword [ebp + 0x5c]
or al, 0x20
mov dword [ebp + 0x5c], eax
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
push ebx
push str.Play_Background_Sounds
push edx
mov dword [esp + 0x28], 0x104
call edi
mov esi, 0x50d658
lea eax, [esp + 0x1c]
pop edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x404bdd
cmp cl, bl
je 0x404bd9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x404bdd
add eax, 2
add esi, 2
cmp cl, bl
jne 0x404bb9
xor eax, eax
jmp 0x404be2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x404bee
mov eax, dword [ebp + 0x5c]
or al, 0x40
mov dword [ebp + 0x5c], eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push str.NoJava
push str.Settings
mov ecx, 0x515e40
call fcn.004c159f
test eax, eax
je 0x404c1b
mov eax, dword [ebp + 0x5c]
or ah, 1
mov dword [ebp + 0x5c], eax
push ebx
push str.NoActivex
push str.Settings
mov ecx, 0x515e40
call fcn.004c159f
test eax, eax
je 0x404c3d
mov eax, dword [ebp + 0x5c]
or ah, 2
mov dword [ebp + 0x5c], eax
push ebx
push str.NoScript
push str.Settings
mov ecx, 0x515e40
call fcn.004c159f
test eax, eax
je 0x404c5e
mov eax, dword [ebp + 0x5c]
or al, 0x80
mov dword [ebp + 0x5c], eax
mov ecx, dword [esp + 0x11c]
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret