Function at 0x14004f4d0
Capabilities:
Access the windows event log

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov rax, qword [0x14016b140]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov r14, rdx
mov rsi, rcx
movdqa xmm0, xmmword [0x1401332b0]
xor edi, edi
cmp qword [rcx + 0x100], rdi
jne 0x14004f5a7
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], di
lea r8d, [rdi + 0x17]
lea rdx, str.NT_EventLog_not_opened.
lea rcx, [rbp - 0x39]
call fcn.140007ac0
nop
lea rcx, [rbp - 0x39]
call fcn.140040210
nop
mov rax, qword [rbp - 0x21]
cmp rax, 8
jb 0x14004f76c
inc rax
mov rcx, qword [rbp - 0x39]
movabs rbx, 0x7fffffffffffffff
cmp rax, rbx
ja 0x14004f5a1
add rax, rax
cmp rax, 0x1000
jb 0x14004f597
test cl, 0x1f
jne 0x14004f5a1
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14004f5a1
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14004f5a1
mov rcx, rax
call fcn.140028154
jmp 0x14004f76c
call fcn.1400c6d18
int3
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], di
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx]
mov r9, rbx
mov r8, r14
lea rdx, [rbp - 0x19]
call qword [rax]
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.14003b580
mov qword [rbp - 0x49], rax
mov r15d, 1
mov rcx, r14
call fcn.14004fb80
movzx ebx, ax
mov rcx, r14
call fcn.14004fbd0
movzx edx, ax
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
mov word [rsp + 0x28], r15w
mov rcx, qword [rsi + 0x108]
mov qword [rsp + 0x20], rcx
mov r9d, 0x1000
movzx r8d, bx
mov rcx, qword [rsi + 0x100]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
movabs rbx, 0x7fffffffffffffff
test eax, eax
jne 0x14004f722
movdqa xmm0, xmmword [0x1401332b0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], di
lea r8d, [r15 + 0xa]
lea rdx, str.ReportEvent
lea rcx, [rbp - 0x39]
call fcn.140007ac0
nop
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14004f930
nop
mov rcx, rax
call fcn.140040210
nop
mov rax, qword [rbp + 0x1f]
cmp rax, 8
jb 0x14004f6c5
inc rax
mov rcx, qword [rbp + 7]
cmp rax, rbx
ja 0x14004f6bf
add rax, rax
cmp rax, 0x1000
jb 0x14004f6b8
test cl, 0x1f
jne 0x14004f6bf
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14004f6bf
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14004f6bf
mov rcx, rax
call fcn.140028154
jmp 0x14004f6c5
call fcn.1400c6d18
int3
movdqa xmm0, xmmword [0x1401332b0]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], di
mov rax, qword [rbp - 0x21]
cmp rax, 8
jb 0x14004f722
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, rbx
ja 0x14004f71c
add rax, rax
cmp rax, 0x1000
jb 0x14004f715
test cl, 0x1f
jne 0x14004f71c
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14004f71c
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14004f71c
mov rcx, rax
call fcn.140028154
jmp 0x14004f722
call fcn.1400c6d18
nop
mov rax, qword [rbp - 1]
cmp rax, 8
jb 0x14004f76c
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, rbx
ja 0x14004f766
add rax, rax
cmp rax, 0x1000
jb 0x14004f597
test cl, 0x1f
jne 0x14004f766
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14004f766
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x14004f594
call fcn.1400c6d18
int3
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140027790
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret