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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0xfe8]
mov eax, 0x10e8
call fcn.18005f3d0
sub rsp, rax
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov qword [rsp + 0x10d8], r12
xor edi, edi
mov qword [rsp + 0x10d0], r13
mov r12d, r9d
mov qword [rsp + 0x10c8], r14
mov r13d, edx
mov r14, r8
mov qword [rsp + 0x68], rcx
mov r8d, 0x1000
mov qword [rsp + 0x10c0], r15
xor edx, edx
mov qword [rsp + 0x48], rdi
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x40], edi
call fcn.18004c900
mov edx, 0x1000
lea r9d, [rdi + 4]
mov r8d, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
xor edx, edx
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
mov r15, rax
call fcn.180014a70
lea edx, [rdi + 0x20]
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x50]
call fcn.180014a70
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, rcx
cmp r8, rcx
jne 0x18001d6b9
mov edx, edi
sub r8d, ecx
lea r9, [rsp + 0x44]
mov ecx, 0x10
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edx, dword [rsp + 0x44]
lea rcx, [rsp + 0x50]
add rdx, 0x20
call fcn.180014a70
mov r8, qword [rsp + 0x58]
lea r9, [rsp + 0x44]
sub r8, qword [rsp + 0x50]
mov rdx, rdi
mov ecx, 0x10
cmovne rdx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x18001d81f
mov rax, qword [rsp + 0x58]
mov rdx, rdi
cmp rax, qword [rsp + 0x50]
mov qword [rsp + 0x1108], rbx
cmovne rdx, qword [rsp + 0x50]
mov qword [rsp + 0x10e0], rsi
mov esi, dword [rdx]
lea rbx, [rdx + 4]
test esi, esi
je 0x18001d7fe
nop word [rax + rax]
cmp dword [rbx], r13d
jne 0x18001d77e
movzx eax, word [rbx + 6]
cmp rax, r14
jne 0x18001d77e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x30], 2
mov r8, rax
mov dword [rsp + 0x28], edi
mov rdx, r14
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x18001d789
add rbx, 0x14
add esi, 0xffffffff
jne 0x18001d740
jmp 0x18001d7fe
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x70]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x60], rax
mov r9d, 0x38
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.ntdll.dll_NtQueryObject]
cmp r12d, 1
jne 0x18001d897
mov edi, dword [rsp + 0x78]
xor sil, sil
mov rbx, qword [rsp + 0x48]
lea rdx, [rsp + 0x44]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x18001d7f9
test byte [rsp + 0x44], 2
jne 0x18001d7f9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test sil, sil
jne 0x18001d80f
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, qword [rsp + 0x10e0]
mov rbx, qword [rsp + 0x1108]
mov rcx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x10c0]
mov r14, qword [rsp + 0x10c8]
mov r13, qword [rsp + 0x10d0]
mov r12, qword [rsp + 0x10d8]
test rcx, rcx
je 0x18001d87b
mov rdx, qword [rsp + 0x60]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18001d876
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d9ef
call fcn.180049e70
mov rax, rdi
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.180049ad0
add rsp, 0x10e8
pop rdi
pop rbp
ret
cmp r12d, 2
jne 0x18001d8a5
mov edi, dword [rbx + 0x10]
jmp 0x18001d7cf
cmp r12d, 3
jne 0x18001d8b4
movzx edi, byte [rbx + 5]
jmp 0x18001d7cf
cmp r12d, 4
jne 0x18001d960
cmp dword [rbx + 0x10], 0x12019f
je 0x18001d7cf
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9d, [r12 + 4]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
lea edx, [r12 - 2]
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea r8, [rbp - 0x50]
lea edx, [r12 - 2]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryObject]
xor edx, edx
mov r8d, 0x1000
mov rcx, r15
call fcn.18004c900
cmp word [rbp - 0x50], di
je 0x18001d7cf
mov r8, qword [rbp - 0x48]
lea r9d, [r12 - 5]
mov qword [rsp + 0x38], rdi
xor edx, edx
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdi, r15
mov sil, 1
jmp 0x18001d7d2
cmp r12d, 5
jne 0x18001d7cf
cmp dword [rbx + 0x10], 0x12019f
je 0x18001d7cf
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9d, [r12 + 3]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
lea edx, [r12 - 3]
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea r8, [rbp - 0x50]
lea edx, [r12 - 3]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryObject]
xor edx, edx
mov r8d, 0x1000
mov rcx, r15
call fcn.18004c900
cmp word [rbp - 0x50], di
je 0x18001d7cf
mov rdx, qword [rbp - 0x48]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdi, r15
mov sil, 1
jmp 0x18001d7d2
call fcn.1800503fc
int3