Function at 0x140006e80
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400a2238]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, r8
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
lea r14d, [r9 + 1]
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapSetInformation]
nop dword [rax + rax]
test eax, eax
jne 0x140006f14
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
lea r8, str._tMain__1__error_ld
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14000707f
call fcn.140006dd0
mov r8, rbx
lea rsi, [0x1400a2f10]
mov rcx, rsi
call fcn.1400056d4
mov eax, dword [0x14005c3c0]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14005c3c4]
mov word [rsp + 0x6c], ax
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400050e0
mov rbx, rax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
test rbx, rbx
je 0x140006fe1
lea rdx, str.UnregServer
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400070c3
lea rdx, str.Service
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400070a7
mov r8d, 2
lea rdx, [0x14005c3f0]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
mov ecx, dword [0x1400a2f7c]
test eax, eax
cmove ecx, r14d
mov dword [0x1400a2f7c], ecx
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400050e0
mov rbx, rax
test rax, rax
jne 0x140006f62
lea r8, str.CVdsServiceModule::Start__
mov edx, 0x5e
lea rcx, [rsp + 0x30]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
mov qword [rsp + 0x40], rsi
lea rax, [0x140006810]
mov qword [rsp + 0x48], rax
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
nop dword [rax + rax]
test eax, eax
jne 0x140007068
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
lea r8, str.Error_code_for_StartServiceCtrlDispatcher:__u._n
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x70]
call fcn.14000af08
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov eax, dword [0x1400a2f5c]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140053f70
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rcx, rsi
call fcn.140005304
mov ebx, eax
test eax, eax
js 0x140007188
mov edx, 0x66
jmp 0x14000717d
lea r8, str.CVdsServiceModule::UnregisterServer__
mov edx, 0x5e
lea rcx, [rsp + 0x30]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14000710a
lea rcx, [rsp + 0x30]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
jmp 0x140007174
mov rcx, rsi
call fcn.140006350
test eax, eax
jne 0x14000713b
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov ebx, 0x80004005
jmp 0x140007188
xor r8d, r8d
mov edx, r14d
lea rcx, [0x1400a2d70]
call qword [sym.imp.ATL.DLL_AtlModuleUnregisterServerEx]
nop dword [rax + rax]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
xor ebx, ebx
test ebx, ebx
js 0x140007188
mov edx, 0x67
xor r8d, r8d
mov rcx, rsi
call fcn.1400058d4
mov eax, ebx
jmp 0x14000707f