Function at 0x10008b3d
Capabilities:
Set registry value

Disassembly:
push 0xb8
mov eax, 0x10085721
call fcn.1006d5c6
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10001588
and dword [ebp - 4], 0
push 0x100c4784
lea ecx, [ebp - 0xb4]
call fcn.10002171
push 0x1008ada8
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.10003575
test eax, eax
je 0x10008baa
push 0x1008adac
lea ecx, [ebp - 0xb8]
call fcn.10003575
test eax, eax
je 0x10008baa
xor bl, bl
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantStore
jmp 0x10008bb1
mov bl, 1
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
lea ecx, [ebp - 0xb4]
call fcn.10001f42
push 0x100c4784
lea ecx, [ebp - 0xc0]
call fcn.10002171
push 0x100c4784
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.10002171
and dword [ebp - 0xac], 0
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.10001588
push edi
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.10001588
push 0
push 0x1008ae6c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.100035e0
add eax, 4
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10008af5
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.10002fce
mov ecx, dword [ebp - 0xa8]
lea ecx, [ecx - 0x10]
call fcn.10001efd
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 7
call fcn.1000301e
add esp, 0xc
lea ecx, [ebp - 0xac]
push ecx
push 0x2001f
push 0
push dword [eax]
mov edi, SysReAllocStringLen
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001efd
cmp esi, 2
jne 0x10008cec
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.1000301e
add esp, 0xc
xor edx, edx
push edx
lea ecx, [ebp - 0xac]
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp - 0xa8]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.10001efd
test esi, esi
jne 0x10008d49
test bl, bl
je 0x10008db8
push 0x1008adac
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0x21
call fcn.10003575
mov ecx, dword [ebp - 0xa8]
push 0x20
pop edx
push 4
test eax, eax
lea eax, [ebp - 0xa8]
push eax
push 4
push esi
push dword [ebp - 0xb0]
cmove ecx, edx
push dword [ebp - 0xac]
mov dword [ebp - 0xa8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.10008eff
cmp dword [ebp - 0xac], 0
je 0x10008d5e
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xb0]
lea ecx, [ecx - 0x10]
call fcn.10001efd
mov ecx, dword [ebp - 0xbc]
lea ecx, [ecx - 0x10]
call fcn.10001efd
mov ecx, dword [ebp - 0xc4]
lea ecx, [ecx - 0x10]
call fcn.10001efd
mov ecx, dword [ebp - 0xc0]
lea ecx, [ecx - 0x10]
call fcn.10001efd
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.10001efd
mov ecx, dword [ebp - 0xb8]
lea ecx, [ecx - 0x10]
call fcn.10001efd
call fcn.1006d518
ret
xor ecx, ecx
push 0x90
lea eax, [ebp - 0xa4]
push eax
push 3
push ecx
push dword [ebp - 0xb0]
mov dword [ebp - 0xa4], 0x50434153
push dword [ebp - 0xac]
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x94], 0x28
mov dword [ebp - 0x90], 0x13400
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], 3
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], 0x6020000
mov dword [ebp - 0x7c], 0x2271
mov dword [ebp - 0x78], 0xa3c8f62e
mov dword [ebp - 0x74], 0x1cd6aa5
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x64], 0x10
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], 0x28
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x800000
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x800000
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0x337e
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x10008d49