Function at 0x14005f7c0
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], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400ff100]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ecx, dword [0x1400ffc10]
mov rax, qword gs:[0x58]
mov edx, 4
mov r14, qword [rax + rcx*8]
add r14, rdx
xor esi, esi
mov eax, dword [r14]
cmp dword [0x1400ff960], eax
jg 0x14005fa07
mov eax, dword [r14]
cmp dword [0x1400ff9e0], eax
jg 0x14005fad9
mov eax, dword [r14]
cmp dword [0x1400ff9f0], eax
jg 0x14005fb1f
mov ecx, 0x5a4d
mov rax, qword [0x1400ff9e8]
cmp word [rax], cx
jne 0x14005f92c
mov eax, dword [r14]
cmp dword [0x1400ffa00], eax
jg 0x14005fb57
mov rax, qword [0x1400ff9f8]
cmp dword [rax], 0x4550
jne 0x14005f92c
mov rbx, qword [0x1400ff9d8]
mov ecx, dword [rax + 0x50]
movdqa xmm0, xmmword [0x1400b7f20]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1400b7f00]
movdqu xmmword [rsp + 0x58], xmm1
movdqa xmm0, xmmword [0x1400b8020]
movdqu xmmword [rsp + 0x68], xmm0
lea r10, [rbx + rcx]
mov rax, r10
cmp rcx, 0x18
jb 0x14005f8fa
lea r11, [r10 - 0x18]
mov r9, rbx
nop word [rax + rax]
mov rdx, r9
lea rax, [rsp + 0x48]
nop dword [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x14005f8e6
cmp byte [rdx], r8b
jne 0x14005f91f
inc rdx
add rax, 2
lea rcx, [rsp + 0x78]
cmp rax, rcx
jne 0x14005f8d0
mov rax, r9
cmp rax, r10
cmovne rsi, rax
mov eax, esi
sub eax, ebx
test rsi, rsi
je 0x14005f92c
add rax, qword [0x1400ff958]
jmp 0x14005f92e
inc r8
cmp byte [rdx + r8], 0
je 0x14005f964
jmp 0x14005f913
mov rax, r10
cmp r9, r11
je 0x14005f8fa
inc r9
jmp 0x14005f8c0
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006c6d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14006c84c
nop
jmp 0x14005f9ef
lea rcx, [rsp + 0x28]
call fcn.1400173f0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
lea rdx, [0x1400b7780]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14005fb9a
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14005f9d1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f9cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fbef
call fcn.14006c84c
inc ebx
cmp ebx, dword [rdi]
jb 0x14005faa0
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, rsi
mov qword [0x1400ff958], rbx
lea rcx, [0x1400ff960]
call fcn.14006c72c
jmp 0x14005f818
lea rcx, [0x1400ff960]
call fcn.14006c798
cmp dword [0x1400ff960], 0xffffffff
jne 0x14005f818
mov rdi, rsi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14005fa8c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14005fa42
test eax, eax
js 0x14005f9db
mov ebx, esi
cmp dword [rdi], ebx
jbe 0x14005f9db
nop
mov eax, ebx
imul rcx, rax, 0x128
lea rbp, [rcx + rdi]
movzx edx, word [rbp + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov r8, 0xffffffffffffffff
jmp 0x14005f913
lea rcx, [0x1400ff9e0]
call fcn.14006c798
cmp dword [0x1400ff9e0], 0xffffffff
jne 0x14005f827
xor edx, edx
mov r8d, 1
lea rcx, [0x1400b7780]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400ff9d8], rax
lea rcx, [0x1400ff9e0]
call fcn.14006c72c
jmp 0x14005f827
lea rcx, [0x1400ff9f0]
call fcn.14006c798
cmp dword [0x1400ff9f0], 0xffffffff
jne 0x14005f836
mov rax, qword [0x1400ff9d8]
mov qword [0x1400ff9e8], rax
lea rcx, [0x1400ff9f0]
call fcn.14006c72c
jmp 0x14005f836
lea rcx, [0x1400ffa00]
call fcn.14006c798
cmp dword [0x1400ffa00], 0xffffffff
jne 0x14005f85a
mov rax, qword [0x1400ff9e8]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400ff9d8]
mov qword [0x1400ff9f8], rdx
lea rcx, [0x1400ffa00]
call fcn.14006c72c
jmp 0x14005f85a
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14005f9ef
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f959
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f959
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3