Function at 0x1000b8b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10137e60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1018e600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push 0x2001f
push eax
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], 1
call fcn.1000a7b0
test eax, eax
je 0x1000b929
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.CBootstrapPrereqCheck::RegistrySetValue___Unable_to_open_regkey_n
call fcn.10003a30
call sym.BootstrapLibrary.dll_public:_static_bool___cdecl_CBootstrapLog::LogEntry_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
mov esi, dword [ebp - 0x1c]
add esp, 4
xor bl, bl
jmp 0x1000b9b6
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
setne cl
mov edi, eax
test ecx, ecx
je 0x1000b95c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1000b978
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.CBootstrapPrereqCheck::RegistrySetValue___Unable_to_set_value_n
call fcn.10003a30
call sym.BootstrapLibrary.dll_public:_static_bool___cdecl_CBootstrapLog::LogEntry_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
add esp, 4
mov byte [ebp - 0xd], 0
xor eax, eax
test esi, esi
je 0x1000b98a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
test eax, eax
je 0x1000b9b1
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.CBootstrapPrereqCheck::RegistrySetValue___Unable_to_close_regkey_n
call fcn.10003a30
call sym.BootstrapLibrary.dll_public:_static_bool___cdecl_CBootstrapLog::LogEntry_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
add esp, 4
mov byte [ebp - 0xd], 0
mov bl, byte [ebp - 0xd]
xor edi, edi
cmp esi, edi
je 0x1000b9c1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b9e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ba07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ba2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10