Function at 0x14000d2f0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140081030]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
lea rax, vtable.CSampleService.0
mov qword [rcx], rax
lea rcx, [rbp - 0x70]
call fcn.14000f000
lea r9, str.Service_Destroy
add r9, 2
cmp word [r9], 0
jne 0x14000d335
lea r8, str.Service_Destroy
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14000f380
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
call fcn.14000bc80
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000d3a8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d58e
call fcn.14003a290
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
lea rcx, [rbp - 0x70]
call fcn.14000ef10
mov dword [rbx + 0x294], 1
mov rcx, qword [rbx + 0x298]
test rcx, rcx
je 0x14000d3e9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x298], rsi
mov rcx, qword [rbx + 0x2b8]
test rcx, rcx
je 0x14000d402
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x2b8], rsi
mov rcx, qword [rbx + 0x2c0]
test rcx, rcx
je 0x14000d41b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x2c0], rsi
mov rcx, qword [rbx + 0x2a0]
test rcx, rcx
je 0x14000d434
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x2a0], rsi
mov rcx, qword [rbx + 0x2a8]
test rcx, rcx
je 0x14000d54d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14000d546
lea rcx, [rbp - 0x70]
call fcn.14000f000
lea r14, str.RegCloseKey_fail.
mov r9, r14
add r9, 2
cmp word [r9], si
jne 0x14000d465
mov r8, r14
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14000f380
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
call fcn.14000bc80
mov rdx, qword [rbx + 8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x14000d4f4
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], r14
mov ecx, 2
xor r8d, r8d
lea edx, [rcx + 2]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000d52c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d527
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d588
call fcn.14003a290
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], sil
lea rcx, [rbp - 0x70]
call fcn.14000ef10
mov qword [rbx + 0x2a8], rsi
lea rcx, [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rax, vtable.CServiceBase.0
mov qword [rbx], rax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14003a270
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400443d0
int3
call fcn.1400443d0
int3