Function at 0x140003a80
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, 0x1f90
call fcn.140021440
sub rsp, rax
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rsp + 0x1f80], rax
mov word [rsp + 0x70], r9w
mov rbx, r8
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0xa8], edx
mov rdi, rcx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rbx
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0xb0], rax
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0xb8], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x90e
mov dword [rsp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xd0], 0xff
xor r13d, r13d
mov dword [rsp + 0x150], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rsp + 0xd8]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x160]
call fcn.140003840
nop
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x1f0]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x1001
lea rcx, [rsp + 0xf70]
call sub.msvcrt.dll_memset
movzx eax, word [rbx + 0xa0]
inc eax
cmp eax, 0xf
jge 0x140038cf2
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x772]
call sub.msvcrt.dll_memset
mov word [rsp + 0x770], r13w
mov qword [rsp + 0x78], r13
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rsp + 0x78]
lea edx, [r13 + 8]
lea r8d, [r13 + 1]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenThreadToken]
test eax, eax
jne 0x140003c09
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x78]
lea edx, [r13 + 8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenProcessToken]
test eax, eax
je 0x140003d56
mov dword [rsp + 0xa0], r13d
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x270]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetTokenInformation]
mov rcx, qword [rsp + 0x78]
test eax, eax
je 0x140038d0e
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
movups xmm0, xmmword [str.Unknown]
movups xmmword [rsp + 0x570], xmm0
xor edx, edx
mov r8d, 0x1f0
lea rcx, [rsp + 0x580]
call sub.msvcrt.dll_memset
movups xmm0, xmmword [str.Unknown]
movups xmmword [rsp + 0x370], xmm0
xor edx, edx
mov r8d, 0x1f0
lea rcx, [rsp + 0x380]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x74], 0x100
mov dword [rsp + 0xa4], 0x100
lea rax, [rsp + 0x158]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x570]
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.api_ms_win_security_lsalookup_l1_1_1.dll_LookupAccountSidLocalW]
test eax, eax
je 0x140003d56
mov qword [rsp + 0x80], r13
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertSidToStringSidW]
test eax, eax
je 0x140003d56
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x570]
lea r8, str.Name:__s_s__SID:_s
mov edx, 0x400
lea rcx, [rsp + 0x770]
call fcn.140006550
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
lea rcx, [rsp + 0x770]
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rcx + rax*2], 0
jne 0x140003d65
add eax, 7
cdq
and edx, 7
add eax, edx
and eax, 0xfffffff8
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_2_0.dll_GetCommandLineW]
mov rbx, r12
nop dword [rax + rax]
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x140003d90
mov r14d, dword [rdi + 0x20]
mov r15, qword [rdi + 0x18]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_2_0.dll_GetCommandLineW]
mov rsi, rax
lea eax, [rbx + 7]
cdq
and edx, 7
lea edi, [rdx + rax]
and edi, 0xfffffff8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x770]
mov qword [rsp + 0x60], rcx
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov rdi, qword [rsp + 0x98]
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x10]
lea r8, str.__Code:__8ls_08lu__Call:__8ls_08lu__PID:___08lu__TID:___08lu__CMD:____ls__User:___ls
mov edx, 0x1000
lea rcx, [rsp + 0xf70]
call fcn.1400065d0
lea rax, [rsp + 0xf70]
nop dword [rax + rax]
inc r12
cmp byte [rax + r12], 0
jne 0x140003e30
movzx eax, word [rdi + 0xa0]
lea r15d, [rax + 1]
movzx r14d, r13w
cmp r13w, ax
jb 0x140038d1a
mov qword [rsp + 0x80], r13
mov rcx, qword [rsp + 0x88]
call fcn.1400035e0
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140038d3c
mov rsi, rax
movzx eax, r14w
mov qword [rsp + rax*8 + 0x1f0], rsi
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0xb0], rax
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0xb8], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x94f
mov dword [rsp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xd0], 0xff
mov dword [rsp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xd8]
call sub.msvcrt.dll_memset
mov r8d, 0x64
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0xb0]
call fcn.1400064c0
mov r9d, dword [rdi + 0x20]
cmp r9d, 0xff
jne 0x140003f25
mov r9d, 0x64
mov qword [rsp + 0x28], rsi
lea rcx, str.Current_context:__s
mov qword [rsp + 0x20], rcx
lea r8, str.CONTEXT
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140003760
mov esi, 0xf
cmp byte [rsp + 0x153], 0
jne 0x140038d48
lea rdx, [0x1400eaf78]
xor ecx, ecx
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_RegisterEventSourceW]
mov r14, rax
test rax, rax
je 0x140038d8b
xor r8d, r8d
lea rax, [rsp + 0xf70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r15w
mov qword [rsp + 0x20], r13
mov r9d, dword [rsp + 0xa8]
movzx edx, word [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_ReportEventW]
lea r15, str.base_stor_vssmodules_trace_fntracer.cpp
lea r12, str.CVssFunctionTracer::LogError
test eax, eax
je 0x140038e47
mov rcx, r14
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_DeregisterEventSource]
test eax, eax
je 0x140038efd
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
nop
mov rbx, r13
mov rcx, qword [rsp + rbx*8 + 0x1a0]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0x1a0], r13
inc rbx
cmp rbx, 4
jl 0x140003ff2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0x194]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov ebx, r9d
sub ebx, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov r11d, edx
shr r11d, 0xe
mov eax, 0x88888889
mul r11d
shr edx, 5
imul ecx, edx, 0x3c
sub r11d, ecx
mov eax, 0x95217cb1
mul r9d
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rsp + 0x198]
cmp r8d, 0xff
jne 0x1400040a1
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rsp + 0x160]
call fcn.1400035a0
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop
cmp byte [rdi + 0xa3], 0
je 0x140004116
lea rbx, [rdi + 0x28]
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140038fc1
add rbx, 8
sub rsi, 1
jne 0x140004100
mov rcx, qword [rsp + 0x1f80]
xor rcx, rsp
call fcn.14001ff30
add rsp, 0x1f90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x160]
call fcn.140003960
nop
mov rcx, rbx
call fcn.14000d0f4
nop
jmp 0x140004116
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
jmp 0x140003d56
lea rdx, [rdi + 0x28]
movzx r14d, ax
mov r8d, r14d
shl r8, 3
lea rcx, [rsp + 0x1f0]
call sub.msvcrt.dll_memcpy
nop
jmp 0x140003e53
lea rsi, [0x1400e9194]
jmp 0x140003e7f
lea r14, [rsp + 0xd8]
mov rax, rsi
mov qword [rsp + 0x88], rax
mov rcx, qword [r14]
test rcx, rcx
je 0x140038d74
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [r14], r13
mov rax, qword [rsp + 0x88]
add r14, 8
sub rax, 1
mov qword [rsp + 0x88], rax
jne 0x140038d5b
jmp 0x140003f60
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0xb0], rax
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0xb8], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x95f
mov dword [rsp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xd0], 0xff
mov dword [rsp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xd8]
call sub.msvcrt.dll_memset
mov r8d, 0x64
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0xb0]
call fcn.1400064c0
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
lea r8, str.Error_on_RegisterEventSourceW_0x_08lx
mov rdx, rbx
lea rcx, [rsp + 0x160]
call fcn.1400037d0
lea rcx, [rsp + 0xb0]
call fcn.14000d0f4
call fcn.1400b7980
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], r12
lea rax, str.TRCTRCC
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x970
mov dword [rsp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xd0], 0xff
mov dword [rsp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xd8]
call sub.msvcrt.dll_memset
mov r8d, 0x64
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0xb0]
call fcn.1400064c0
mov rdi, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
lea r8, str.Error_on_ReportEventW_0x_08lx
mov rdx, rdi
lea rcx, [rsp + 0x160]
call fcn.1400037d0
lea rcx, [rsp + 0xb0]
call fcn.14000d0f4
mov rdi, qword [rsp + 0x98]
jmp 0x140003fd4
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], r12
lea rax, str.TRCTRCC
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x977
mov dword [rsp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xd0], 0xff
mov dword [rsp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xd8]
call sub.msvcrt.dll_memset
mov r8d, 0x64
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0xb0]
call fcn.1400064c0
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
lea r8, str.Error_on_DeregisterEventSource_0x_08lx
mov rdx, rbx
lea rcx, [rsp + 0x160]
call fcn.1400037d0
lea rcx, [rsp + 0xb0]
call fcn.14000d0f4
call fcn.1400b7980
nop
mov rdi, qword [rsp + 0x90]
mov esi, 0xf
xor r13d, r13d
jmp 0x140003fef
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r13
jmp 0x14000410c