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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400ecbc0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov rax, qword [0x1400efc78]
nop
test rax, rax
jne 0x14008bb27
xor edx, edx
mov r8d, 1
lea rcx, [0x1400a2b88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400efd98], rax
mov esi, r15d
mov qword [rbp + 7], r15
mov dword [rbp - 0x59], r15d
lea r9, [rbp - 0x59]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14008b39d
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x59]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
lea r9, [rbp - 0x59]
mov r8d, dword [rbp - 0x59]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14008b352
mov qword [rbp + 7], rsi
test eax, eax
jns 0x14008b3b7
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14008b72d
mov r14d, r15d
mov dword [rsp + 0x30], r15d
cmp dword [rsi], r15d
jbe 0x14008b717
movabs r12, 0x526d65747379535c
mov r13d, 0x5a4d
movzx ebx, byte [rsp + 0x34]
nop dword [rax]
mov eax, r14d
imul rcx, rax, 0x128
lea rdi, [rcx + rsi]
movzx eax, word [rdi + 0x2e]
add rax, rcx
lea rdx, [rsi + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14008b412
lea rcx, [rbp - 0x19]
call fcn.14001ea80
nop
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rcx, qword [rbp - 0x19]
lea rdx, [0x1400a2b88]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14008b6cb
lea rdx, [rdi + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14008b463
lea rcx, [rbp - 0x51]
call fcn.14001ea80
nop
lea rcx, [0x1400a34d0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], r15
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008b4a0
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.14001ea80
nop
mov rcx, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x61]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14008b4ec
lea rax, [rcx + 1]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x79]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x79]
mov word [rax + rcx], 0x5c
lea rsi, [rbp - 0x79]
jmp 0x14008b511
mov qword [rsp + 0x20], 1
lea r9, [0x1400a34dc]
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x79]
call fcn.140068c20
mov rsi, rax
lea rdi, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdi, qword [rbp - 0x51]
mov rax, qword [rbp - 0x41]
cmp rax, 0xc
jb 0x14008b574
lea r14, [rax + rdi]
lea r8, [r14 - 0xb]
sub r8, rdi
mov edx, 0x5c
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14008b574
cmp qword [rax], r12
jne 0x14008b558
cmp dword [rax + 8], 0x5c746f6f
je 0x14008b7ab
inc rax
lea r8, [r14 - 0xb]
sub r8, rax
mov edx, 0x5c
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14008b546
mov rax, 0xffffffffffffffff
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14008b589
mov rsi, qword [rsi]
mov qword [rsp + 0x20], rcx
mov r9, rsi
mov r8d, 0xc
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.14008aba0
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x14008b5df
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b5da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b7b3
call fcn.14008f3e4
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rcx, qword [rbp - 0x51]
xor edx, edx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r14, rax
cmp word [rax], r13w
jne 0x14008b8fc
movsxd rax, dword [rax + 0x3c]
cmp dword [rax + r14], 0x4550
jne 0x14008b86d
mov ecx, dword [rax + r14 + 0x88]
test ecx, ecx
je 0x14008b86d
mov r15d, dword [rcx + r14 + 0x1c]
lea r12, [r14 + r15]
mov edi, dword [rcx + r14 + 0x20]
add rdi, r14
mov r13d, dword [rcx + r14 + 0x24]
add r13, r14
xor esi, esi
test r15d, r15d
je 0x14008b674
nop word [rax + rax]
mov edx, dword [rdi]
add rdx, r14
lea rcx, str.NtShutdownSystem
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14008b7ba
inc esi
add rdi, 4
cmp esi, r15d
jb 0x14008b650
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14008b6af
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b6aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b92e
call fcn.14008f3e4
mov r13d, 0x5a4d
movabs r12, 0x526d65747379535c
xor r15d, r15d
mov r14d, dword [rsp + 0x30]
mov rsi, qword [rbp + 7]
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14008b706
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b701
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b98b
call fcn.14008f3e4
inc r14d
mov dword [rsp + 0x30], r14d
cmp r14d, dword [rsi]
jb 0x14008b3e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, qword [rsp + 0x40]
mov ebx, r15d
mov dword [0x1400efd90], ebx
mov eax, 0xfff
and bx, ax
mov word [0x1400efd8c], bx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov qword [rbp - 0x21], r15
mov rbx, qword [0x1400efc10]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14008ba72
lea rsi, [0x14008d5e0]
nop dword [rax]
movups xmm6, xmmword [rbx + 0x20]
mov ecx, 0x20
call fcn.14008f3a8
mov r9, rax
test rax, rax
je 0x14008b992
movdqa xmm0, xmm6
psrldq xmm0, 8
movq qword [rax], xmm0
movq qword [rax + 8], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
jmp 0x14008b995
sub rax, rdi
jmp 0x14008b57b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsxd rax, esi
movzx ecx, word [r13 + rax*2]
mov ebx, dword [r12 + rcx*4]
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14008b815
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b92e
call fcn.14008f3e4
xor r15d, r15d
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], r15b
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14008b863
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b85e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b984
call fcn.14008f3e4
mov r14, qword [rsp + 0x40]
jmp 0x14008b730
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14008b8a8
inc rdx
mov rcx, qword [rbp - 0x51]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14008b8a3
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b92e
call fcn.14008f3e4
mov byte [rbp - 0x51], 0
mov qword [rbp - 0x39], 0xf
mov qword [rbp - 0x41], r15
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14008b728
inc rdx
mov rcx, qword [rbp - 0x19]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14008b8f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b984
call fcn.14008f3e4
jmp 0x14008b728
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14008b93a
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b935
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f3e4
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14008b728
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b8f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b8f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r9, r15
mov qword [rbp + 7], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r8, [0x14008b280]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14008bb67
mov rdx, qword [rbp - 0x29]
cmp rdx, qword [rbp - 0x21]
je 0x14008b9f0
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rdx], xmm1
mov rdi, qword [rbp - 0x29]
add rdi, 0x10
mov qword [rbp - 0x29], rdi
jmp 0x14008ba02
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x31]
call fcn.14008b060
mov rdi, qword [rbp - 0x29]
cmp dword [rsp + 0x48], 0
jne 0x14008ba6b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14008ba38
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14008ba33
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14008ba33
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14008ba20
mov rbx, rax
jmp 0x14008ba5f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14008ba5f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14008ba50
cmp byte [rbx + 0x19], 0
je 0x14008b770
jmp 0x14008ba76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
cmp rbx, rdi
je 0x14008bac9
nop
cmp dword [rbx + 8], 0
je 0x14008bb5c
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x14008bb82
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 7], xmm0
xor edx, edx
lea rcx, [rbp + 7]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x14008bb77
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x14008ba80
mov rdi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x14008bb27
mov rax, rbx
cmp rbx, rdi
je 0x14008bae5
cmp dword [rax + 8], 0
jne 0x14008bb18
add rax, 0x10
cmp rax, rdi
jne 0x14008bad6
mov rdx, qword [rbp - 0x21]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008bb1f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008bb1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
call fcn.14008f3e4
mov rax, r14
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14008f670
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3