Function at 0x408110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x43e044]
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.00422210
mov edx, dword [0x434f2c]
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 0x408160
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 0x4081c9
mov eax, dword [ebp - 0xd4]
push esi
lea edx, [ebp - 0xd0]
push edx
push 1
push 0
push 0x433740
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 0x40821a
mov edx, dword [ebp - 0xd4]
push esi
lea ecx, [ebp - 0xd0]
push ecx
push 1
push eax
push 0x433740
push edx
call edi
mov eax, dword [ebp - 0xd4]
push eax
call ebx
mov al, byte [0x434fae]
mov dx, word [0x434fac]
mov ecx, dword [0x434fa8]
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 0x408248
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 0x4082a5
mov ecx, dword [ebp - 0xd4]
push esi
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push 0x433740
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 0x4082f6
push esi
lea edx, [ebp - 0xd0]
push edx
push 1
push eax
mov eax, dword [ebp - 0xd4]
push 0x433740
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 0x408347
mov edx, dword [ebp - 0xd4]
push esi
lea ecx, [ebp - 0xd0]
push ecx
push 1
push eax
push 0x433740
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 0x408399
mov ecx, dword [ebp - 0xd4]
push esi
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push 0x433740
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.0041a70e
mov esp, ebp
pop ebp
ret