Function at 0x180006880
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5b8
movaps xmmword [rsp + 0x5a0], xmm6
mov rsi, rcx
lea rcx, [rsp + 0xd0]
mov r8d, 0x4d0
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x100], 0x10001f
cmp byte [0x1803a2020], 0
jne 0x180006a39
lea rax, [0x18034dbdc]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x5f39dc80
mov edx, dword [rsp + 0x60]
call fcn.1800039c0
movabs rcx, 0xfa784a188bfb5972
xor rcx, qword [rax]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 8
call fcn.1800df650
xor eax, eax
cmp rax, qword [rsp + 0x30]
jno 0x18000702c
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
jne 0x18000694e
mov rcx, rbx
call sub.kernel32.dll_LoadLibraryA
test rax, rax
je 0x180006ff8
mov r14, rax
lea rax, [0x180348faf]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x15fa94e5
mov edx, dword [rsp + 0x60]
call fcn.180003f70
movabs rcx, 0x8e23026086a13edd
xor rcx, qword [rax]
mov edx, 0x2381dfb7
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0xc
shr eax, 8
xor al, 0x42
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
mov byte [rsp + 0x5c], r8b
mov byte [rsp + 0x5d], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0xe
call fcn.1800df650
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x30], rax
jne 0x18000706e
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, r14
mov rdx, r12
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180006dc4
mov byte [0x1803a2020], 1
mov qword [0x1803a2028], rax
mov byte [r12], 0
test r15, r15
je 0x180006a20
mov r8d, 1
mov rcx, r12
mov rdx, r15
call fcn.18000a8a0
mov byte [rbx], 0
test rdi, rdi
je 0x180006a39
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.18000a8a0
cmp byte [0x1803a2030], 0
jne 0x180006ba8
lea rax, [0x18034abf7]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0xedd0dce1
mov edx, dword [rsp + 0x60]
call fcn.180003d00
movabs rcx, 0xdbda0c704b4516b9
xor rcx, qword [rax]
movzx eax, byte [rax + 8]
xor al, 0x1a
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x58], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 9
call fcn.1800df650
xor eax, eax
cmp rax, qword [rsp + 0x30]
jno 0x1800070ad
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.kernel32.dll_GetModuleHandleA
mov r14, rax
lea rax, [0x180346b5f]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x3a526d79
mov edx, dword [rsp + 0x60]
call fcn.180003b10
movabs rcx, 0x4f356ce8260712c
xor rcx, qword [rax]
mov edx, 0xab7e9abb
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0x4f
shr eax, 8
xor al, 0x13
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
mov byte [rsp + 0x5c], r8b
mov byte [rsp + 0x5d], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0xe
call fcn.1800df650
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x30], rax
jne 0x1800070ec
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, r14
mov rdx, r12
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180006dc4
mov byte [0x1803a2030], 1
mov qword [0x1803a2038], rax
mov byte [r12], 0
test r15, r15
je 0x180006b8f
mov r8d, 1
mov rcx, r12
mov rdx, r15
call fcn.18000a8a0
mov byte [rbx], 0
test rdi, rdi
je 0x180006ba8
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.18000a8a0
mov qword [rsp + 0xa0], rsi
lea rdx, [0x180006770]
mov ecx, 1
call sub.kernel32.dll_AddVectoredExceptionHandler
mov rdi, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r9d, 0x30
call sub.ntdll.dll_NtQueryInformationProcess
mov ebp, eax
mov esi, dword [rsp + 0x80]
mov rax, qword [0x180380fe8]
movzx eax, byte [rax]
mov ecx, 0x100000
mov edx, 1
call fcn.18000a890
test rax, rax
je 0x18000701d
mov dword [rsp + 0x9c], 0
lea r9, [rsp + 0x9c]
mov ecx, 5
mov qword [rsp + 0x90], rax
mov rdx, rax
mov r8d, 0x100000
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
js 0x180006f67
mov eax, dword [rsp + 0x9c]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x180006f67
mov qword [rsp + 0xb0], rdi
test ebp, ebp
mov eax, 1
cmove rax, rsi
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x90]
mov rax, rcx
add rax, 0x100
mov qword [rsp + 0xb8], rax
xor esi, esi
xorps xmm6, xmm6
lea r14, [rsp + 0xa8]
lea r15, [rsp + 0x60]
lea r12, [rsp + 0x50]
nop word [rax + rax]
mov rax, qword [rsp + 0xc0]
cmp qword [rcx + rsi + 0x50], rax
je 0x180006d20
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rsi]
test rax, rax
je 0x180006e13
add rsi, rax
cmp rsi, qword [rsp + 0xc8]
jb 0x180006ce0
jmp 0x180006e13
mov rax, qword [rsp + 0x90]
mov edi, dword [rax + rsi + 4]
test rdi, rdi
je 0x180006cef
mov rax, qword [rsp + 0xb8]
lea rbp, [rax + rsi]
jmp 0x180006d5a
mov rax, qword [rsp + 0x38]
mov qword [rax + r13*8], rbx
inc r13
mov qword [rsp + 0x40], r13
add rbp, 0x50
dec rdi
je 0x180006cef
mov qword [rsp + 0xa8], 0
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x50], 0
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x58], rax
mov rcx, r14
mov edx, 0x1fffff
mov r8, r15
mov r9, r12
call sub.ntdll.dll_NtOpenThread
test eax, eax
js 0x180006d51
mov rbx, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x40]
cmp r13, qword [rsp + 0x30]
jne 0x180006d40
lea rcx, [rsp + 0x30]
call fcn.180007d50
jmp 0x180006d40
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [r12], 0
test r15, r15
je 0x180006df6
mov r8d, 1
mov rcx, r12
mov rdx, r15
call fcn.18000a8a0
mov byte [rbx], 0
test rdi, rdi
je 0x180006fd9
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
jmp 0x180006fd4
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x180006f4b
movabs rdi, 0xffffffff0000fffb
mov r15, qword [rsp + 0x38]
mov edx, 0x100000
mov r8d, 1
call fcn.18000a8a0
shl rsi, 3
xor r13d, r13d
lea rbx, [rsp + 0xd0]
lea rbp, [rdi + 3]
nop dword [rax + rax]
mov rax, r15
add rax, r13
je 0x180006f20
mov r12, qword [rax]
mov rcx, r12
mov rdx, rbx
call sub.ntdll.dll_NtGetContextThread
test eax, eax
jne 0x180006fa0
cmp byte [0x1803a2020], 1
jne 0x180006ebd
mov rax, qword [0x1803a2028]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x140]
and rax, rbp
or rax, 1
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], 0
cmp byte [0x1803a2030], 1
jne 0x180006ef8
mov rax, qword [0x1803a2038]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x140]
and rax, rdi
or rax, 4
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], 0
mov rcx, r12
mov rdx, rbx
call sub.ntdll.dll_NtSetContextThread
test eax, eax
jne 0x180006fa0
mov rcx, r12
call sub.ntdll.dll_NtClose
add r13, 8
cmp rsi, r13
jne 0x180006e60
mov rsi, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test r14, r14
jne 0x180006fc4
jmp 0x180006fd9
test r14, r14
je 0x180006f67
mov rcx, qword [rsp + 0x38]
shl r14, 3
mov r8d, 8
mov rdx, r14
call fcn.18000a8a0
mov edx, 0x100000
mov r8d, 1
mov rcx, qword [rsp + 0x90]
call fcn.18000a8a0
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
jmp 0x180006fd9
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
test r14, r14
je 0x180006fd9
shl r14, 3
mov r8d, 8
mov rcx, r15
mov rdx, r14
call fcn.18000a8a0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x5a0]
add rsp, 0x5b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [rbx], 0
test rdi, rdi
jne 0x180006e02
jmp 0x180006fd9
mov ecx, 1
mov edx, 0x100000
call fcn.1800debd0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180352630]
mov qword [rsp + 0x20], rax
lea rcx, [0x1803525a8]
lea r9, [0x180352588]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1800ebdf0
jmp 0x180007129
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180352648]
mov qword [rsp + 0x20], rax
lea rcx, [0x1803525a8]
lea r9, [0x180352588]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1800ebdf0
jmp 0x180007129
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180352660]
mov qword [rsp + 0x20], rax
lea rcx, [0x1803525a8]
lea r9, [0x180352588]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1800ebdf0
jmp 0x180007129
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180352678]
mov qword [rsp + 0x20], rax
lea rcx, [0x1803525a8]
lea r9, [0x180352588]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1800ebdf0
ud2