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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xc0
movups xmm1, xmmword [0x14004ce10]
mov r11d, dword [0x14005e018]
mov ebx, 1
movups xmm0, xmmword [str.YZN__e]
xor r8d, r8d
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
lea edi, [rbx + 0x1e]
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
pextrw eax, xmm1, 7
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
test ax, ax
je 0x140020f04
cmp r11d, 2
jl 0x140020eb9
movdqa xmm5, xmmword [0x140058360]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1400583e0]
mov edx, r8d
movdqa xmm7, xmmword [0x1400583b0]
movdqa xmm9, xmmword [0x1400583c0]
movd xmm6, ebx
movd xmm8, edi
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x10
jl 0x140020dd0
jmp 0x140020f04
lea r10, [rsp + 0x20]
mov r9d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r10, [r10 + 2]
imul r9d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r9w
inc r9d
sub ax, cx
add ax, 0x34
xor word [r10 - 2], ax
cmp r9d, 0x10
jl 0x140020ed0
mov eax, dword [0x14004d0d0]
mov dword [rsp + 0x70], eax
movups xmm0, xmmword [0x14004d0a0]
movups xmm1, xmmword [0x14004d0b0]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14004d0c0]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm0
cmp r11d, 2
jl 0x140021061
movdqa xmm5, xmmword [0x140058360]
lea rcx, [rsp + 0x40]
movdqa xmm4, xmmword [0x1400583e0]
movdqa xmm7, xmmword [0x1400583b0]
movdqa xmm9, xmmword [0x1400583c0]
movd xmm6, ebx
movd xmm8, edi
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x140020f70
cmp r8d, 0x1a
jge 0x1400210a4
movsxd rax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x34
xor word [r9 - 2], ax
cmp r8d, 0x1a
jl 0x140021070
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rdx, [rsp + 0x40]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_FindWindowW]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
test rax, rax
jne 0x1400210f1
test rbx, rbx
je 0x1400211a7
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 edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140021187
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140021187
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x2f35d631
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140021182
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140021160
cmp r8d, 0x32d359d1
je 0x14002118c
test r9d, r9d
jne 0x140021140
mov rax, qword [rax]
jmp 0x140021110
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 rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret