Function at 0x1ab98
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov rax, qword [0x000a7100]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x340]
xor ebp, ebp
mov r15, r9
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x48], rax
mov rsi, rbp
mov qword [rsp + 0x40], rbp
mov r13d, ebp
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x38], rbp
cmp rcx, rbp
je 0x1b0d5
cmp qword [0x000b5100], rbp
je 0x1b0d5
mov r12d, 0x1380
mov r8d, 0x6c616e41
xor ecx, ecx
mov rdx, r12
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
cmp rax, rbp
je 0x1b0d5
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.00091d10
mov rdx, qword [0x000b5100]
lea ecx, [rbp + 1]
lock xadd dword [rdx + 0xde4], ecx
inc ecx
lea rdx, [rsp + 0x40]
mov qword [rsi + 0x1c], r14
mov dword [rsi + 0x10], ecx
mov rcx, r14
mov qword [rsi + 0x14], rdi
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
cmp eax, ebp
jl 0x1ac98
mov rcx, qword [rsp + 0x40]
cmp rcx, rbp
je 0x1ac98
call sub.ntoskrnl.exe_PsGetProcessWow64Process
cmp rax, rbp
jne 0x1ac83
mov byte [rsi + 0x24], 1
mov rcx, qword [rsp + 0x40]
cmp rcx, rbp
je 0x1ac98
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x40], rbp
cmp r14, 4
jne 0x1acde
mov eax, dword [0x00093a50]
or rcx, 0xffffffffffffffff
lea rdx, [0x00093a60]
mov dword [rsi + 0x240], eax
movzx eax, word [0x00093a54]
mov rdi, rdx
mov word [rsi + 0x244], ax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsi + 0x38]
add r8, r8
jmp 0x1b0d0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x20]
call fcn.00091d10
lea r9, [rsp + 0x50]
lea rcx, [0x00035cdc]
mov r8, r14
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.0003ae58
mov edi, 0xc0000000
and eax, edi
cmp eax, edi
je 0x1b0d5
cmp qword [rsp + 0x58], rbp
jne 0x1b0d5
mov rax, qword [rsp + 0x50]
or r12, 0xffffffffffffffff
mov qword [rsi + 0x28], rax
cmp rbx, rbp
je 0x1adb7
cmp qword [rbx + 8], rbp
je 0x1adb7
lea eax, [r12 + 9]
cmp word [rbx], ax
jb 0x1adb7
xor eax, eax
lea rdi, [0x00092310]
mov rcx, r12
repne scasw ax, word [rdi]
lea rdx, [0x00092310]
not rcx
lea r8, [rcx - 1]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ntoskrnl.exe_wcsncmp]
cmp eax, ebp
jne 0x1ad91
mov eax, 0x210
cmp word [rbx], ax
ja 0x1ad87
movzx r13d, word [rbx]
sub r13d, 8
mov rdx, qword [rbx + 8]
add rdx, 8
jmp 0x1ada3
mov eax, 0x208
cmp word [rbx], ax
ja 0x1ad9f
movzx r13d, word [rbx]
mov rdx, qword [rbx + 8]
lea rbp, [rsi + 0x38]
mov r8d, r13d
mov rcx, rbp
call fcn.00091720
xor r13d, r13d
jmp 0x1adf0
lea rax, [rsp + 0x34]
lea rbp, [rsi + 0x38]
lea rcx, [0x00035808]
mov r8, r14
xor edx, edx
mov r9, rbp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x34], 0x103
mov qword [rsp + 0x20], rax
call fcn.0003ae58
and eax, edi
cmp eax, edi
je 0x1b0d5
lea rax, [rsp + 0x30]
lea r9, [rsi + 0x240]
lea rcx, [0x00034080]
mov r8, rbp
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x103
call fcn.0003ae58
xor eax, eax
mov rcx, r12
mov rdi, rbp
repne scasw ax, word [rdi]
mov eax, 0x258
not rcx
dec rcx
mov dword [rsp + 0x34], ecx
cmp ecx, r13d
je 0x1afa0
lea rcx, [rsp + 0x70]
mov r8, rax
xor edx, edx
call fcn.00091d10
mov edx, 0x5c
mov rcx, rbp
call fcn.00034658
cmp rax, r13
je 0x1ae73
sub rax, rsi
sub rax, 0x38
shr rax, 1
mov dword [rsi + 0x137c], eax
lea rdx, [0x00092350]
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
mov rcx, r12
lea rdi, [0x00092310]
lea rdx, [0x00092310]
cmp eax, r13d
jne 0x1aedc
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx + rcx - 2]
lea rcx, [rsp + 0x70]
call fcn.00091720
xor eax, eax
mov rcx, r12
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx + rcx - 2]
lea rcx, [rsp + 0x70]
jmp 0x1af10
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx + rcx - 2]
lea rcx, [rsp + 0x70]
mov r8, rbx
call fcn.00091720
xor eax, eax
mov rcx, r12
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + rbx + 0x70]
add r8, r8
mov rdx, rbp
call fcn.00091720
lea r8, [rsp + 0x70]
lea rcx, [0x00035664]
mov r9, rsi
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.0003ae58
lea rax, [rsp + 0x30]
lea r9, [rsi + 0x748]
lea r8, [rsi + 0x6c8]
lea rcx, [0x00034080]
mov edi, 0x3f
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], edi
call fcn.0003ae58
lea rax, [rsp + 0x30]
lea r9, [rsi + 0x808]
lea r8, [rsi + 0x788]
lea rcx, [0x00034080]
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], edi
call fcn.0003ae58
mov eax, 0x258
cmp r15, r13
je 0x1b017
mov rdx, qword [r15 + 8]
cmp rdx, r13
je 0x1b017
cmp word [r15], r13w
je 0x1b017
cmp word [r15], ax
jae 0x1b0ba
movzx r8d, word [r15]
lea rcx, [rsi + 0x344]
call fcn.00091720
mov r8d, 0x12c
lea rcx, [rsi + 0x59c]
xor edx, edx
mov dword [rsp + 0x30], r8d
call fcn.00091d10
lea rax, [rsp + 0x30]
lea r9, [rsi + 0x59c]
lea r8, [rsi + 0x344]
lea rcx, [0x00034080]
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.0003ae58
jmp 0x1b0ba
lea r9, [rsp + 0x38]
lea rcx, [0x00035b98]
mov r8, r14
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.0003ae58
mov r11, qword [rsp + 0x38]
cmp r11, r13
je 0x1b0ba
xor eax, eax
mov rcx, r12
mov rdi, r11
repne scasw ax, word [rdi]
not rcx
dec rcx
mov dword [rsp + 0x30], ecx
cmp ecx, r13d
je 0x1b0a7
mov r8d, 0x12c
cmp ecx, r8d
jae 0x1b0a7
lea rcx, [rsi + 0x59c]
xor edx, edx
mov dword [rsp + 0x30], r8d
call fcn.00091d10
mov r8, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsi + 0x59c]
lea rcx, [0x00034080]
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.0003ae58
mov r11, qword [rsp + 0x38]
mov edx, 0x6c616e41
mov rcx, r11
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x38], r13
mov rax, qword [rsp + 0x48]
cmp rax, r13
je 0x1b0d5
mov r8d, 0x1380
mov rdx, rsi
mov rcx, rax
call fcn.00091720
mov rax, rsi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.000916b0
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret