Function at 0x409eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xc7
lea eax, [ebp - 0xcf]
push 0
push eax
call fcn.004272d0
mov edx, dword [0x43b6f4]
mov ecx, dword [str.Service]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xcc], edx
add esp, 0xc
mov dword [ebp - 0xd0], ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409f00
sub eax, edx
mov esi, eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.systemcurrentcontrolsetcontrol_safebootMinimalwin_win7
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x409f69
mov eax, dword [ebp - 0xd4]
push esi
lea edx, [ebp - 0xd0]
push edx
push 1
push 0
push 0x438a00
push eax
call edi
mov ecx, dword [ebp - 0xd4]
push ecx
call ebx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xd4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.systemcurrentcontrolsetcontrol_safebootNetworkwin_win7
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x409fba
mov edx, dword [ebp - 0xd4]
push esi
lea ecx, [ebp - 0xd0]
push ecx
push 1
push eax
push 0x438a00
push edx
call edi
mov eax, dword [ebp - 0xd4]
push eax
call ebx
mov al, byte [0x43b776]
mov dx, word [0x43b774]
mov ecx, dword [0x43b770]
mov byte [ebp - 0xca], al
lea eax, [ebp - 0xd0]
mov word [ebp - 0xcc], dx
mov dword [ebp - 0xd0], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409fe8
sub eax, edx
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.systemcurrentcontrolsetcontrol_safebootMinimalWM7F.sys
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a045
mov ecx, dword [ebp - 0xd4]
push esi
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push 0x438a00
push ecx
call edi
mov edx, dword [ebp - 0xd4]
push edx
call ebx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.systemcurrentcontrolsetcontrol_safebootNetworkWM7F.sys
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a096
push esi
lea edx, [ebp - 0xd0]
push edx
push 1
push eax
mov eax, dword [ebp - 0xd4]
push 0x438a00
push eax
call edi
mov ecx, dword [ebp - 0xd4]
push ecx
call ebx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xd4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.systemcurrentcontrolsetcontrol_safebootMinimalcbfsregistry2017.sys
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a0e7
mov edx, dword [ebp - 0xd4]
push esi
lea ecx, [ebp - 0xd0]
push ecx
push 1
push eax
push 0x438a00
push edx
call edi
mov eax, dword [ebp - 0xd4]
push eax
call ebx
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.systemcurrentcontrolsetcontrol_safebootNetworkcbfsregistry2017.sys
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a139
mov ecx, dword [ebp - 0xd4]
push esi
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push 0x438a00
push ecx
call edi
mov edx, dword [ebp - 0xd4]
push edx
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret