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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005731b
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x45c], 0
mov ax, word [0x1006da80]
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.10033d10
add esp, 0xc
mov dword [ebp - 0x470], 0x104
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x460], 0
mov edx, dword [ebp - 0x464]
mov eax, dword [edx]
mov ecx, dword [eax + 0x69f0]
push ecx
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
call fcn.10005280
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x448]
push edx
call fcn.10006b20
add esp, 8
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x430]
call fcn.100054a0
lea ecx, [ebp - 0x448]
call fcn.10005450
push 0
push str.PORTABLE
lea ecx, [ebp - 0x430]
call fcn.100052c0
cmp eax, 0xffffffff
je 0x1001f1ea
mov dword [ebp - 0x460], 0x14
mov ecx, dword [ebp - 0x460]
push ecx
push str._INF__UpdateBootDriverFlags__Start_value___d
call fcn.100098e0
add esp, 8
lea edx, [ebp - 0x454]
push edx
push 0xf003f
push 0
push str.SYSTEMHardwareConfig
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x1001f397
mov dword [ebp - 0x478], 0x3fff
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x47c]
push ecx
lea edx, [ebp - 0x480]
push edx
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x488]
push ecx
lea edx, [ebp - 0x48c]
push edx
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x468]
push ecx
push 0
lea edx, [ebp - 0x470]
push edx
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x458], 0
jmp 0x1001f2af
mov edx, dword [ebp - 0x458]
add edx, 1
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
cmp eax, dword [ebp - 0x468]
jae 0x1001f397
push 0x1fe
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.10033d10
add esp, 0xc
mov dword [ebp - 0x474], 0xff
lea edx, [ebp - 0x498]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x458]
push edx
mov eax, dword [ebp - 0x454]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x1001f392
lea ecx, [ebp - 0x45c]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x454]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x1001f392
push 4
lea ecx, [ebp - 0x460]
push ecx
push 4
push 0
push str.BootDriverFlags
mov edx, dword [ebp - 0x45c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str._INF__UpdateBootDriverFlags__Success_
call fcn.100098e0
add esp, 4
cmp dword [ebp - 0x45c], 0
je 0x1001f392
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001f2a0
cmp dword [ebp - 0x454], 0
je 0x1001f3ad
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str._SUC__UpdateBootDriverFlags__End
call fcn.100098e0
add esp, 4
mov byte [ebp - 0x449], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.10005450
mov al, byte [ebp - 0x449]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret