Function at 0x409e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x448044]
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.004279d0
mov edx, dword [0x43c67c]
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 0x409e80
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 0x409ee9
mov eax, dword [ebp - 0xd4]
push esi
lea edx, [ebp - 0xd0]
push edx
push 1
push 0
push 0x439a00
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 0x409f3a
mov edx, dword [ebp - 0xd4]
push esi
lea ecx, [ebp - 0xd0]
push ecx
push 1
push eax
push 0x439a00
push edx
call edi
mov eax, dword [ebp - 0xd4]
push eax
call ebx
mov al, byte [0x43c6fe]
mov dx, word [0x43c6fc]
mov ecx, dword [0x43c6f8]
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 0x409f68
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 0x409fc5
mov ecx, dword [ebp - 0xd4]
push esi
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push 0x439a00
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 0x40a016
push esi
lea edx, [ebp - 0xd0]
push edx
push 1
push eax
mov eax, dword [ebp - 0xd4]
push 0x439a00
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 0x40a067
mov edx, dword [ebp - 0xd4]
push esi
lea ecx, [ebp - 0xd0]
push ecx
push 1
push eax
push 0x439a00
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 0x40a0b9
mov ecx, dword [ebp - 0xd4]
push esi
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push 0x439a00
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.0041fb1e
mov esp, ebp
pop ebp
ret