Function at 0x14009c130
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 [0x140112040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x20], rdx
xor ebx, ebx
lea r12, [rcx + 8]
cmp r12, rdx
je 0x14009c18b
cmp qword [rdx + 0x18], 0xf
jbe 0x14009c17f
mov rdx, qword [rdx]
mov r8, qword [r14 + 0x10]
mov rcx, r12
call fcn.1400159b0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
mov rcx, qword [rsi + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp - 0x18], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14009c42e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r13, rax
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov dword [rbp - 0x10], ebx
test rax, rax
je 0x14009c262
lea r9, [rbp - 0x10]
mov r8d, 0x2000
mov rdx, rax
mov ecx, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x14009c249
mov r8, rdi
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8d, dword [rbp - 0x10]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14009c262
lea r9, [rbp - 0x10]
mov r8d, dword [rbp - 0x10]
mov rdx, rax
mov ecx, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14009c262
cmp dword [rdi], 0
jbe 0x14009c262
mov r15, qword [rdi + 0x18]
mov r8, rdi
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14009c265
mov r15, rbx
mov qword [rsi + 0x38], r15
mov rax, qword [rbp - 0x18]
mov qword [rsi], rax
mov edi, 0x1000
mov dword [rbp - 0x10], ebx
mov qword [rbp - 0x18], rbx
mov qword [rbp], rdi
mov qword [rbp + 8], 8
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp]
mov edx, 0x222010
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14009c2d7
cmp qword [rbp - 0x18], 0
je 0x14009c2da
add rdi, 8
cmp rdi, 0x10000
jb 0x14009c275
mov rdi, rbx
mov qword [rsi + 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], rbx
mov qword [rsp + 0x78], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14009c304
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400052d0
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.System32_ntoskrnl.exe
lea rcx, [rsp + 0x60]
call fcn.140015270
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.140004fe0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov r8d, Ordinal_46
lea rdx, str.https:__msdl.microsoft.com_download_symbols_
lea rcx, [rbp - 0x80]
call fcn.1400052d0
nop
lea rax, [rbp - 0x60]
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
xor r8d, r8d
lea rdx, [0x1400f8547]
lea rcx, [rbp - 0x60]
call fcn.1400052d0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140014e80
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140036250
nop
cmp qword [rbp + 0x20], 0
jne 0x14009c462
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.140015d60
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, [0x140015f40]
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
lea rcx, [rbp + 0x10]
call fcn.140004fe0
nop
lea rcx, [rbp + 0x30]
call fcn.140004fe0
nop
mov rcx, r14
call fcn.140004fe0
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14009e1d0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140014e80
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140037040
test al, al
jne 0x14009c48c
lea rdx, str.load_pdb_failed
jmp 0x14009c3e9
lea rax, [rsp + 0x60]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.ActiveProcessLinks
lea rcx, [rsp + 0x60]
call fcn.140016430
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x40]
call fcn.1400052d0
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400372a0
mov dword [rsi + 0x48], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.UniqueProcessId
lea rcx, [rsp + 0x40]
call fcn.140016430
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x60]
call fcn.1400052d0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400372a0
mov dword [rsi + 0x4c], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.ThreadListHead
lea rcx, [rsp + 0x40]
call fcn.140016430
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x60]
call fcn.1400052d0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400372a0
mov dword [rsi + 0x50], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, 3
lea rdx, [0x1400fc930]
lea rcx, [rsp + 0x40]
call fcn.140016430
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, 8
lea rdx, str._ETHREAD
lea rcx, [rsp + 0x60]
call fcn.1400052d0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400372a0
add eax, 8
mov dword [rsi + 0x54], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, recvfrom
lea rdx, str.PreviousMode
lea rcx, [rsp + 0x40]
call fcn.140016430
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, 8
lea rdx, str._KTHREAD
lea rcx, [rsp + 0x60]
call fcn.1400052d0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400372a0
mov dword [rsi + 0x58], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.ThreadListEntry
lea rcx, [rsp + 0x40]
call fcn.140016430
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, 8
lea rdx, str._ETHREAD
lea rcx, [rsp + 0x60]
call fcn.1400052d0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400372a0
mov dword [rsi + 0x5c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.MiGetPteAddress
lea rcx, [rsp + 0x40]
call fcn.1400052d0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400371f0
mov dword [rsi + 0x60], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, str.MmAllocateIndependentPages
lea rcx, [rsp + 0x40]
call fcn.1400052d0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400371f0
mov dword [rsi + 0x64], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.MmSetPageProtection
lea rcx, [rsp + 0x40]
call fcn.1400052d0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400371f0
mov dword [rsi + 0x68], eax
mov edx, 0x10000000
mov rdi, qword [rbp - 0x10]
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 - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsi + 0x60]
mov rdx, qword [rsi + 0x38]
add rcx, 0x13
add rdx, rcx
mov qword [rbp - 0x18], rbx
lea r8, [rbp - 0x18]
mov rcx, rsi
call fcn.14009ca70
mov rax, qword [rbp - 0x18]
mov qword [rsi + 0x40], rax
cmp qword [r12 + 0x18], 0xf
jbe 0x14009c84f
mov r12, qword [r12]
mov rdx, r12
call fcn.14009bd10
lea r15, [rax + 0x1200]
mov r8, rbx
test r15, r15
jne 0x14009c86e
mov rdx, rbx
jmp 0x14009c91b
mov qword [rbp - 0x10], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14009e344
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov rax, r15
shr rax, 9
movabs rcx, 0x7ffffffff8
and rax, rcx
add rax, qword [rsi + 0x40]
mov qword [rdi + 0x18], rax
shr rax, 9
and rax, rcx
add rax, qword [rsi + 0x40]
mov qword [rdi + 0x10], rax
shr rax, 9
and rax, rcx
add rax, qword [rsi + 0x40]
mov qword [rdi + 8], rax
shr rax, 9
and rax, rcx
add rax, qword [rsi + 0x40]
mov qword [rdi], rax
mov rdx, r15
mov rcx, rsi
call fcn.14009bc90
mov r13, rax
lea r8, [rbp - 0x10]
mov rdx, qword [rax + 0x18]
mov rcx, rsi
call fcn.14009ca70
mov r8, qword [rbp - 0x10]
test r8, r8
jne 0x14009c917
lea r8, [rbp - 0x10]
mov rdx, qword [r13 + 0x10]
mov rcx, rsi
call fcn.14009ca70
mov r8, qword [rbp - 0x10]
mov rdx, qword [rdi + 0x10]
jmp 0x14009c91b
mov rdx, qword [rdi + 0x18]
or r8, 2
mov rcx, rsi
call fcn.14009be40
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 rax, rbx
nop
lea r8, [rbp + 0x50]
add r8, rax
lea rdx, [rax + r15]
mov rcx, rsi
call fcn.14009cb80
add ebx, 8
movsxd rax, ebx
cmp rax, 0x70
jb 0x14009ca20
lea rcx, [rbp + 0x10]
call fcn.140004fe0
nop
lea rcx, [rbp + 0x30]
call fcn.140004fe0
nop
mov rcx, r14
call fcn.140004fe0
mov eax, 1
jmp 0x14009c438