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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x678]
sub rsp, 0x760
mov rax, qword [0x140013b20]
xor rax, rsp
mov qword [rbp + 0x650], rax
mov r14, rcx
mov ebx, 0x206
xor r15d, r15d
lea rcx, [rbp - 0x5e]
mov r8d, ebx
mov word [rbp - 0x60], r15w
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov word [rsp + 0x70], r15w
lea r8d, [r15 + 0x2e]
lea rcx, [rsp + 0x72]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
mov word [rbp + 0x1b0], r15w
xor edx, edx
lea rcx, [rbp + 0x1b2]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
lea rdi, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
cmp eax, 0x102
ja 0x14000b5a4
lea rdi, [rbp + 0x1b0]
lea rdi, [rdi + rax*2]
jmp 0x14000b58c
cmp word [rdi], 0x5c
je 0x14000b59e
sub rdi, 2
lea rax, [rbp + 0x1b0]
cmp rdi, rax
ja 0x14000b582
cmp word [rdi], 0x5c
jne 0x14000b5ac
add rdi, 2
jmp 0x14000b5ac
mov word [rbp + 0x1b0], r15w
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], r15
mov ebx, 0x20019
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea rdx, str.CLSID
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b69e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x58], r15
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b68e
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], r15
lea rdx, str.InprocServer32
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b67e
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400128d0]
lea rax, [rbp - 0x60]
mov dword [rsp + 0x50], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b679
mov word [rbp + 0x1a6], r15w
jmp 0x14000b67e
mov word [rbp - 0x60], r15w
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000b68e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000b69e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbp - 0x60], r15w
je 0x14000b79f
xor r8d, r8d
lea rcx, str.version.dll
xor edx, edx
call fcn.14000a818
lea rdx, str.GetFileVersionInfoSizeW
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call rax
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x14000b6eb
mov word [rsp + 0x70], r15w
jmp 0x14000b79f
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000b79f
lea rdx, str.GetFileVersionInfoW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, dword [rsp + 0x50]
lea rcx, [rbp - 0x60]
mov r9, rbx
xor edx, edx
call rax
test eax, eax
je 0x14000b78b
lea rdx, str.VerQueryValueW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x60]
mov rcx, rbx
lea r8, [rsp + 0x58]
lea rdx, [0x140013bd0]
call rax
test eax, eax
je 0x14000b78b
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]
lea rdx, str._d._d._d._d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x70]
call fcn.14000b148
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov word [rbp + 0x3c0], r15w
mov r8d, 0x286
lea rcx, [rbp + 0x3c2]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r14
lea r8, [rbp - 0x60]
lea rdx, str._s__s__s
lea rcx, [rbp + 0x3c0]
call fcn.14000b0f0
cmp word [rdi], r15w
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x58], rax
lea rax, [0x140013b38]
cmove rdi, rax
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000b850
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov ecx, 1
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov word [rsp + 0x28], cx
mov r9d, 0x60005330
mov qword [rsp + 0x20], r15
lea edx, [rcx + 3]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000b860
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret