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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401c0040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea r15, [rbp + 0x58]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 8], r12
mov qword [rbp], r15
mov rax, qword [r15]
xor rax, r12
mov qword [rbp - 0x10], rax
xor r14d, r14d
mov qword [r15], r14
mov rdx, rcx
lea rcx, [rbp - 0x78]
call fcn.1400b5c80
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
add r8, rdx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x38]
call fcn.1400e4600
nop
movzx eax, word [rbp - 0x28]
add ax, ax
mov word [rsp + 0x40], ax
mov word [rsp + 0x42], ax
lea rax, [rbp - 0x38]
movsd xmm0, qword [str.akgs_WE9]
movsd qword [rsp + 0x30], xmm0
cmp qword [rbp - 0x20], 7
jbe 0x1400d2c09
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x48], rax
movzx eax, byte [0x1401a0af8]
mov byte [rsp + 0x30], 0x50
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor al, 0x39
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400d2c60
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14003f2a0
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
add r8, rdx
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.1400e4600
nop
movzx eax, word [rbp - 0x48]
add ax, ax
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], ax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rax, qword [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 8], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x10
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 8]
mov edx, 3
mov ecx, 0x50000018
mov r8d, edx
call qword [sym.imp.ntdll.dll_ZwRaiseHardError]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400d2d96
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400d2d96
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rbx]
add rcx, r10
mov r8d, 0xfc425274
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400d2d91
nop dword [rax]
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x1400d2d70
cmp r8d, 0xa373fd84
je 0x1400d2d9b
test r9d, r9d
jne 0x1400d2d50
mov rax, qword [rax]
jmp 0x1400d2d20
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
xor ecx, ecx
call rdx
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400d2dfa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2df5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
movdqa xmm0, xmmword [0x1401a1d20]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400d2e4b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2e46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2e46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
movdqa xmm0, xmmword [0x1401a1d30]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400d2ea1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2e9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2e9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
movdqa xmm0, xmmword [0x1401a1d20]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400d2ef1
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2eec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2eec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
movdqa xmm0, xmmword [0x1401a1d30]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rax, qword [rbp - 0x10]
xor rax, r12
mov qword [r15], rax
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400d2f42
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400d2f3d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400d2f79
mov rcx, r8
call fcn.1401503b0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14014fd50
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3