Function at 0x140073ad0
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
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1402fa080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r9
mov qword [rbp - 0x71], r9
mov rsi, r8
mov qword [rbp - 0x61], r8
mov rdi, rdx
mov qword [rbp - 0x51], rdx
mov r12d, 4
mov rax, qword gs:[0x58]
add r12, qword [rax]
mov qword [rbp - 0x79], r12
mov eax, dword [r12]
cmp dword [0x1402fcdc0], eax
jle 0x140073fe4
lea rcx, [0x1402fcdc0]
call fcn.1400d3a50
cmp dword [0x1402fcdc0], 0xffffffff
jne 0x140073fe4
xor r14d, r14d
mov r15d, r14d
mov dword [rbp - 0x29], r14d
lea r9, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140073bbb
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x29]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
lea r9, [rbp - 0x29]
mov r8d, dword [rbp - 0x29]
mov rdx, rax
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140073b73
test eax, eax
jns 0x140073bd5
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140073fc5
mov r12d, r14d
cmp dword [r15], r14d
jbe 0x140073fb0
mov ebx, 0x5a4d
nop word [rax + rax]
mov eax, r12d
imul rcx, rax, 0x128
lea r13, [rcx + r15]
movzx edx, word [r13 + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, r15
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140073c23
lea rcx, [rbp - 1]
call fcn.140031cc0
nop
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
lea rdx, str.ntoskrnl.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140073f69
lea rdx, [r13 + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140073c74
lea rcx, [rbp - 0x21]
call fcn.140031cc0
nop
lea rcx, str.SYSTEMROOT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], r14
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140073cb0
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140031cc0
nop
mov r8d, 1
lea rdx, [0x1402e79a4]
lea rcx, [rbp - 0x49]
call fcn.14006e060
mov rdi, rax
lea rsi, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rsi, qword [rbp - 0x21]
mov rax, qword [rbp - 0x11]
cmp rax, 0xc
jb 0x140073d5d
lea rbx, [rax + rsi]
lea r8, [rbx - 0xb]
sub r8, rsi
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140073d58
nop word [rax + rax]
movabs rcx, 0x526d65747379535c
cmp qword [rax], rcx
jne 0x140073d3c
cmp dword [rax + 8], 0x5c746f6f
je 0x140073f0c
inc rax
lea r8, [rbx - 0xb]
sub r8, rax
mov edx, 0x5c
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140073d20
mov ebx, 0x5a4d
mov rax, 0xffffffffffffffff
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140073d72
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140071b10
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140073dc2
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073dbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007405d
call fcn.1400d3974
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rcx, qword [rbp - 0x21]
xor edx, edx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r10, rax
cmp word [rax], bx
jne 0x1400740f3
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x140074064
mov edx, dword [rcx + rax + 0x88]
test edx, edx
je 0x140074064
mov r11d, dword [rdx + rax + 0x1c]
lea rbx, [rax + r11]
mov r8d, dword [rdx + rax + 0x20]
add r8, rax
mov edi, dword [rdx + rax + 0x24]
add rdi, rax
mov r9d, r14d
test r11d, r11d
je 0x140073f29
nop
mov edx, dword [r8]
add rdx, r10
mov rax, r14
nop dword [rax]
lea rcx, [0x1402e7a08]
movzx ecx, byte [rcx + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x140073f19
cmp rax, 7
jne 0x140073e40
movsxd rax, r9d
movzx ecx, word [rdi + rax*2]
mov ebx, dword [rbx + rcx*4]
add rbx, qword [r13 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140073eb9
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073eb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074125
call fcn.1400d3974
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140073f04
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073eff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007417b
call fcn.1400d3974
mov r14, rbx
jmp 0x140073fc1
sub rax, rsi
mov ebx, 0x5a4d
jmp 0x140073d64
inc r9d
add r8, 4
cmp r9d, r11d
jb 0x140073e30
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140073f64
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073f5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074125
call fcn.1400d3974
mov ebx, 0x5a4d
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140073fa4
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073f9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074182
call fcn.1400d3974
inc r12d
cmp r12d, dword [r15]
jb 0x140073bf0
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r12, qword [rbp - 0x79]
mov qword [0x1402fcdd0], r14
lea rcx, [0x1402fcdc0]
call fcn.1400d39e4
mov rdi, qword [rbp - 0x51]
mov rsi, qword [rbp - 0x61]
mov r14, qword [rbp - 0x71]
mov rbx, qword [0x1402fcdd0]
mov eax, dword [r12]
cmp dword [0x1402fcda0], eax
jle 0x14007403c
lea rcx, [0x1402fcda0]
call fcn.1400d3a50
cmp dword [0x1402fcda0], 0xffffffff
jne 0x14007403c
lea rcx, [0x1402e6618]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fcdb8], rax
lea rcx, [0x1402fcda0]
call fcn.1400d39e4
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140074189
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14007409f
inc rdx
mov rcx, qword [rbp - 0x21]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14007409a
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074125
call fcn.1400d3974
mov byte [rbp - 0x21], 0
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x11], r14
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140073fc1
inc rdx
mov rcx, qword [rbp - 1]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400740e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007417b
call fcn.1400d3974
jmp 0x140073fc1
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140074131
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007412c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007412c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140073fc1
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400740e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400740e9
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
cmp dword [0x1402fa2ac], 0x7fffffff
jne 0x1400741ab
mov dword [0x1402fa2ac], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 0x71], 0x25ff
mov word [rbp - 0x6d], 0
mov qword [rbp - 0x6b], rbx
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x61]
call fcn.1400680b0
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x71]
call fcn.140068250
mov rax, qword [0x1402fcdb8]
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call rax
mov rbx, rax
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x61]
call fcn.140068250
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbx, rbx
setne al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400d3670
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret