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

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [str._dCRJ_sUZRLR_5_]
movzx eax, word [0x14004ac60]
xor r8d, r8d
cmp byte [0x14004ac61], r8b
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x60], r8
movsd xmm0, qword [0x14004ac58]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x68], r8d
mov word [rsp + 0x48], ax
je 0x140021541
cmp dword [0x14005b088], 2
jl 0x140021501
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055730]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1400556c0]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
mov eax, r8d
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400213f0
movaps xmm6, xmmword [rsp + 0x80]
cmp eax, 0x1a
jge 0x140021541
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x1a
jl 0x140021510
lea rcx, [0x14004abb8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 8
lea r8, [rsp + 0x60]
mov rcx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x16]
call rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002164f
mov qword [rsp + 0xa0], rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x140021627
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140021627
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x211c1750
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140021622
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140021600
cmp r8d, 0xa0c247e0
je 0x14002162c
test r9d, r9d
jne 0x1400215e0
mov rax, qword [rax]
jmp 0x1400215b0
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]
xor ecx, ecx
add rax, r10
call rax
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140045f60
add rsp, 0x90
pop rbx
ret