Function at 0x1400510a0
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], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov r12, r9
mov r13d, r8d
movups xmm3, xmmword [str.xCK_ZHXmZ5_ExCuXJmUXIp]
movups xmmword [rax - 0x78], xmm3
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400512d9
xor r8d, r8d
cmp dword [0x1400e1258], 2
jl 0x1400512a1
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 [rsp + 0x40], 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 [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], 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 [rsp + 0x48]
xorps xmm3, xmm0
movd dword [rsp + 0x48], 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 [rsp + 0x4c]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
jmp 0x1400512d9
lea r9, [rsp + 0x40]
nop word [rax + rax]
mov eax, 0x51eb851f
mul r8d
shr edx, 4
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, 0x10
jl 0x1400512b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400512f6
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140001620
nop
lea rbp, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbp, qword [rsp + 0x50]
cmp byte [0x1400e14cc], 0
jne 0x14005133a
mov ebx, 0xfffffffa
mov dword [0x1400e14c8], ebx
jmp 0x1400514cd
lea rcx, [0x1400e14c8]
call fcn.140006060
mov r15, qword [0x1400e14d0]
xor esi, esi
lea r14, [0x1400e1440]
nop word [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 0x1400513f6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400513f6
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 0x1400513f1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x1400513d0
cmp r8d, 0x9e1cb0ec
je 0x1400513fb
test r9d, r9d
jne 0x1400513b0
mov rax, qword [rax]
jmp 0x140051380
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, rbp
mov rcx, qword [r14]
call r8
mov rdx, rax
test rax, rax
jne 0x140051443
inc esi
add r14, 8
cmp esi, 2
jb 0x140051360
mov ebx, 0xfffffffc
mov dword [0x1400e14c8], ebx
jmp 0x1400514cd
cmp dword [rax], 0xb8d18b4c
je 0x140051458
mov ebx, 0xfffffffd
mov dword [0x1400e14c8], ebx
jmp 0x1400514cd
movzx ecx, byte [rax + 4]
mov rax, qword [0x1400e14d0]
mov dword [rax + 4], ecx
cmp esi, 1
jne 0x140051485
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 rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xe0]
mov r8, r12
mov edx, r13d
mov rcx, qword [rsp + 0xc8]
call r15
mov ebx, eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14005150d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051508
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051508
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 [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret