Function at 0x140008110
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400cc010]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r12b, r12b
xor edi, edi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], di
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], di
xor r15b, r15b
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], di
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], 7
mov word [rbp + 0x110], di
xor r13b, r13b
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], di
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], di
xor r14b, r14b
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], di
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], di
lea r8d, [rdi + 6]
lea rdx, str.System
lea rcx, [rbp - 0x48]
call fcn.140001a40
nop
lea ecx, [rdi + 8]
call fcn.14005da5c
mov rsi, rax
mov qword [rbp - 0x20], rax
mov qword [rax], rdi
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov qword [rsi], rax
mov qword [rbp + 0x130], rsi
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14000829f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000829a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008844
call fcn.14005da54
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], di
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000879f
mov byte [rsp + 0x5c], 0
mov dword [rbp - 0x50], edi
mov dword [rsp + 0x58], edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea edx, [r8 + 9]
call qword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
jne 0x14000879f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000879f
mov ecx, dword [rsp + 0x58]
call fcn.14005da98
mov rbx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9, rbx
xor r8d, r8d
lea edx, [r8 + 9]
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x140008797
mov eax, dword [rbx + 0x14]
and eax, 0x7fff
mov dword [rbp - 0x7c], eax
mov eax, dword [rbx + 0x10]
mov dword [rbp - 0x78], eax
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.140069490
xor eax, eax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], rax
mov ecx, dword [rbp - 0x38]
inc ecx
mov r9d, dword [rbp - 0x34]
add r9d, 0x76c
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x44]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x3c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r8, str._04d__02d__02d__02d:_02d:_02d
mov edx, 0x20
lea rcx, [rbp + 0x140]
call fcn.140004aa0
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140008412
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x70]
call fcn.140001a40
lea rdx, [rbx + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140008440
lea rcx, [rsp + 0x60]
call fcn.140001a40
movzx ecx, word [rbx + 0x18]
sub ecx, 1
je 0x140008496
sub ecx, 1
je 0x14000848d
sub ecx, 2
je 0x140008484
sub ecx, 4
je 0x14000847b
cmp ecx, 8
jne 0x14000849d
mov dword [rbp - 0x80], 2
jmp 0x14000849d
mov dword [rbp - 0x80], 3
jmp 0x14000849d
mov dword [rbp - 0x80], 4
jmp 0x14000849d
mov dword [rbp - 0x80], 5
jmp 0x14000849d
mov dword [rbp - 0x80], 1
mov rcx, rbx
call fcn.14005da54
mov eax, dword [rbp - 0x7c]
cmp eax, 0x1b59
jne 0x14000856c
lea rcx, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x78]
cmp r11, 8
cmovae rcx, r10
mov r8, qword [rsp + 0x70]
mov r9, r8
cmp r8, 0x1a
mov eax, 0x1a
cmova r9, rax
lea rdx, str.Microsoft_Windows_Winlogon
test r9, r9
je 0x14000850a
nop dword [rax + rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14000877a
add rcx, 2
add rdx, 2
sub r9, 1
jne 0x1400084f0
cmp r8, 0x1a
jne 0x14000877a
mov r12b, 1
lea rdx, [rsp + 0x60]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp + 0x90]
call fcn.140001a40
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0xb0], eax
mov eax, dword [rbp - 0x7c]
mov dword [rbp + 0xb4], eax
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0xb8], eax
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp + 0xc0]
call fcn.140001a40
mov eax, dword [rbp - 0x7c]
mov ebx, 0x20
cmp eax, 1
jne 0x14000861c
lea rcx, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x78]
cmp r11, 8
cmovae rcx, r10
mov r8, qword [rsp + 0x70]
mov r9, r8
cmp r8, rbx
cmova r9, rbx
lea rdx, str.Microsoft_Windows_Kernel_General
test r9, r9
je 0x1400085ca
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14000877a
add rcx, 2
add rdx, 2
sub r9, 1
jne 0x1400085b0
cmp r8, rbx
jne 0x14000877a
mov r13b, 1
lea rdx, [rsp + 0x60]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp + 0x40]
call fcn.140001a40
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp - 0x7c]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0x68], eax
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp + 0x70]
call fcn.140001a40
mov eax, dword [rbp - 0x7c]
cmp eax, 0x6b
jne 0x1400086dc
lea rcx, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x78]
cmp r11, 8
cmovae rcx, r10
mov r8, qword [rsp + 0x70]
mov r9, r8
cmp r8, 0x1e
mov eax, 0x1e
cmova r9, rax
lea rdx, str.Microsoft_Windows_Kernel_Power
test r9, r9
je 0x14000867a
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14000877a
add rcx, 2
add rdx, 2
sub r9, 1
jne 0x140008660
cmp r8, 0x1e
jne 0x14000877a
mov r15b, 1
lea rdx, [rsp + 0x60]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp + 0xe0]
call fcn.140001a40
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x100], eax
mov eax, dword [rbp - 0x7c]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0x108], eax
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp + 0x110]
call fcn.140001a40
mov eax, dword [rbp - 0x7c]
cmp eax, 0xc
jne 0x14000877a
lea rcx, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x78]
cmp r11, 8
cmovae rcx, r10
mov r8, qword [rsp + 0x70]
mov r9, r8
cmp r8, 0x20
cmova r9, rbx
lea rdx, str.Microsoft_Windows_Kernel_General
test r9, r9
je 0x14000872e
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14000877a
add rcx, 2
add rdx, 2
sub r9, 1
jne 0x140008718
cmp r8, 0x20
jne 0x14000877a
mov r14b, 1
lea rdx, [rsp + 0x60]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp - 0x10]
call fcn.140001a40
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp - 0x7c]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0x18], eax
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp + 0x20]
call fcn.140001a40
test r12b, r12b
je 0x1400082c2
test r13b, r13b
je 0x14000878d
test r15b, r15b
jne 0x14000879f
test r14b, r14b
jne 0x14000879f
jmp 0x1400082c2
mov rcx, rbx
call fcn.14005da54
test r12b, r12b
je 0x1400087c3
mov ecx, dword [rbp + 0xb8]
test r13b, r13b
je 0x1400087b9
test r15b, r15b
je 0x1400087b9
mov edi, ecx
sub edi, dword [rbp + 0x68]
test r14b, r14b
je 0x1400087c3
sub ecx, dword [rbp + 0x18]
mov edi, ecx
lea rcx, [rsp + 0x60]
call fcn.140008850
nop
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov edx, 8
mov rcx, rsi
call fcn.14005da54
nop
lea rcx, [rbp - 0x10]
call fcn.140008850
nop
lea rcx, [rbp + 0x40]
call fcn.140008850
nop
lea rcx, [rbp + 0xe0]
call fcn.140008850
nop
lea rcx, [rbp + 0x90]
call fcn.140008850
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14005da30
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140064eec
nop
int3