Function at 0x140044c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, rcx
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140044e72
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
mov rdi, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x140044c5a
movzx edx, dx
lea rcx, [rbp - 0x40]
call fcn.140010ab0
jmp 0x140044c75
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140044c60
lea rcx, [rbp - 0x40]
call fcn.140002a9c
nop
call fcn.140010254
test rax, rax
je 0x140044e7d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdx, str.EnableFirewall
cmp rdx, 0x10000
jae 0x140044cb2
movzx edx, dx
lea rcx, [rbp - 0x38]
call fcn.140010ab0
jmp 0x140044cca
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x140044cb5
lea rcx, [rbp - 0x38]
call fcn.140002a9c
nop
xor sil, sil
mov qword [rbp - 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, qword [rbp - 0x38]
test eax, eax
jne 0x140044d64
mov r14, qword [rbp - 0x30]
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140044d3f
cmp dword [rbp + 0x48], 4
jne 0x140044d3f
mov sil, 1
jmp 0x140044d46
mov dword [rbp + 0x38], 0
test r14, r14
je 0x140044d54
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test sil, sil
je 0x140044d64
cmp dword [rbp + 0x38], 0
je 0x140044d64
mov sil, 1
jmp 0x140044d67
xor sil, sil
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044d80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x140044dd8
mov byte [rbp - 0x28], 1
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140044e7d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
mov r8d, 3
lea rdx, [0x1402d3218]
lea rcx, [rbp - 0x20]
call fcn.140002a9c
mov rbx, qword [rbp - 0x20]
mov r9, rbx
xor r8d, r8d
mov edx, 0x11748
mov rcx, qword [r15]
call fcn.14001e730
nop
jmp 0x140044e29
mov byte [rbp - 0x18], 0
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140044e7d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x10], rax
mov r8d, 2
lea rdx, [0x1402c8f30]
lea rcx, [rbp - 0x10]
call fcn.140002a9c
mov rbx, qword [rbp - 0x10]
mov r9, rbx
xor r8d, r8d
mov edx, 0x11748
mov rcx, qword [r15]
call fcn.14001e730
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044e43
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140044e5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
int3