Function at 0x404730
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a0427
push eax
mov eax, 0x101c
mov dword fs:[0], esp
call fcn.004999f0
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00404700
test eax, eax
je 0x404c11
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push 0x4c712c
mov edi, 0x400
push str.SOFTWAREClientsStartMenuInternet
push reloc.WS2_32.dll_accept
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], edi
call ebx
test eax, eax
jne 0x404a12
mov eax, dword [0x4b7080]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, str.SOFTWAREClientsStartMenuInternet_
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x40481d
mov edx, ecx
shr edx, 0x10
jne 0x4047e7
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004068b0
jmp 0x40481d
push str.SOFTWAREClientsStartMenuInternet_
call ebp
mov esi, eax
test esi, esi
je 0x40481d
push esi
lea ecx, [esp + 0x14]
call fcn.00406c50
test eax, eax
je 0x40481d
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi]
push edx
lea eax, [esi + esi + 2]
push str.SOFTWAREClientsStartMenuInternet_
push eax
push ecx
call fcn.00405800
add esp, 0x10
lea edx, [esp + 0x2c]
mov dword [esp + 0x1034], 0
test edx, edx
jne 0x404834
xor eax, eax
jmp 0x40483b
lea eax, [esp + 0x2c]
push eax
call ebp
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00406d70
mov edx, str._shellopencommand
test edx, edx
jne 0x404857
xor eax, eax
jmp 0x40485e
push str._shellopencommand
call ebp
push str._shellopencommand
push eax
lea ecx, [esp + 0x18]
call fcn.00406d70
mov dword [esp + 0x18], edi
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x4c712c
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 1
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4049d5
mov ecx, dword [0x4b7080]
lea edx, [esp + 0x2c]
test edx, edx
mov dword [esp + 0x14], ecx
je 0x40491a
lea eax, [esp + 0x2c]
shr eax, 0x10
jne 0x4048e4
xor eax, eax
lea ecx, [esp + 0x2c]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.004068b0
jmp 0x40491a
lea edx, [esp + 0x2c]
push edx
call ebp
mov esi, eax
test esi, esi
je 0x40491a
push esi
lea ecx, [esp + 0x18]
call fcn.00406c50
test eax, eax
je 0x40491a
lea eax, [esi + esi]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esi + esi + 2]
push ecx
push edx
push eax
call fcn.00405800
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x1034], 1
call fcn.00406ea0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
push 0
push str.360SE.EXE
lea ecx, [esp + 0x1c]
call fcn.004062f0
cmp eax, 0xffffffff
mov eax, dword [esp + 0x14]
je 0x4049ae
mov ecx, dword [0x4b7084]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40497c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40497c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4049a7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4049a7
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
xor eax, eax
jmp 0x404cdb
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4049d5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4049d5
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x404c07
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x404c07
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov eax, 1
jmp 0x404cdb
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push 0x4c712c
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x404c07
mov eax, dword [0x4b7080]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, str.SOFTWAREClientsStartMenuInternet_
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x404aa0
mov edx, ecx
shr edx, 0x10
jne 0x404a6a
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.004068b0
jmp 0x404aa0
push str.SOFTWAREClientsStartMenuInternet_
call ebp
mov esi, eax
test esi, esi
je 0x404aa0
push esi
lea ecx, [esp + 0x18]
call fcn.00406c50
test eax, eax
je 0x404aa0
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi]
push edx
lea eax, [esi + esi + 2]
push str.SOFTWAREClientsStartMenuInternet_
push eax
push ecx
call fcn.00405800
add esp, 0x10
lea edx, [esp + 0x2c]
mov dword [esp + 0x1034], 2
test edx, edx
jne 0x404ab7
xor eax, eax
jmp 0x404abe
lea eax, [esp + 0x2c]
push eax
call ebp
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00406d70
mov edx, str._shellopencommand
test edx, edx
jne 0x404ada
xor eax, eax
jmp 0x404ae1
push str._shellopencommand
call ebp
push str._shellopencommand
push eax
lea ecx, [esp + 0x1c]
call fcn.00406d70
mov dword [esp + 0x18], edi
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x4c712c
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 1
call ebx
or edi, 0xffffffff
test eax, eax
jne 0x404bf7
mov ecx, dword [0x4b7080]
lea edx, [esp + 0x2c]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x404b9a
lea eax, [esp + 0x2c]
shr eax, 0x10
jne 0x404b64
xor eax, eax
lea ecx, [esp + 0x2c]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004068b0
jmp 0x404b9a
lea edx, [esp + 0x2c]
push edx
call ebp
mov esi, eax
test esi, esi
je 0x404b9a
push esi
lea ecx, [esp + 0x14]
call fcn.00406c50
test eax, eax
je 0x404b9a
lea eax, [esi + esi]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esi + esi + 2]
push ecx
push edx
push eax
call fcn.00405800
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x1034], 3
call fcn.00406ea0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
push 0
push str.360SE.EXE
lea ecx, [esp + 0x18]
call fcn.004062f0
cmp eax, edi
mov byte [esp + 0x1034], 2
lea ecx, [esp + 0x10]
je 0x404bf2
call fcn.0040c0e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1034], edi
call fcn.0040c0e0
xor eax, eax
jmp 0x404cdb
call fcn.0040c0e0
mov dword [esp + 0x1034], edi
lea ecx, [esp + 0x14]
call fcn.0040c0e0
mov eax, 1
jmp 0x404cdb
mov ecx, esi
call fcn.00404720
test eax, eax
je 0x404cd6
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x82e]
mov word [esp + 0x82c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x28]
lea eax, [esp + 0x82c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push reloc.WS2_32.dll_accept
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x404c07
lea edx, [esp + 0x82c]
lea ecx, [esp + 0x20]
push edx
call fcn.00405a10
lea ecx, [esp + 0x20]
mov dword [esp + 0x1034], 4
call fcn.00406ea0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push 0
push str.360SEURL
lea ecx, [esp + 0x28]
call fcn.004062f0
or edi, 0xffffffff
lea ecx, [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x1034], edi
je 0x404c02
call fcn.0040c0e0
xor eax, eax
jmp 0x404cdb
mov eax, 2
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1028
ret