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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140151740]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov byte [rbp - 0x69], r8b
mov qword [rbp - 0x39], rdx
mov rdi, rcx
mov qword [rbp - 0x31], rcx
xor r14d, r14d
mov r15d, r14d
mov dword [rbp - 0x29], r14d
lea r9, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140079d8c
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x29]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
lea r9, [rbp - 0x29]
mov r8d, dword [rbp - 0x29]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140079d45
test eax, eax
js 0x14007a376
mov r12d, r14d
cmp dword [r15], r14d
jbe 0x14007a376
movzx ebx, byte [rbp - 0x69]
nop dword [rax]
nop dword [rax + rax]
mov eax, r12d
imul rcx, rax, 0x128
lea r13, [rcx + r15]
movzx edx, word [r13 + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, r15
mov qword [rbp + 7], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140079df0
lea rcx, [rbp + 7]
call fcn.140014d70
nop
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rcx, qword [rbp + 0xf]
mov rdx, rdi
call fcn.1400b8fa0
test eax, eax
jne 0x14007a1ae
lea rdx, [r13 + 0x30]
mov qword [rbp - 0x21], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140079e40
lea rcx, [rbp - 0x21]
call fcn.140014d70
nop
lea rcx, [0x140113b60]
call fcn.1400be410
mov qword [rbp - 0x61], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r14
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140079e80
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.140014d70
nop
mov rcx, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x41]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140079ecc
lea rax, [rcx + 1]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x59]
mov word [rax + rcx], 0x5c
lea r14, [rbp - 0x61]
jmp 0x140079ef1
mov qword [rsp + 0x20], 1
lea r9, [0x140113b6c]
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x61]
call fcn.140014f90
mov r14, rax
lea rdi, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdi, qword [rbp - 0x19]
mov rcx, qword [rbp - 9]
cmp rcx, 0xc
jb 0x140079f68
lea rsi, [rcx + rdi]
lea r8, [rsi - 0xb]
sub r8, rdi
mov edx, 0x5c
mov rcx, rdi
call fcn.140100020
test rax, rax
je 0x140079f68
nop word [rax + rax]
movabs rcx, 0x526d65747379535c
cmp qword [rax], rcx
jne 0x140079f4c
cmp dword [rax + 8], 0x5c746f6f
je 0x14007a272
inc rax
lea r8, [rsi - 0xb]
sub r8, rax
mov edx, 0x5c
mov rcx, rax
call fcn.140100020
test rax, rax
jne 0x140079f30
mov rax, 0xffffffffffffffff
mov rcx, qword [r14 + 0x18]
lea r9, [r14 + 8]
cmp qword [r14 + 0x20], 0xf
jbe 0x140079f81
mov r9, qword [r9]
mov qword [rsp + 0x20], rcx
mov r8d, 0xc
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.14007a740
nop
lea rcx, [rbp - 0x61]
call fcn.140015fd0
mov rax, qword [rbp - 0x41]
cmp rax, 0xf
jbe 0x14007a02a
mov rsi, qword [rbp - 0x59]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x14007a01f
test rdi, rdi
je 0x14007a01f
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 0x140079ff6
int3
mov qword [rsp + 0x20], 0
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
xor edi, edi
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], dil
mov rcx, qword [rbp - 0x61]
mov qword [rbp - 0x61], rdi
mov edx, 0x10
call fcn.140014e60
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rcx, qword [rbp - 0x19]
xor edx, edx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r11, rax
mov eax, 0x5a4d
cmp word [r11], ax
jne 0x14007a2a1
movsxd rcx, dword [r11 + 0x3c]
cmp dword [rcx + r11], 0x4550
jne 0x14007a2a1
mov edx, dword [rcx + r11 + 0x88]
test edx, edx
je 0x14007a2a1
mov edi, dword [rdx + r11 + 0x1c]
lea rsi, [r11 + rdi]
mov r9d, dword [rdx + r11 + 0x20]
add r9, r11
mov r14d, dword [rdx + r11 + 0x24]
add r14, r11
xor r10d, r10d
test edi, edi
je 0x14007a0f7
nop
mov r8d, dword [r9]
add r8, r11
mov rax, qword [rbp - 0x39]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14007a0e3
inc rax
test ecx, ecx
jne 0x14007a0d0
test edx, edx
je 0x14007a27a
inc r10d
add r9, 4
cmp r10d, edi
jb 0x14007a0c0
lea rcx, [rbp - 0x21]
call fcn.140015fd0
mov rax, qword [rbp - 1]
cmp rax, 0xf
jbe 0x14007a188
mov rsi, qword [rbp - 0x19]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x14007a17d
test rdi, rdi
je 0x14007a17d
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 0x14007a154
int3
mov qword [rsp + 0x20], 0
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
xor r14d, r14d
mov qword [rbp - 9], r14
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], r14b
mov rcx, qword [rbp - 0x21]
mov qword [rbp - 0x21], r14
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 7]
call fcn.140015fd0
mov rax, qword [rbp + 0x27]
cmp rax, 0xf
jbe 0x14007a23b
mov rsi, qword [rbp + 0xf]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x14007a230
test rdi, rdi
je 0x14007a230
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 0x14007a20b
int3
mov qword [rsp + 0x20], r14
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 + 0x1f], r14
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], 0
mov rcx, qword [rbp + 7]
mov qword [rbp + 7], r14
mov edx, 0x10
call fcn.140014e60
inc r12d
cmp r12d, dword [r15]
jae 0x14007a376
mov rdi, qword [rbp - 0x31]
jmp 0x140079db0
sub rax, rdi
jmp 0x140079f6f
movsxd rax, r10d
movzx ecx, word [r14 + rax*2]
mov ebx, dword [rsi + rcx*4]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
cmp byte [rbp - 0x69], dl
jne 0x14007a299
add rbx, qword [r13 + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14007a2a4
mov rbx, rdi
lea rcx, [rbp - 0x21]
call fcn.140068500
mov rcx, qword [rbp - 0x21]
xor r14d, r14d
mov qword [rbp - 0x21], r14
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 7]
call fcn.140015fd0
mov rdi, qword [rbp + 0x27]
cmp rdi, 0xf
jbe 0x14007a34f
mov rsi, qword [rbp + 0xf]
inc rdi
test rsi, rsi
jne 0x14007a344
test rdi, rdi
je 0x14007a344
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 0x14007a31f
int3
mov qword [rsp + 0x20], r14
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 + 0x1f], r14
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], 0
mov rcx, qword [rbp + 7]
mov qword [rbp + 7], r14
mov edx, 0x10
call fcn.140014e60
mov rax, rbx
jmp 0x14007a389
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140081ae0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret