Function at 0x10003e1b0
Capabilities:
Access firewall policy via inetfwpolicy2
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, qword [0x100157688]
lea r13, [0x100152eb8]
lea r15, [0x10001e5a0]
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x10003e200
test byte [rcx + 0x1c], 1
je 0x10003e200
mov edx, 0x4f
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov edi, 1
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [0x10001e7f0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [rdi + 4]
cmp eax, r12d
jne 0x10003e2e9
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0xc8], r12d
mov dword [rsp + 0xc0], 4
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x10001eec0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x10003e2aa
cmp dword [rsp + 0x30], 4
jne 0x10003e2e9
mov eax, r12d
cmp eax, r12d
jne 0x10003e2e9
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x10003e42e
test byte [rcx + 0x1c], 2
je 0x10003e42e
cmp byte [rcx + 0x19], sil
jb 0x10003e42e
mov edx, 0x50
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100034764
jmp 0x10003e42e
lea rbp, [rbx + 0x2a8]
mov qword [rsp + 0x48], rbp
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x50], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r11, rax
sub r11, qword [rbx + 0x2e8]
mov eax, dword [0x100153260]
cmp r11, rax
jae 0x10003e329
mov edi, dword [rbx + 0x2e0]
jmp 0x10003e425
lea rsi, [rbx + 0x2d8]
cmp qword [rsi], r12
jne 0x10003e39a
mov qword [rsp + 0x20], rsi
lea r9, [0x1000202e0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1000202d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r9d, eax
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x10003e39a
test byte [rcx + 0x1c], 2
je 0x10003e39a
movzx r8d, byte [rcx + 0x19]
mov edx, 2
cmp eax, r12d
lea eax, [rdx + 3]
cmovge edx, eax
cmp r8d, edx
jl 0x10003e39a
mov rax, qword [rsi]
mov edx, 0x51
mov qword [rsp + 0x20], rax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.10003bdc0
mov rcx, qword [rsi]
cmp rcx, r12
je 0x10003e412
mov rax, qword [rcx]
lea r8, [rsp + 0xb8]
lea rdx, [0x10001ef00]
call qword [rax + 0xd8]
cmp eax, r12d
jl 0x10003e3ce
or eax, 0xffffffff
cmp ax, word [rsp + 0xb8]
cmovne edi, r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx + 0x2e8], rax
mov dword [rbx + 0x2e0], edi
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x10003e419
test byte [rcx + 0x1c], 2
je 0x10003e420
mov esi, 5
cmp byte [rcx + 0x19], sil
jb 0x10003e425
lea edx, [rsi + 0x4d]
mov r9d, edi
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036328
jmp 0x10003e425
mov esi, 5
jmp 0x10003e425
mov esi, 5
jmp 0x10003e425
mov esi, 5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x2e8]
mov rax, qword [rbx + 0x70]
cmp rcx, rax
jbe 0x10003e446
lock cmpxchg qword [rbx + 0x70], rcx
jne 0x10003e435
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x10003e473
test byte [rcx + 0x1c], 1
je 0x10003e473
cmp byte [rcx + 0x19], sil
jb 0x10003e473
mov edx, 0x53
mov r9d, edi
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
je 0x10003e483
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x70
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret