Function at 0x180001280
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.18002d6a0
sub rsp, rax
mov edi, ecx
lea rax, [rsp + 0x40]
xor r12d, r12d
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x28], rax
mov r14, r8
mov r15d, r9d
mov dword [rsp + 0x30], 0x1000
mov dword [rsp + 0x34], 0x40
call fcn.180002ab0
cmp qword [rsp + 0x40], r12
jne 0x180001314
mov rax, qword [0x18006a938]
lea rdx, str.Error_0x0005
mov ecx, 3
xor r9d, r9d
xor r8d, r8d
mov word [rax], cx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add rsp, 0x10a0
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, 0x7f
mov qword [rsp + 0x10e0], r13
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rdx - 0x7b]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r13, rax
test rax, rax
jne 0x180001366
xor r9d, r9d
lea rdx, str.Error_0x0006
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [0x18006a938]
mov ecx, 3
mov word [rax], cx
xor eax, eax
jmp 0x180001705
movaps xmm0, xmmword [0x180059c50]
lea rdx, [rsp + 0x50]
movups xmmword [rax], xmm0
mov qword [rsp + 0x10d0], rbx
lea rbx, [r13 + 0x67]
movaps xmm1, xmmword [0x180059c60]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x10d8], rsi
movaps xmm0, xmmword [0x180059c70]
movups xmmword [rax + 0x20], xmm0
mov qword [rsp + 0x20], rdi
movaps xmm1, xmmword [0x180059c80]
movups xmmword [rax + 0x30], xmm1
mov dword [rsp + 0x30], 0x7f
movaps xmm0, xmmword [0x180059c90]
movups xmmword [rax + 0x40], xmm0
mov qword [rsp + 0x38], r13
movaps xmm1, xmmword [0x180059ca0]
movups xmmword [rax + 0x50], xmm1
mov eax, dword [0x180059cb0]
movups xmm1, xmmword [rsp + 0x30]
mov dword [r13 + 0x60], eax
movzx eax, word [0x180059cb4]
mov word [r13 + 0x64], ax
movzx eax, byte [0x180059cb6]
mov byte [r13 + 0x66], al
lea rax, [r14 + r15]
mov rsi, qword [rsp + 0x40]
add rsi, 0x67
movaps xmmword [rsp + 0x60], xmm1
mov qword [r13 + 6], rsi
mov qword [rbx + 0x10], r14
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm0
call fcn.180002a20
mov ecx, 0x20
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
call fcn.18000b110
movdqa xmm0, xmmword [0x180052190]
lea r8, [rsp + 0x50]
movdqu xmmword [rsp + 0x60], xmm0
mov r9, rdi
lea rdx, [rsp + 0x78]
movups xmm0, xmmword [str.DiscordHook64.dll]
movups xmmword [rax], xmm0
movzx ecx, byte [0x180044708]
mov byte [rax + 0x10], cl
lea rcx, [rsp + 0x70]
mov byte [rax + 0x11], r12b
mov qword [rsp + 0x50], rax
call fcn.180002400
cmp qword [rsp + 0x70], r12
jne 0x1800014a8
xor r9d, r9d
lea rdx, str.Error_0x000C_
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1800016f5
mov ecx, 0x20
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x80], r12
call fcn.18000b110
movdqa xmm0, xmmword [0x1800521a0]
lea r8, [rsp + 0x50]
movdqu xmmword [rsp + 0x60], xmm0
mov r9, rdi
lea rdx, [rbp - 0x80]
movups xmm0, xmmword [0x180044720]
movups xmmword [rax], xmm0
movzx ecx, word [0x180044730]
mov word [rax + 0x10], cx
lea rcx, [rbp - 0x78]
mov byte [rax + 0x12], r12b
mov qword [rsp + 0x50], rax
call fcn.180002400
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
add r14, 0xe9090
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rdi
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.180002bc0
cmp dword [rbx], r12d
je 0x180001582
nop word [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 0x18
mov qword [rsp + 0x38], rbx
call fcn.1800029a0
cmp dword [rbx], r12d
jne 0x180001550
mov rax, qword [rbp - 0x70]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdi
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], r14
movups xmm1, xmmword [rsp + 0x30]
mov qword [rbp - 0x68], r12
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.180002bc0
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x1000
call fcn.18000c2a0
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdi
movups xmm0, xmmword [rsp + 0x20]
mov dword [rsp + 0x30], 0x1000
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.180002a20
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.180002b40
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800016c7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800016c7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x12d6d5f0
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rdi]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1800016c2
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1800016a0
cmp r8d, 0x13501941
je 0x1800016cc
test r9d, r9d
jne 0x180001680
mov rax, qword [rax]
jmp 0x180001650
mov ecx, dword [rbx + 0x24]
mov r8d, 0x8000
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
add rax, r10
mov rcx, r13
call rax
mov eax, 1
mov rsi, qword [rsp + 0x10d8]
mov rbx, qword [rsp + 0x10d0]
mov r13, qword [rsp + 0x10e0]
add rsp, 0x10a0
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret