Function at 0x140070cb0
Capabilities:
Get system information on windows
Load ntoskrnl
Make suspicious ntquerysysteminformation call
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r13
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140151740]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14d, 4
mov ecx, dword [0x140154d20]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
xor r12d, r12d
lea rsi, [0x14010398c]
mov eax, dword [r14 + rax]
cmp dword [0x1401541f8], eax
jle 0x140070f23
lea rcx, [0x1401541f8]
call fcn.140082380
cmp dword [0x1401541f8], 0xffffffff
jne 0x140070f23
mov ebx, r12d
mov dword [rbp], r12d
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140070d97
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp]
mov r8d, dword [rbp]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140070d50
test eax, eax
jns 0x140070db1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140070f0d
mov r14d, r12d
cmp dword [rbx], r12d
jbe 0x140070ef6
lea r13, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
nop dword [rax]
nop dword [rax + rax]
mov eax, r14d
imul rcx, rax, 0x128
lea rdi, [rcx + rbx]
movzx edx, word [rdi + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
mov qword [rbp + 0x10], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140070e06
lea rcx, [rbp + 0x10]
call fcn.140014d70
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rcx, qword [rbp + 0x18]
lea rdx, [0x140112158]
call fcn.1400b8fa0
test eax, eax
je 0x140071257
lea rcx, [rbp + 0x10]
call fcn.140015fd0
mov rax, qword [rbp + 0x30]
cmp rax, 0xf
jbe 0x140070ec1
mov rsi, qword [rbp + 0x18]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x140070eb6
test rdi, rdi
je 0x140070eb6
mov qword [rsp + 0x28], r13
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 0x140070e91
int3
mov qword [rsp + 0x20], r12
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 + 0x28], r12
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
mov rcx, qword [rbp + 0x10]
mov qword [rbp + 0x10], r12
mov edx, 0x10
call fcn.140014e60
inc r14d
cmp r14d, dword [rbx]
jb 0x140070dd0
lea rsi, [0x14010398c]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14d, 4
mov rdi, r12
mov qword [0x1401541f0], rdi
lea rcx, [0x1401541f8]
call fcn.140082320
movups xmm0, xmmword [0x1401121a8]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x1401121b8]
movsd qword [rbp - 0x70], xmm0
movzx eax, byte [0x1401121c0]
mov byte [rbp - 0x68], al
movups xmm0, xmmword [str.xxxxxx____xx________xxxx]
movups xmmword [rsp + 0x38], xmm0
movsd xmm0, qword [0x1401121d8]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [0x1401121e0]
mov byte [rsp + 0x50], al
mov edx, dword [0x140154d20]
mov rax, qword gs:[0x58]
mov rbx, qword [rax + rdx*8]
mov eax, dword [rbx + r14]
cmp dword [0x140154298], eax
jle 0x140070fc6
lea rcx, [0x140154298]
call fcn.140082380
cmp dword [0x140154298], 0xffffffff
jne 0x140070fc6
xor edx, edx
mov r8d, 1
lea rcx, [0x140112158]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140154290], rax
lea rcx, [0x140154298]
call fcn.140082320
mov eax, dword [rbx + r14]
cmp dword [0x1401542a8], eax
jle 0x140071001
lea rcx, [0x1401542a8]
call fcn.140082380
cmp dword [0x1401542a8], 0xffffffff
jne 0x140071001
mov rax, qword [0x140154290]
mov qword [0x1401542a0], rax
lea rcx, [0x1401542a8]
call fcn.140082320
mov ecx, 0x5a4d
mov rax, qword [0x1401542a0]
cmp word [rax], cx
jne 0x140071325
mov eax, dword [rbx + r14]
cmp dword [0x1401542b8], eax
jle 0x14007105c
lea rcx, [0x1401542b8]
call fcn.140082380
cmp dword [0x1401542b8], 0xffffffff
jne 0x14007105c
mov rax, qword [0x1401542a0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140154290]
mov qword [0x1401542b0], rdx
lea rcx, [0x1401542b8]
call fcn.140082320
mov rax, qword [0x1401542b0]
cmp dword [rax], 0x4550
jne 0x140071325
mov ebx, dword [rax + 0x50]
mov rdi, qword [0x140154290]
test rbx, rbx
je 0x1400710d9
test rdi, rdi
jne 0x1400710d9
lea rax, str.non_zero_size_null_string_view
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x4a4
lea rdx, [0x140111f40]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x1400710b4
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x4a4
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120include__msvc_string_view.hpp
lea rdx, [0x140103ac4]
lea rcx, str._non_zero_size_null_string_view_
call fcn.14008d060
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movdqu xmmword [rbp + 0x60], xmm0
mov rdx, r12
movzx eax, byte [rbp + rdx - 0x80]
movzx ecx, byte [rsp + rdx + 0x38]
mov byte [rbp + rdx*2 + 0x40], al
mov byte [rbp + rdx*2 + 0x41], cl
inc rdx
cmp rdx, 0x18
jb 0x1400710f1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
xorps xmm2, xmm2
lea rax, [rbp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x18
xorps xmm1, xmm1
lea rax, [rbp + 0x40]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r12
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r12
movaps xmmword [rbp - 0x20], xmm2
movups xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x70], xmm0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x28], al
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.14005c220
cmp qword [rbp - 0x60], rdi
jne 0x1400711cf
cmp qword [rbp - 0x58], rbx
je 0x140071225
lea rax, str.cannot_compare_incompatible_string_view_iterators_for_equality
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x415
lea rdx, [0x140111f40]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x140071200
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x415
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120include__msvc_string_view.hpp
lea rdx, [0x140103ac4]
lea rcx, str._cannot_compare_incompatible_string_view_iterators_for_equality_
call fcn.14008d060
cmp qword [rbp - 0x50], rbx
je 0x140071325
lea rcx, [rbp - 0x60]
call fcn.14005f460
mov ecx, eax
sub ecx, dword [0x140154290]
test rax, rax
je 0x140071325
mov eax, ecx
add rax, qword [0x1401541f0]
jmp 0x140071327
mov rdi, qword [rdi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp + 0x10]
call fcn.140015fd0
mov rbx, qword [rbp + 0x30]
cmp rbx, 0xf
jbe 0x1400712f1
mov rsi, qword [rbp + 0x18]
inc rbx
test rsi, rsi
jne 0x1400712e6
test rbx, rbx
je 0x1400712e6
mov qword [rsp + 0x28], r13
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 0x1400712c1
int3
mov qword [rsp + 0x20], r12
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, rbx
mov rcx, rsi
call fcn.140014e60
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
mov rcx, qword [rbp + 0x10]
mov qword [rbp + 0x10], r12
mov edx, 0x10
call fcn.140014e60
lea rsi, [0x14010398c]
mov r14d, 4
jmp 0x140070f10
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140081ae0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret