Function at 0x140009a50
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140084060]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140009d24
lea rcx, str._FirewallAPI.dll__28752
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x140009d1e
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [0x140079400]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140079410]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140009c11
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
mov r9d, 0xffffffff
mov r8, rbx
mov edx, 0x7fffffff
call qword [rax + 0xa0]
test eax, eax
jns 0x140009c02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x49]
nop dword [rax]
nop dword [rax + rax]
sub r10, 2
mov eax, 0xcccccccd
mul r9d
mov r8d, edx
shr r8d, 3
movzx ecx, r8w
shl cx, 2
lea edx, [rcx + r8]
add dx, dx
sub r9w, dx
add r9w, 0x30
mov word [r10], r9w
mov r9d, r8d
test r8d, r8d
jne 0x140009b00
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], ax
lea rax, [rbp + 0x49]
cmp r10, rax
je 0x140009b6d
lea r8, [rbp + 0x49]
sub r8, r10
sar r8, 1
mov rdx, r10
lea rcx, [rbp - 0x29]
call fcn.1400023b0
nop
lea r8, [rbp - 0x29]
lea rdx, str.Failed_to_enable_disable_firewall_rule_group._Error_code:
lea rcx, [rbp - 1]
call fcn.140006570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140009bc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d47
call fcn.14003ba0c
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140009c02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d41
call fcn.14003ba0c
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140009d15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x49]
nop
sub r10, 2
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx ecx, dx
shl cx, 2
lea r8d, [rcx + rdx]
add r8w, r8w
sub r9w, r8w
add r9w, 0x30
mov word [r10], r9w
mov r9d, edx
test edx, edx
jne 0x140009c20
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], ax
lea rax, [rbp + 0x49]
cmp r10, rax
je 0x140009c88
lea r8, [rbp + 0x49]
sub r8, r10
sar r8, 1
mov rdx, r10
lea rcx, [rbp - 0x29]
call fcn.1400023b0
nop
lea r8, [rbp - 0x29]
lea rdx, str.Failed_to_create_INetFwPolicy2_object._Error_code:
lea rcx, [rbp - 1]
call fcn.140006570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140009cd9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009cd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d4d
call fcn.14003ba0c
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140009d15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d41
call fcn.14003ba0c
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14003b9b0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
call fcn.140042fc0
int3
call fcn.140042fc0
int3
call fcn.140042fc0
int3