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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140099040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor eax, eax
mov dword [rbp - 9], 0x918681ed
mov qword [rbp + 0x13], rax
xor r9d, r9d
mov dword [rbp + 0x1b], eax
movabs r10, 0x8669578b4e929dda
mov word [rbp + 0x1f], ax
mov dword [rbp - 5], 0x848a8685
mov dword [rbp - 1], 0xdebeb88a
mov dword [rbp + 3], 0x8fb3be88
mov dword [rbp + 7], 0x8989b480
mov dword [rbp + 0xb], 0xab94b8d0
mov dword [rbp + 0xf], 0x39ca890
mov qword [rbp - 0x19], r9
mov rax, qword [rbp - 0x19]
nop dword [rax]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rbp - 0x19]
add rcx, r10
movzx edx, byte [rbp + rax - 9]
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
mov rax, qword [rbp - 0x19]
add r8, rcx
add r8, rdx
add r8b, 0xa
mov byte [rbp + rax - 9], r8b
mov rax, qword [rbp - 0x19]
inc rax
mov qword [rbp - 0x19], rax
mov rax, qword [rbp - 0x19]
cmp rax, 0x2a
jb 0x140051340
xor eax, eax
mov dword [rbp + 0x27], 0xf1fa8ef3
mov qword [rbp + 0x34], rax
mov word [rbp + 0x3c], ax
mov byte [rbp + 0x3e], al
mov dword [rbp + 0x2b], 0xb1bdf589
mov dword [rbp + 0x2f], 0xfff881bc
mov byte [rbp + 0x33], 0x6a
mov qword [rbp - 0x19], r9
movabs r9, 0x66c1a42987f262b1
mov rax, qword [rbp - 0x19]
nop word [rax + rax]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rbp - 0x19]
add rcx, r9
movzx edx, byte [rbp + rax + 0x27]
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
mov rax, qword [rbp - 0x19]
add r8, rcx
add r8, rdx
add r8b, 0x29
mov byte [rbp + rax + 0x27], r8b
mov rax, qword [rbp - 0x19]
inc rax
mov qword [rbp - 0x19], rax
mov rax, qword [rbp - 0x19]
cmp rax, 0x18
jb 0x1400513c0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [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 0x140051497
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140051497
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x380c2a7f
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140051492
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140051470
cmp r8d, 0xb45ef5e1
je 0x14005149c
test r9d, r9d
jne 0x140051450
mov rax, qword [rax]
jmp 0x140051420
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rbp + 0x27]
add rax, r10
call rax
mov rcx, qword gs:[0x60]
mov rsi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140051547
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140051547
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x370c28ec
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140051542
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x140051520
cmp r8d, 0x18bf4940
je 0x14005154c
test r9d, r9d
jne 0x140051500
mov rcx, qword [rcx]
jmp 0x1400514d0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp - 9]
add rax, r10
mov rcx, rsi
call rax
lea rdx, [0x140050c60]
mov ecx, 1
call rax
xor eax, eax
mov dword [1], 0x2a
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140075d20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret