Function at 0x140015b84
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.14000ebf4
xor r13d, r13d
mov r14, rax
test rax, rax
jne 0x140015bd9
mov r9d, dword [rbx + 0x54]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov ecx, 0xc10204b1
call fcn.140014fb8
jmp 0x1400162ae
mov ebp, 0x2d0
xor r8d, r8d
mov edx, ebp
mov rcx, r14
call fcn.140015224
mov rdi, rax
test rax, rax
jne 0x140015c10
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xc10204b1
mov r9d, dword [rbx + 0x54]
call fcn.140014fb8
jmp 0x1400162a6
mov r8, rbp
xor edx, edx
mov rcx, rdi
call fcn.140028ec0
mov rdx, rbx
mov qword [rdi], rsi
mov rcx, r14
mov qword [rdi + 0x10], r14
call fcn.140002e08
mov qword [rdi + 0x18], rax
test rax, rax
je 0x1400162a6
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140015c67
mov ecx, dword [rbx + 0x54]
mov r8d, eax
mov qword [rsp + 0x28], rsi
mov edx, 0x33
mov dword [rsp + 0x20], ecx
jmp 0x140016295
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 [str.sboxS]
or dword [rdi + 0x48], 0xffffffff
mov dword [rdi + 0x40], eax
test r15, r15
je 0x140015d5d
lea r8, [rdi + 0xb6]
mov rcx, r15
lea rdx, [rdi + 0x35]
call fcn.14001ab88
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.140003940
test al, al
je 0x140015cd6
mov byte [rdi + 0x34], 1
mov edx, 0x5c
mov rcx, r15
call sub.ntoskrnl.exe_wcsrchr
mov rbp, rax
test rax, rax
je 0x140015d4a
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2 + 2], r13w
jne 0x140015cef
test eax, eax
je 0x140015d4a
mov rcx, qword [rdi + 0x10]
lea edx, [rax*2 + 2]
xor r8d, r8d
mov dword [rdi + 0x30], edx
call fcn.140015224
mov qword [rdi + 0x28], rax
test rax, rax
je 0x140015d2f
mov r8d, dword [rdi + 0x30]
lea rdx, [rbp + 2]
mov rcx, rax
call fcn.140028c00
jmp 0x140015d4a
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.140014fb8
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
mov rdx, r15
call fcn.14001522c
mov qword [rdi + 0x20], rax
cmp qword [rdi + 0x28], r13
je 0x14001627b
cmp qword [rdi + 0x20], r13
je 0x14001627b
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b0a0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
mov byte [rdi + 0xba], al
mov r15d, 1
test al, al
jne 0x140015db4
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b0d0]
mov r9b, r15b
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r15b
jne 0x140015db7
mov al, r13b
mov byte [rdi + 0xbf], al
cmp byte [rdi + 0xba], r13b
jne 0x140015de3
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b100]
mov r9b, r15b
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r15b
jne 0x140015de6
mov al, r13b
mov byte [rdi + 0xc0], al
cmp byte [rdi + 0xba], r13b
jne 0x140015e12
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b130]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r15b
jne 0x140015e15
mov al, r13b
mov rcx, qword [rdi + 0x18]
lea rbp, [0x14002b160]
mov rdx, rbp
mov byte [rdi + 0xc1], al
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
mov byte [rdi + 0xc2], al
test al, al
jne 0x140015e5b
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b180]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r13b
je 0x140015e5e
mov al, r15b
mov byte [rdi + 0xc3], al
cmp byte [rdi + 0xc2], r13b
jne 0x140015e8a
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b1a0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r13b
je 0x140015e8d
mov al, r15b
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b1c0]
xor r9d, r9d
mov byte [rdi + 0xc4], al
xor r8d, r8d
call fcn.140004160
mov byte [rdi + 0xc6], al
cmp byte [rdi + 0xc4], r13b
jne 0x140015ed9
test al, al
jne 0x140015ed9
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b1e0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r13b
je 0x140015edc
mov al, r15b
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b210]
xor r9d, r9d
mov byte [rdi + 0xc5], al
xor r8d, r8d
call fcn.140004160
mov byte [rdi + 0xc7], al
mov rax, qword [0x1400339d0]
test r15b, al
je 0x140015f1a
and eax, 0xe000
cmp eax, 0x4000
jae 0x140015fc1
cmp byte [rdi + 0x35], r13b
jne 0x140015fc1
cmp byte [rdi + 0xc2], r13b
jne 0x140015f97
cmp byte [rdi + 0xc3], r13b
je 0x140015f3f
lea rbp, [0x14002b180]
jmp 0x140015f97
cmp byte [rdi + 0xc4], r13b
je 0x140015f51
lea rbp, [0x14002b1a0]
jmp 0x140015f97
cmp byte [rdi + 0xc5], r13b
je 0x140015f63
lea rbp, [0x14002b1e0]
jmp 0x140015f97
cmp byte [rdi + 0xc6], r13b
je 0x140015f75
lea rbp, [0x14002b1c0]
jmp 0x140015f97
cmp byte [rdi + 0xba], r13b
je 0x140015f87
lea rbp, [0x14002b0a0]
jmp 0x140015f97
cmp byte [rdi + 0xc1], r13b
je 0x140015fc1
lea rbp, [0x14002b130]
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.140014fb8
mov edx, 0x493e0
mov rcx, rdi
call fcn.14001b4e0
mov rax, qword [0x1400339d0]
test r15b, al
je 0x140015fd9
and eax, 0xe000
cmp eax, 0x6000
jae 0x14001600c
cmp byte [rdi + 0x35], r13b
jne 0x14001600c
mov al, byte [rdi + 0xc7]
neg al
lea rax, [0x14002b210]
sbb r8, r8
and r8, rax
je 0x14001600c
mov rax, qword [rdi]
mov ecx, 0xc1021779
mov rdx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x140015c02
cmp byte [0x140033740], r13b
jne 0x14001604b
mov byte [rdi + 0xba], r15b
lea r8, [0x1400293e0]
mov r9d, dword [0x1400336f4]
lea rcx, [rsp + 0x38]
mov edx, 0x18
call fcn.140003a30
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov ecx, 0xc10204b7
call fcn.140014f9c
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b230]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
mov byte [rdi + 0xbe], al
cmp byte [rdi + 0xba], r13b
je 0x14001608f
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b260]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
test al, al
je 0x14001608f
mov bpl, r15b
jmp 0x1400160af
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b290]
xor r9d, r9d
xor r8d, r8d
mov bpl, r13b
call fcn.140004160
test al, al
mov al, r13b
je 0x1400160b2
mov al, r15b
mov byte [rdi + 0x178], al
test bpl, bpl
jne 0x1400160da
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b2c0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r13b
je 0x1400160dd
mov al, r15b
mov byte [rdi + 0x20c], al
test bpl, bpl
jne 0x140016105
mov rcx, qword [rdi + 0x18]
lea rdx, [0x14002b2f0]
xor r9d, r9d
xor r8d, r8d
call fcn.140004160
test al, al
mov al, r13b
je 0x140016108
mov al, r15b
lea rbp, [rdi + 0xd0]
mov byte [rdi + 0x27c], al
mov rcx, rbp
xor edx, edx
call fcn.1400152dc
test al, al
je 0x140016231
lea rcx, [rdi + 0x180]
xor edx, edx
call fcn.1400152dc
test al, al
je 0x140016231
lea rcx, [rdi + 0x210]
xor edx, edx
call fcn.1400152dc
test al, al
je 0x140016231
lea rcx, [rdi + 0x288]
xor edx, edx
call fcn.1400152dc
test al, al
je 0x140016231
lea rdx, [0x14002b320]
mov rcx, rdi
call fcn.140016604
lea rdx, [0x14002b340]
mov dword [rdi + 0xc8], eax
mov rcx, rdi
call fcn.140016604
lea rdx, [0x14002b360]
mov dword [rdi + 0x170], eax
mov rcx, rdi
call fcn.140016604
lea rdx, [0x14002b380]
mov dword [rdi + 0x174], eax
mov rcx, rdi
call fcn.140016604
lea rdx, [0x14002b3a0]
mov dword [rdi + 0x208], eax
mov rcx, rdi
call fcn.140016604
lea rdx, [0x14002b3c0]
mov dword [rdi + 0x278], eax
mov rcx, rdi
call fcn.140016604
mov rcx, rdi
mov dword [rdi + 0x2c8], eax
call fcn.14000c1d4
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov bl, al
mov cr8, r15
mov rcx, qword [0x1400338e8]
mov dl, r15b
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
xor r9d, r9d
mov byte [rsp + 0x20], r13b
mov r8, rdi
lea rcx, [0x140033b20]
mov rdx, rsi
call fcn.1400103e4
mov rax, rdi
mov byte [r12], bl
jmp 0x1400162bb
cmp qword [rbp], r13
je 0x14001623f
mov rcx, rbp
call fcn.140015290
lea rcx, [rdi + 0x180]
cmp qword [rcx], r13
je 0x140016250
call fcn.140015290
lea rcx, [rdi + 0x210]
cmp qword [rcx], r13
je 0x140016261
call fcn.140015290
lea rcx, [rdi + 0x288]
cmp qword [rcx], r13
je 0x140015bf3
call fcn.140015290
jmp 0x140015bf3
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, [0x14002b090]
mov ecx, 0xc10204cf
call fcn.140015188
mov rcx, r14
call fcn.14000ed60
mov edx, dword [rbx + 0x54]
mov rcx, rsi
call fcn.1400162dc
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