Function at 0x1400bfae8
Capabilities:
Accept command line arguments
Access the windows event log

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1b50
call fcn.14001b060
sub rsp, rax
mov rax, qword [0x140152408]
xor rax, rsp
mov qword [rsp + 0x1b40], rax
mov word [rsp + 0x70], r9w
mov r14, r8
mov dword [rsp + 0x80], edx
mov r13, rcx
mov qword [rsp + 0x78], r8
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0x280], rax
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0x288], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x298], 0x8c1
mov dword [rsp + 0x29c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x2a0], 0xff
xor ebx, ebx
mov dword [rsp + 0x320], 0x1000000
lea edi, [rbx + 1]
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x2a8]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x150]
call fcn.14001a368
nop
xor edx, edx
lea r8d, [rdi + 0x7f]
lea rcx, [rsp + 0x280]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x1001
lea rcx, [rsp + 0xb30]
call sub.msvcrt.dll_memset
movzx eax, word [r14 + 0xa0]
add eax, edi
cmp eax, 0xf
jb 0x1400bfc07
lea rcx, [rsp + 0x150]
call fcn.1400167f0
nop
mov rcx, r14
call fcn.14001a480
jmp 0x1400c013a
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x330]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x330]
call fcn.1400bf570
lea rcx, [rsp + 0x330]
or r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400bfc38
add eax, 7
cdq
mov edi, 8
idiv edi
mov esi, eax
shl esi, 3
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov r12, rax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1400bfc6f
lea eax, [rcx + 7]
cdq
idiv edi
mov edi, eax
shl edi, 3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ecx, dword [r13 + 0x20]
mov rdx, qword [r13 + 0x18]
mov r8d, dword [r14 + 0x18]
lea r9, [rsp + 0x330]
mov qword [rsp + 0x60], r9
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], r8d
mov r9, qword [r14 + 0x10]
lea r8, str.__Code:__8ls_08lu__Call:__8ls_08lu__PID:___08lu__TID:___08lu__CMD:____ls__User:___ls
mov edx, 0x1000
lea rcx, [rsp + 0xb30]
call fcn.1400c0fa4
lea rax, [rsp + 0xb30]
xor esi, esi
inc r15
cmp byte [rax + r15], sil
jne 0x1400bfd00
movzx ebx, word [r14 + 0xa0]
mov r12d, 1
add r12d, ebx
movzx edi, si
cmp si, bx
jae 0x1400bfd3d
lea rdx, [r14 + 0x28]
mov r8d, ebx
shl r8, 3
lea rcx, [rsp + 0x280]
call sub.msvcrt.dll_memcpy
movzx edi, bx
mov qword [rsp + 0x90], rsi
mov rcx, r13
call fcn.1400bf28c
mov rbx, rax
mov qword [rsp + 0x90], rax
lea rsi, [0x1400f89b8]
test rax, rax
cmovne rsi, rax
movzx eax, di
mov qword [rsp + rax*8 + 0x280], rsi
mov edi, 0x64
cmp dword [r14 + 0x20], 0xff
cmovne edi, dword [r14 + 0x20]
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0x98], rax
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0xa0], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 0x902
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xb8], 0x64
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x1d0]
call fcn.140007eb0
mov qword [rsp + 0x28], rsi
lea rax, str.Current_context:__s
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str.CONTEXT
lea rdx, [rsp + 0x1d0]
mov rcx, r13
call fcn.140007d70
lea rcx, [rsp + 0x98]
call fcn.14001a480
lea rdx, [0x14012ebc0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_RegisterEventSourceW]
nop dword [rax + rax]
mov rsi, rax
xor r13d, r13d
test rax, rax
jne 0x1400bff1f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0x98], rax
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0xa0], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 0x912
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
lea r8d, [rsi + 0x64]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x98]
call fcn.1400be4e4
mov r9d, ebx
lea r8, str.Error_on_RegisterEventSourceW_0x_08lx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14000f8f0
lea rcx, [rsp + 0x98]
call fcn.14001a480
call fcn.1400bfac0
xor r8d, r8d
lea rax, [rsp + 0xb30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x20], r13
mov r9d, dword [rsp + 0x80]
movzx edx, word [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_ReportEventW]
nop dword [rax + rax]
test eax, eax
jne 0x1400c002d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
lea r12, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0x98], r12
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0xa0], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 0x923
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xb8], 0x64
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x1d0]
call fcn.140007eb0
mov r9d, edi
lea r8, str.Error_on_ReportEventW_0x_08lx
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x150]
call fcn.14000f8f0
lea rcx, [rsp + 0x98]
call fcn.14001a480
jmp 0x1400c0034
lea r12, str.base_stor_vssmodules_trace_fntracer.cpp
mov rcx, rsi
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_DeregisterEventSource]
nop dword [rax + rax]
test eax, eax
jne 0x1400c0106
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov qword [rsp + 0x98], r12
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0xa0], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 0x92a
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov r8d, 0x64
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x98]
call fcn.1400be4e4
mov r9d, ebx
lea r8, str.Error_on_DeregisterEventSource_0x_08lx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14000f8f0
lea rcx, [rsp + 0x98]
call fcn.14001a480
call fcn.1400bfac0
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
jmp 0x1400c0123
lea rcx, [rsp + 0x150]
call fcn.1400167f0
nop
mov rcx, r14
call fcn.14001a480
nop
mov rcx, qword [rsp + 0x1b40]
xor rcx, rsp
call fcn.140018410
add rsp, 0x1b50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret