Function at 0x140065d70
Capabilities:
Check os version

Disassembly:
mov byte [rcx + 0x1b8], 1
jmp method.ServiceClasses::CNTService.virtual_280
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140121ef0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r13, rcx
mov qword [rsp + 0x30], rcx
xor edx, edx
mov r8d, Ordinal_280
lea rcx, [rsp + 0x60]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x60], Ordinal_280
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x64], 5
jne 0x140065de6
cmp dword [rsp + 0x68], 0
mov edi, 0x409
je 0x140065deb
mov edi, 0x7f
xor r15d, r15d
mov r14d, r15d
mov rax, qword [sym.imp.MSVCR110.dll___argc]
movsxd rcx, dword [rax]
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.mfc110u.dll_Ordinal_265
mov r12, rax
mov qword [rsp + 0x40], rax
mov esi, r15d
mov rcx, qword [sym.imp.MSVCR110.dll___argc]
cmp dword [rcx], r15d
jle 0x140066026
mov ebx, r15d
lea r15, [0x1400e8a40]
or r13, 0xffffffffffffffff
nop
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r15
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
lea rax, str._debug
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
lea rax, [0x1400e8a60]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
lea rax, str._app
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
lea rax, [0x1400e8a80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
lea rax, str._application
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
lea rax, [0x1400e8ac0]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov r8, qword [rax]
mov dword [rsp + 0x28], r13d
lea rax, str._console
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r8 + rbx]
mov edx, 1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140066009
mov rax, qword [sym.imp.MSVCR110.dll___wargv]
mov rax, qword [rax]
mov ecx, r14d
mov rax, qword [rbx + rax]
mov qword [r12 + rcx*8], rax
inc r14d
inc esi
add rbx, 8
mov rax, qword [sym.imp.MSVCR110.dll___argc]
cmp esi, dword [rax]
jl 0x140065e40
xor r15d, r15d
mov r13, qword [rsp + 0x30]
mov edx, 1
lea rcx, [0x140069400]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov edi, r15d
mov ebx, r15d
mov rax, qword [r13]
mov r8, r12
mov edx, r14d
mov rcx, r13
call qword [rax + 0x78]
nop
jmp 0x140066063
mov rcx, r12
call sub.mfc110u.dll_Ordinal_266
test ebx, ebx
je 0x140066094
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], edi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rdx, [0x14011cdd0]
lea rcx, [rsp + 0x48]
call fcn.1400bb178
int3
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400bb310
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret