Function at 0x10000237c
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r13, rcx
xor r12d, r12d
lea r14, [0x100007aec]
cmp rdx, r12
lea rcx, [rax + 0x20]
mov r15, r8
cmovne r14, rdx
mov dword [rsp + 0xb8], 1
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp r14, r12
lea rcx, [0x100001768]
mov rax, r14
cmove rax, rcx
mov qword [rsp + 0x50], r15
lea ebp, [r12 + 2]
mov qword [rsp + 0x58], rax
mov rax, qword [0x100007aa0]
cmp rax, r12
jne 0x100002406
lea rdx, [0x100001690]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [0x100007aa0], rax
cmp rax, r12
je 0x10000243a
mov qword [rsp + 0x40], r12
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r12d
lea edx, [r8 + 4]
mov rcx, rax
mov r9d, 0x400003e8
mov word [rsp + 0x28], bp
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rdi, eax
lea rbx, [rdi + rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
cmp rax, r12
je 0x10000255b
lea rcx, [rax + 0x38]
mov qword [rax + 0x10], r13
mov dword [rax + 0x18], 0xa
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], rcx
cmp rdi, r12
je 0x1000024cf
cmp rdi, 0x7fffffff
ja 0x1000024cf
mov edx, 0x7ffffffe
mov r8, r15
sub rdx, rdi
sub r8, rcx
lea rax, [rdx + rdi]
cmp rax, r12
je 0x1000024c3
movzx eax, word [r8 + rcx]
cmp ax, r12w
je 0x1000024c3
mov word [rcx], ax
add rcx, rbp
sub rdi, 1
jne 0x1000024a3
cmp rdi, r12
jne 0x1000024cb
sub rcx, rbp
mov word [rcx], r12w
mov rax, qword [rsp + 0xc8]
mov rdx, qword [0x100007a88]
lea rcx, [0x100007750]
mov qword [rsi + 0x1c], rax
mov rax, qword [0x100007750]
mov qword [rsi + 8], rcx
mov qword [rsi], rax
mov qword [rax + 8], rsi
mov eax, dword [0x100007748]
inc eax
mov qword [0x100007750], rsi
mov dword [0x100007748], eax
cmp rdx, r12
je 0x10000251a
inc dword [rdx + 8]
inc dword [rdx]
cmp eax, 1
jne 0x10000256a
mov rcx, qword [0x100007ad8]
cmp rcx, r12
je 0x10000256a
mov r9d, 0x3f1
xor r8d, r8d
lea ebx, [r9 + 0x7b]
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x100007ad8]
lea r9d, [rbx - 0x7c]
mov r8d, 3
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100002563
mov dword [rsp + 0xb8], r12d
mov rdx, qword [0x100007a88]
cmp rdx, r12
je 0x100002745
mov ecx, dword [rdx + 0xc]
mov ebp, 0xa
mov edi, 0x110
cmp ecx, ebp
jae 0x1000025a4
mov ebp, r12d
lea rax, [rdx + 0x18]
cmp qword [rax], r12
je 0x10000259c
inc ebp
add rax, rdi
cmp ebp, 0xa
jb 0x10000258b
jmp 0x1000025fe
lea eax, [rcx + 1]
mov dword [rdx + 0xc], eax
jmp 0x1000025fe
or eax, 0xffffffff
mov ebx, r12d
xor r13d, r13d
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xc4], eax
lea rcx, [r13 + rdx + 0x10]
lea rdx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov rdx, qword [0x100007a88]
cmp eax, 0xffffffff
jne 0x1000025e9
mov rax, qword [r12 + rdx + 0x10]
mov ebp, ebx
mov qword [rsp + 0xc0], rax
inc ebx
add r13, rdi
add r12, rdi
cmp ebx, 0xa
jb 0x1000025bb
mov r13, qword [rsp + 0xb0]
cmp ebp, 0xa
jae 0x100002745
mov edi, ebp
mov r12d, ebp
mov ebx, 0x40
imul rdi, rdi, 0x110
mov qword [rdi + rdx + 0x18], r13
xor r13d, r13d
cmp r14, r13
je 0x100002677
mov rax, r12
mov r8, rbx
lea rcx, [rdi + rdx + 0xa0]
imul rax, rax, 0x110
sub r14, rax
sub r14, rdx
lea rax, [r8 + 0x7fffffbe]
cmp rax, r13
je 0x100002668
movzx eax, word [r14 + rcx - 0xa0]
cmp ax, r13w
je 0x100002668
mov word [rcx], ax
add rcx, 2
sub r8, 1
jne 0x100002640
cmp r8, r13
jne 0x100002671
sub rcx, 2
mov word [rcx], r13w
jmp 0x100002680
mov word [rdi + rdx + 0xa0], r13w
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, ebx
jg 0x1000026d2
mov rax, qword [0x100007a88]
imul r12, r12, 0x110
lea rdx, [rdi + rax]
sub r15, r12
lea rcx, [rdx + 0x20]
sub r15, rax
lea rax, [rbx + 0x7fffffbe]
cmp rax, r13
je 0x100002724
movzx eax, word [r15 + rcx - 0x20]
cmp ax, r13w
je 0x100002724
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x1000026ab
jmp 0x100002724
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, qword [0x100007a88]
imul r12, r12, 0x110
lea r8, [r15 + rcx*2 - 0x7e]
lea rdx, [rdi + rax]
sub r8, r12
lea rcx, [rdx + 0x20]
sub r8, rax
lea rax, [rbx + 0x7fffffbe]
cmp rax, r13
je 0x100002724
movzx eax, word [r8 + rcx - 0x20]
cmp ax, r13w
je 0x100002724
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x1000026ff
cmp rbx, r13
jne 0x10000272d
sub rcx, 2
mov word [rcx], r13w
mov rcx, qword [rsp + 0xc8]
mov qword [rdx + 0x10], rcx
cmp rsi, r13
je 0x100002745
mov dword [rsi + 0x18], ebp
mov eax, dword [rsp + 0xb8]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret