Function at 0x1400d8dbc
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa0
xor ebx, ebx
lea rcx, [0x1403ca9d0]
and qword [rbp - 0x39], rbx
xor esi, esi
xor edi, edi
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], rbx
mov r15, r9
mov qword [rbp - 0x41], rdi
mov r13, r8
mov r14d, edx
call fcn.140091a7c
xor eax, eax
test r13, r13
jne 0x1400d8e31
mov r15d, 0x80070057
lea rdx, [0x14043dcf8]
lea rcx, [0x140420628]
mov r14d, r15d
call fcn.1400edc30
mov ecx, r15d
jmp 0x1400d909c
cmp qword [rbp + 0x7f], rax
jne 0x1400d8e42
mov r15d, 0x80070057
mov r14d, r15d
jmp 0x1400d8e29
cmp qword [rbp + 0x77], rax
jne 0x1400d8e4d
test r15, r15
je 0x1400d8e37
mov dword [rsp + 0x28], eax
mov r9d, r14d
mov r8, r13
mov qword [rsp + 0x20], rax
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x67], eax
test eax, eax
jg 0x1400d8e9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400d8e85
mov r14d, 0x80004005
jmp 0x1400d8e96
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
mov ecx, r14d
jmp 0x1400d909c
lea r8, [rbp + 0x57]
mov edx, 1
mov ecx, eax
call fcn.140079280
lea rdx, [0x140439dd8]
mov r14d, eax
lea rcx, [0x14042bebc]
call fcn.1400edf70
lea rdx, [0x14043bacc]
lea rcx, [0x14042647c]
call fcn.1400ed5b8
test r14d, r14d
js 0x1400d8e96
movsxd rdx, dword [rbp + 0x57]
lea r8, [rbp - 0x51]
call fcn.140078684
lea rdx, [0x140437e44]
mov r14d, eax
lea rcx, [0x140424f04]
call fcn.1400ed8ec
test r14d, r14d
jns 0x1400d8f15
mov ecx, r14d
call fcn.140079c40
mov rsi, qword [rbp - 0x51]
jmp 0x1400d90a1
mov rsi, qword [rbp - 0x51]
mov r8, r13
mov r14d, dword [rbp + 0x67]
mov edx, 8
mov r9d, dword [rbp + 0x5f]
mov ecx, 0xfde9
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, r14d
je 0x1400d8f4e
mov r14d, 0x8000ffff
jmp 0x1400d8e96
lea r8, [rbp + 0x67]
mov rcx, rsi
lea rdx, [rbp - 0x49]
call fcn.1400c8acc
mov r14d, eax
test eax, eax
jns 0x1400d8f75
mov ecx, eax
call fcn.140079c40
mov rbx, qword [rbp - 0x49]
jmp 0x1400d90a1
and dword [rbp + 0x57], ebx
xor r14d, r14d
mov rbx, qword [rbp - 0x49]
mov r13d, dword [rbp + 0x67]
test r15, r15
je 0x1400d901b
and dword [rbp - 0x11], edi
lea rax, [0x140001218]
mov qword [rbp - 0x29], rax
lea r8d, [r14 + 0x40]
lea rax, [rbp - 0x59]
mov qword [rbp - 0xd], rbx
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x31]
lea rax, [rbp - 0x39]
mov qword [rbp - 0x31], 3
mov qword [rbp - 1], rax
lea ecx, [r8 + 0x79]
lea rax, [rbp - 0x55]
mov qword [rbp - 0x19], r15
xor r9d, r9d
mov qword [rbp + 7], rax
mov dword [rbp - 5], r13d
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x59]
test r14d, r14d
js 0x1400d901b
mov r14, qword [rbp - 0x39]
lea rdx, [0x14043b5a4]
lea rcx, [0x14041e1d8]
call fcn.1400ee2b8
mov r15d, dword [rbp - 0x55]
xor ecx, ecx
call fcn.140079c60
mov dword [rbp + 0x57], r15d
xor ecx, ecx
call fcn.140079c60
test r14, r14
jne 0x1400d9066
mov r14d, 0x8000ffff
cmp qword [rbp + 0x77], rdi
jne 0x1400d902b
test r14d, r14d
jns 0x1400d90a1
jmp 0x1400d8e96
mov rcx, qword [rbp + 0x77]
lea rax, [rbp - 0x41]
lea r9, [rbp + 0x57]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov edx, r13d
call fcn.1400e12b0
mov r14d, eax
test eax, eax
jns 0x1400d905b
mov ecx, eax
call fcn.140079c40
mov rdi, qword [rbp - 0x41]
jmp 0x1400d90a1
mov rdi, qword [rbp - 0x41]
mov r15d, dword [rbp + 0x57]
mov r14, rdi
mov rax, qword [str.TokenValue:Empty]
cmp rax, qword [r14]
jne 0x1400d9084
mov rax, qword [0x1403cf9b8]
cmp rax, qword [r14 + 8]
jne 0x1400d9084
xor r14d, r14d
jmp 0x1400d90a1
mov r9, qword [rbp + 0x7f]
mov r8, r14
mov edx, r15d
call fcn.1400d8c8c
mov r14d, eax
test eax, eax
jns 0x1400d90a1
mov ecx, eax
call fcn.140079c40
mov edx, r14d
lea rcx, [0x1403ca9c0]
call fcn.1400919c4
mov ecx, r14d
call fcn.140079c60
lea rcx, [rbp - 0x39]
call fcn.14005a9b4
test rdi, rdi
je 0x1400d90da
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x1400d90f3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x1400d9114
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov eax, r14d
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret