Function at 0x4aac20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xa48
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.Sony_Application
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
push 0x104
lea eax, [esp + 0x654]
push eax
xor ebx, ebx
mov ebp, 0x200
push ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], 0x3e8
movsw word es:[edi], word [esi]
call sym.vidcap60.exe__SfGetModuleFileName_12
lea ecx, [esp + 0x858]
push ecx
lea edx, [esp + 0x254]
push edx
push ebx
lea eax, [esp + 0x65c]
push ebx
push eax
call dword [0x5d24f4]
lea ecx, [esp + 0x86c]
push ecx
lea edx, [esp + 0x268]
push edx
call dword [0x5d24cc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.Control_PanelMicrosoft_Input_DevicesMouseExceptions
push SysReAllocString
call edi
test eax, eax
jne 0x4aadcf
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x464]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4aadc4
lea ecx, [esp + 0x450]
push ecx
inc ebx
call dword [0x5d2508]
mov esi, eax
add esp, 4
cmp esi, 0x3e8
jle 0x4aad85
cmp esi, 0x7d0
jge 0x4aad97
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 1
push 0
lea eax, [esp + 0x45c]
push eax
push ecx
call edi
test eax, eax
jne 0x4aad85
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x654]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Filename
push edx
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aad7a
lea eax, [esp + 0x250]
push eax
lea ecx, [esp + 0x654]
push ecx
call dword [0x5d25ac]
add esp, 8
test eax, eax
je 0x4aadfe
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x7d0
jge 0x4aad97
cmp esi, dword [esp + 0x1c]
jle 0x4aad97
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x464]
push ecx
push ebx
push edx
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4aace5
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [0x5d2614]
lea eax, [esp + 0x50]
push str.Control_PanelMicrosoft_Input_DevicesMouseExceptions
push eax
mov dword [esp + 0x28], 0xffffffff
call esi
mov edi, dword [0x5d2620]
lea ecx, [esp + 0x58]
add esp, 8
test ecx, ecx
jne 0x4aae1d
xor eax, eax
jmp 0x4aae27
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa48
ret
lea edx, [esp + 0x50]
push edx
call edi
add esp, 4
lea eax, [esp + eax*2 + 0x50]
push 0x5d8fc8
push eax
call esi
lea ecx, [esp + 0x58]
add esp, 8
test ecx, ecx
jne 0x4aae42
xor eax, eax
jmp 0x4aae4c
lea edx, [esp + 0x50]
push edx
call edi
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0xa
lea eax, [esp + eax*2 + 0x54]
push eax
inc ecx
push ecx
call dword [0x5d25cc]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 2
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4aaf1c
lea edx, [esp + 0x250]
test edx, edx
je 0x4aaea6
lea eax, [esp + 0x250]
push eax
call edi
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x254]
push edx
push 1
push 0
push str.Filename
push eax
call esi
test eax, eax
jne 0x4aaf11
lea ecx, [esp + 0x2c]
test ecx, ecx
je 0x4aaede
lea edx, [esp + 0x2c]
push edx
call edi
add esp, 4
mov edx, dword [esp + 0x10]
add eax, eax
push eax
lea ecx, [esp + 0x30]
push ecx
push 1
push 0
push str.Description
push edx
call esi
test eax, eax
jne 0x4aaf11
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x24]
push eax
push 4
push 0
push 0x5e708c
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa48
ret