Function at 0x14001a360
Capabilities:
Self delete using alternate data streams

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
xor edi, edi
lea rsi, [rsp + 0x60]
mov ebx, 0x208
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call sub.KERNEL32.dll_GetModuleFileNameW
nop
cmp word [rsp + rdi*2 + 0x60], 0
je 0x14001a3ee
cmp word [rsp + rdi*2 + 0x62], 0
je 0x14001a3d9
cmp word [rsp + rdi*2 + 0x64], 0
je 0x14001a3de
cmp word [rsp + rdi*2 + 0x66], 0
je 0x14001a3e4
cmp word [rsp + rdi*2 + 0x68], 0
je 0x14001a3ea
add rdi, 5
add rbx, 0xfffffffffffffff6
jne 0x14001a3a0
mov edi, 0x104
jmp 0x14001a3fb
inc rdi
jmp 0x14001a3ee
add rdi, 2
jmp 0x14001a3ee
add rdi, 3
jmp 0x14001a3ee
add rdi, 4
cmp rdi, 0x105
jae 0x14001a9e7
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
mov rax, rdi
shr rax, 1
mov r8d, edi
and r8d, 1
add r8, rax
jne 0x14001a9d6
lea r12, [rsp + rdi*2]
add r12, 0x60
movabs r13, 0x100000000
xor ebx, ebx
lea rdi, [rsp + 0x48]
jmp 0x14001a4be
mov rcx, rax
shr rcx, 0x22
or cl, 0xf0
mov byte [rsp + 0x44], cl
mov rcx, rax
shr rcx, 0x1c
and cl, 0x3f
or cl, 0x80
mov byte [rsp + 0x45], cl
shr eax, 0x16
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x46], al
mov eax, 3
mov r14d, 4
xor ebx, ebx
and r15b, 0x3f
or r15b, 0x80
mov byte [rsp + rax + 0x44], r15b
mov rax, qword [rsp + 0x48]
mov r15, qword [rsp + 0x58]
sub rax, r15
cmp rax, r14
jb 0x14001a6fd
mov rcx, qword [rsp + 0x50]
add rcx, r15
lea rdx, [rsp + 0x44]
mov r8, r14
call sub.msvcrt.dll_memcpy
add r15, r14
mov qword [rsp + 0x58], r15
test bx, bx
je 0x14001a4f0
mov eax, ebp
mov ecx, eax
and ecx, 0xf800
cmp ecx, 0xd800
jne 0x14001a519
movzx ecx, ax
cmp ecx, 0xdbff
jbe 0x14001a640
xor ebx, ebx
jmp 0x14001a730
cmp rsi, r12
je 0x14001a768
test rsi, rsi
je 0x14001a768
movzx eax, word [rsi]
add rsi, 2
mov ecx, eax
and ecx, 0xf800
cmp ecx, 0xd800
je 0x14001a4d5
shl eax, 0x10
mov r15, rax
shr r15, 0x10
cmp r15d, 0x7f
ja 0x14001a6c0
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x48]
jne 0x14001a546
mov rcx, rdi
call fcn.140086540
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
nop dword [rax + rax]
mov byte [rcx + rdx], r15b
inc rdx
mov qword [rsp + 0x58], rdx
cmp rsi, r12
je 0x14001a76d
test rsi, rsi
je 0x14001a76d
movzx eax, word [rsi]
lea r8, [rsi + 2]
mov r9d, eax
and r9d, 0xf800
cmp r9d, 0xd800
jne 0x14001a600
cmp eax, 0xdbff
ja 0x14001a715
add rsi, 4
cmp r8, r12
cmove rsi, r12
je 0x14001a4e4
movzx r8d, word [r8]
mov r9d, r8d
add r9d, 0x2000
movzx r9d, r9w
cmp r9d, 0xfc00
jb 0x14001a71c
movzx r8d, r8w
and eax, 0x3ff
and r8d, 0x3ff
shl rax, 0x1a
shl r8d, 0x10
add rax, r13
or rax, r8
mov r15, rax
shr r15, 0x10
cmp r15d, 0x80
jb 0x14001a61a
jmp 0x14001a6c0
shl eax, 0x10
mov rsi, r8
mov r15, rax
shr r15, 0x10
cmp r15d, 0x80
jae 0x14001a6c0
cmp rdx, qword [rsp + 0x48]
jne 0x14001a550
mov rcx, rdi
call fcn.140086540
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
jmp 0x14001a550
lea rcx, [rsi + 2]
xor ebx, ebx
cmp rsi, r12
cmove rcx, r12
je 0x14001a67c
test rsi, rsi
je 0x14001a67c
movzx edx, word [rsi]
mov r8d, edx
add r8d, 0x2000
movzx r8d, r8w
mov bx, 1
cmp r8d, 0xfc00
jae 0x14001a684
mov rsi, rcx
mov ebp, edx
jmp 0x14001a730
mov rsi, rcx
jmp 0x14001a730
movzx edx, dx
and eax, 0x3ff
and edx, 0x3ff
shl rax, 0x1a
shl edx, 0x10
add rax, r13
or rax, rdx
mov rsi, rcx
mov r15, rax
shr r15, 0x10
cmp r15d, 0x7f
jbe 0x14001a52d
nop word cs:[rax + rax]
mov dword [rsp + 0x44], 0
cmp r15d, 0xffff
ja 0x14001a447
cmp r15d, 0x7ff
ja 0x14001a6f9
shr eax, 0x16
and al, 0x1f
or al, 0xc0
mov byte [rsp + 0x44], al
mov eax, 1
mov r14d, 2
jmp 0x14001a47c
xor ebx, ebx
jmp 0x14001a73e
mov rcx, rdi
mov rdx, r15
mov r8, r14
call fcn.1400e2de0
mov r15, qword [rsp + 0x58]
jmp 0x14001a4a1
xor ebx, ebx
mov rsi, r8
jmp 0x14001a730
mov bx, 1
mov ebp, r8d
nop word cs:[rax + rax]
mov dword [rsp + 0x44], 0
mov r15d, 0xfffd
mov eax, r15d
shr eax, 0xc
or al, 0xe0
mov byte [rsp + 0x44], al
mov eax, r15d
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x45], al
mov eax, 2
mov r14d, 3
jmp 0x14001a47e
mov rdx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
test rdx, rdx
je 0x14001a9ab
movabs rax, 0x8000000000000000
cmp r12, rax
je 0x14001a9c1
test rdx, rdx
js 0x14001a9e7
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rdi, rdx
call fcn.14008b700
test rax, rax
je 0x14001a9e7
mov rbx, rax
mov rcx, rax
mov rdx, rsi
mov r14, rdi
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, rbx
add rax, rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rax
mov word [rsp + 0x70], 0
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.14001a9f0
mov r15, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov rcx, r15
mov edx, 0x10000
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
mov r14, rax
cmp qword [rsp + 0x48], 0
je 0x14001a845
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
cmp r14, 0xffffffffffffffff
je 0x14001a9ab
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0x12
movaps xmm0, xmmword [str.:svcmsrpx]
movups xmmword [rsp + 0x74], xmm0
mov word [rsp + 0x84], 0x63
lea r8, [rsp + 0x60]
mov rcx, r14
mov edx, 3
mov r9d, 0x2a
call sub.KERNEL32.dll_SetFileInformationByHandle
cmp eax, 1
jne 0x14001a9ab
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
cmp eax, 1
jne 0x14001a9ab
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rdx, rdi
call fcn.14008b700
test rax, rax
je 0x14001a9e7
mov rbx, rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, rbx
add rax, rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rax
mov word [rsp + 0x70], 0
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.14001a9f0
mov r14, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov rcx, r14
mov edx, 0x10000
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
mov rdi, rax
cmp qword [rsp + 0x48], 0
je 0x14001a967
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
cmp rdi, 0xffffffffffffffff
je 0x14001a9ab
mov byte [rsp + 0x60], 1
lea r8, [rsp + 0x60]
mov rcx, rdi
mov edx, 4
mov r9d, 1
call sub.KERNEL32.dll_SetFileInformationByHandle
cmp eax, 1
jne 0x14001a9ab
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
cmp eax, 1
test r12, r12
je 0x14001a9c1
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
nop
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.1400e2de0
jmp 0x14001a42c
ud2