Function at 0x140004c90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rdi, rdx
xor r15d, r15d
lea rax, [rbp + 0x50]
mov qword [rbp + 0x1b0], rax
movups xmm0, xmmword [0x14002e4f0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14002e500]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x14002e510]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14002e520]
movups xmmword [rbp - 0x80], xmm1
movzx eax, byte [0x14002e530]
mov byte [rbp - 0x70], al
mov r8d, r15d
lea r12d, [r15 + 4]
lea r13d, [r15 + 0x1f]
mov esi, dword [0x140035010]
cmp esi, 2
jl 0x140004e67
movdqa xmm5, xmmword [0x14002eaa0]
movdqa xmm4, xmmword [0x14002eb40]
movd xmm6, r12d
movdqa xmm7, xmmword [0x14002eac0]
movd xmm8, r13d
movdqa xmm0, xmmword [str.8888888888888888O]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x140004d60
cmp r8d, 0x41
jge 0x140004eb0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x41
jl 0x140004e80
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140004ed0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.140001820
nop
movups xmm0, xmmword [0x14002e590]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x14002e5a0]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x14002e5b0]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x14002e5c0]
movups xmmword [rbp - 0x20], xmm1
cmp esi, 2
jl 0x140005061
movdqa xmm5, xmmword [0x14002eaa0]
mov edx, r15d
movdqa xmm4, xmmword [0x14002eb40]
movd xmm6, r12d
movdqa xmm7, xmmword [0x14002eac0]
movd xmm8, r13d
movdqa xmm0, xmmword [str.8888888888888888O]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rbp - 0x4c]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x40
jl 0x140004f60
jmp 0x1400050a0
lea r9, [rbp - 0x50]
mov r8d, r15d
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x40
jl 0x140005070
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r15
lea rax, [rbp - 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400050c0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x70]
call fcn.140001820
nop
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400031a0
nop
movups xmm0, xmmword [0x14002e4f0]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [0x14002e500]
movups xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [0x14002e510]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [0x14002e520]
movups xmmword [rbp + 0xe0], xmm1
movzx eax, byte [0x14002e530]
mov byte [rbp + 0xf0], al
movups xmm0, xmmword [0x14002e590]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [0x14002e5a0]
movups xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [0x14002e5b0]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [0x14002e5c0]
movups xmmword [rbp + 0xe0], xmm1
lea rax, [rbp + 0xf8]
mov qword [rbp + 0x1c0], rax
movabs rax, 0xe11b09c833dac87
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp - 0x60], rax
movabs rcx, 0xde359432d6f895a6
mov qword [rbp + 0x1b0], rcx
mov rax, qword [rbp + 0x1b0]
mov qword [rbp - 0x58], rax
movabs rax, 0xe118defe649d5e5
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x1b0], rcx
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x48], rax
movdqa xmm0, xmmword [rbp - 0x60]
pxor xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xf8]
call fcn.1400160e0
mov r14, rax
movups xmm0, xmmword [str.PMNKO_a]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [0x14002e8f0]
movups xmmword [rbp + 0x28], xmm1
movzx ecx, word [0x14002e900]
mov word [rbp + 0x38], cx
mov r8d, r15d
cmp esi, 2
jl 0x140005377
movdqa xmm5, xmmword [0x14002eaa0]
movdqa xmm4, xmmword [0x14002eb40]
movd xmm6, r12d
movdqa xmm7, xmmword [0x14002eac0]
movd xmm8, r13d
movdqa xmm0, xmmword [str.8888888888888888O]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rbp + 0x1c]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140005270
cmp r8d, 0x22
jge 0x1400053c0
movsxd rax, r8d
lea r9, [rbp + 0x18]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x22
jl 0x140005390
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
lea rax, [rbp + 0x18]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400053e0
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x90]
call fcn.140001820
nop
mov r8, r14
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 8]
call fcn.140004690
nop
mov r14, qword [rbp - 0x38]
mov qword [rbp - 0x40], r15
movups xmm0, xmmword [0x14002e4f0]
movups xmm1, xmmword [0x14002e500]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x14002e510]
movups xmm1, xmmword [0x14002e520]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
cmp r14, 0x10
jb 0x140005459
mov rax, qword [rbp - 0x50]
mov byte [rax], 0
mov r14, qword [rbp - 0x38]
jmp 0x14000545d
mov byte [rbp - 0x50], 0
lea rax, [rsp + 0x30]
mov qword [rbp + 0x1b0], rax
movzx eax, byte [0x14002e530]
mov byte [rbp - 0x70], al
mov r8d, r15d
cmp esi, 2
jl 0x1400055c7
movdqa xmm5, xmmword [0x14002eaa0]
movdqa xmm4, xmmword [0x14002eb40]
movd xmm6, r12d
movdqa xmm7, xmmword [0x14002eac0]
movd xmm8, r13d
movdqa xmm0, xmmword [str.8888888888888888O]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14002eb20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x1400054c0
cmp r8d, 0x41
jge 0x140005610
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x41
jl 0x1400055e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140005627
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140001820
lea rax, [rsp + 0x30]
mov qword [rbp + 0x1c0], rax
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x118]
call fcn.1400013e0
mov rbx, rax
mov qword [rbp + 0x1b0], rax
mov rdx, rax
mov rcx, rdi
call fcn.1400013e0
mov rcx, r15
cmp qword [rbx + 0x10], rcx
jbe 0x1400056c9
nop dword [rax]
xor edx, edx
mov rax, rcx
div qword [rsp + 0x40]
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400056a8
mov rax, qword [rbx]
movzx eax, byte [rax + rcx]
xor al, byte [r8 + rdx]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400056bd
mov rdx, qword [rdi]
mov byte [rdx + rcx], al
inc rcx
cmp rcx, qword [rbx + 0x10]
jb 0x140005680
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400056ff
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400056fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005749
mov rcx, r8
call fcn.140029230
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005755
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005750
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005750
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140029230
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rax, qword [rbp - 8]
mov byte [rax], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400057a5
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000579f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000579f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029230
nop
cmp r14, 0x10
jb 0x1400057e0
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029230
mov rax, rdi
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret