Function at 0x140015450
Capabilities:
Attach user process memory
Contain obfuscated stackstrings
Find process by pid
Free user process memory

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1b8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0xa8], 0
mov qword [rsp + 0x98], 0
mov byte [rsp + 0x54], 1
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x808]
lea rdx, [rsp + 0x98]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x140015e27
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x140015510
mov dword [rsp + 0x60], 1
jmp 0x140015518
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x5c], al
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x90], rax
je 0x14001554b
mov dword [rsp + 0x64], 1
jmp 0x140015553
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x54], al
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, rax
call fcn.14000bfe0
movzx eax, al
test eax, eax
je 0x1400155c1
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x808]
mov dword [rsp + 0x20], eax
lea r9, [0x14001d920]
lea r8, [0x14001d930]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp qword [rsp + 0x98], 0
je 0x1400155b7
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc000010a
jmp 0x140015e67
mov rax, qword [rsp + 0x1d0]
cmp dword [rax], 2
jne 0x1400156d5
mov rax, qword [rsp + 0x1d0]
cmp qword [rax + 0x818], 0
je 0x1400156d5
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x820]
mov r8d, 1
mov edx, eax
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 0x818]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x820]
mov r8d, 0x4b555341
mov edx, eax
mov ecx, 0x100
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x820]
mov rcx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rcx + 0x818]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x1400156d5
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x1400156f4
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov byte [rsp + 0x190], 0x52
mov byte [rsp + 0x191], 0xc1
mov byte [rsp + 0x192], 0x4e
mov byte [rsp + 0x193], 0xc3
mov byte [rsp + 0x194], 0x60
mov byte [rsp + 0x195], 0xc5
mov byte [rsp + 0x196], 0x5a
mov byte [rsp + 0x197], 0xc7
mov byte [rsp + 0x198], 0x5c
mov byte [rsp + 0x199], 0xc9
mov byte [rsp + 0x19a], 0x1c
mov byte [rsp + 0x19b], 0xcb
mov byte [rsp + 0x19c], 0x68
mov byte [rsp + 0x19d], 0xcd
mov byte [rsp + 0x19e], 0x62
mov byte [rsp + 0x19f], 0xcf
mov byte [rsp + 0x1a0], 0x64
mov byte [rsp + 0x1a1], 0xd1
mov byte [rsp + 0x1a2], 0xd2
mov byte [rsp + 0x1a3], 0xd3
mov byte [rsp + 0x52], 0
jmp 0x1400157a6
movzx eax, byte [rsp + 0x52]
inc al
mov byte [rsp + 0x52], al
movzx eax, byte [rsp + 0x52]
cmp rax, 0x14
jae 0x140015800
movzx eax, byte [rsp + 0x52]
movzx eax, byte [rsp + rax + 0x190]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
neg eax
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
xor eax, 0xc0
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x52]
movzx ecx, byte [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x52]
movzx ecx, byte [rsp + 0x50]
mov byte [rsp + rax + 0x190], cl
jmp 0x14001579b
mov rax, qword [rsp + 0x1d0]
add rax, 4
mov rdx, rax
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rax, qword [rsp + 0x1d0]
cmp dword [rax], 2
jne 0x140015941
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x58
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1d0]
add rax, 0x404
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x820]
lea rdx, [rsp + 0x120]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x804]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x810]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x824]
mov byte [rsp + 0x20], al
mov r9d, ecx
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x98]
call fcn.14001a200
mov dword [rsp + 0x58], eax
jmp 0x140015908
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x14001591f
lea rcx, [rsp + 0xe8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp qword [rsp + 0x98], 0
je 0x140015938
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x58]
jmp 0x140015e67
movzx r8d, byte [rsp + 0x5c]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
call fcn.1400165f0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140015992
lea r9, [0x14001d920]
lea r8, [0x14001d9f0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x58], 0xc0000225
cmp dword [rsp + 0x58], 0
jl 0x140015ab1
mov byte [rsp + 0x180], 0x65
mov byte [rsp + 0x181], 0x4c
mov byte [rsp + 0x182], 0x5d
mov byte [rsp + 0x183], 0x66
mov byte [rsp + 0x184], 0x5a
mov byte [rsp + 0x185], 0x4f
mov byte [rsp + 0x186], 0x43
mov byte [rsp + 0x187], 0x62
mov byte [rsp + 0x188], 0x5d
mov byte [rsp + 0x189], 0x5c
mov byte [rsp + 0x18a], 0x23
mov byte [rsp + 0x53], 0
jmp 0x140015a07
movzx eax, byte [rsp + 0x53]
inc al
mov byte [rsp + 0x53], al
movzx eax, byte [rsp + 0x53]
cmp rax, 0xb
jae 0x140015a61
movzx eax, byte [rsp + 0x53]
movzx eax, byte [rsp + rax + 0x180]
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x51]
xor eax, 0xd6
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x53]
movzx ecx, byte [rsp + 0x51]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x51]
not eax
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x53]
movzx ecx, byte [rsp + 0x51]
mov byte [rsp + rax + 0x180], cl
jmp 0x1400159fc
xor r9d, r9d
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x80]
call fcn.140015e90
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140015ab1
lea r9, [0x14001d920]
lea r8, [0x14001da20]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x58], 0xc0000225
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_PsIsProtectedProcess]
movzx eax, al
test eax, eax
je 0x140015b09
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x808]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb4], 0
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xbc], 0
lea rcx, [rsp + 0xb0]
call fcn.1400179a0
cmp dword [rsp + 0x58], 0
jl 0x140015dd6
mov qword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0x5c]
test eax, eax
je 0x140015b45
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x68]
call fcn.140015200
mov qword [rsp + 0x88], rax
jmp 0x140015b5f
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x68]
call fcn.140014ee0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x1d0]
cmp dword [rax], 0
jne 0x140015cb9
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x1d0]
movzx r9d, byte [rax + 0x80c]
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call fcn.14000b130
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0xa8], 0
jge 0x140015bf3
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
lea r9, [0x14001d920]
lea r8, [0x14001da60]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140015cb7
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x5e0], 0
je 0x140015c8a
mov rax, qword [rsp + 0x1d0]
cmp dword [rax + 0x804], 0
je 0x140015c8a
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x1d0]
lea rdi, [rax + 0x210]
lea rsi, [rcx + 0x404]
mov ecx, 0x3d0
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa0]
add rax, 0x210
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x804]
mov rdx, qword [rsp + 0xa0]
add rcx, qword [rdx + 0x5e0]
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9b, 1
mov r8d, 4
mov rdx, rax
call fcn.14000b130
jmp 0x140015cb7
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x5e0], 0
jne 0x140015cb7
lea r9, [0x14001d920]
lea r8, [0x14001daa0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140015d32
mov rax, qword [rsp + 0x1d0]
cmp dword [rax], 1
jne 0x140015d01
mov rax, qword [rsp + 0x1d0]
add rax, 0x404
mov r9, rax
mov rax, qword [rsp + 0x1d0]
mov r8d, dword [rax + 0x804]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140014c60
mov dword [rsp + 0x58], eax
jmp 0x140015d32
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea r9, [0x14001d920]
lea r8, [0x14001dad0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x58], 0xc000000d
cmp dword [rsp + 0x58], 0
jl 0x140015db3
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x5e0]
mov qword [rax + 0x828], rcx
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x80d]
test eax, eax
je 0x140015d8c
movzx r8d, byte [rsp + 0x5c]
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rax + 0x5e0]
mov rcx, qword [rsp + 0x98]
call fcn.140016ed0
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x80e]
test eax, eax
je 0x140015db3
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x5e0]
call fcn.14000afc0
mov r9d, 0x8000
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
cmp dword [rsp + 0xb0], 0
je 0x140015e0e
mov dword [rsp + 0xb4], 1
mov dword [rsp + 0xb8], 1
mov dword [rsp + 0xbc], 1
lea rcx, [rsp + 0xb0]
call fcn.1400179a0
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x140015e25
lea rcx, [rsp + 0xe8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140015e4a
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
lea r9, [0x14001d920]
lea r8, [0x14001db10]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp qword [rsp + 0x98], 0
je 0x140015e63
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140001860
add rsp, 0x1b8
pop rdi
pop rsi
ret