Function at 0x1008a5a0
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 0x1008a5c4
cmp ax, 6
jne 0x1008a654
push 4
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push str.TransparentEnabled
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
call fcn.1008a7b0
push 4
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 2
push eax
push str.TransparentEnabled
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
call fcn.1008a7b0
push 1
push 0x16
push str.QBSafe.dll
push str.ItemData
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
call fcn.1008a7b0
push 1
push 2
push 0x1016dfc0
push str.Description
mov edx, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
call fcn.1008a7b0
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.1008a7b0
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 0x1008a6a6
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
push 0x80000002
call edi
test eax, eax
jne 0x1008a6c8
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008a6c8
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 0x1008a705
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers
push 0x80000002
call edi
test eax, eax
jne 0x1008a727
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008a727
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.1008a970
push 0x1016dfc0
mov edx, str.Description
call fcn.1008a970
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 0x1008a785
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
push 0x80000002
call edi
test eax, eax
jne 0x1008a7a7
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008a7a7
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