Function at 0x10008130
Capabilities:
Set registry value

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
push str.FEFE89E5_A43F_4f4b_8211_B11D91D02135
lea ecx, [esp + 0x18]
call fcn.10003620
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push 0x2021f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExt
xor ebp, ebp
xor edi, edi
push SysReAllocString
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
jne 0x10008219
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
cmp eax, ebx
je 0x10008219
push 0x2001f
push str.Stats
push eax
lea ecx, [esp + 0x4c]
call fcn.100011e0
cmp dword [esp + 0x40], ebx
je 0x10008219
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
push 0x2001f
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.100011e0
cmp dword [esp + 0x30], ebx
je 0x10008219
mov eax, dword [esp + 0x30]
push 0x2001f
push str.iexplore
push eax
lea ecx, [esp + 0x2c]
call fcn.100011e0
mov ebp, dword [esp + 0x20]
cmp ebp, ebx
je 0x10008219
mov byte [esp + 0x12], 1
lea ecx, [esp + 0x1c]
push ecx
push 0x2011f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExt
push SysReAllocString
mov dword [esp + 0x30], ebx
call esi
test eax, eax
jne 0x100082a1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
cmp eax, ebx
je 0x100082a1
push 0x2001f
push str.Stats
push eax
lea ecx, [esp + 0x44]
call fcn.100011e0
cmp dword [esp + 0x38], ebx
je 0x100082a1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 0x2001f
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.100011e0
cmp dword [esp + 0x28], ebx
je 0x100082a1
mov ecx, dword [esp + 0x28]
push 0x2001f
push str.iexplore
push ecx
lea ecx, [esp + 0x54]
call fcn.100011e0
mov edi, dword [esp + 0x48]
cmp edi, ebx
je 0x100082a1
mov byte [esp + 0x13], 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or eax, 0xffffffff
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
cmp byte [esp + 0x12], bl
je 0x1000836e
push 4
lea edx, [esp + 0x24]
push edx
push 4
push ebx
push str.Blocked
push ebp
mov dword [esp + 0x38], 1
call esi
push 4
lea eax, [esp + 0x24]
push eax
push 4
push ebx
push str.Count
push ebp
mov dword [esp + 0x38], 1
call esi
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push ebx
push str.Flags
push ebp
mov dword [esp + 0x38], 1
call esi
push 4
lea edx, [esp + 0x24]
push edx
push 4
push ebx
push str.Type
push ebp
mov dword [esp + 0x38], 3
call esi
push 0x28
lea eax, [esp + 0x64]
push eax
push 3
push ebx
push str.NavTimeArray
push ebp
call esi
push 0x28
lea ecx, [esp + 0x64]
push ecx
push 3
push ebx
push str.LoadTimeArray
push ebp
call esi
cmp byte [esp + 0x13], bl
je 0x10008404
push 4
lea edx, [esp + 0x24]
push edx
push 4
push ebx
push str.Blocked
push edi
mov dword [esp + 0x38], 1
call esi
push 4
lea eax, [esp + 0x24]
push eax
push 4
push ebx
push str.Count
push edi
mov dword [esp + 0x38], 1
call esi
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push ebx
push str.Flags
push edi
mov dword [esp + 0x38], 1
call esi
push 4
lea edx, [esp + 0x24]
push edx
push 4
push ebx
push str.Type
push edi
mov dword [esp + 0x38], 3
call esi
push 0x28
lea eax, [esp + 0x64]
push eax
push 3
push ebx
push str.NavTimeArray
push edi
call esi
push 0x28
lea ecx, [esp + 0x64]
push ecx
push 3
push ebx
push str.LoadTimeArray
push edi
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x10008411
push edi
call esi
cmp ebp, ebx
je 0x10008418
push ebp
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x10008423
push eax
call esi
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1000842e
push eax
call esi
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x10008439
push eax
call esi
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x10008444
push eax
call esi
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x1000844f
push eax
call esi
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x1000845a
push eax
call esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
jg 0x1000847e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x78
ret