Function at 0x14019cba8
Capabilities:
Access peb ldr_data
Check if file exists
Encode data using xor
Get file attributes
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
lea rbp, [rax - 0x358]
sub rsp, 0x440
mov rsi, r9
mov r14, r8
mov r15, rdx
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x400
call fcn.1403ccc50
call fcn.140141104
lea rdx, [rsp + 0x40]
call fcn.1401a5e10
xor eax, eax
mov dword [rbp + 0x360], 0x716d7573
mov byte [rbp + 0x364], al
xor ecx, ecx
movsxd rax, ecx
xor byte [rbp + rax + 0x360], cl
inc ecx
cmp ecx, 4
jb 0x14019cc18
lea rcx, [rsp + 0x40]
mov byte [rbp + 0x364], 0
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x14019cc38
lea r8, [rbp + 0x360]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x14019cc49
lea rcx, [rsp + 0x40]
call qword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14019cd4e
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140203180
test al, al
je 0x14019cd47
call fcn.140140ddc
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call fcn.1401ddcb0
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov r9d, 4
mov dword [rsp + 0x20], 0x2000000
call fcn.140203370
lea rcx, [rsp + 0x40]
call fcn.140204590
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14019cd42
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14019cd42
mov edi, dword [r10 + 0x20]
dec r9d
mov r11d, 0xd96e2f79
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14019cd3d
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14019cd1a
cmp r11d, 0x7799af5c
je 0x14019cdca
test r9d, r9d
jne 0x14019ccfd
mov rax, qword [rax]
jmp 0x14019ccd8
xor al, al
jmp 0x14019ce51
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14019cdc5
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14019cdc5
mov edi, dword [r10 + 0x20]
dec r9d
mov r11d, 0x164332da
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14019cdc0
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14019cda1
cmp r11d, 0x4648adcf
je 0x14019cdca
test r9d, r9d
jne 0x14019cd84
mov rax, qword [rax]
jmp 0x14019cd5f
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
lea r9, [rsp + 0x40]
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rdx, r14
add rax, r8
mov rcx, r15
mov r8, rsi
call qword [case.0x140173169.0]
test eax, eax
je 0x14019ce4f
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140203180
call fcn.140140ddc
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call fcn.1401ddcb0
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov r9d, 4
mov dword [rsp + 0x20], 0x2000000
call fcn.140203370
lea rcx, [rsp + 0x40]
call fcn.140204590
mov al, 1
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret