Function at 0x45ed19
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push 0x12c
mov eax, 0x532435
call fcn.004e45be
push 1
push 3
lea ecx, [ebp - 0x138]
call fcn.004241d9
lea eax, [ebp - 0x48]
xor esi, esi
push eax
push 0x20019
push esi
push str.SYSTEMCurrentControlSetServicesRasManParameters
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
je 0x45edbd
lea eax, [ebp - 0x128]
push str.Open_Registry_Key_failed__
push eax
call fcn.004191b0
pop ecx
pop ecx
push edi
mov ecx, eax
call fcn.00414b78
push 0x5adaa0
push eax
call fcn.004191b0
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x138]
call fcn.0042418e
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x45eda6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e6bb
push 0x5de0f0
lea eax, [ebp - 0x64]
push eax
call fcn.004fd5aa
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push str.ProhibitIpSec
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x45edf0
cmp dword [ebp - 0x54], 4
jne 0x45edf0
mov eax, dword [ebp - 0x4c]
jmp 0x45edfb
cmp edi, 2
jne 0x45ef0f
mov eax, esi
test eax, eax
je 0x45efc2
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x48]
push eax
push 0x20006
push esi
push str.SYSTEMCurrentControlSetServicesRasManParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
je 0x45ee94
lea eax, [ebp - 0x128]
cmp edi, 5
jne 0x45ee41
push str.insufficient_privileges_to_set_HKLMSYSTEMCurrentControlSetServicesRasManParametersProhibitIpSec_to_0
jmp 0x45ee5b
push str.Open_Registry_Key_failed__
push eax
call fcn.004191b0
pop ecx
pop ecx
push edi
mov ecx, eax
call fcn.00414b78
push 0x5adaa0
push eax
call fcn.004191b0
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x138]
call fcn.0042418e
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x45ee7e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040e6bb
push 0x5de0f0
lea eax, [ebp - 0x70]
jmp 0x45edb7
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push eax
push 4
push esi
push str.ProhibitIpSec
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x45efc2
lea eax, [ebp - 0x128]
push str.Set_Registry_Value_failed__
push eax
call fcn.004191b0
pop ecx
pop ecx
push esi
mov ecx, eax
call fcn.00414b78
push 0x5adaa0
push eax
call fcn.004191b0
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x138]
call fcn.0042418e
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x45eef9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040e6bb
push 0x5de0f0
lea eax, [ebp - 0x7c]
jmp 0x45edb7
lea eax, [ebp - 0x128]
push str.Query_Registry_Value_failed__
push eax
call fcn.004191b0
pop ecx
pop ecx
push edi
mov ecx, eax
call fcn.00414b78
push 0x5adaa0
push eax
call fcn.004191b0
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x138]
call fcn.0042418e
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x45ef52
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040e6bb
push 0x5de0f0
lea eax, [ebp - 0x88]
jmp 0x45edb7
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x138]
call fcn.00423023
call fcn.004e450b
ret