Function at 0x140015ee4
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14000ed3c
xor r13d, r13d
mov r14, rax
test rax, rax
jne 0x140015f39
mov r9d, dword [rbx + 0x54]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov ecx, 0xc10204b1
call fcn.140015318
jmp 0x140016626
mov ebp, 0x2d0
xor r8d, r8d
mov edx, ebp
mov rcx, r14
call fcn.140015584
mov rdi, rax
test rax, rax
jne 0x140015f70
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xc10204b1
mov r9d, dword [rbx + 0x54]
call fcn.140015318
jmp 0x14001661e
mov r8, rbp
xor edx, edx
mov rcx, rdi
call fcn.140029dc0
mov rdx, rbx
mov qword [rdi], rsi
mov rcx, r14
mov qword [rdi + 0x10], r14
call fcn.140002ea8
mov qword [rdi + 0x18], rax
test rax, rax
je 0x14001661e
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140015fc7
mov ecx, dword [rbx + 0x54]
mov r8d, eax
mov qword [rsp + 0x28], rsi
mov edx, 0x33
mov dword [rsp + 0x20], ecx
jmp 0x14001660d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessCreateTimeQuadPart]
mov qword [rdi + 0x38], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [0x14002e9e0]
or dword [rdi + 0x48], 0xffffffff
mov dword [rdi + 0x40], eax
test r15, r15
je 0x1400160bd
lea r8, [rdi + 0xb6]
mov rcx, r15
lea rdx, [rdi + 0x35]
call fcn.14001b3f8
mov rdx, r15
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rdi + 0x18]
lea rcx, [rsp + 0x38]
mov r8d, dword [rdx + 0x68]
mov rdx, qword [rdx + 0x60]
call fcn.1400039e0
test al, al
je 0x140016036
mov byte [rdi + 0x34], 1
mov edx, 0x5c
mov rcx, r15
call sub.ntoskrnl.exe_wcsrchr
mov rbp, rax
test rax, rax
je 0x1400160aa
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2 + 2], r13w
jne 0x14001604f
test eax, eax
je 0x1400160aa
mov rcx, qword [rdi + 0x10]
lea edx, [rax*2 + 2]
xor r8d, r8d
mov dword [rdi + 0x30], edx
call fcn.140015584
mov qword [rdi + 0x28], rax
test rax, rax
je 0x14001608f
mov r8d, dword [rdi + 0x30]
lea rdx, [rbp + 2]
mov rcx, rax
call fcn.140029b00
jmp 0x1400160aa
mov rax, qword [rdi]
xor r8d, r8d
mov r9d, dword [rbx + 0x54]
xor edx, edx
mov ecx, 0xc10204b1
mov qword [rsp + 0x20], rax
call fcn.140015318
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
mov rdx, r15
call fcn.14001558c
mov qword [rdi + 0x20], rax
cmp qword [rdi + 0x28], r13
je 0x1400165f3
cmp qword [rdi + 0x20], r13
je 0x1400165f3
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002bf90]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
mov byte [rdi + 0xba], al
mov r15d, 1
test al, al
jne 0x140016114
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002bfc0]
mov r9b, r15b
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r15b
jne 0x140016117
mov al, r13b
mov byte [rdi + 0xbf], al
cmp byte [rdi + 0xba], r13b
jne 0x140016143
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002bff0]
mov r9b, r15b
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r15b
jne 0x140016146
mov al, r13b
mov byte [rdi + 0xc0], al
cmp byte [rdi + 0xba], r13b
jne 0x140016172
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c020]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r15b
jne 0x140016175
mov al, r13b
mov rcx, qword [rdi + 0x18]
lea rbp, [0x14002c050]
mov rdx, rbp
mov byte [rdi + 0xc1], al
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
mov byte [rdi + 0xc2], al
test al, al
jne 0x1400161bb
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c070]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r13b
je 0x1400161be
mov al, r15b
mov byte [rdi + 0xc3], al
cmp byte [rdi + 0xc2], r13b
jne 0x1400161ea
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c090]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r13b
je 0x1400161ed
mov al, r15b
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c0b0]
xor r9d, r9d
mov byte [rdi + 0xc4], al
xor r8d, r8d
call fcn.140004200
mov byte [rdi + 0xc6], al
cmp byte [rdi + 0xc4], r13b
jne 0x140016239
test al, al
jne 0x140016239
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c0d0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r13b
je 0x14001623c
mov al, r15b
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c100]
xor r9d, r9d
mov byte [rdi + 0xc5], al
xor r8d, r8d
call fcn.140004200
mov byte [rdi + 0xc7], al
mov rax, qword [0x1400349a0]
test r15b, al
je 0x14001627a
and eax, 0xe000
cmp eax, 0x4000
jae 0x140016321
cmp byte [rdi + 0x35], r13b
jne 0x140016321
cmp byte [rdi + 0xc2], r13b
jne 0x1400162f7
cmp byte [rdi + 0xc3], r13b
je 0x14001629f
lea rbp, [0x14002c070]
jmp 0x1400162f7
cmp byte [rdi + 0xc4], r13b
je 0x1400162b1
lea rbp, [0x14002c090]
jmp 0x1400162f7
cmp byte [rdi + 0xc5], r13b
je 0x1400162c3
lea rbp, [0x14002c0d0]
jmp 0x1400162f7
cmp byte [rdi + 0xc6], r13b
je 0x1400162d5
lea rbp, [0x14002c0b0]
jmp 0x1400162f7
cmp byte [rdi + 0xba], r13b
je 0x1400162e7
lea rbp, [0x14002bf90]
jmp 0x1400162f7
cmp byte [rdi + 0xc1], r13b
je 0x140016321
lea rbp, [0x14002c020]
mov rax, qword [rdi]
mov r8, rbp
mov r9d, dword [rbx + 0x54]
mov ecx, 0xc1021774
mov rdx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140015318
mov edx, 0x493e0
mov rcx, rdi
call fcn.14001bd50
mov rax, qword [0x1400349a0]
test r15b, al
je 0x140016339
and eax, 0xe000
cmp eax, 0x6000
jae 0x14001636c
cmp byte [rdi + 0x35], r13b
jne 0x14001636c
mov al, byte [rdi + 0xc7]
neg al
lea rax, [0x14002c100]
sbb r8, r8
and r8, rax
je 0x14001636c
mov rax, qword [rdi]
mov ecx, 0xc1021779
mov rdx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x140015f62
cmp byte [0x140034700], r13b
jne 0x1400163c3
cmp byte [rdi + 0xba], r13b
jne 0x1400163c3
mov byte [rdi + 0xba], r15b
lea r8, [0x14002a2e0]
mov word [rdi + 0xbf], r13w
lea rcx, [rsp + 0x38]
mov byte [rdi + 0xc1], r13b
mov edx, 0x18
mov r9d, dword [0x1400346b4]
call fcn.140003ad0
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov ecx, 0xc10204b7
call fcn.1400152fc
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c120]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
mov byte [rdi + 0xbe], al
cmp byte [rdi + 0xba], r13b
je 0x140016407
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c150]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
test al, al
je 0x140016407
mov bpl, r15b
jmp 0x140016427
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c180]
xor r9d, r9d
xor r8d, r8d
mov bpl, r13b
call fcn.140004200
test al, al
mov al, r13b
je 0x14001642a
mov al, r15b
mov byte [rdi + 0x178], al
test bpl, bpl
jne 0x140016452
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c1b0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r13b
je 0x140016455
mov al, r15b
mov byte [rdi + 0x20c], al
test bpl, bpl
jne 0x14001647d
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002c1e0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004200
test al, al
mov al, r13b
je 0x140016480
mov al, r15b
lea rbp, [rdi + 0xd0]
mov byte [rdi + 0x27c], al
mov rcx, rbp
xor edx, edx
call fcn.14001563c
test al, al
je 0x1400165a9
lea rcx, [rdi + 0x180]
xor edx, edx
call fcn.14001563c
test al, al
je 0x1400165a9
lea rcx, [rdi + 0x210]
xor edx, edx
call fcn.14001563c
test al, al
je 0x1400165a9
lea rcx, [rdi + 0x288]
xor edx, edx
call fcn.14001563c
test al, al
je 0x1400165a9
lea rdx, [0x14002c210]
mov rcx, rdi
call fcn.1400169e4
lea rdx, [0x14002c230]
mov dword [rdi + 0xc8], eax
mov rcx, rdi
call fcn.1400169e4
lea rdx, [0x14002c250]
mov dword [rdi + 0x170], eax
mov rcx, rdi
call fcn.1400169e4
lea rdx, [0x14002c270]
mov dword [rdi + 0x174], eax
mov rcx, rdi
call fcn.1400169e4
lea rdx, [0x14002c290]
mov dword [rdi + 0x208], eax
mov rcx, rdi
call fcn.1400169e4
lea rdx, [0x14002c2b0]
mov dword [rdi + 0x278], eax
mov rcx, rdi
call fcn.1400169e4
mov rcx, rdi
mov dword [rdi + 0x2c8], eax
call fcn.14000c234
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov bl, al
mov cr8, r15
mov rcx, qword [0x1400348b8]
mov dl, r15b
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
xor r9d, r9d
mov byte [rsp + 0x20], r13b
mov r8, rdi
lea rcx, [0x140034b20]
mov rdx, rsi
call fcn.1400105c0
mov rax, rdi
mov byte [r12], bl
jmp 0x140016633
cmp qword [rbp], r13
je 0x1400165b7
mov rcx, rbp
call fcn.1400155f0
lea rcx, [rdi + 0x180]
cmp qword [rcx], r13
je 0x1400165c8
call fcn.1400155f0
lea rcx, [rdi + 0x210]
cmp qword [rcx], r13
je 0x1400165d9
call fcn.1400155f0
lea rcx, [rdi + 0x288]
cmp qword [rcx], r13
je 0x140015f53
call fcn.1400155f0
jmp 0x140015f53
mov rax, qword [rdi]
mov edx, 0x11
mov qword [rsp + 0x28], rax
mov r8d, 0xc000007b
mov eax, dword [rbx + 0x54]
mov dword [rsp + 0x20], eax
lea r9, [0x14002bf80]
mov ecx, 0xc10204cf
call fcn.1400154e8
mov rcx, r14
call fcn.14000eea8
mov edx, dword [rbx + 0x54]
mov rcx, rsi
call fcn.140016654
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret