Function at 0x100066e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013f8e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1001b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0xf003f
push 0
push str.SoftwareGPUz
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100067a8
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.10004fe0
add esp, 4
test al, al
je 0x1000685e
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10006844
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006799
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006799
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10012893
add esp, 8
jmp 0x10006844
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareGPUz
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100068a2
lea ecx, [ebp - 0x28]
call fcn.10006350
mov ecx, dword [eax + 0x10]
inc ecx
cmp dword [eax + 0x14], 0x10
jb 0x100067e7
mov eax, dword [eax]
push ecx
push eax
push 1
push 0
push 0x10016a44
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 0x10
jb 0x10006833
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006829
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006829
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10012893
add esp, 8
test esi, esi
jne 0x100068e9
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001241c
mov esp, ebp
pop ebp
ret
push str.Error_0x00000034
lea ecx, [ebp - 0x44]
call fcn.10007aa0
push 0x10016ad8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.10007aa0
push str.Informer
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.10007aa0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10004f50
push str.Error_0x00000035
lea ecx, [ebp - 0x74]
call fcn.10007aa0
push 0x10016b1c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 4
call fcn.10007aa0
push str.Informer
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.10007aa0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10004f50
push str.Error_0x00000036
lea ecx, [ebp - 0x8c]
call fcn.10007aa0
push 0x10016b4c
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 7
call fcn.10007aa0
push str.Informer
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
call fcn.10007aa0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10004f50
int3