Function at 0x1000479e0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rcx
lea rax, [0x100152eb8]
mov ebp, 5
lea r12, [0x10001e5a0]
lea r15d, [rbp - 4]
mov rcx, qword [0x100152eb8]
cmp rcx, rax
je 0x100047a46
test byte [rcx + 0x1c], r15b
je 0x100047a46
cmp byte [rcx + 0x19], bpl
jb 0x100047a46
mov edx, 0x10f
mov r9d, dword [r13 + 0x4c]
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.100036328
xor r14d, r14d
mov esi, r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x100020300]
mov r8d, r15d
xor edx, edx
lea rcx, [0x1000202f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
lea ebx, [r14 + 2]
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x100047ac2
test byte [rcx + 0x1c], bl
je 0x100047ac2
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
cmp edi, r14d
cmovge edx, ebp
cmp r8d, edx
jl 0x100047ac2
mov edx, 0x110
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.10003bdc0
cmp edi, r14d
jl 0x100047d50
mov word [rsp + 0xb8], r14w
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0xb8]
call qword [rax + 0x60]
mov edi, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x100047b33
test byte [rcx + 0x1c], bl
je 0x100047b33
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
cmp edi, r14d
cmovge edx, ebp
cmp r8d, edx
jl 0x100047b33
movsx eax, word [rsp + 0xb8]
mov edx, 0x111
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.10003b338
cmp edi, r14d
jl 0x100047d50
or eax, 0xffffffff
cmp ax, word [rsp + 0xb8]
jne 0x100047d50
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1000202e0]
mov r8d, r15d
xor edx, edx
lea rcx, [0x1000202d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x100047bbb
test byte [rcx + 0x1c], bl
je 0x100047bbb
movzx edx, byte [rcx + 0x19]
cmp edi, r14d
cmovge ebx, ebp
cmp edx, ebx
jl 0x100047bbb
mov edx, 0x112
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.10003bdc0
cmp edi, r14d
jl 0x100047d40
mov dword [rsp + 0xc0], r14d
lea r8, [rsp + 0xc0]
lea rdx, [0x10001ef00]
mov rcx, qword [rsp + 0x30]
call fcn.100042b78
cmp eax, r14d
jl 0x100047d40
cmp dword [rsp + 0xc0], r14d
je 0x100047d40
lea rcx, [r13 + 0xe8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r13 + 0x110]
call fcn.1000d9f1c
mov qword [rsp + 0x40], rax
cmp rax, r14
je 0x100047d27
cmp esi, r14d
jne 0x100047d27
lea rdx, [rsp + 0x40]
lea rcx, [r13 + 0x110]
call fcn.10004d38c
mov rcx, qword [rax]
mov rcx, qword [rcx]
cmp rcx, r14
je 0x100047d06
call fcn.100052a00
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call fcn.10003b168
nop
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r14d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1000e9eb4
cmp eax, r14d
jne 0x100047cda
mov ebx, r14d
mov eax, dword [rsp + 0x58]
cmp eax, r14d
jle 0x100047cda
mov rdi, r14
cmp esi, r14d
jne 0x100047cda
cmp rdi, r14
jl 0x100047d12
cmp ebx, eax
jge 0x100047d12
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0xc8]
mov rdx, qword [rdi + rax]
lea rcx, [rsp + 0x60]
call fcn.1000eae3c
cmp eax, r14d
jne 0x100047ccb
cmp dword [rsp + 0xc8], r15d
cmove esi, r15d
add ebx, r15d
add rdi, 8
mov eax, dword [rsp + 0x58]
cmp ebx, eax
jl 0x100047c91
lea rcx, [rsp + 0x50]
call fcn.10004ce40
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r14d
jg 0x100047d06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [rsp + 0x40], r14
je 0x100047d27
jmp 0x100047c23
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [r13 + 0xe8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, 5
lea r12, [0x10001e5a0]
mov rcx, qword [rsp + 0x30]
cmp rcx, r14
je 0x100047d50
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dword [r13 + 0x4c], esi
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x100047d88
test byte [rcx + 0x1c], r15b
je 0x100047d88
cmp byte [rcx + 0x19], bpl
jb 0x100047d88
mov edx, 0x113
mov r9d, esi
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x100047d98
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret