Function at 0x1400505b0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov r8, qword [0x1400bfbe8]
xor ebx, ebx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
test r8, r8
jne 0x140050691
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x10]
mov rsi, r14
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140050678
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140050678
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140050673
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140050650
cmp edx, 0x53b2070f
je 0x140050a4c
test r8d, r8d
jne 0x140050630
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140050600
mov r8, rbx
mov qword [0x1400bfbe8], r8
movzx eax, word [0x14005c328]
lea rcx, [rbp - 0x29]
movsd xmm0, qword [str.AV_n_bN]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x37
xor byte [rbp - 0x27], 0x38
xor byte [rbp - 0x26], 0x39
xor byte [rbp - 0x25], 0x3a
xor byte [rbp - 0x24], 0x3b
xor byte [rbp - 0x23], 0x3c
xor byte [rbp - 0x22], 0x3d
mov word [rbp - 0x21], ax
movzx eax, byte [0x14005c32a]
xor byte [rbp - 0x21], 0x3e
xor al, 0x40
xor byte [rbp - 0x20], 0x3f
mov byte [rbp - 0x1f], al
mov byte [rbp - 0x29], 0x77
call r8
mov r10, qword [0x1400bfbe0]
mov r15, rax
test r10, r10
jne 0x1400507a1
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov r14, qword [rdx + 0x10]
mov rsi, r14
nop dword [rax + rax]
mov r9, qword [rsi + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov edi, dword [rcx + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140050788
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140050788
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140050783
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140050760
cmp edx, 0xf8f45725
je 0x140050a69
test r8d, r8d
jne 0x140050740
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140050710
mov r10, rbx
mov qword [0x1400bfbe0], r10
cmp dword [0x1400bf6d8], 2
mov eax, dword [0x14005c340]
movups xmm0, xmmword [str.xCmJ_IuSTZ5]
mov r14, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov dword [rbp + 7], eax
movzx eax, word [0x14005c344]
mov word [rbp + 0xb], ax
movzx eax, byte [0x14005c346]
mov byte [rbp + 0xd], al
movups xmmword [rbp - 9], xmm0
jl 0x140050961
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x14005b0b0]
mov eax, 5
movdqa xmm4, xmmword [0x14005c9d0]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [str.::::]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movaps xmmword [rsp + 0x60], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14005c970]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14005c970]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140050840
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp eax, 0x17
jge 0x14005099f
movsxd rax, ebx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140050970
lea rdx, [rbp - 9]
mov rcx, r15
call r10
test rax, rax
je 0x140050aa4
mov qword [0x1400bf900], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140050a47
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140050a47
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140050a42
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140050a20
cmp r8d, 0xab45c5ee
je 0x140050a86
test r9d, r9d
jne 0x140050a00
mov rax, qword [rax]
jmp 0x1400509d0
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
jmp 0x14005068a
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
jmp 0x14005079a
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, r15
add rax, r10
call rax
mov al, 1
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop rdi
pop rbp
ret