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

Disassembly:
push 0xffffffffffffffff
push 0x1003e946
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push esi
push edi
mov ecx, 9
mov esi, str.SYSTEMCurrentControlSetControlClass
lea edi, [esp + 0xa0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x76
lea edi, [esp + 0xc7]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 9
mov esi, str.4D36E967_E325_11CE_BFC1_08002BE10318
lea edi, [esp + 0x20]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x16
lea edi, [esp + 0x47]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [0x1004f0a0]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
lea edx, [esp + 0xa8]
push 0
push edx
push 0x80000002
mov dword [esp + 0x2bc], 0
call esi
test eax, eax
je 0x10010ae6
push eax
lea eax, [esp + 0xc]
push str.Failed_to_open_registery_error_code_x_n
push eax
call fcn.1002289c
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.10026745
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
add esp, 0x2a4
ret
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
lea edx, [esp + 0x28]
push 0
push edx
push eax
call esi
test eax, eax
je 0x10010b48
push str.Failed_to_open_registery_ide__error_code
lea ecx, [esp + 0xc]
call fcn.100268ce
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.10026745
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
add esp, 0x2a4
ret
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xa0]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xa0]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.UpperFilters
push edx
mov dword [esp + 0x24], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
je 0x10010bde
push edi
lea eax, [esp + 0xc]
push str.Failed_to_open_RegQueryValueExA_error_code_x_n
push eax
call fcn.1002289c
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
lea ecx, [esp + 8]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.10026745
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
add esp, 0x2a4
ret
mov eax, dword [0x1004f0a0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor esi, esi
test eax, eax
mov byte [esp + 0x2a8], 1
jbe 0x10010c17
mov al, byte [esp + esi + 0xa0]
test al, al
je 0x10010c0e
push eax
lea ecx, [esp + 0x1c]
call fcn.10026b48
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jb 0x10010bf9
push str.iccdrv
lea ecx, [esp + 0x1c]
call fcn.1002255b
cmp eax, 0xffffffff
je 0x10010c7c
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
lea eax, [ecx - 7]
test eax, eax
jbe 0x10010c5d
mov ecx, eax
lea esi, [esp + 0xa7]
mov edx, ecx
lea edi, [esp + 0x20]
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 [esp + 0x1c]
mov edx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push ecx
push 0
push str.UpperFilters
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
test edi, edi
je 0x10010ce0
push 0
push 0
push str.Failed_to_register_ide_filter_driver_
call fcn.10033365
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a8], 0
call fcn.10026745
lea ecx, [esp + 8]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.10026745
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
add esp, 0x2a4
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a8], 0
call fcn.10026745
lea ecx, [esp + 8]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.10026745
mov ecx, dword [esp + 0x2a0]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2a4
ret