Function at 0x14001c80c
Capabilities:
Access the windows event log

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1b90
call fcn.1400445d0
sub rsp, rax
mov qword [rsp + 0x250], 0xfffffffffffffffe
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0x1b88], rax
mov rbx, r8
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x178], rdx
mov r12, rcx
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x170], rdx
lea rdi, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0x80], rdi
lea r14, str.CVssXmlDiagDocument::GetEventLogData
mov qword [rsp + 0x88], r14
lea r15, str.TST__
mov qword [rsp + 0x90], r15
mov dword [rsp + 0x98], 0xbbe
mov dword [rsp + 0x9c], 9
mov r13d, 0xdc
mov dword [rsp + 0xa0], r13d
xor esi, esi
mov dword [rsp + 0x120], 0x1000000
xor edx, edx
lea r8d, [r13 - 0x64]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1e0]
call fcn.14004058c
nop
mov qword [rsp + 0x28], rbx
lea rax, [0x140055b68]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 6]
lea r8, str.EventLog
lea rdx, [rsp + 0x128]
mov rcx, r12
call fcn.14001f25c
nop
mov r8, rbx
lea rdx, str.__Getting_the_VSS_event_log_data___s_...
lea rcx, [rsp + 0x1e0]
call fcn.140041860
nop
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r15
mov dword [rsp + 0x98], 0xbcb
mov dword [rsp + 0x9c], 9
mov dword [rsp + 0xa0], r13d
mov dword [rsp + 0x120], 0x1000000
xor edx, edx
lea r8d, [r13 - 0x64]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9, rbx
lea r8, str.Reading_event_log__s
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1e0]
call fcn.140041324
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
nop dword [rax + rax]
mov r13, rax
mov qword [rsp + 0x150], rax
test rax, rax
je 0x14001d241
mov r15d, dword [r12]
mov dword [rsp + 0x44], r15d
lea rdi, [rsp + 0x370]
test r15d, r15d
jle 0x14001d0ac
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
mov r9, rdi
xor r8d, r8d
lea edx, [r8 + 9]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_ReadEventLogW]
nop dword [rax + rax]
test eax, eax
je 0x14001d0ac
mov r14, rdi
cmp dword [rsp + 0x40], esi
lea rdi, [rsp + 0x370]
jbe 0x14001c9de
cmp word [r14 + 0x18], 2
je 0x14001ca59
mov edi, 3
lea eax, [rdi + 2]
lea ecx, [rdi + 1]
cmp word [r14 + 0x18], cx
cmovne edi, eax
mov dword [rsp + 0x60], edi
jmp 0x14001ca61
mov dword [rsp + 0x60], 4
lea r15, [r14 + 0x38]
lea rdx, str.Application
mov rcx, rbx
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14001cad3
lea rdx, [0x14005d520]
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001ca99
mov al, 1
jmp 0x14001cba5
lea rdx, str.VSS_PRIVATES
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001ca92
lea rdx, str.ntbackup
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001cba2
jmp 0x14001ca92
lea rdx, str.System
mov rcx, rbx
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14001cba2
lea rdx, str.VOLSNAP
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001ca92
lea rdx, str.Application_Popup
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001ca92
lea rdx, str.Service_Control_Manager
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001cba2
cmp word [r14 + 0x1a], si
je 0x14001cba2
mov edi, dword [r14 + 0x24]
add rdi, r14
lea rdx, str.Volume_Shadow_Copy
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001ca92
lea rdx, str.Microsoft_Software_Shadow_Copy_Provider
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001ca92
lea rdx, str.COM_Event_System
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
mov al, 1
je 0x14001cba5
mov al, sil
test al, al
je 0x14001d08b
lea rbx, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0x80], rbx
lea rax, str.CVssXmlDiagDocument::GetEventLogData
mov qword [rsp + 0x88], rax
lea rax, str.TST__
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0xbfe
mov edi, 9
mov dword [rsp + 0x9c], edi
mov dword [rsp + 0xa0], 0xdc
mov dword [rsp + 0x120], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x6f]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9, r15
lea r8, str.Event_Source:__s
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1e0]
call fcn.140041324
mov qword [rsp + 0x80], rbx
lea rax, str.CVssXmlDiagDocument::GetEventLogData
mov qword [rsp + 0x88], rax
lea rax, str.TST__
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0xbff
mov dword [rsp + 0x9c], edi
mov dword [rsp + 0xa0], 0xdc
mov dword [rsp + 0x120], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x6f]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
movzx r9d, word [r14 + 0x14]
lea r8, str.Event_ID:__u_n
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1e0]
call fcn.140041324
movsxd rax, dword [r14 + 0xc]
movabs rcx, 0x2b6109100
add rax, rcx
imul rcx, rax, 0x989680
mov dword [rsp + 0x138], ecx
mov rax, rcx
sar rax, 0x20
mov dword [rsp + 0x13c], eax
mov qword [rsp + 0x198], rsi
lea rax, vtable.CVssAutoString_class_CVssAutoLocalPtr_unsigned_short_int____ptr64__.0
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x140], ecx
mov rbx, qword [rsp + 0x138]
mov rax, rbx
shr rax, 0x20
mov dword [rsp + 0x144], eax
mov rcx, qword [rsp + 0x140]
call fcn.140004098
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x198], rax
mov eax, dword [r14 + 0x24]
add rax, r14
mov edx, esi
movzx r8d, word [r14 + 0x1a]
test r8d, r8d
je 0x14001cd7e
lea rdi, [rsp + 0x270]
cmp edx, 0x20
jae 0x14001cd9d
mov qword [rdi], rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x14001cd5d
lea rax, [rax + rcx*2]
add rax, 2
inc edx
add rdi, 8
cmp edx, r8d
jb 0x14001cd51
cmp edx, 0x20
jae 0x14001cd9d
mov ecx, 0x20
sub ecx, edx
mov eax, edx
lea rdi, [rsp + 0x270]
lea rdi, [rdi + rax*8]
lea rax, str._undefined_parameter_
rep stosq qword [rdi], rax
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], rsi
mov word [rsp + 0x1c0], si
or r8, 0xffffffffffffffff
inc r8
cmp word [r15 + r8*2], si
jne 0x14001cdbd
mov rdx, r15
lea rcx, [rsp + 0x1b8]
call fcn.140021944
lea rdx, [rsp + 0x1b8]
mov rcx, r12
call fcn.14001fa98
mov rdi, rax
mov dword [rsp + 0xb70], 0xa
xor edx, edx
mov r8d, 0xffc
lea rcx, [rsp + 0xb74]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x270]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x7ff
lea rax, [rsp + 0xb72]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, dword [r14 + 0x14]
mov rdx, rdi
mov ecx, 0x2800
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
nop dword [rax + rax]
test eax, eax
je 0x14001d28a
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r15
lea rax, str._s___s_
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x60]
lea r8, str.Event
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14001f25c
nop
mov r8, r15
lea rdx, str.Source
lea rcx, [rsp + 0x50]
call fcn.140004f4c
movzx r8d, word [r14 + 0x14]
lea rdx, str.EventID
lea rcx, [rsp + 0x50]
call fcn.140005368
movzx r8d, word [r14 + 0x18]
lea rdx, str.EventType
lea rcx, [rsp + 0x50]
call fcn.140005368
mov r8, rdi
lea rdx, str.DateTime
lea rcx, [rsp + 0x50]
call fcn.140004f4c
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x1a8], rcx
test rcx, rcx
je 0x14001cf08
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x1b0], rcx
test rcx, rcx
je 0x14001cf28
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rbx
lea r9, str.0x_016I64x
lea r8, str.Timestamp
lea rdx, [rsp + 0x1a8]
mov rcx, r12
call fcn.14001f4fc
lea r8, [rsp + 0xb70]
lea rdx, str.Description
lea rcx, [rsp + 0x50]
call fcn.140004f4c
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x14001cf8b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x14001cfa8
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov r9d, dword [r14 + 0x34]
add r9, r14
mov eax, dword [r14 + 0x30]
mov dword [rsp + 0x20], eax
lea r8, str.EventData
lea rdx, [rsp + 0x70]
call fcn.14001e530
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x128]
call fcn.140005fe8
nop
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x14001cffe
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x180]
test rcx, rcx
je 0x14001d019
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov r15d, dword [rsp + 0x44]
dec r15d
mov dword [rsp + 0x44], r15d
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001d03e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001d056
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
test rdi, rdi
je 0x14001d06a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov qword [rsp + 0x198], rsi
lea rax, [0x140053090]
mov qword [rsp + 0x190], rax
mov rbx, qword [rsp + 0x148]
jmp 0x14001d090
mov r15d, dword [rsp + 0x44]
mov eax, dword [r14]
cmp dword [rsp + 0x40], eax
jb 0x14001c9d6
sub dword [rsp + 0x40], eax
mov eax, dword [r14]
add r14, rax
jmp 0x14001ca2a
mov rdi, qword [rsp + 0x178]
jmp 0x14001d0d0
test r13, r13
je 0x14001d0e4
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
nop dword [rax + rax]
cmp dword [rsp + 0x1e8], esi
jge 0x14001d15d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x14001d117
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x14001d137
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov eax, dword [rsp + 0x1e8]
mov dword [rsp + 0x20], eax
lea r9, str.Error:_0x_08lx
lea r8, str.FAILURE_GetEventLogData
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14001f4fc
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x180]
mov rcx, rdi
call fcn.140005fe8
nop
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x14001d191
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x180]
test rcx, rcx
je 0x14001d1ac
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x14001d1c7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x14001d1e2
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400406a0
nop
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001d207
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001d21d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x1b88]
xor rcx, rsp
call fcn.1400438c0
add rsp, 0x1b90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xbcf
mov r9, r14
mov r8, r15
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.1400400dc
mov r9, rbx
lea r8, str.OpenEventLog__s_
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140041e40
nop
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xc3b
lea r9, str.CVssXmlDiagDocument::GetEventLogData
lea r8, str.TST__
lea rdx, str.base_stor_vss_tools_vssagent_vsdoc.cpp
lea rcx, [rsp + 0x80]
call fcn.1400400dc
mov rcx, qword [rsp + 0x148]
mov qword [rsp + 0x28], rcx
mov ecx, dword [r14 + 0x14]
mov dword [rsp + 0x20], ecx
mov r9, rdi
lea r8, str.FormatMessage__p___x___s_
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140041e40
int3