Function at 0x14001f780
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, 0xa0
mov rax, qword [0x1400c5080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r15d, 4
mov rax, qword gs:[0x58]
add r15, qword [rax]
xor esi, esi
mov eax, dword [r15]
cmp dword [0x1400c6918], eax
jle 0x14001f942
lea rcx, [0x1400c6918]
call fcn.1400978e0
cmp dword [0x1400c6918], 0xffffffff
jne 0x14001f942
mov ebx, esi
mov dword [rbp - 0x39], esi
lea r9, [rbp - 0x39]
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14001f856
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x39]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x39]
mov r8d, dword [rbp - 0x39]
mov rdx, rax
mov ecx, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14001f810
test eax, eax
js 0x14001f91b
mov edi, esi
cmp dword [rbx], esi
jbe 0x14001f91b
nop dword [rax + rax]
mov r14d, edi
imul rax, r14, 0x128
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
lea rdx, [rbx + 0x30]
add rdx, rcx
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14001f8a0
lea rcx, [rbp - 0x31]
call fcn.140020980
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rcx, qword [rbp - 0x31]
lea rdx, [0x1400aa820]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14001fc26
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14001f911
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f90c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fc79
call fcn.140097750
inc edi
cmp edi, dword [rbx]
jb 0x14001f870
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, rsi
mov qword [0x1400c61a8], rdi
lea rcx, [0x1400c6918]
call fcn.140097880
movups xmm0, xmmword [0x1400aa870]
movups xmmword [rbp + 0x1f], xmm0
movsd xmm1, qword [0x1400aa880]
movsd qword [rbp + 0x2f], xmm1
movups xmm0, xmmword [str.xxxxxx____xx________xxxx]
movups xmmword [rbp - 0x31], xmm0
movsd xmm1, qword [0x1400aa8a0]
movsd qword [rbp - 0x21], xmm1
mov eax, dword [r15]
cmp dword [0x1400c6278], eax
jle 0x14001f9b8
lea rcx, [0x1400c6278]
call fcn.1400978e0
cmp dword [0x1400c6278], 0xffffffff
jne 0x14001f9b8
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400aa820]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400c61c0], rax
lea rcx, [0x1400c6278]
call fcn.140097880
mov eax, dword [r15]
cmp dword [0x1400c65b0], eax
jle 0x14001f9f2
lea rcx, [0x1400c65b0]
call fcn.1400978e0
cmp dword [0x1400c65b0], 0xffffffff
jne 0x14001f9f2
mov rax, qword [0x1400c61c0]
mov qword [0x1400c65c8], rax
lea rcx, [0x1400c65b0]
call fcn.140097880
mov ecx, 0x5a4d
mov rax, qword [0x1400c65c8]
cmp word [rax], cx
jne 0x14001fc9b
mov eax, dword [r15]
cmp dword [0x1400c6900], eax
jle 0x14001fa4c
lea rcx, [0x1400c6900]
call fcn.1400978e0
cmp dword [0x1400c6900], 0xffffffff
jne 0x14001fa4c
mov rax, qword [0x1400c65c8]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400c61c0]
mov qword [0x1400c61d0], rdx
lea rcx, [0x1400c6900]
call fcn.140097880
mov rax, qword [0x1400c61d0]
cmp dword [rax], 0x4550
jne 0x14001fc9b
mov rdi, qword [0x1400c61c0]
mov ecx, dword [rax + 0x50]
movzx eax, byte [rbp + 0x1f]
mov byte [rbp - 0x11], al
movzx eax, byte [rbp - 0x31]
mov byte [rbp - 0x10], al
movzx eax, byte [rbp + 0x20]
mov byte [rbp - 0xf], al
movzx eax, byte [rbp - 0x30]
mov byte [rbp - 0xe], al
movzx eax, byte [rbp + 0x21]
mov byte [rbp - 0xd], al
movzx eax, byte [rbp - 0x2f]
mov byte [rbp - 0xc], al
movzx eax, byte [rbp + 0x22]
mov byte [rbp - 0xb], al
movzx eax, byte [rbp - 0x2e]
mov byte [rbp - 0xa], al
movzx eax, byte [rbp + 0x23]
mov byte [rbp - 9], al
movzx eax, byte [rbp - 0x2d]
mov byte [rbp - 8], al
movzx eax, byte [rbp + 0x24]
mov byte [rbp - 7], al
movzx eax, byte [rbp - 0x2c]
mov byte [rbp - 6], al
movzx eax, byte [rbp + 0x25]
mov byte [rbp - 5], al
movzx eax, byte [rbp - 0x2b]
mov byte [rbp - 4], al
movzx eax, byte [rbp + 0x26]
mov byte [rbp - 3], al
movzx eax, byte [rbp - 0x2a]
mov byte [rbp - 2], al
movzx eax, byte [rbp + 0x27]
mov byte [rbp - 1], al
movzx eax, byte [rbp - 0x29]
mov byte [rbp], al
movzx eax, byte [rbp + 0x28]
mov byte [rbp + 1], al
movzx eax, byte [rbp - 0x28]
mov byte [rbp + 2], al
movzx eax, byte [rbp + 0x29]
mov byte [rbp + 3], al
movzx eax, byte [rbp - 0x27]
mov byte [rbp + 4], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 5], al
movzx eax, byte [rbp - 0x26]
mov byte [rbp + 6], al
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 7], al
movzx eax, byte [rbp - 0x25]
mov byte [rbp + 8], al
movzx eax, byte [rbp + 0x2c]
mov byte [rbp + 9], al
movzx eax, byte [rbp - 0x24]
mov byte [rbp + 0xa], al
movzx eax, byte [rbp + 0x2d]
mov byte [rbp + 0xb], al
movzx eax, byte [rbp - 0x23]
mov byte [rbp + 0xc], al
movzx eax, byte [rbp + 0x2e]
mov byte [rbp + 0xd], al
movzx eax, byte [rbp - 0x22]
mov byte [rbp + 0xe], al
movzx eax, byte [rbp + 0x2f]
mov byte [rbp + 0xf], al
movzx eax, byte [rbp - 0x21]
mov byte [rbp + 0x10], al
movzx eax, byte [rbp + 0x30]
mov byte [rbp + 0x11], al
movzx eax, byte [rbp - 0x20]
mov byte [rbp + 0x12], al
movzx eax, byte [rbp + 0x31]
mov byte [rbp + 0x13], al
movzx eax, byte [rbp - 0x1f]
mov byte [rbp + 0x14], al
movzx eax, byte [rbp + 0x32]
mov byte [rbp + 0x15], al
movzx eax, byte [rbp - 0x1e]
mov byte [rbp + 0x16], al
movzx eax, byte [rbp + 0x33]
mov byte [rbp + 0x17], al
movzx eax, byte [rbp - 0x1d]
mov byte [rbp + 0x18], al
movzx eax, byte [rbp + 0x34]
mov byte [rbp + 0x19], al
movzx eax, byte [rbp - 0x1c]
mov byte [rbp + 0x1a], al
movzx eax, byte [rbp + 0x35]
mov byte [rbp + 0x1b], al
movzx eax, byte [rbp - 0x1b]
mov byte [rbp + 0x1c], al
movzx eax, byte [rbp + 0x36]
mov byte [rbp + 0x1d], al
movzx eax, byte [rbp - 0x1a]
mov byte [rbp + 0x1e], al
lea rbx, [rcx + rdi]
mov rax, rbx
cmp rcx, 0x18
jb 0x14001fc0d
lea r11, [rbx - 0x18]
mov r10, rdi
nop dword [rax]
mov r8, r10
lea rcx, [rbp - 0x11]
nop word [rax + rax]
movzx r9d, word [rcx]
movzx edx, r9w
shr dx, 8
cmp dl, 0x3f
je 0x14001fbfa
cmp byte [r8], r9b
jne 0x14001fc8a
inc r8
add rcx, 2
lea rdx, [rbp + 0x1f]
cmp rcx, rdx
jne 0x14001fbe0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov eax, esi
sub eax, edi
test rsi, rsi
je 0x14001fc9b
add rax, qword [0x1400c61a8]
jmp 0x14001fc9d
imul rax, r14, 0x128
mov rdi, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14001f92f
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001fc80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001fc80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097750
jmp 0x14001f92f
cmp r10, r11
je 0x14001fc0d
inc r10
jmp 0x14001fbd0
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140097730
lea r11, [rsp + 0xa0]
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