Function at 0x14007bb30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x140151740]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, r9
mov qword [rsp + 0x38], r9
mov rsi, r8
mov qword [rbp - 0x59], r8
mov rdi, rdx
mov qword [rbp - 0x49], rdx
mov ebx, 4
mov r14d, dword [0x140154d20]
mov rax, qword gs:[0x58]
mov rcx, qword [rax + r14*8]
mov eax, dword [rbx + rcx]
cmp dword [0x140154320], eax
jle 0x14007c0de
lea rcx, [0x140154320]
call fcn.140082380
cmp dword [0x140154320], 0xffffffff
jne 0x14007c0de
xor r15d, r15d
mov r12d, r15d
mov dword [rbp - 0x41], r15d
lea r9, [rbp - 0x41]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14007bc1c
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x41]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
lea r9, [rbp - 0x41]
mov r8d, dword [rbp - 0x41]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14007bbd5
test eax, eax
jns 0x14007bc36
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14007c0be
mov r14d, r15d
mov dword [rsp + 0x34], r15d
cmp dword [r12], r15d
jbe 0x14007c0a6
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
mov eax, r14d
imul rcx, rax, 0x128
lea r13, [rcx + r12]
movzx edx, word [r13 + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, r12
mov qword [rbp - 0x39], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], r15
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14007bc90
lea rcx, [rbp - 0x39]
call fcn.140014d70
nop
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
lea rdx, [0x140112158]
call fcn.1400b8fa0
test eax, eax
jne 0x14007bfe5
lea rdx, [r13 + 0x30]
mov qword [rbp - 0x11], r15
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14007bce4
lea rcx, [rbp - 0x11]
call fcn.140014d70
nop
lea rcx, [0x140113b60]
call fcn.1400be410
mov qword [rsp + 0x48], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14007bd20
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140014d70
nop
mov rcx, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x61]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14007bd6e
lea rax, [rcx + 1]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x79]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x79]
mov word [rax + rcx], 0x5c
lea r14, [rsp + 0x48]
jmp 0x14007bd94
mov qword [rsp + 0x20], 1
lea r9, [0x140113b6c]
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140014f90
mov r14, rax
lea rdi, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdi, qword [rbp - 9]
mov rcx, qword [rbp + 7]
cmp rcx, 0xc
jb 0x14007be08
lea rsi, [rcx + rdi]
lea r8, [rsi - 0xb]
sub r8, rdi
mov edx, 0x5c
mov rcx, rdi
call fcn.140100020
test rax, rax
je 0x14007be08
nop dword [rax]
movabs rcx, 0x526d65747379535c
cmp qword [rax], rcx
jne 0x14007bdec
cmp dword [rax + 8], 0x5c746f6f
je 0x14007bfc3
inc rax
lea r8, [rsi - 0xb]
sub r8, rax
mov edx, 0x5c
mov rcx, rax
call fcn.140100020
test rax, rax
jne 0x14007bdd0
mov rax, 0xffffffffffffffff
mov rcx, qword [r14 + 0x18]
lea r9, [r14 + 8]
cmp qword [r14 + 0x20], 0xf
jbe 0x14007be21
mov r9, qword [r9]
mov qword [rsp + 0x20], rcx
mov r8d, 0xc
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14007a740
nop
lea rcx, [rsp + 0x48]
call fcn.140015fd0
mov rax, qword [rbp - 0x61]
cmp rax, 0xf
jbe 0x14007bec7
mov rsi, qword [rbp - 0x79]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x14007bebc
test rdi, rdi
je 0x14007bebc
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x14007be97
int3
mov qword [rsp + 0x20], r15
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
mov rdx, rdi
mov rcx, rsi
call fcn.140014e60
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], 0xf
mov byte [rbp - 0x79], 0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r15
mov edx, 0x10
call fcn.140014e60
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
xor edx, edx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r10, rax
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x14007bfab
movsxd rcx, dword [r10 + 0x3c]
cmp dword [rcx + r10], 0x4550
jne 0x14007bfab
mov edx, dword [rcx + r10 + 0x88]
test edx, edx
je 0x14007bfab
mov r11d, dword [rdx + r10 + 0x1c]
lea rdi, [r10 + r11]
mov r8d, dword [rdx + r10 + 0x20]
add r8, r10
mov esi, dword [rdx + r10 + 0x24]
add rsi, r10
mov r9d, r15d
test r11d, r11d
je 0x14007bfd7
nop dword [rax]
mov edx, dword [r8]
add rdx, r10
mov rax, r15
nop dword [rax]
lea rcx, str.memcpy
movzx ecx, byte [rcx + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x14007bfcb
cmp rax, 7
jne 0x14007bf70
movsxd rax, r9d
movzx ecx, word [rsi + rax*2]
mov r15d, dword [rdi + rcx*4]
add r15, qword [r13 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [rbp - 0x11]
call fcn.140015a20
nop
lea rcx, [rbp - 0x39]
call fcn.140015a20
jmp 0x14007c0b7
sub rax, rdi
jmp 0x14007be0f
inc r9d
add r8, 4
cmp r9d, r11d
jb 0x14007bf60
lea rcx, [rbp - 0x11]
call fcn.140015a20
mov r14d, dword [rsp + 0x34]
lea rcx, [rbp - 0x39]
call fcn.140015fd0
mov rax, qword [rbp - 0x19]
cmp rax, 0xf
jbe 0x14007c072
mov rsi, qword [rbp - 0x31]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x14007c067
test rdi, rdi
je 0x14007c067
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x14007c042
int3
mov qword [rsp + 0x20], r15
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
mov rdx, rdi
mov rcx, rsi
call fcn.140014e60
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov rcx, qword [rbp - 0x39]
mov qword [rbp - 0x39], r15
mov edx, 0x10
call fcn.140014e60
inc r14d
mov dword [rsp + 0x34], r14d
cmp r14d, dword [r12]
jb 0x14007bc50
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14d, dword [0x140154d20]
mov qword [0x140154318], r15
lea rcx, [0x140154320]
call fcn.140082320
mov rdi, qword [rbp - 0x49]
mov rsi, qword [rbp - 0x59]
mov r15, qword [rsp + 0x38]
mov rbx, qword [0x140154318]
mov ecx, r14d
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rcx*8]
mov eax, 4
mov eax, dword [rax + rcx]
cmp dword [0x140154350], eax
jle 0x14007c14a
lea rcx, [0x140154350]
call fcn.140082380
cmp dword [0x140154350], 0xffffffff
jne 0x14007c14a
lea rcx, [0x14010a270]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140154348], rax
lea rcx, [0x140154350]
call fcn.140082320
lea rcx, [0x140151630]
call fcn.14007ec40
test eax, eax
jne 0x14007c229
cmp dword [0x14015167c], 0x7fffffff
je 0x14007c214
mov dword [rsp + 0x38], 0x25ff
mov word [rsp + 0x3c], ax
mov qword [rsp + 0x3e], rbx
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp - 0x59]
call fcn.140075540
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x38]
call fcn.140077ea0
mov rax, qword [0x140154348]
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call rax
mov rbx, rax
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp - 0x59]
call fcn.140077ea0
lea rcx, [0x140151630]
call fcn.14007ec60
test rbx, rbx
setne al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140081ae0
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [0x14015167c], 0x7ffffffe
mov ecx, 6
call fcn.14007f050
int3
mov ecx, 5
call fcn.14007f050
int3