Function at 0x14004bda4
Capabilities:
Access the windows event log
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x710
mov rax, qword [0x140050318]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rbp, rcx
mov ebx, 0x206
lea rcx, [r11 - 0x686]
xor r12d, r12d
xor edx, edx
mov r8, rbx
mov word [r11 - 0x688], r12w
call fcn.140008ebc
lea r8d, [r12 + 0x2e]
lea rcx, [rsp + 0x72]
xor edx, edx
mov word [rsp + 0x70], r12w
call fcn.140008ebc
lea rcx, [rsp + 0x2b2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x2b0], r12w
call fcn.140008ebc
lea rdx, [rsp + 0x2b0]
mov r8d, 0x104
xor ecx, ecx
lea rdi, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
cmp eax, 0x102
ja 0x14004be76
lea rdi, [rsp + rax*2 + 0x2b0]
jmp 0x14004be5d
cmp word [rdi], 0x5c
je 0x14004be70
sub rdi, 2
lea rax, [rsp + 0x2b0]
cmp rdi, rax
ja 0x14004be53
cmp word [rdi], 0x5c
jne 0x14004be7f
add rdi, 2
jmp 0x14004be7f
mov word [rsp + 0x2b0], r12w
lea rax, [rsp + 0x68]
mov ebx, 0x20019
lea rdx, str.CLSID
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x14004bf7e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov r9d, ebx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x14004bf6e
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
lea rdx, str.InprocServer32
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x60], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x14004bf5e
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea rdx, [0x14004ff50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x14004bf55
mov word [rsp + 0x2a6], r12w
jmp 0x14004bf5e
mov word [rsp + 0xa0], r12w
mov rcx, qword [rsp + 0x60]
cmp rcx, r12
je 0x14004bf6e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
je 0x14004bf7e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rsp + 0xa0], r12w
je 0x14004c08a
lea rcx, str.version.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x14006ba60]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call rax
mov dword [rsp + 0x50], eax
cmp eax, r12d
jne 0x14004bfd0
mov word [rsp + 0x70], r12w
jmp 0x14004c08a
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
cmp rax, r12
je 0x14004c08a
lea rdx, [0x14006ba78]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, dword [rsp + 0x50]
lea rcx, [rsp + 0xa0]
mov r9, rbx
xor edx, edx
call rax
cmp eax, r12d
je 0x14004c076
lea rdx, [0x14006ba50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
lea rdx, [0x1400509ec]
mov rcx, rbx
call rax
cmp eax, r12d
je 0x14004c076
mov rdx, qword [rsp + 0x58]
movzx ecx, word [rdx + 0xe]
movzx eax, word [rdx + 0xc]
movzx r9d, word [rdx + 8]
movzx r8d, word [rdx + 0xa]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x70]
lea rdx, str._d._d._d._d
call fcn.14004bc80
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x4c2]
xor edx, edx
mov r8d, 0x23e
mov word [rsp + 0x4c0], r12w
call fcn.140008ebc
lea r9, [rsp + 0x70]
lea r8, [rsp + 0xa0]
lea rdx, str._s__s__s
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rbp
call fcn.14004bcac
cmp word [rdi], r12w
lea rax, [0x140050288]
lea r11, [rsp + 0x4c0]
cmove rdi, rax
xor ecx, ecx
mov qword [rsp + 0x58], r11
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c144
cmp rax, r12
je 0x14004c144
mov qword [rsp + 0x40], r12
mov ecx, 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], cx
lea edx, [rcx + 3]
xor r8d, r8d
mov r9d, 0x60005330
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x14004c154
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140008a98
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret