Function at 0x140071360
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 - 0x90]
sub rsp, 0x190
mov rax, qword [0x140151740]
xor rax, rsp
mov qword [rbp + 0x80], 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 [0x1401541e8], eax
jle 0x1400715e3
lea rcx, [0x1401541e8]
call fcn.140082380
cmp dword [0x1401541e8], 0xffffffff
jne 0x1400715e3
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 0x140071457
nop word [rax + rax]
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 0x140071410
test eax, eax
jns 0x140071471
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1400715cd
mov r14d, r12d
cmp dword [rbx], r12d
jbe 0x1400715b6
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 0x1400714c6
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 0x140071918
lea rcx, [rbp + 0x10]
call fcn.140015fd0
mov rax, qword [rbp + 0x30]
cmp rax, 0xf
jbe 0x140071581
mov rsi, qword [rbp + 0x18]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x140071576
test rdi, rdi
je 0x140071576
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 0x140071551
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 0x140071490
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 [0x1401541e0], rdi
lea rcx, [0x1401541e8]
call fcn.140082320
movups xmm0, xmmword [0x140112168]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x140112178]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [str.xxxxxx________xxxxx________xxxx]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x140112198]
movups xmmword [rbp - 0x50], xmm1
mov edx, dword [0x140154d20]
mov rax, qword gs:[0x58]
mov rbx, qword [rax + rdx*8]
mov eax, dword [rbx + r14]
cmp dword [0x140154268], eax
jle 0x14007166b
lea rcx, [0x140154268]
call fcn.140082380
cmp dword [0x140154268], 0xffffffff
jne 0x14007166b
xor edx, edx
mov r8d, 1
lea rcx, [0x140112158]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140154260], rax
lea rcx, [0x140154268]
call fcn.140082320
mov eax, dword [rbx + r14]
cmp dword [0x140154278], eax
jle 0x1400716a6
lea rcx, [0x140154278]
call fcn.140082380
cmp dword [0x140154278], 0xffffffff
jne 0x1400716a6
mov rax, qword [0x140154260]
mov qword [0x140154270], rax
lea rcx, [0x140154278]
call fcn.140082320
mov ecx, 0x5a4d
mov rax, qword [0x140154270]
cmp word [rax], cx
jne 0x1400719e6
mov eax, dword [rbx + r14]
cmp dword [0x140154288], eax
jle 0x140071701
lea rcx, [0x140154288]
call fcn.140082380
cmp dword [0x140154288], 0xffffffff
jne 0x140071701
mov rax, qword [0x140154270]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140154260]
mov qword [0x140154280], rdx
lea rcx, [0x140154288]
call fcn.140082320
mov rax, qword [0x140154280]
cmp dword [rax], 0x4550
jne 0x1400719e6
mov ebx, dword [rax + 0x50]
mov rdi, qword [0x140154260]
test rbx, rbx
je 0x14007177e
test rdi, rdi
jne 0x14007177e
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 0x140071759
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 qword [rbp + 0x70], 0
mov dword [rbp + 0x78], 0
mov word [rbp + 0x7c], 0
mov rdx, r12
nop dword [rax + rax]
movzx eax, byte [rbp + rdx - 0x80]
movzx ecx, byte [rbp + rdx - 0x60]
mov byte [rbp + rdx*2 + 0x40], al
mov byte [rbp + rdx*2 + 0x41], cl
inc rdx
cmp rdx, 0x1f
jb 0x1400717b0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
xorps xmm2, xmm2
lea rax, [rbp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x1f
xorps xmm1, xmm1
lea rax, [rbp + 0x40]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 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 - 0x30]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rbp - 0x50]
movsd qword [rsp + 0x50], 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 + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14005c220
cmp qword [rsp + 0x60], rdi
jne 0x14007188e
cmp qword [rsp + 0x68], rbx
je 0x1400718e4
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 0x1400718bf
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 [rsp + 0x70], rbx
je 0x1400719e6
lea rcx, [rsp + 0x60]
call fcn.14005f460
mov ecx, eax
sub ecx, dword [0x140154260]
test rax, rax
je 0x1400719e6
mov eax, ecx
add rax, qword [0x1401541e0]
jmp 0x1400719e8
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 0x1400719b2
mov rsi, qword [rbp + 0x18]
inc rbx
test rsi, rsi
jne 0x1400719a7
test rbx, rbx
je 0x1400719a7
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 0x140071982
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 0x1400715d0
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140081ae0
lea r11, [rsp + 0x190]
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