Function at 0x14000ff00
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Parse pe header
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, r8
mov rsi, rdx
mov qword [rbp - 0x29], rdx
xor edi, edi
mov r15d, edi
mov dword [rbp - 0x21], edi
lea r9, [rbp - 0x21]
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000ca56
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x21]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
lea r9, [rbp - 0x21]
mov r8d, dword [rbp - 0x21]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000ca10
test eax, eax
js 0x14000cd63
mov r12d, edi
cmp dword [r15], edi
jbe 0x14000cd63
mov r14d, 0x5a4d
mov eax, r12d
imul rcx, rax, 0x128
lea rbx, [rcx + r15]
movzx eax, word [rbx + 0x2e]
add rax, rcx
lea rdx, [r15 + 0x30]
add rdx, rax
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14000cab0
lea rcx, [rbp + 7]
call fcn.14000e8b0
nop
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rcx, qword [rbp + 7]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000cd1c
lea rdx, [rbx + 0x30]
mov qword [rbp - 0x19], rdi
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], al
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14000cb01
lea rcx, [rbp - 0x19]
call fcn.14000e8b0
nop
lea rcx, str.SYSTEMROOT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000cb40
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14000e8b0
nop
mov rcx, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14000cb8c
lea rax, [rcx + 1]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x49]
mov word [rax + rcx], 0x5c
lea rbx, [rbp - 0x49]
jmp 0x14000cbad
mov qword [rsp + 0x20], 1
lea r9, [0x14001499c]
mov edx, 1
lea rcx, [rbp - 0x49]
call fcn.14000fb80
mov rbx, rax
lea rcx, [rbp - 0x19]
call fcn.14000de80
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000cbc4
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14000e700
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14000cc14
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cda4
call fcn.14001214c
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rcx, qword [rbp - 0x19]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r11, rax
cmp word [rax], r14w
jne 0x14000cef0
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x14000ce65
mov edx, dword [rcx + rax + 0x88]
test edx, edx
je 0x14000ce65
mov ebx, dword [rdx + rax + 0x1c]
lea rsi, [rax + rbx]
mov r9d, dword [rdx + rax + 0x20]
add r9, rax
mov r14d, dword [rdx + rax + 0x24]
add r14, rax
mov r10d, edi
test ebx, ebx
je 0x14000ccc7
nop word [rax + rax]
mov r8d, dword [r9]
add r8, r11
mov rax, r13
sub r8, r13
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14000ccb3
inc rax
test ecx, ecx
jne 0x14000cca0
test edx, edx
je 0x14000cdab
inc r10d
add r9, 4
cmp r10d, ebx
jb 0x14000cc90
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14000cd02
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ccfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf26
call fcn.14001214c
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rsi, qword [rbp - 0x29]
mov r14d, 0x5a4d
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14000cd57
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf2d
call fcn.14001214c
inc r12d
cmp r12d, dword [r15]
jb 0x14000ca70
mov r8d, 0x8000
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400120f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movsxd rax, r10d
movzx ecx, word [r14 + rax*2]
mov ebx, dword [rsi + rcx*4]
mov eax, r12d
imul rcx, rax, 0x128
add rbx, qword [rcx + r15 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14000ce12
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf26
call fcn.14001214c
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14000ce5d
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf2d
call fcn.14001214c
mov rdi, rbx
jmp 0x14000cd74
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14000cea0
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf26
call fcn.14001214c
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14000cd74
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cee6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf2d
call fcn.14001214c
jmp 0x14000cd74
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14000cea0
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ce9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8, qword [r8]
mov rdx, qword [rdx]
jmp 0x14000c9b0