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

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4398]
mov eax, 0x4498
call fcn.18005f3d0
sub rsp, rax
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0x4370], rax
mov rbx, rcx
test rcx, rcx
je 0x18001f2ac
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18001ee90
cmp rax, 0x1c2
jae 0x18001f2ac
mov qword [rsp + 0x44c0], rdi
lea rcx, [rbp + 0x1370]
mov qword [rsp + 0x4490], r12
xor edx, edx
mov qword [rsp + 0x4488], r14
mov r8d, 0x1000
xor r14d, r14d
mov edi, r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], r14d
mov r12d, r14d
call fcn.18004c900
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x1000
call fcn.18004c900
xor edx, edx
lea rcx, [rbp + 0x2370]
mov r8d, 0x2000
call fcn.18004c900
mov eax, dword [0x18006d870]
lea rcx, [rbp - 0x6a]
movups xmm0, xmmword [str.BaseNamedObjects_]
mov dword [rbp - 0x70], eax
xor edx, edx
movups xmm1, xmmword [0x18006d860]
movzx eax, word [0x18006d874]
mov r8d, 0x3da
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
mov word [rbp - 0x6c], ax
call fcn.18004c900
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xorps xmm0, xmm0
mov qword [rsp + 0x60], r14
xor edx, edx
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
call fcn.180014a70
lea edx, [r14 + 0x20]
mov dword [rsp + 0x44], r14d
lea rcx, [rsp + 0x50]
call fcn.180014a70
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, rcx
cmp r8, rcx
jne 0x18001ef99
mov edx, r14d
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, r14
mov ecx, 0x10
cmovne rdx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r8, qword [rsp + 0x50]
test eax, eax
js 0x18001f242
cmp qword [rsp + 0x58], r8
mov rcx, r14
mov qword [rsp + 0x4480], r15
cmovne rcx, r8
mov r15d, dword [rcx]
lea rbx, [rcx + 4]
test r15d, r15d
je 0x18001f23a
mov qword [rsp + 0x44b8], rsi
nop word [rax + rax]
cmp r12d, dword [rbx]
je 0x18001f062
test rdi, rdi
je 0x18001f04c
lea rdx, [rsp + 0x44]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x18001f04c
test byte [rsp + 0x44], 2
jne 0x18001f04c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x440
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12d, dword [rbx]
mov rdi, rax
test rdi, rdi
je 0x18001f21a
cmp dword [rbx + 0x10], 0x12019f
je 0x18001f21a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movzx edx, word [rbx + 6]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x30], 2
mov r8, rax
mov dword [rsp + 0x28], r14d
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x18001f21a
xor edx, edx
lea rcx, [rbp + 0x1370]
mov r8d, 0x1000
call fcn.18004c900
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1370]
lea edx, [r9 - 6]
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea r8, [rbp + 0x1370]
mov edx, 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryObject]
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x1000
call fcn.18004c900
cmp word [rbp + 0x1370], r14w
je 0x18001f1f3
mov rdx, qword [rbp + 0x2378]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.Mutant
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18001f1f3
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x2370]
lea edx, [r9 - 7]
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea r8, [rbp + 0x2370]
mov edx, 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryObject]
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x1000
call fcn.18004c900
cmp word [rbp + 0x2370], r14w
je 0x18001f1f3
mov rdx, qword [rbp + 0x2378]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18001f22a
mov rsi, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x18001f21a
test byte [rsp + 0x68], 2
jne 0x18001f21a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 0x14
add r15d, 0xffffffff
jne 0x18001f020
jmp 0x18001f22d
mov r14d, dword [rbx]
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x44b8]
mov r15, qword [rsp + 0x4480]
mov r12, qword [rsp + 0x4490]
mov rdi, qword [rsp + 0x44c0]
test r8, r8
je 0x18001f288
mov rdx, qword [rsp + 0x60]
mov rax, r8
sub rdx, r8
cmp rdx, 0x1000
jb 0x18001f280
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f2b0
mov rcx, r8
call fcn.180049e70
mov eax, r14d
mov r14, qword [rsp + 0x4488]
mov rcx, qword [rbp + 0x4370]
xor rcx, rsp
call fcn.180049ad0
add rsp, 0x4498
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x18001f293
call fcn.1800503fc
int3