Function at 0x10003e20c
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 [0x100158688]
lea r13, [0x100153eb8]
lea r15, [0x10001e5a0]
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x10003e25c
test byte [rcx + 0x1c], 1
je 0x10003e25c
mov edx, 0x4f
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100034784
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 0x10003e345
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 0x10003e306
cmp dword [rsp + 0x30], 4
jne 0x10003e345
mov eax, r12d
cmp eax, r12d
jne 0x10003e345
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x10003e48a
test byte [rcx + 0x1c], 2
je 0x10003e48a
cmp byte [rcx + 0x19], sil
jb 0x10003e48a
mov edx, 0x50
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100034784
jmp 0x10003e48a
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 [0x100154260]
cmp r11, rax
jae 0x10003e385
mov edi, dword [rbx + 0x2e0]
jmp 0x10003e481
lea rsi, [rbx + 0x2d8]
cmp qword [rsi], r12
jne 0x10003e3f6
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 [0x100153eb8]
cmp rcx, r13
je 0x10003e3f6
test byte [rcx + 0x1c], 2
je 0x10003e3f6
movzx r8d, byte [rcx + 0x19]
mov edx, 2
cmp eax, r12d
lea eax, [rdx + 3]
cmovge edx, eax
cmp r8d, edx
jl 0x10003e3f6
mov rax, qword [rsi]
mov edx, 0x51
mov qword [rsp + 0x20], rax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.10003be94
mov rcx, qword [rsi]
cmp rcx, r12
je 0x10003e46e
mov rax, qword [rcx]
lea r8, [rsp + 0xb8]
lea rdx, [0x10001ef00]
call qword [rax + 0xd8]
cmp eax, r12d
jl 0x10003e42a
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 [0x100153eb8]
cmp rcx, r13
je 0x10003e475
test byte [rcx + 0x1c], 2
je 0x10003e47c
mov esi, 5
cmp byte [rcx + 0x19], sil
jb 0x10003e481
lea edx, [rsi + 0x4d]
mov r9d, edi
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036510
jmp 0x10003e481
mov esi, 5
jmp 0x10003e481
mov esi, 5
jmp 0x10003e481
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 0x10003e4a2
lock cmpxchg qword [rbx + 0x70], rcx
jne 0x10003e491
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x10003e4cf
test byte [rcx + 0x1c], 1
je 0x10003e4cf
cmp byte [rcx + 0x19], sil
jb 0x10003e4cf
mov edx, 0x53
mov r9d, edi
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036510
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
je 0x10003e4df
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