Function at 0x14001d060
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 [0x140050080]
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.140010c60
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.140032620
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 0x14001d129
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x48], rax
movzx eax, byte [0x140042158]
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 0x14001d180
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140010dc0
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.140032620
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 0x14001d2b6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14001d2b6
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 0x14001d2b1
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 0x14001d290
cmp r8d, 0xa373fd84
je 0x14001d2bb
test r9d, r9d
jne 0x14001d270
mov rax, qword [rax]
jmp 0x14001d240
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 0x14001d31a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d315
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d230
movdqa xmm0, xmmword [0x1400436d0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14001d36b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d366
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d366
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d230
movdqa xmm0, xmmword [0x1400436e0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14001d3c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d3bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d3bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d230
movdqa xmm0, xmmword [0x1400436d0]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14001d411
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d40c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d40c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d230
movdqa xmm0, xmmword [0x1400436e0]
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 0x14001d462
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14001d45d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d499
mov rcx, r8
call fcn.14003d230
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14003d6b0
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