Function at 0x1400b4770
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x19], rax
lea r14, [0x140256410]
mov qword [rbp - 0x19], r14
mov word [0x140256418], 0x100
mov cl, 0x38
xorps xmm0, xmm0
movups xmmword [0x140256420], xmm0
mov qword [0x140256430], 0xe
mov edi, select
mov qword [0x140256438], rdi
movsd xmm0, qword [str.Unnamed_Module]
movsd qword [0x140256420], xmm0
mov eax, dword [0x140132998]
mov dword [0x140256428], eax
movzx eax, word [0x14013299c]
mov word [0x14025642c], ax
mov byte [0x14025642e], 0
mov dword [0x140256440], 0xbf800000
lea rax, vtable.SharpMacro::Module_AutoWater2.0
mov qword [0x140256410], rax
xor esi, esi
mov qword [0x140256448], rsi
xorps xmm0, xmm0
movdqu xmmword [0x140256450], xmm0
movdqu xmmword [0x140256460], xmm0
mov qword [0x140256470], rsi
mov byte [0x140256478], sil
movups xmmword [0x140256498], xmm0
movups xmmword [0x1402564a8], xmm0
movups xmmword [0x1402564b8], xmm0
mov qword [0x140256488], rsi
mov qword [0x140256490], rsi
mov r9, 0xffffffffffffffff
mov dword [0x1402564c8], r9d
mov dword [0x140256480], 2
mov dword [0x1402564cc], esi
movdqu xmmword [0x1402564d0], xmm0
mov qword [0x1402564e0], rsi
xorps xmm1, xmm1
movups xmmword [0x140256500], xmm1
movups xmmword [0x140256510], xmm1
movups xmmword [0x140256520], xmm1
movdqu xmmword [0x1402564f0], xmm0
mov dword [0x140256530], r9d
mov dword [0x1402564e8], 2
mov dword [0x140256534], esi
mov word [0x140256538], si
mov dword [0x14025653c], 0x96
mov dword [0x140256540], 1
mov byte [0x140256544], 1
mov qword [0x140256548], r9
mov word [0x14025641a], 1
inc cl
mov byte [0x14025641c], cl
lea eax, [rcx + 1]
mov byte [0x14025641d], al
sub cl, 0x56
mov byte [0x14025641e], cl
mov byte [0x14025641f], 1
movups xmm3, xmmword [0x140138270]
movups xmmword [rbp - 9], xmm3
mov ecx, dword [0x140138280]
mov dword [rbp + 7], ecx
cmp byte [0x140138283], sil
je 0x1400b4b92
mov r8d, esi
cmp dword [0x140152090], 2
jl 0x1400b4b57
movdqa xmm5, xmmword [0x140138ff0]
movdqa xmm6, xmmword [str.7777]
movdqa xmm7, xmmword [0x140139010]
movdqa xmm2, xmmword [0x140138f00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140138fb0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 9], xmm2
movdqa xmm2, xmmword [0x140138f30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 - 5]
xorps xmm2, xmm0
movd dword [rbp - 5], xmm2
movdqa xmm3, xmmword [0x140138f60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 - 1]
xorps xmm3, xmm0
movd dword [rbp - 1], xmm3
movdqa xmm2, xmmword [0x140138f70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 + 3]
xorps xmm2, xmm0
movd dword [rbp + 3], xmm2
movdqa xmm3, xmmword [0x140138f80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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, ecx
xorps xmm3, xmm0
movd dword [rbp + 7], xmm3
jmp 0x1400b4b92
lea r10, [rbp - 9]
nop dword [rax + rax]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r10], al
inc r8d
lea r10, [r10 + 1]
cmp r8d, 0x14
jl 0x1400b4b60
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
lea rax, [rbp - 9]
inc r9
cmp byte [rax + r9], 0
jne 0x1400b4ba5
mov r8, r9
lea rdx, [rbp - 9]
lea rcx, [rbp + 0xf]
call fcn.140079f10
lea rbx, [r14 + 0x10]
lea rax, [rbp + 0xf]
cmp rbx, rax
je 0x1400b4c1a
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400b4c02
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400b4bfd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b4c4d
mov rcx, r8
call fcn.1401101a0
mov byte [rbx], 0
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbp + 0xf], 0
jmp 0x1400b4c1e
mov rdi, qword [rbp + 0x27]
cmp rdi, 0xf
jbe 0x1400b4c59
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b4c54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b4c54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
call fcn.1400b44b0
nop
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14010fe20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret