Function at 0x140010bcc
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.140031b10
sub rsp, rax
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1b40], 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 + 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], 0x90e
mov dword [rsp + 0x29c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x2a0], 0xff
xor esi, esi
mov dword [rsp + 0x320], 0x1000000
lea ebx, [rsi + 1]
lea r14d, [rsi + 0x78]
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x2a8]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x150]
call fcn.140010990
nop
mov qword [rsp + 0x280], rsi
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x288]
call sub.msvcrt.dll_memset
mov byte [rsp + 0xb30], sil
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0xb31]
call sub.msvcrt.dll_memset
movzx eax, word [r13 + 0xa0]
add eax, ebx
cmp eax, 0xf
jge 0x140050a98
mov word [rsp + 0x330], si
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x332]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x330]
call fcn.14000f618
lea rcx, [rsp + 0x330]
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rcx + rax*2], si
jne 0x140010d33
add eax, 7
cdq
mov ecx, 8
idiv ecx
shl eax, 3
mov dword [rsp + 0x80], eax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_2_0.dll_GetCommandLineW]
mov rbx, r12
inc rbx
cmp word [rax + rbx*2], si
jne 0x140010d5a
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
mov ecx, 8
idiv ecx
mov edi, eax
shl edi, 3
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 + 0x330]
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 + 0xb30]
call fcn.140004374
lea rax, [rsp + 0xb30]
xor ebx, ebx
inc r12
cmp byte [rax + r12], bl
jne 0x140010df4
movzx eax, word [r13 + 0xa0]
mov esi, 1
add esi, eax
movzx r14d, bx
cmp bx, ax
jb 0x140050ab4
mov qword [rsp + 0x80], rbx
mov r15, qword [rsp + 0x78]
mov rcx, r15
call fcn.14000fd94
mov rbx, rax
mov qword [rsp + 0x80], rax
lea rdi, [0x1400f2134]
test rax, rax
cmovne rdi, rax
movzx eax, r14w
mov qword [rsp + rax*8 + 0x280], 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], 0x94f
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov r14d, 0xff
mov dword [rsp + 0xb8], r14d
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov r11d, 0x64
mov r8d, r11d
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x98]
call fcn.140019c80
mov r9d, r11d
cmp dword [r13 + 0x20], r14d
cmovne r9d, dword [r13 + 0x20]
mov qword [rsp + 0x28], rdi
lea rcx, str.Current_context:__s
mov qword [rsp + 0x20], rcx
lea r8, str.CONTEXT
mov rdx, rax
mov rcx, r15
call fcn.1400107c0
lea rcx, [rsp + 0x98]
call fcn.140019ca4
lea rdx, [0x1400f0770]
xor ecx, ecx
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_RegisterEventSourceW]
mov r14, rax
xor r15d, r15d
test rax, rax
je 0x140050ad6
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], r12d
mov word [rsp + 0x28], si
mov qword [rsp + 0x20], r15
mov r9d, dword [rsp + 0x90]
movzx edx, word [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_ReportEventW]
lea r12, str.base_stor_vssmodules_trace_fntracer.cpp
test eax, eax
je 0x140050b92
mov rcx, r14
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_DeregisterEventSource]
test eax, eax
je 0x140050c48
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x150]
call fcn.140010ab0
nop
mov rcx, r13
call fcn.140019ca4
mov rcx, qword [rsp + 0x1b40]
xor rcx, rsp
call fcn.1400305f0
add rsp, 0x1b50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x150]
call fcn.140010ab0
nop
mov rcx, r13
call fcn.140019ca4
nop
jmp 0x140010fbc
lea rdx, [r13 + 0x28]
movzx r14d, ax
mov r8d, r14d
shl r8, 3
lea rcx, [rsp + 0x280]
call sub.msvcrt.dll_memcpy
nop
jmp 0x140010e19
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], 0x95f
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 + 0x1d8]
lea rcx, [rsp + 0x98]
call fcn.140019c80
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 + 0x150]
call fcn.140010920
lea rcx, [rsp + 0x98]
call fcn.140019ca4
call fcn.1400cdf08
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], 0x970
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 + 0x1d8]
lea rcx, [rsp + 0x98]
call fcn.140019c80
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 + 0x150]
call fcn.140010920
lea rcx, [rsp + 0x98]
call fcn.140019ca4
nop
jmp 0x140010f8b
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], 0x977
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 + 0x1d8]
lea rcx, [rsp + 0x98]
call fcn.140019c80
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 + 0x150]
call fcn.140010920
lea rcx, [rsp + 0x98]
call fcn.140019ca4
call fcn.1400cdf08
nop
mov r13, qword [rsp + 0x88]
jmp 0x140010fa6