Function at 0x14008fc54
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rax, str.System
mov qword [rsp + 0x98], rax
lea rax, str.EventLog
mov qword [rsp + 0xc8], rax
mov eax, 0x1775
mov word [rsp + 0x6c], ax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14008ff6f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x54], 0x10000
mov eax, dword [rsp + 0x54]
mov ecx, eax
call fcn.14028d628
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14008ff4e
cmp dword [rsp + 0x50], 0
jne 0x14008ff4e
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xa8]
xor r8d, r8d
mov edx, 9
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
jne 0x14008fe2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x7a
jne 0x14008fdf9
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x58]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14008f388
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x14008fdf7
mov byte [rsp + 0x41], 0
cmp qword [rsp + 0x48], 0
je 0x14008fde0
mov rcx, qword [rsp + 0x48]
call fcn.1402996a8
nop
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov al, byte [rsp + 0x41]
jmp 0x14008ff71
jmp 0x14008fe28
mov byte [rsp + 0x42], 0
cmp qword [rsp + 0x48], 0
je 0x14008fe11
mov rcx, qword [rsp + 0x48]
call fcn.1402996a8
nop
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov al, byte [rsp + 0x42]
jmp 0x14008ff71
jmp 0x14008ff49
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x60], rax
jae 0x14008feec
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x60]
add rax, 0x38
mov rdx, rax
mov rcx, qword [rsp + 0xc8]
call fcn.14029a850
test eax, eax
jne 0x14008fecd
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
and eax, 0xffff
cmp eax, 0x1775
jne 0x14008fecd
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x40], 1
jmp 0x14008fefd
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x14008fe66
mov qword [rsp + 0x90], 0
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14008ff49
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0xd8]
mov rcx, qword [rsp + 0x90]
mov r8d, dword [rcx + 0xc]
lea rdx, [0x14036c3cc]
mov rcx, rax
call fcn.140046660
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x100]
call fcn.140010a44
jmp 0x14008ff4e
jmp 0x14008fd28
cmp qword [rsp + 0x48], 0
je 0x14008ff61
mov rcx, qword [rsp + 0x48]
call fcn.1402996a8
nop
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov al, 1
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140286010
add rsp, 0xf8
ret