Function at 0x140051550
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
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0xb0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r13, r9
movups xmm3, xmmword [0x1400d7a10]
movups xmmword [rbp - 0x59], xmm3
movzx eax, word [0x1400d7a20]
mov word [rbp - 0x49], ax
movzx eax, byte [0x1400d7a22]
mov byte [rbp - 0x47], al
xor r8d, r8d
cmp dword [0x1400e1258], 2
jl 0x14005174d
movdqa xmm5, xmmword [0x1400d7b70]
movdqa xmm6, xmmword [0x1400d7b60]
movdqa xmm7, xmmword [0x1400c9560]
movdqa xmm2, xmmword [0x1400c2e60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x1400c2ed0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm2, xmmword [0x1400c2e70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x55]
xorps xmm2, xmm0
movd dword [rbp - 0x55], xmm2
movdqa xmm3, xmmword [0x1400c2e80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rbp - 0x51]
xorps xmm3, xmm0
movd dword [rbp - 0x51], xmm3
movdqa xmm2, xmmword [0x1400c2e90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x4d]
xorps xmm2, xmm0
movd dword [rbp - 0x4d], xmm2
mov r8d, 0x10
mov eax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x140051760
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400517b0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x41]
call fcn.140001620
nop
lea r15, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova r15, qword [rbp - 0x41]
cmp byte [0x1400e14cc], 0
jne 0x1400517ef
mov ebx, 0xfffffffa
mov dword [0x1400e14c8], ebx
jmp 0x14005198f
lea rcx, [0x1400e14c8]
call fcn.140006060
mov r12, qword [0x1400e14d0]
xor esi, esi
lea r14, [0x1400e1440]
nop dword [rax + rax]
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 0x1400518a6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400518a6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x93261f40
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400518a1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140051880
cmp r8d, 0x9e1cb0ec
je 0x1400518ab
test r9d, r9d
jne 0x140051860
mov rax, qword [rax]
jmp 0x140051830
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov rdx, r15
mov rcx, qword [r14]
call r8
mov rdx, rax
test rax, rax
jne 0x1400518f3
inc esi
add r14, 8
cmp esi, 2
jb 0x140051810
mov ebx, 0xfffffffc
mov dword [0x1400e14c8], ebx
jmp 0x14005198f
cmp dword [rax], 0xb8d18b4c
je 0x14005190b
mov ebx, 0xfffffffd
mov dword [0x1400e14c8], ebx
jmp 0x14005198f
movzx ecx, byte [rax + 4]
mov rax, qword [0x1400e14d0]
mov dword [rax + 4], ecx
cmp esi, 1
jne 0x140051938
mov rcx, qword [0x1400e14d0]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
movzx eax, byte [rdx + 0x14]
mov byte [rcx + 0x14], al
mov dword [0x1400e14c8], 0
mov eax, dword [rbp + 0x97]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x8f]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x87]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x67]
mov r8, r13
mov rdx, qword [rbp + 0x57]
mov rcx, qword [rbp + 0x4f]
call r12
mov ebx, eax
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x1400519cd
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400519c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400519c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059504
movdqa xmm0, xmmword [0x1400c2e50]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov eax, ebx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret