Function at 0x443d00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
push 0x64
push 0
push eax
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x34c], edi
call fcn.00411960
push 0x20a
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x348], 0
push 0
push eax
call fcn.00411960
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00411960
mov ecx, edi
mov dword [ebp - 0x350], 0
add esp, 0x24
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443d80
sub ecx, edx
mov eax, 0x63
sar ecx, 1
sub eax, ecx
add eax, eax
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x130]
push 0x32
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x443dd4
push str.cant_convert_class_guid_to_string
push 1
call fcn.00446b80
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push str.SYSTEMCurrentControlSetControlClass_s
lea eax, [ebp - 0x33c]
push 0x105
push eax
call fcn.00419510
add esp, 0x10
lea eax, [ebp - 0x348]
push eax
push 3
push 0
lea eax, [ebp - 0x33c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x443e3f
push eax
lea eax, [ebp - 0x33c]
push eax
push str.VmkbdDriverManager::ModifyFilters:_couldnt_open__S:_0x_08x
push 1
call fcn.00446b80
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x350]
push eax
push 0
push ebx
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x443e9d
push dword [ebp - 0x344]
push eax
push ebx
push str.VmkbdDriverManager::ModifyFilters:_couldnt_query_class_filter_key__S:_0x_08x_len__d
push 1
call fcn.00446b80
add esp, 0x14
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x350]
cmp eax, 7
je 0x443ebb
push eax
push ebx
push str.VmkbdDriverManager::ModifyFilters:_class_filter_key__S_is_unexpected_type:__d
push 1
call fcn.00446b80
add esp, 0x10
jmp 0x443e7e
mov ecx, dword [ebp - 0x344]
shr ecx, 1
mov dword [ebp - 0x344], ecx
lea eax, [ecx + ecx]
cmp eax, 0xc8
jae 0x444133
xor edx, edx
mov word [ebp + eax - 0xcc], dx
add eax, 2
cmp eax, 0xc8
jae 0x444133
mov word [ebp + eax - 0xcc], dx
lea edi, [ebp - 0xcc]
mov edx, dword [ebp - 0x34c]
xor esi, esi
lea ebx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x443f10
mov eax, dword [ebp + 8]
sub edx, ebx
sar edx, 1
lea ebx, [edx + 1]
xor dl, dl
mov byte [ebp - 0x33d], dl
cmp word [ebp - 0xcc], si
je 0x443ff7
nop word [eax + eax]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443f45
push dword [ebp - 0x34c]
sub ecx, edx
sar ecx, 1
inc ecx
push edi
mov dword [ebp - 0x358], ecx
call fcn.0040e1c8
add esp, 8
test eax, eax
jne 0x443fd3
cmp dword [ebp + 8], eax
jne 0x44409d
mov ecx, dword [ebp - 0x344]
lea eax, [ebx + esi]
cmp ecx, eax
jbe 0x443fa1
sub ecx, ebx
lea eax, [edi + ebx*2]
sub ecx, esi
add ecx, ecx
push ecx
push eax
push edi
lfence
call fcn.00413660
mov ecx, dword [ebp - 0x344]
add esp, 0xc
lea eax, [ebx + ebx]
sub ecx, ebx
push eax
lea eax, [ebp - 0xcc]
push 0
lea eax, [eax + ecx*2]
push eax
call fcn.00411960
mov ecx, dword [ebp - 0x344]
add esp, 0xc
sub ecx, ebx
mov dl, 1
mov dword [ebp - 0x344], ecx
mov byte [ebp - 0x33d], dl
jmp 0x443fea
mov eax, dword [ebp - 0x358]
add esi, eax
mov ecx, dword [ebp - 0x344]
mov dl, byte [ebp - 0x33d]
lea edi, [edi + eax*2]
cmp word [edi], 0
jne 0x443f40
mov eax, dword [ebp + 8]
inc esi
test eax, eax
je 0x4440d5
cmp esi, ecx
je 0x444015
push esi
push ecx
push str.VmkbdDriverManager::ModifyFilters:_Registry_length__u___computed_length__u
push 2
call fcn.00446b80
add esp, 0x10
mov eax, 0x64
sub eax, esi
push eax
push dword [ebp - 0x34c]
lea eax, [ebp + esi*2 - 0xce]
push eax
call fcn.0048418a
add esp, 0xc
add esi, ebx
mov edi, dword [ebp - 0x354]
lea eax, [esi + esi]
push eax
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0xcc]
push eax
push 7
push 0
push edi
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x348]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44410e
push dword [ebp - 0x344]
push esi
push edi
push str.VmkbdDriverManager::ModifyFilters:_Couldnt_update_class_filter_key__S:_0x_08x
push 1
call fcn.00446b80
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x354]
push edi
push str.VmkbdDriverManager::ModifyFilters:_Desired_entry_already_in_class_key__S
push 2
call fcn.00446b80
add esp, 0xc
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x444035
push str.VmkbdDriverManager::ModifyFilters:_Didnt_find_a_service_name_in_key_to_remove
push 2
call fcn.00446b80
add esp, 8
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push str.VmkbdDriverManager::ModifyFilters:_updated_filter_key
push 0x10
call fcn.00446b80
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
call fcn.00401d05
int3