Function at 0x180001610
Capabilities:
Attach user process memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rdi, qword [rbp + 0x148]
xor ebx, ebx
mov eax, dword [rbp + 0x140]
mov r14, r8
add eax, 0x7ccb0000
mov r10b, 1
mov r15d, 0x10000000
mov dword [rdi], ebx
mov qword [rdi + 8], rbx
cmp eax, 0x50
ja case.0x18000167b.2093678591
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x1d00]
mov ecx, dword [rdx + rax*4 + 0x1cbc]
add rcx, rdx
jmp rcx
cmp r9d, 4
jne 0x180001c4e
cmp dword [rbp + 0x138], r9d
jne 0x180001c4e
cmp dword [r8], 0x98
jbe 0x1800016a8
mov dword [rdi], 0xc0000059
jmp 0x180001c89
mov rax, qword [rbp + 0x130]
mov dword [rax], 0x98
mov qword [rdi + 8], 4
jmp 0x180001c89
cmp r9d, 8
jne 0x180001c4e
cmp dword [rbp + 0x138], r9d
jne 0x180001c4e
mov rcx, qword [r8]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rcx
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x70], rbx
call fcn.180002730
test eax, eax
lea r9, [rsp + 0x50]
mov ecx, 0x1000
lea r8, [rsp + 0x60]
cmovne r15d, ecx
mov rcx, qword [rbp + 0x130]
mov edx, r15d
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov dword [rdi], eax
mov qword [rdi + 8], 8
jmp 0x180001c89
cmp r9d, 8
jne 0x180001c4e
cmp dword [rbp + 0x138], r9d
jne 0x180001c4e
mov rcx, qword [r14]
lea rax, [rbp + 0x148]
mov qword [rsp + 0x28], rbx
movzx r9d, r10b
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jns 0x18000178a
mov dword [rdi], eax
mov qword [rdi + 8], 8
jmp 0x180001c89
mov rcx, qword [rbp + 0x148]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, r15d
mov byte [rsp + 0x28], bl
xor r8d, r8d
mov edx, 0x200
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov rcx, qword [rbp + 0x148]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [rdi], ebx
test ebx, ebx
js 0x1800017ee
mov r8, qword [rbp + 0x130]
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcessToken]
mov rcx, qword [rsp + 0x40]
mov dword [rdi], eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov qword [rdi + 8], 8
jmp 0x180001c89
cmp r9d, 0x20
jne 0x180001c4e
cmp dword [rbp + 0x138], ebx
jne 0x180001c4e
mov rcx, r14
call fcn.180001500
mov dword [rdi], eax
jmp 0x180001c89
cmp r9d, 0x20
jne 0x180001c4e
cmp dword [rbp + 0x138], 8
jne 0x180001c4e
mov r9, qword [rbp + 0x130]
mov r8d, r15d
mov rdx, qword [r14 + 0x18]
mov ecx, dword [r14]
call fcn.1800013b0
mov dword [rdi], eax
mov qword [rdi + 8], 8
jmp 0x180001c89
cmp r9d, 8
jne 0x180001c4e
cmp dword [rbp + 0x138], r9d
jne 0x180001c4e
mov rcx, qword [r8]
cmp word [rcx], 5
jne 0x180001c4e
mov eax, 0xd8
cmp word [rcx + 2], ax
jne 0x180001c4e
mov rcx, qword [rcx + 0x20]
mov rax, qword [rbp + 0x130]
mov qword [rax], rcx
mov qword [rdi + 8], 8
jmp 0x180001c89
xor r10b, r10b
cmp r9d, 0x20
jne 0x180001c4e
mov eax, dword [rbp + 0x138]
cmp eax, 8
jb 0x180001c4e
mov r8, qword [rbp + 0x130]
lea r9, [rdi + 8]
mov rdx, r14
mov qword [rdi + 8], rax
movzx ecx, r10b
call fcn.180002040
mov dword [rdi], eax
jmp 0x180001c89
xor r10b, r10b
cmp r9d, 0x20
jne 0x180001c4e
mov eax, dword [rbp + 0x138]
cmp eax, 8
jb 0x180001c4e
mov r8, qword [rbp + 0x130]
lea r9, [rdi + 8]
mov rdx, r14
mov qword [rdi + 8], rax
movzx ecx, r10b
call fcn.180002480
mov dword [rdi], eax
jmp 0x180001c89
cmp r9d, 0x10
jne 0x180001c4e
mov eax, dword [rbp + 0x138]
lea r8, [rdi + 8]
mov rdx, qword [rbp + 0x130]
mov rcx, r14
mov qword [rdi + 8], rax
call fcn.180002780
mov dword [rdi], eax
jmp 0x180001c89
cmp r9d, 8
jne 0x180001c4e
mov r15d, dword [rbp + 0x138]
cmp r15d, 4
jb 0x180001c4e
xor r9d, r9d
mov qword [rbp - 0x28], rbx
mov r8d, 0x130
lea rdx, [rbp - 0x40]
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x180001999
mov dword [rdi], 0xc0000017
jmp 0x180001c89
mov ecx, dword [rbp - 0x20]
add rcx, qword [rbp - 0x28]
mov rdx, qword [r14]
cmp rdx, qword [rbp - 0x28]
jb 0x1800019ed
cmp rdx, rcx
ja 0x1800019ed
lea rax, [r15 + rdx]
cmp rax, rcx
ja 0x1800019ed
cmp r15d, 4
jne 0x1800019d3
mov ecx, dword [rdx]
mov rax, qword [rbp + 0x130]
mov dword [rax], ecx
mov qword [rdi + 8], r15
mov dword [rdi], ebx
jmp 0x180001c89
mov rcx, qword [rbp + 0x130]
mov r8, r15
call fcn.180002c40
mov qword [rdi + 8], r15
mov dword [rdi], ebx
jmp 0x180001c89
mov ebx, 0xc000000d
mov dword [rdi], ebx
jmp 0x180001c89
cmp r9d, 8
jne 0x180001c4e
cmp dword [rbp + 0x138], 0x18
jne 0x180001c4e
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
lea rax, [rbp + 0x148]
mov rcx, qword [r14]
movzx r9d, r10b
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x28], rbx
mov r8, qword [r8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
js 0x180001adc
mov rcx, qword [rbp + 0x148]
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
test eax, eax
jne 0x180001a76
mov eax, 0xc000004b
mov dword [rdi], eax
jmp 0x180001c89
mov eax, dword [0x180005268]
mov rcx, qword [rbp + 0x148]
cmp eax, 0x23f0
jb 0x180001a90
mov r8, qword [rcx + 0x58]
jmp 0x180001aae
cmp eax, 0x1770
jb 0x180001a9d
mov r8, qword [rcx + 0x38]
jmp 0x180001aae
cmp eax, 0xece
jne 0x180001aaa
mov r8, qword [rcx + 0x38]
jmp 0x180001aae
mov r8, qword [rcx + 0x48]
mov rdx, qword [rbp + 0x130]
lea rax, [r8 + 0x40]
mov qword [rdx + 8], rax
mov rax, qword [r8 + 0x38]
mov qword [rdx], rax
mov rax, qword [r8 + 0x30]
mov qword [rdx + 0x10], rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov qword [rdi + 8], 0x18
mov dword [rdi], eax
jmp 0x180001c89
cmp r9d, 8
jne 0x180001c4e
cmp dword [rbp + 0x138], r9d
jne 0x180001c4e
mov r8, qword [0x180005260]
lea rax, [rbp + 0x148]
mov rcx, qword [r14]
movzx r9d, r10b
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
js 0x180001b84
mov rcx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x130]
mov r10, qword [rcx + 0x28]
test r10, r10
je 0x180001b71
mov qword [rsp + 0x30], rax
mov r9d, r15d
mov rax, qword [sym.imp.ntoskrnl.exe_PsThreadType]
xor r8d, r8d
mov byte [rsp + 0x28], bl
mov rcx, r10
mov rdx, qword [rax]
mov qword [rsp + 0x20], rdx
mov edx, 0x200
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov rcx, qword [rbp + 0x148]
jmp 0x180001b74
mov qword [rax], rbx
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov qword [rdi + 8], 8
mov dword [rdi], eax
jmp 0x180001c89
cmp r9d, 8
jne 0x180001c4e
cmp dword [rbp + 0x138], 4
jne 0x180001c4e
mov rcx, qword [r8]
lea rax, [rbp + 0x148]
mov r14, qword [rbp + 0x130]
movzx r9d, r10b
mov qword [rsp + 0x28], rbx
mov edx, 0x400
mov qword [rsp + 0x20], rax
mov dword [r14], 0xffffffff
mov r8, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
test eax, eax
js 0x180001c41
mov rcx, qword [rbp + 0x148]
lea rdx, [rbp - 0x70]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r9d, 4
lea rax, [rbp + 0x140]
mov r8, r14
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
lea edx, [r9 + 0x1e]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
lea rcx, [rbp - 0x70]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test ebx, ebx
js 0x180001c41
mov eax, dword [rbp + 0x140]
mov qword [rdi + 8], rax
mov dword [rdi], ebx
jmp 0x180001c89
cmp dword [rbp + 0x138], 8
je 0x180001c56
mov dword [rdi], 0xc000000d
jmp 0x180001c89
mov rax, qword [0x180005230]
test rax, rax
je 0x180001c7a
call rax
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov qword [rdi + 8], 8
mov dword [rdi], ebx
jmp 0x180001c89
mov ebx, 0xc0000141
mov dword [rdi], ebx
jmp 0x180001c89
mov dword [rdi], 0xc00000af
mov eax, dword [rdi]
cmp eax, 0x103
jne 0x180001c9d
mov dword [rdi], 0xc0000001
mov eax, 0xc0000001
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret