Function at 0x1400585b4
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xorps xmm0, xmm0
lea rdx, [rbp - 0x69]
xor eax, eax
lea rcx, [0x1400594e0]
movups xmmword [0x140052258], xmm0
mov qword [0x140052268], rax
xor r14b, r14b
xor r12d, r12d
call fcn.14001dd24
lea rdx, [rbp - 0x51]
lea rcx, [0x140059500]
call fcn.14001dd24
lea rdx, [rbp - 0x39]
lea rcx, [0x140059530]
call fcn.14001dd24
xor r9d, r9d
lea rdx, [0x140059560]
xor r8d, r8d
xor ecx, ecx
call fcn.140003ff0
mov r13b, al
mov byte [rbp + 0x67], al
call fcn.140057f68
mov rsi, rax
test rax, rax
jne 0x140058649
lea rdx, [0x1400595a0]
jmp 0x140058a1d
add rsi, 0x20
cmp dword [rsi + 0x10], 0xfff
ja 0x14005863d
lea rcx, [0x1400595c0]
call fcn.140022a48
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140058677
lea rdx, [0x1400595c0]
jmp 0x140058a1d
mov edx, dword [rsi + 0x10]
mov r8b, 1
mov rcx, qword [0x140052050]
shl edx, 2
call fcn.140014c70
mov r12, rax
test rax, rax
je 0x140058a2a
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140058a16
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rsi]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400586e0
mov r8d, dword [rsi + 0x10]
mov rcx, r12
mov rdx, qword [rsi]
shl r8, 2
call fcn.140027b80
mov r14b, 1
lea rcx, [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test r14b, r14b
je 0x140058a16
lea rcx, [0x140059600]
xor r14b, r14b
call fcn.140006ec8
mov qword [rbp - 0x71], rax
test rax, rax
je 0x140058a2a
lea r9, [rbp + 0x7f]
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [0x140059610]
call fcn.1400563d0
mov dword [rbp + 0x77], eax
mov r15d, eax
test eax, eax
je 0x140058a2a
mov rbx, qword [rsp + 0x30]
cmp byte [rbx], 0x4e
jne 0x1400589c7
cmp byte [rbx + 1], 0x74
jne 0x1400589c7
add rbx, 2
mov qword [rsp + 0x30], rbx
xor edi, edi
cmp byte [rdi + rbx], r14b
je 0x140058770
inc edi
cmp edi, 0x40
jb 0x140058763
test r13b, r13b
jne 0x140058859
cmp edi, 0x12
jne 0x1400587a9
movabs rcx, 0x6165724372657355
cmp qword [rbx], rcx
jne 0x1400587a9
movabs rcx, 0x776f646e69576574
cmp qword [rbx + 8], rcx
jne 0x1400587a9
cmp word [rbx + 0x10], 0x7845
je 0x1400589a5
cmp edi, 7
jne 0x1400587c8
cmp dword [rbx], 0x49696447
jne 0x1400587c8
cmp word [rbx + 4], 0x696e
jne 0x1400587c8
cmp byte [rbx + 6], 0x74
je 0x1400589a5
cmp edi, 0xc
jne 0x1400587e9
movabs rcx, 0x5374696e49696447
cmp qword [rbx], rcx
jne 0x1400587e9
cmp dword [rbx + 8], 0x6c6f6f70
je 0x1400589a5
cmp edi, 0x1b
jne 0x140058808
mov r8d, edi
lea rdx, [0x140059620]
mov rcx, rbx
call fcn.140025470
test eax, eax
je 0x1400589a5
cmp edi, 0x21
jne 0x140058827
mov r8d, edi
lea rdx, [0x140059640]
mov rcx, rbx
call fcn.140025470
test eax, eax
je 0x1400589a5
cmp edi, 0x14
jne 0x140058859
movabs rcx, 0x5474655372657355
cmp qword [rbx], rcx
jne 0x14005885e
movabs rcx, 0x7365446461657268
cmp qword [rbx + 8], rcx
jne 0x14005885e
cmp dword [rbx + 0x10], 0x706f746b
jne 0x14005885e
jmp 0x1400589a5
cmp edi, 8
jb 0x140058871
movabs rcx, 0x4944446444696447
cmp qword [rbx], rcx
jne 0x140058871
mov al, 1
jmp 0x140058873
xor al, al
lea r9, [rbp - 0x51]
mov byte [rsp + 0x20], al
lea r8, [rbp - 0x69]
mov edx, edi
mov rcx, rbx
call fcn.14001e270
test al, al
je 0x1400589a5
mov rcx, qword [rbp - 0x71]
mov edx, r15d
and qword [rbp - 0x79], 0
and dword [rbp + 0x6f], 0
call fcn.14005665c
test rax, rax
je 0x14005899b
mov rcx, rax
call fcn.140057b7c
mov r15d, eax
cmp eax, 0xfffffffe
je 0x1400589a5
cmp eax, 0xffffffff
je 0x14005899b
lea rax, [rbp + 0x6f]
mov r8d, r15d
lea r9, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, rsi
call fcn.14001dc08
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14005899b
mov rcx, qword [0x140052050]
lea edx, [rdi + 0x41]
mov r8b, 1
and r15d, 0xfff
call fcn.140014c70
xor ecx, ecx
mov r13, rax
test rax, rax
je 0x140058a2a
mov word [rax + 0x10], r15w
lea r8, [rbp - 0x39]
movzx eax, word [rbp + 0x6f]
mov edx, edi
mov word [r13 + 0x12], ax
mov eax, dword [rbp + 0x77]
mov dword [r13 + 0x14], eax
mov qword [r13 + 0x18], rbx
mov qword [r13 + 0x20], rcx
mov qword [r13 + 0x28], rcx
mov qword [r13 + 0x30], rcx
mov rcx, qword [rsp + 0x30]
call fcn.14001dc6c
test eax, eax
mov word [r13 + 0x3a], di
lea rcx, [r13 + 0x3c]
mov r8d, edi
setne al
mov byte [r13 + 0x38], al
mov rdx, qword [rsp + 0x30]
call fcn.140027b80
mov r8, r13
mov byte [rdi + r13 + 0x3c], r14b
xor edx, edx
lea rcx, [0x140052258]
call fcn.14000c8ec
cmp r15d, dword [0x140052250]
mov r13b, byte [rbp + 0x67]
jbe 0x1400589a5
mov dword [0x140052250], r15d
jmp 0x1400589a5
mov rcx, qword [rsp + 0x30]
call fcn.140057b2c
mov rcx, qword [rbp - 0x71]
lea r9, [rbp + 0x7f]
lea r8, [rsp + 0x30]
xor edx, edx
call fcn.1400563d0
mov dword [rbp + 0x77], eax
mov r15d, eax
test eax, eax
jne 0x140058740
cmp dword [0x140052250], 0x64
mov r14b, 1
jae 0x1400589ea
xor r8d, r8d
lea rdx, [0x140059670]
mov ecx, 0xc1010459
call fcn.1400149e8
xor r14b, r14b
cmp dword [0x140052250], 0x7d0
jb 0x140058a0f
xor r8d, r8d
lea rdx, [0x140059680]
mov ecx, 0xc1010459
call fcn.1400149e8
xor r14b, r14b
jmp 0x140058a2a
test r14b, r14b
jne 0x140058a31
jmp 0x140058a2a
lea rdx, [0x1400595e0]
xor r8d, r8d
mov ecx, 0xc1010459
call fcn.1400149e8
and dword [0x140052250], 0
lea rcx, [rbp - 0x69]
call fcn.14001d94c
lea rcx, [rbp - 0x51]
call fcn.14001d94c
lea rcx, [rbp - 0x39]
call fcn.14001d94c
test r12, r12
je 0x140058a5f
mov edx, dword [rsi + 0x10]
mov rcx, r12
shl edx, 2
call fcn.14000e2f4
mov al, r14b
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret