Function at 0x46a340
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x562486
mov eax, dword fs:[0]
push eax
mov eax, 0x1888
call fcn.00541260
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x1884], eax
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x1898]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18a8]
mov ecx, dword [esp + 0x18ac]
lea edx, [esp + 0x14]
push edx
push eax
push accept
mov dword [esp + 0x28], ecx
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x46a6d9
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46a3c5
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov edi, 0x208
xor ecx, ecx
mov dword [esp + 0x18a0], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
mov word [esp + 0x444], cx
cmp dword [esp + 0x18b4], ecx
jne 0x46a42c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x448]
push eax
push str.shell
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
cmp word [esp + 0x444], 0
jne 0x46a442
push str.open
lea edx, [esp + 0x448]
push edi
push edx
call fcn.0054013c
add esp, 0xc
lea eax, [esp + 0x444]
push eax
lea ecx, [esp + 0x1078]
push str.shell_sddeexecApplication
push ecx
call fcn.00411b70
lea edx, [esp + 0x450]
push edx
lea eax, [esp + 0x864]
push str.shell_sddeexecTopic
push eax
call fcn.00411b70
lea ecx, [esp + 0x45c]
push ecx
lea edx, [esp + 0x14a0]
push str.shell_scommand
push edx
call fcn.00411b70
add esp, 0x24
cmp dword [esp + 0x1c], 0
je 0x46a5df
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x107c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x46a5df
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc68]
push edx
lea eax, [esp + 0x85c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x46a5df
lea ecx, [esp + 0x20]
call fcn.00410910
push 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x18a4], 1
call fcn.00410940
lea edx, [esp + 0x34]
push str.NSShell
push edx
call fcn.005408be
add esp, 8
test eax, eax
jne 0x46a530
push str.NETSCAPE
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0054013c
add esp, 0xc
lea ecx, [esp + 0xc64]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x28]
call fcn.00410960
test eax, eax
je 0x46a5ce
mov eax, dword [esp + 0x18b0]
mov ecx, dword [esp + 0x1c]
push 0
neg eax
sbb eax, eax
push eax
push ecx
lea edx, [esp + 0x1c]
push str.__s____u__u___
push edx
call fcn.00406020
mov esi, dword [esp + 0x24]
add esp, 0x14
push esi
lea ecx, [esp + 0x24]
call fcn.004109f0
test eax, eax
je 0x46a5ce
lea ecx, [esp + 0x20]
call fcn.004109d0
push str.WWW_Activate
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call fcn.00410960
test eax, eax
je 0x46a5c9
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push str._u__u
push ecx
call fcn.00406020
mov esi, dword [esp + 0x20]
add esp, 0x10
push esi
lea ecx, [esp + 0x24]
call fcn.004109f0
mov ebp, 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x18a0], 0
call fcn.00410a70
mov dword [esp + 0x18], edi
test ebp, ebp
jne 0x46a6b2
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x148c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x46a6b2
lea eax, [esp + 0x34]
push 0x57c4a8
push eax
call fcn.005422d6
add esp, 8
test eax, eax
jne 0x46a63c
lea ecx, [esp + 0x34]
push str..EXE
push ecx
call fcn.005422d6
add esp, 8
test eax, eax
je 0x46a652
add eax, 8
cmp word [eax], 0x22
jne 0x46a64d
xor edx, edx
mov word [eax + 2], dx
jmp 0x46a652
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0x34]
push str.iexplore
push edx
xor esi, esi
call fcn.005422d6
add esp, 8
test eax, eax
je 0x46a66f
mov esi, 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
call fcn.00402260
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x46a697
test esi, esi
je 0x46a697
push str.__nohome
lea ecx, [esp + 0x14]
call fcn.004022a0
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.0046a1f0
mov ecx, dword [esp + 0x1c]
add esp, 8
push ecx
mov ebp, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x18a0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46a6d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x1898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1884]
xor ecx, esp
call fcn.0053fa67
add esp, 0x1894
ret