Function at 0x1400975d0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Query environment variable

Disassembly:
mov qword [rsp + 0x18], 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 [0x1400bb010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x20], rdx
xor r14d, r14d
lea r15, [rcx + 8]
cmp r15, rdx
je 0x14009762c
cmp qword [rdx + 0x18], 0x10
jb 0x140097620
mov rdx, qword [rdx]
mov r8, qword [rsi + 0x10]
mov rcx, r15
call fcn.14001cd10
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140098091
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r12, rax
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov dword [rbp - 0x18], r14d
test rax, rax
je 0x140097704
lea r9, [rbp - 0x18]
mov r8d, 0x2000
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400976e8
mov r8, rdi
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8d, dword [rbp - 0x18]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140097704
lea r9, [rbp - 0x18]
mov r8d, dword [rbp - 0x18]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140097704
cmp dword [rdi], 0
jbe 0x140097704
mov r14, qword [rdi + 0x18]
mov r8, rdi
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor r12d, r12d
jmp 0x14009770a
xor r12d, r12d
mov r14d, r12d
mov qword [rbx + 0x38], r14
mov qword [rbx], r13
mov edi, 0x1000
nop word [rax + rax]
mov dword [rbp - 0x18], r12d
mov qword [rbp - 8], r12
mov qword [rbp], rdi
mov qword [rbp + 8], 8
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp]
mov edx, 0x222010
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140097783
cmp qword [rbp - 8], 0
je 0x140097786
add rdi, 8
cmp rdi, 0x10000
jb 0x140097720
mov rdi, r12
mov qword [rbx + 0x28], rdi
lea rcx, str.systemroot
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400977b0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004d70
nop
mov r8d, 0x16
lea rdx, str.System32_ntoskrnl.exe
lea rcx, [rsp + 0x60]
call fcn.1400099e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14009783d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097838
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140097838
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rax, [rbp - 0x80]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov r8d, 0x2c
lea rdx, str.https:__msdl.microsoft.com_download_symbols_
lea rcx, [rbp - 0x80]
call fcn.140004d70
nop
lea rax, [rbp - 0x60]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
xor r8d, r8d
lea rdx, [0x1400a0f51]
lea rcx, [rbp - 0x60]
call fcn.140004d70
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14001c5b0
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14002d230
nop
cmp qword [rbp + 0x20], 0
jne 0x1400979d9
lea rdx, str.download_pdb_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a760
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14000a930]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14009794a
inc rdx
mov rcx, qword [rbp + 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140097945
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140097ff1
call fcn.140099710
mov byte [rbp + 0x10], 0
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r12
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140097996
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140097990
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009803f
call fcn.140099710
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400979d0
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x1400979cb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140098102
mov rcx, r8
call fcn.140099710
mov qword [rsi + 0x10], r12
jmp 0x1400980cb
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14001c5b0
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.14002e510
test al, al
jne 0x140097a03
lea rdx, str.load_pdb_failed
jmp 0x1400978de
lea rax, [rsp + 0x60]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 0x12
lea rdx, str.ActiveProcessLinks
lea rcx, [rsp + 0x60]
call fcn.14001e720
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x40]
call fcn.140004d70
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002e8c0
mov dword [rbx + 0x48], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0xf
lea rdx, str.UniqueProcessId
lea rcx, [rsp + 0x40]
call fcn.14001e720
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x60]
call fcn.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002e8c0
mov dword [rbx + 0x4c], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0xe
lea rdx, str.ThreadListHead
lea rcx, [rsp + 0x40]
call fcn.14001e720
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x60]
call fcn.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002e8c0
mov dword [rbx + 0x50], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 3
lea rdx, [0x1400aa1b8]
lea rcx, [rsp + 0x40]
call fcn.14001e720
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 8
lea rdx, str._ETHREAD
lea rcx, [rsp + 0x60]
call fcn.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002e8c0
add eax, 8
mov dword [rbx + 0x54], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0xc
lea rdx, str.PreviousMode
lea rcx, [rsp + 0x40]
call fcn.14001e720
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 8
lea rdx, str._KTHREAD
lea rcx, [rsp + 0x60]
call fcn.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002e8c0
mov dword [rbx + 0x58], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0xf
lea rdx, str.ThreadListEntry
lea rcx, [rsp + 0x40]
call fcn.14001e720
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 8
lea rdx, str._ETHREAD
lea rcx, [rsp + 0x60]
call fcn.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002e8c0
mov dword [rbx + 0x5c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0xf
lea rdx, str.MiGetPteAddress
lea rcx, [rsp + 0x40]
call fcn.140004d70
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002e790
mov dword [rbx + 0x60], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0x1a
lea rdx, str.MmAllocateIndependentPages
lea rcx, [rsp + 0x40]
call fcn.140004d70
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002e790
mov dword [rbx + 0x64], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0x13
lea rdx, str.MmSetPageProtection
lea rcx, [rsp + 0x40]
call fcn.140004d70
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002e790
mov dword [rbx + 0x68], eax
mov edx, 0x10000000
mov rdi, qword [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, rdi
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbx + 0x60]
mov rdx, qword [rbx + 0x38]
add rcx, 0x13
add rdx, rcx
mov qword [rbp - 8], r12
lea r8, [rbp - 8]
mov rcx, rbx
call fcn.140098110
mov rax, qword [rbp - 8]
mov qword [rbx + 0x40], rax
cmp qword [r15 + 0x18], 0x10
jb 0x140097dc4
mov r15, qword [r15]
mov rdx, r15
call fcn.1400971b0
lea r14, [rax + 0x1200]
mov r8, r12
test r14, r14
jne 0x140097de3
mov rdx, r12
jmp 0x140097e90
mov qword [rbp - 0x18], r12
mov ecx, 0x20
call fcn.1400998c0
mov rdi, rax
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov rax, r14
shr rax, 9
movabs rcx, 0x7ffffffff8
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi + 0x18], rax
shr rax, 9
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi + 0x10], rax
shr rax, 9
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi + 8], rax
shr rax, 9
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi], rax
mov rdx, r14
mov rcx, rbx
call fcn.140097130
mov r15, rax
lea r8, [rbp - 0x18]
mov rdx, qword [rax + 0x18]
mov rcx, rbx
call fcn.140098110
mov r8, qword [rbp - 0x18]
test r8, r8
jne 0x140097e8c
lea r8, [rbp - 0x18]
mov rdx, qword [r15 + 0x10]
mov rcx, rbx
call fcn.140098110
mov r8, qword [rbp - 0x18]
mov rdx, qword [rdi + 0x10]
jmp 0x140097e90
mov rdx, qword [rdi + 0x18]
or r8, 2
mov rcx, rbx
call fcn.1400972e0
mov dword [rbp + 0x50], 0x2444894c
mov dword [rbp + 0x54], 0x54894818
mov dword [rbp + 0x58], 0x89481024
mov dword [rbp + 0x5c], 0x4808244c
mov dword [rbp + 0x60], 0x4838ec83
mov dword [rbp + 0x64], 0x4024448b
mov dword [rbp + 0x68], 0x18408b48
mov dword [rbp + 0x6c], 0x24448948
mov dword [rbp + 0x70], 0x448b4820
mov dword [rbp + 0x74], 0x8b482024
mov dword [rbp + 0x78], 0x44894800
mov dword [rbp + 0x7c], 0x8b482824
mov dword [rbp + 0x80], 0x4c202444
mov dword [rbp + 0x84], 0x4820488b
mov dword [rbp + 0x88], 0x2024448b
mov dword [rbp + 0x8c], 0x18408b4c
mov dword [rbp + 0x90], 0x24448b48
mov dword [rbp + 0x94], 0x508b4820
mov dword [rbp + 0x98], 0x448b4810
mov dword [rbp + 0x9c], 0x8b482024
mov dword [rbp + 0xa0], 0x54ff0848
mov dword [rbp + 0xa4], 0x8b482824
mov dword [rbp + 0xa8], 0x4820244c
mov dword [rbp + 0xac], 0x4828498b
mov dword [rbp + 0xb0], 0xc0330189
mov dword [rbp + 0xb4], 0x38c48348
mov dword [rbp + 0xb8], 0xccccccc3
mov dword [rbp + 0xbc], 0xcccccccc
mov edi, r12d
mov rax, r12
nop word [rax + rax]
lea r8, [rbp + 0x50]
add r8, rax
lea rdx, [rax + r14]
mov rcx, rbx
call fcn.140098230
add edi, 8
movsxd rax, edi
cmp rax, 0x70
jb 0x140097fa0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140097ffd
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097ff8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140097ff8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14009804c
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098046
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098046
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140098086
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140098081
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140098102
mov rcx, r8
call fcn.140099710
mov qword [rsi + 0x10], r12
mov eax, 1
jmp 0x1400980cd
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400980c7
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400980c2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140098102
mov rcx, r8
call fcn.140099710
mov qword [rsi + 0x10], r14
xor eax, eax
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400996f0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3