Function at 0x140005ce8
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, 0x1b40
call fcn.14002cfd0
sub rsp, rax
mov qword [rsp + 0x1b0], 0xfffffffffffffffe
mov rax, qword [0x14004a300]
xor rax, rsp
mov qword [rsp + 0x1b30], rax
mov word [rsp + 0x70], r9w
mov r13, r8
mov dword [rsp + 0x90], edx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x88], r8
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov qword [rsp + 0x270], rax
lea rax, str.CVssFunctionTracer::LogError
mov qword [rsp + 0x278], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x288], 0x8c1
mov dword [rsp + 0x28c], 0xb
mov dword [rsp + 0x290], 0xff
xor esi, esi
mov dword [rsp + 0x310], 0x1000000
lea ebx, [rsi + 1]
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x298]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x140]
call fcn.140004408
nop
xor edx, edx
lea r8d, [rbx + 0x7f]
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x1001
lea rcx, [rsp + 0xb20]
call sub.msvcrt.dll_memset
movzx eax, word [r13 + 0xa0]
add eax, ebx
cmp eax, 0xf
jb 0x140005e1b
lea rcx, [rsp + 0x140]
call fcn.140004508
nop
mov rcx, r13
call fcn.14000417c
jmp 0x14000619c
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x320]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x320]
call fcn.140004f94
lea rcx, [rsp + 0x320]
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rcx + rax*2], si
jne 0x140005e4c
add eax, 7
cdq
and edx, 7
add eax, edx
and eax, 0xfffffff8
mov dword [rsp + 0x80], eax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, r12
inc rbx
cmp word [rax + rbx*2], si
jne 0x140005e71
mov r14d, dword [rdi + 0x20]
mov r15, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
lea eax, [rbx + 7]
cdq
and edx, 7
lea edi, [rdx + rax]
and edi, 0xfffffff8
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x320]
mov qword [rsp + 0x60], rcx
mov ecx, dword [rsp + 0x80]
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 eax, dword [r13 + 0x18]
mov dword [rsp + 0x20], eax
mov r9, qword [r13 + 0x10]
lea r8, str.__Code:__8ls_08lu__Call:__8ls_08lu__PID:___08lu__TID:___08lu__CMD:____ls__User:___ls
mov edx, 0x1000
lea rcx, [rsp + 0xb20]
call fcn.1400039b0
lea rax, [rsp + 0xb20]
xor edi, edi
inc r12
cmp byte [rax + r12], dil
jne 0x140005f08
movzx ebx, word [r13 + 0xa0]
mov esi, 1
add esi, ebx
movzx r14d, di
cmp di, bx
jae 0x140005f45
lea rdx, [r13 + 0x28]
mov r8d, ebx
shl r8, 3
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memcpy
movzx r14d, bx
mov qword [rsp + 0x80], rdi
mov r15, qword [rsp + 0x78]
mov rcx, r15
call fcn.140004cd8
mov rbx, rax
mov qword [rsp + 0x80], rax
lea rdi, [0x14003f0d4]
test rax, rax
cmovne rdi, rax
movzx eax, r14w
mov qword [rsp + rax*8 + 0x270], rdi
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 + 0xb4], 0xb
xor r14d, r14d
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
lea r10d, [r14 + 0x64]
mov dword [rsp + 0xb8], r10d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x1c8]
call fcn.1400040fc
mov r9d, r10d
cmp dword [r13 + 0x20], 0xff
cmovne r9d, dword [r13 + 0x20]
mov qword [rsp + 0x28], rdi
lea rax, str.Current_context:__s
mov qword [rsp + 0x20], rax
lea r8, str.CONTEXT
lea rdx, [rsp + 0x1c8]
mov rcx, r15
call fcn.140004bb4
lea rcx, [rsp + 0x98]
call fcn.14000417c
lea rdx, [0x1400409f8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x1400061c3
xor r8d, r8d
lea rax, [rsp + 0xb20]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x270]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], si
mov qword [rsp + 0x20], r14
mov r9d, dword [rsp + 0x90]
movzx edx, word [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
lea rsi, str.base_stor_vssmodules_trace_fntracer.cpp
lea r15, str.CVssFunctionTracer::LogError
lea r12, str.TRCTRCC
test eax, eax
jne 0x140006161
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], r12
mov dword [rsp + 0xb0], 0x923
mov dword [rsp + 0xb4], 0xb
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xb8], 0x64
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x1c8]
call fcn.1400040fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Error_on_ReportEventW_0x_08lx
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x140]
call fcn.140005150
lea rcx, [rsp + 0x98]
call fcn.14000417c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
test eax, eax
je 0x140006242
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
jmp 0x140006186
lea rcx, [rsp + 0x140]
call fcn.140004508
nop
mov rcx, r13
call fcn.14000417c
mov rcx, qword [rsp + 0x1b30]
xor rcx, rsp
call fcn.14002c700
add rsp, 0x1b40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], 0xb
mov dword [rsp + 0x20], 0x912
lea r9, str.CVssFunctionTracer::LogError
lea r8, str.TRCTRCC
lea rdx, str.base_stor_vssmodules_trace_fntracer.cpp
lea rcx, [rsp + 0x98]
call fcn.1400040a8
lea rdx, [rsp + 0x1c8]
mov rcx, rax
call fcn.1400043cc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Error_on_RegisterEventSourceW_0x_08lx
mov rdx, rbx
lea rcx, [rsp + 0x140]
call fcn.140005150
lea rcx, [rsp + 0x98]
call fcn.14000417c
call fcn.140003e98
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], 0xb
mov dword [rsp + 0x20], 0x92a
mov r9, r15
mov r8, r12
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.1400040a8
lea rdx, [rsp + 0x1c8]
mov rcx, rax
call fcn.1400043cc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Error_on_DeregisterEventSource_0x_08lx
mov rdx, rbx
lea rcx, [rsp + 0x140]
call fcn.140005150
lea rcx, [rsp + 0x98]
call fcn.14000417c
call fcn.140003e98
int3