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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x1fb8]
mov eax, 0x20b8
call fcn.18005f3d0
sub rsp, rax
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0x1f80], rax
mov qword [rsp + 0x20b0], rsi
xor edi, edi
mov qword [rsp + 0x20a0], r13
mov esi, edx
mov qword [rsp + 0x2098], r14
mov r13d, r9d
mov dword [rsp + 0x48], edx
mov r14d, edi
mov qword [rsp + 0x70], rcx
xor edx, edx
mov qword [rsp + 0x2090], r15
lea rcx, [rbp - 0x80]
mov r15, r8
mov qword [rsp + 0x50], rdi
mov r8d, 0x1000
mov dword [rsp + 0x44], edi
call fcn.18004c900
xor edx, edx
lea rcx, [rbp + 0xf80]
mov r8d, 0x1000
call fcn.18004c900
xorps xmm0, xmm0
mov qword [rsp + 0x68], rdi
xor edx, edx
lea rcx, [rsp + 0x58]
movdqu xmmword [rsp + 0x58], xmm0
call fcn.180014a70
lea edx, [rdi + 0x20]
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x58]
call fcn.180014a70
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rdx, rcx
cmp r8, rcx
jne 0x18001e95c
mov edx, edi
sub r8d, ecx
lea r9, [rsp + 0x40]
mov ecx, 0x10
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
add rdx, 0x20
call fcn.180014a70
mov r8, qword [rsp + 0x60]
lea r9, [rsp + 0x40]
sub r8, qword [rsp + 0x58]
mov rdx, rdi
mov ecx, 0x10
cmovne rdx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r8, qword [rsp + 0x58]
test eax, eax
js 0x18001eb4d
cmp qword [rsp + 0x60], r8
mov rcx, rdi
mov qword [rsp + 0x20d8], rbx
cmovne rcx, r8
mov qword [rsp + 0x20a8], r12
mov r12d, dword [rcx]
lea rbx, [rcx + 4]
test r12d, r12d
je 0x18001eb3a
nop dword [rax]
cmp dword [rbx], esi
jne 0x18001eb27
cmp r14d, r13d
jae 0x18001eb27
cmp dword [rbx + 0x10], 0x12019f
je 0x18001eb27
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movzx edx, word [rbx + 6]
lea r9, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov r8, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x18001eb27
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x1000
call fcn.18004c900
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
lea edx, [r9 - 6]
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov r9d, dword [rsp + 0x44]
lea rax, [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp - 0x80]
mov edx, 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryObject]
xor edx, edx
lea rcx, [rbp + 0xf80]
mov r8d, 0x1000
call fcn.18004c900
cmp word [rbp - 0x80], di
je 0x18001eafc
mov r8, qword [rbp - 0x78]
lea rax, [rbp + 0xf80]
mov qword [rsp + 0x38], rdi
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x28], 0x1000
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [0x18006d820]
lea rcx, [rbp + 0xf80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18001eafc
movzx eax, word [rbx + 6]
mov qword [r15], rax
add r15, 8
inc r14d
mov rsi, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x18001eb23
test byte [rsp + 0x40], 2
jne 0x18001eb23
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x48]
add rbx, 0x14
add r12d, 0xffffffff
jne 0x18001e9e0
mov r8, qword [rsp + 0x58]
mov r12, qword [rsp + 0x20a8]
mov edi, r14d
mov rbx, qword [rsp + 0x20d8]
mov r15, qword [rsp + 0x2090]
mov r14, qword [rsp + 0x2098]
mov r13, qword [rsp + 0x20a0]
mov rsi, qword [rsp + 0x20b0]
test r8, r8
je 0x18001eba3
mov rdx, qword [rsp + 0x68]
mov rax, r8
sub rdx, r8
cmp rdx, 0x1000
jb 0x18001eb9b
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001ebbe
mov rcx, r8
call fcn.180049e70
mov eax, edi
mov rcx, qword [rbp + 0x1f80]
xor rcx, rsp
call fcn.180049ad0
add rsp, 0x20b8
pop rdi
pop rbp
ret
call fcn.1800503fc
int3