Function at 0x14005fc00
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
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400ff100]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov ecx, dword [0x1400ffc10]
mov rax, qword gs:[0x58]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
xor esi, esi
mov eax, dword [r15]
cmp dword [0x1400ff950], eax
jg 0x14005fe4e
mov eax, dword [r15]
cmp dword [0x1400ff9b0], eax
jg 0x14005ff27
mov eax, dword [r15]
cmp dword [0x1400ff9c0], eax
jg 0x14005ff6d
mov ecx, 0x5a4d
mov rax, qword [0x1400ff9b8]
cmp word [rax], cx
jne 0x14005fd7b
mov eax, dword [r15]
cmp dword [0x1400ff9d0], eax
jg 0x14005ffa5
mov rax, qword [0x1400ff9c8]
cmp dword [rax], 0x4550
jne 0x14005fd7b
mov rbx, qword [0x1400ff9a8]
mov ecx, dword [rax + 0x50]
movdqa xmm0, xmmword [0x1400b7f10]
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1400b8010]
movdqu xmmword [rbp + 0xf], xmm1
movdqa xmm0, xmmword [0x1400b7ef0]
movdqu xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x2f], 0x3f003f00
mov dword [rbp + 0x33], 0x78483f00
mov dword [rbp + 0x37], 0x78c17803
mov word [rbp + 0x3b], 0x78c3
lea r10, [rbx + rcx]
mov rax, r10
cmp rcx, 0x1f
jb 0x14005fd49
lea r11, [r10 - 0x1f]
mov r9, rbx
nop
mov rdx, r9
lea rax, [rbp - 1]
nop word [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x14005fd36
cmp byte [rdx], r8b
jne 0x14005fd6e
inc rdx
add rax, 2
lea rcx, [rbp + 0x3d]
cmp rax, rcx
jne 0x14005fd20
mov rax, r9
cmp rax, r10
cmovne rsi, rax
mov eax, esi
sub eax, ebx
test rsi, rsi
je 0x14005fd7b
add rax, qword [0x1400ff948]
jmp 0x14005fd7d
inc r8
cmp byte [rdx + r8], 0
je 0x14005fdb1
jmp 0x14005fd62
mov rax, r10
cmp r9, r11
je 0x14005fd49
inc r9
jmp 0x14005fd10
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006c6d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14006c84c
nop
jmp 0x14005fe36
lea rcx, [rbp - 0x21]
call fcn.1400173f0
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rcx, qword [rbp - 0x21]
lea rdx, [0x1400b7780]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14005ffe8
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14005fe18
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fe13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006003b
call fcn.14006c84c
inc ebx
cmp ebx, dword [rdi]
jb 0x14005fef0
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, rsi
mov qword [0x1400ff948], rbx
lea rcx, [0x1400ff950]
call fcn.14006c72c
jmp 0x14005fc5a
lea rcx, [0x1400ff950]
call fcn.14006c798
cmp dword [0x1400ff950], 0xffffffff
jne 0x14005fc5a
mov rdi, rsi
mov dword [rbp - 0x29], esi
lea r9, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14005fed7
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
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 rdi, 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 0x14005fe90
test eax, eax
js 0x14005fe22
mov ebx, esi
cmp dword [rdi], esi
jbe 0x14005fe22
nop dword [rax]
mov eax, ebx
imul rcx, rax, 0x128
lea r14, [rcx + rdi]
movzx edx, word [r14 + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], rsi
mov r8, 0xffffffffffffffff
jmp 0x14005fd62
lea rcx, [0x1400ff9b0]
call fcn.14006c798
cmp dword [0x1400ff9b0], 0xffffffff
jne 0x14005fc69
xor edx, edx
mov r8d, 1
lea rcx, [0x1400b7780]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400ff9a8], rax
lea rcx, [0x1400ff9b0]
call fcn.14006c72c
jmp 0x14005fc69
lea rcx, [0x1400ff9c0]
call fcn.14006c798
cmp dword [0x1400ff9c0], 0xffffffff
jne 0x14005fc78
mov rax, qword [0x1400ff9a8]
mov qword [0x1400ff9b8], rax
lea rcx, [0x1400ff9c0]
call fcn.14006c72c
jmp 0x14005fc78
lea rcx, [0x1400ff9d0]
call fcn.14006c798
cmp dword [0x1400ff9d0], 0xffffffff
jne 0x14005fc9c
mov rax, qword [0x1400ff9b8]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400ff9a8]
mov qword [0x1400ff9c8], rdx
lea rcx, [0x1400ff9d0]
call fcn.14006c72c
jmp 0x14005fc9c
mov rbx, qword [r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14005fe36
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fda6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fda6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3