Function at 0x4ba490
Capabilities:
Create process on windows
Get common file path
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6452
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
push 0x20c
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x4ba562
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ba540
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00409060
push 9
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x234]
push str.netsh.exe
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00409060
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x2c4]
call fcn.004c7af0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x4ba605
mov ecx, eax
call fcn.00408ff0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x23c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 4
call fcn.00408ff0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
call fcn.00408ff0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
call fcn.004c6ba0
test al, al
jne 0x4ba641
mov byte [ebp - 0x2c5], al
jmp 0x4ba8da
mov byte [ebp - 4], 0x10
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x11
call fcn.004cb990
cmp dword [ebp - 0x128], 6
lea ecx, [ebp - 0x264]
jb 0x4ba69d
push 0x1e
push str.interface_ip_reset___ipset.log
jmp 0x4ba6a4
push 0x1c
push str.interface_ip_reset_ipset.log
call fcn.00409060
cmp dword [ebp - 0x250], 8
lea ecx, [ebp - 0x264]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 0x24c]
cmovae ecx, dword [ebp - 0x264]
cmp dword [ebp - 0x238], 8
push 0
cmovae eax, dword [ebp - 0x24c]
push 0
push ecx
push eax
push str.open
push 0
call esi
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push 0
cmovae eax, dword [ebp - 0x24c]
push 0
push str.winsock_reset
push eax
push str.open
push 0
call esi
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0x12
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x2cc]
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2d0], 1
call fcn.004b09f0
test al, al
je 0x4ba8a2
push 0x3e
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x234]
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00409060
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x2ac]
cmp dword [ebp - 0x298], 8
lea ecx, [ebp - 0x234]
push dword [ebp - 0x29c]
cmovae eax, dword [ebp - 0x2ac]
push eax
call fcn.00409220
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x2d0]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push 4
push ecx
push 4
push str.EnableDHCP
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push 0
cmovae eax, dword [ebp - 0x234]
push 0
push 1
push str.NameServer
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x16
call fcn.00408ff0
mov byte [ebp - 4], 0x14
mov byte [ebp - 0x2c5], 1
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x1b
call fcn.00408ff0
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x1f
call fcn.00408ff0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x23
call fcn.00408ff0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0x27
call fcn.00408ff0
mov al, byte [ebp - 0x2c5]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret