Function at 0x4770b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc5c
lea eax, [esp + 4]
push ebx
push eax
xor ebx, ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
mov dword [esp + 0x14], ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edx, dword [esp + 8]
cmp edx, ebx
je 0x47756e
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bx
mov dword [esp + 0x18], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x34]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x24], 0x104
mov dword [esp + 0x34], ebx
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
test eax, eax
jne 0x477562
push ebp
push esi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc edx
mov ebp, 0x208
push 0x20
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebp
call fcn.00477580
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x47753e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x246]
mov word [esp + 0x244], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x656]
mov word [esp + 0x654], bx
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x3c]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x4ed130
lea edx, [esp + 0x660]
push 0x103
push edx
stosw word es:[edi], ax
mov dword [esp + 0x4c], ebp
call ebx
add esp, 0x14
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x244]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0x660]
push 0x500df0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
cmp word [esp + 0x244], 0
jne 0x477252
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x85e]
mov word [esp + 0x85c], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x85c]
push ecx
push str.CLSID_s
push 0x103
push edx
stosw word es:[edi], ax
call ebx
add esp, 0x10
lea eax, [esp + 0x30]
lea ecx, [esp + 0x244]
lea edx, [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x868]
push 0x500df0
push eax
push closesocket
mov dword [esp + 0x48], 0x104
mov dword [esp + 0x4c], 0
call ebp
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], 2
mov ecx, dword [eax + 0x8c8]
test ecx, ecx
jne 0x47726b
xor eax, eax
jmp 0x477276
mov eax, dword [eax + 0x8cc]
sub eax, ecx
sar eax, 2
lea ecx, [esp + 0x3c]
inc eax
test ecx, ecx
mov dword [esi + 0x3c], eax
lea ebp, [esi + 0x48]
jne 0x477289
xor ebx, ebx
jmp 0x477296
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004066f0
test eax, eax
je 0x4772cf
mov edi, dword [ebp]
lea eax, [ebx + ebx]
mov ecx, eax
lea esi, [esp + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov esi, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [eax + edx], 0
lea eax, [esp + 0x244]
mov dword [esi + 0x30], 0x20
test eax, eax
lea ebp, [esi + 0x44]
jne 0x4772e8
xor ebx, ebx
jmp 0x4772f8
lea ecx, [esp + 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004066f0
test eax, eax
je 0x477330
mov edi, dword [ebp]
lea eax, [ebx + ebx]
mov ecx, eax
lea esi, [esp + 0x244]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
test ecx, ecx
lea ebx, [eax + 0x14]
jne 0x477347
xor esi, esi
mov dword [esp + 0x24], esi
jmp 0x477358
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x24], eax
mov esi, eax
push esi
mov ecx, ebx
call fcn.004066f0
test eax, eax
je 0x47738e
mov edi, dword [ebx]
lea eax, [esi + esi]
mov ecx, eax
lea esi, [esp + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], edx
mov ecx, dword [ebx]
mov word [eax + ecx], 0
mov edx, 0x4f4328
test edx, edx
jne 0x47739b
xor eax, eax
jmp 0x4773a6
push 0x4f4328
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4f4328
push eax
mov ecx, ebx
call fcn.00406810
mov ebx, dword [ebx]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
push reloc.DSOUND.dll_DirectSoundCreate
push eax
mov edi, 1
push ebx
push str.PlugIn
mov dword [esp + 0x38], edi
mov dword [esi + 0x10], 0
call fcn.004af430
add esp, 0x10
test eax, eax
je 0x4773ee
cmp dword [esp + 0x28], edi
jne 0x4773ee
mov dword [esi + 0x10], edi
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4773fc
mov dword [esi + 0x3c], 0xffffffff
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa66]
mov word [esp + 0xa64], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x48]
push eax
call fcn.004360e0
add esp, 4
test eax, eax
je 0x477533
mov eax, dword [ebp]
push 0x500df0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x47751b
xor ebx, ebx
mov ecx, 0x81
lea edi, [esp + 0x44e]
mov word [esp + 0x44c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44c]
push 0x103
push ecx
lea edx, [esp + 0xa6c]
push 0x4f4310
push edx
stosw word es:[edi], ax
call fcn.004a9100
lea eax, [esp + 0x45c]
add esp, 0x10
test eax, eax
je 0x47749d
lea ecx, [esp + 0x44c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [ebp]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x4774b0
cmp ebx, dword [eax - 4]
jle 0x4774eb
mov edx, dword [0x4ed100]
add eax, 0xfffffff4
cmp eax, edx
je 0x4774df
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4774d7
mov edx, dword [ebp]
sub edx, 0xc
push edx
call fcn.004d4cc1
add esp, 4
mov eax, dword [0x4ed0fc]
mov dword [ebp], eax
push ebx
mov ecx, ebp
call fcn.00406580
test eax, eax
je 0x47751b
mov edi, dword [ebp]
lea eax, [ebx + ebx]
mov ecx, eax
lea esi, [esp + 0x44c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov esi, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [edx + eax], 0
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00479230
mov dword [esi + 0x8bc], 1
jmp 0x47753c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
test eax, eax
je 0x477123
pop esi
pop ebp
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
add esp, 0xc5c
ret