Function at 0x1008b5b0
Capabilities:
Get system information on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x2c]
cmp ax, 9
je 0x1008b5d4
cmp ax, 6
jne 0x1008b664
push 4
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push str.TransparentEnabled
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
call fcn.1008b7c0
push 4
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 2
push eax
push str.TransparentEnabled
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
call fcn.1008b7c0
push 1
push 0x16
push str.QBSafe.dll
push str.ItemData
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
call fcn.1008b7c0
push 1
push 2
push 0x101700d8
push str.Description
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
call fcn.1008b7c0
add esp, 0x40
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
push 4
push 4
push eax
push str.SaferFlags
call fcn.1008b7c0
add esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0xf003f
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
push 0x80000002
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1008b6b6
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
push 0x80000002
call edi
test eax, eax
jne 0x1008b6d8
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008b6d8
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.TransparentEnabled
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 2
push eax
push 0xf003f
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
push 0x80000002
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x1008b715
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
push 0x80000002
call edi
test eax, eax
jne 0x1008b737
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008b737
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.TransparentEnabled
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call esi
push str.QBSafe.dll
mov edx, str.ItemData
call fcn.1008b980
push 0x101700d8
mov edx, str.Description
call fcn.1008b980
add esp, 8
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
push 0x80000002
call ebx
test eax, eax
je 0x1008b795
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
push 0x80000002
call edi
test eax, eax
jne 0x1008b7b7
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008b7b7
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.SaferFlags
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret