Function at 0x1400080b0
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 + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov edx, r8d
mov rcx, rdi
call fcn.140008c80
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x28], 0
mov qword [rsi + 0x30], 0
mov qword [rsi + 0x38], 0
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x48], 0
mov dword [rsi + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rdi
call fcn.140008c80
mov rdi, rax
mov qword [rsp + 0x40], rax
mov r15d, 4
mov rcx, qword gs:[0x58]
add r15, qword [rcx]
mov qword [rsp + 0x30], r15
mov r14d, 0x5a4d
mov eax, dword [r15]
cmp dword [0x14002fb50], eax
jle 0x1400083c8
lea rcx, [0x14002fb50]
call fcn.14000dbd0
cmp dword [0x14002fb50], 0xffffffff
jne 0x1400083c8
xor r15d, r15d
mov dword [rsp + 0x70], r15d
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400081fb
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x70]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x70]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400081b2
test eax, eax
js 0x140008398
xor r12d, r12d
cmp dword [r15], r12d
jbe 0x140008398
nop
mov eax, r12d
mov qword [rsp + 0x38], rax
imul rcx, rax, 0x128
lea rbx, [r15 + rcx]
movzx eax, word [rbx + 0x2e]
add rax, r15
lea rdx, [rcx + 0x30]
add rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140006410
nop
lea rcx, [rbp + 0x60]
call fcn.140006cc0
lea rdx, [0x140010ac8]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140008383
lea rdx, [rbx + 0x30]
lea rcx, [rbp + 0x40]
call fcn.140006410
nop
lea rcx, str.SYSTEMROOT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006410
nop
mov r8d, 1
lea rdx, [0x14001093c]
mov rcx, rax
call fcn.140006c40
mov rdi, rax
xor r8d, r8d
lea rdx, str.SystemRoot_
lea rcx, [rbp + 0x40]
call fcn.140006260
mov rsi, rax
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
call fcn.140006cc0
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8d, 0xc
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.140006930
nop
lea rcx, [rsp + 0x50]
call fcn.140002c20
lea rcx, [rbp + 0x40]
call fcn.140006cc0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rsi, rax
cmp word [rax], r14w
jne 0x1400084ce
movsxd rax, dword [rax + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x1400084ce
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x1400084ce
mov r14d, dword [rcx + rsi + 0x1c]
lea r13, [rsi + r14]
mov ebx, dword [rcx + rsi + 0x20]
add rbx, rsi
mov eax, dword [rcx + rsi + 0x24]
add rax, rsi
mov qword [rbp + 0x80], rax
xor edi, edi
test r14d, r14d
je 0x140008374
nop
mov edx, dword [rbx]
add rdx, rsi
lea rcx, str.MmGetVirtualForPhysical
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140008483
inc edi
add rbx, 4
cmp edi, r14d
jb 0x140008350
lea rcx, [rbp + 0x40]
call fcn.140002c20
mov r14d, 0x5a4d
lea rcx, [rbp + 0x60]
call fcn.140002c20
inc r12d
cmp r12d, dword [r15]
jb 0x140008210
mov r8d, 0x8000
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov qword [0x14002fae8], rbx
lea rcx, [0x14002fb50]
call fcn.14000db70
mov rdi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x30]
mov rbx, qword [0x14002fae8]
mov eax, dword [r15]
cmp dword [0x14002faf8], eax
jle 0x14000841f
lea rcx, [0x14002faf8]
call fcn.14000dbd0
cmp dword [0x14002faf8], 0xffffffff
jne 0x14000841f
lea rcx, [0x140010ab8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14002fbb8], rax
lea rcx, [0x14002faf8]
call fcn.14000db70
mov eax, dword [r15]
cmp dword [0x14002fbb0], eax
jle 0x140008469
lea rcx, [0x14002fbb0]
call fcn.14000dbd0
cmp dword [0x14002fbb0], 0xffffffff
jne 0x140008469
mov edx, 2
lea rcx, [0x14002fb00]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14000f480]
call fcn.14000df54
lea rcx, [0x14002fbb0]
call fcn.14000db70
lea rcx, [0x14002fb00]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400084e6
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
movsxd rax, edi
mov rcx, qword [rbp + 0x80]
movzx ecx, word [rcx + rax*2]
mov ebx, dword [r13 + rcx*4]
imul rax, qword [rsp + 0x38], 0x128
add rbx, qword [rax + r15 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [rbp + 0x40]
call fcn.140002c20
nop
lea rcx, [rbp + 0x60]
call fcn.140002c20
jmp 0x1400083ab
lea rcx, [rbp + 0x40]
call fcn.140002c20
nop
lea rcx, [rbp + 0x60]
call fcn.140002c20
jmp 0x1400083a9
mov dword [rbp + 0x80], 0x25ff
mov word [rbp + 0x84], 0
mov qword [rbp + 0x86], rbx
mov rcx, qword [0x14002fad0]
mov r8d, 0xe
lea rdx, [rbp + 0xa0]
call fcn.140003200
mov rcx, qword [0x14002fad0]
mov r8d, 0xe
lea rdx, [rbp + 0x80]
call fcn.1400033a0
mov rax, qword [0x14002fbb8]
mov rcx, rdi
call rax
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [0x14002fad0]
mov r8d, 0xe
lea rdx, [rbp + 0xa0]
call fcn.1400033a0
lea rcx, [0x14002fb00]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r13d, 0x64
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r15]
cmp dword [0x14002fe0c], eax
jle 0x140008844
lea rcx, [0x14002fe0c]
call fcn.14000dbd0
cmp dword [0x14002fe0c], 0xffffffff
jne 0x140008844
xor r14d, r14d
mov dword [rsp + 0x70], r14d
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140008619
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x70]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x70]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400085d0
test eax, eax
jns 0x140008633
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000882a
xor r15d, r15d
cmp dword [r14], r15d
jbe 0x140008814
nop
mov r12d, r15d
imul rcx, r12, 0x128
lea rbx, [rcx + r14]
movzx edx, word [rbx + 0x2e]
add rcx, 0x30
add rdx, rcx
add rdx, r14
lea rcx, [rbp + 0x60]
call fcn.140006410
nop
lea rcx, [rbp + 0x60]
call fcn.140006cc0
lea rdx, [0x140010ac8]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400087ff
lea rdx, [rbx + 0x30]
lea rcx, [rbp + 0x40]
call fcn.140006410
nop
lea rcx, str.SYSTEMROOT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006410
nop
mov r8d, 1
lea rdx, [0x14001093c]
mov rcx, rax
call fcn.140006c40
mov rdi, rax
xor r8d, r8d
lea rdx, str.SystemRoot_
lea rcx, [rbp + 0x40]
call fcn.140006260
mov rsi, rax
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
call fcn.140006cc0
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8d, 0xc
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.140006930
nop
lea rcx, [rsp + 0x50]
call fcn.140002c20
lea rcx, [rbp + 0x40]
call fcn.140006cc0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r10, rax
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x140008b22
movsxd rcx, dword [r10 + 0x3c]
cmp dword [rcx + r10], 0x4550
jne 0x140008b22
mov edx, dword [rcx + r10 + 0x88]
test edx, edx
je 0x140008b22
mov r11d, dword [rdx + r10 + 0x1c]
lea rdi, [r10 + r11]
mov ebx, dword [rdx + r10 + 0x20]
add rbx, r10
mov esi, dword [rdx + r10 + 0x24]
add rsi, r10
xor r9d, r9d
xor r8d, r8d
test r11d, r11d
je 0x1400087f5
nop
mov edx, dword [rbx + r8*4]
add rdx, r10
xor eax, eax
nop dword [rax]
lea rcx, [0x140010b68]
movzx ecx, byte [rcx + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x1400087ea
cmp rax, 7
jne 0x140008790
movzx eax, word [rsi + r8*2]
mov ebx, dword [rdi + rax*4]
imul rax, r12, 0x128
add rbx, qword [rax + r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [rbp + 0x40]
call fcn.140002c20
nop
lea rcx, [rbp + 0x60]
call fcn.140002c20
mov r15, qword [rsp + 0x30]
jmp 0x14000882c
inc r9d
inc r8
cmp r9d, r11d
jb 0x140008780
lea rcx, [rbp + 0x40]
call fcn.140002c20
nop
lea rcx, [rbp + 0x60]
call fcn.140002c20
inc r15d
cmp r15d, dword [r14]
jb 0x140008640
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0x30]
xor ebx, ebx
mov qword [0x14002fd10], rbx
lea rcx, [0x14002fe0c]
call fcn.14000db70
mov rdi, qword [rsp + 0x40]
mov rbx, qword [0x14002fd10]
mov eax, dword [r15]
cmp dword [0x14002ff38], eax
jle 0x14000889b
lea rcx, [0x14002ff38]
call fcn.14000dbd0
cmp dword [0x14002ff38], 0xffffffff
jne 0x14000889b
lea rcx, [0x140010ab8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14002fd18], rax
lea rcx, [0x14002ff38]
call fcn.14000db70
mov eax, dword [r15]
cmp dword [0x14002fdf4], eax
jle 0x1400088e5
lea rcx, [0x14002fdf4]
call fcn.14000dbd0
cmp dword [0x14002fdf4], 0xffffffff
jne 0x1400088e5
mov edx, 2
lea rcx, [0x14002fd30]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14000f4d0]
call fcn.14000df54
lea rcx, [0x14002fdf4]
call fcn.14000db70
lea rcx, [0x14002fd30]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140008b3a
mov dword [rbp + 0x90], 0x25ff
mov word [rbp + 0x94], ax
mov qword [rbp + 0x96], rbx
mov rcx, qword [0x14002fad0]
lea r8d, [rax + 0xe]
lea rdx, [rbp + 0xb0]
call fcn.140003200
mov rcx, qword [0x14002fad0]
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.1400033a0
mov eax, r13d
lea rdx, [rdi + rax*8]
mov r8d, 8
lea rcx, [rsp + 0x38]
call qword [0x14002fd18]
mov rcx, qword [0x14002fad0]
mov r8d, 0xe
lea rdx, [rbp + 0xb0]
call fcn.1400033a0
lea rcx, [0x14002fd30]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x38], 0
jne 0x140008992
mov word [rsi + 0x10], r13w
add r13d, 0xffffffff
jne 0x140008580
mov edx, 0x1000
xor ecx, ecx
lea r9d, [r13 + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsi + 0x28], rax
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movaps xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
mov r8, qword [rsi + 0x28]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.1400094f0
movabs rbx, 0xfffffffff000
mov rcx, qword [rbp - 0x48]
and rcx, rbx
mov qword [rsi + 0x20], rcx
mov rax, qword [rbp - 0x78]
movabs rdx, 0xffff000000000fff
and rax, rdx
or rax, rcx
mov qword [rbp - 0x78], rax
movzx ecx, word [rsi + 0x10]
mov rax, qword [rsi]
lea rdx, [rax + rcx*8]
mov r9b, 1
lea r8, [rbp - 0x78]
mov rcx, rsi
call fcn.14000b840
mov edx, 0x1000
xor ecx, ecx
lea r9d, [r13 + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsi + 0x38], rax
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
mov r8, qword [rsi + 0x38]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1400094f0
mov rax, qword [rbp - 8]
and rax, rbx
mov qword [rsi + 0x30], rax
mov edx, 0x1000
xor ecx, ecx
lea r9d, [r13 + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsi + 0x48], rax
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
mov r8, qword [rsi + 0x48]
lea rdx, [rbp]
mov rcx, rsi
call fcn.1400094f0
mov rcx, qword [rbp + 0x38]
and rcx, rbx
mov qword [rsi + 0x40], rcx
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14000da20
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x40]
call fcn.140002c20
nop
lea rcx, [rbp + 0x60]
call fcn.140002c20
jmp 0x140008825
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3