Function at 0x140003970
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov r15, r8
mov r10, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400040fb
test edi, edi
js 0x1400040fb
test r8, r8
je 0x1400040fb
mov r11, qword [0x1400070b0]
mov qword [rax + 0x10], rbx
xor ebx, ebx
mov qword [rax - 0x20], rsi
mov r8d, ebx
mov qword [rax - 0x28], r14
movaps xmmword [rax - 0x38], xmm6
mov eax, 0xffffffff
shl r10, 0xc
mov dword [rbp + 0x7f], ebx
cmp r10, rax
jae 0x140003bb0
movups xmm0, xmmword [str.0123456_89:]
movzx eax, byte [0x140006060]
movups xmm1, xmmword [0x140006050]
mov dword [r11 + 4], 0x20
cmp dword [section..data], 2
movups xmmword [rbp - 0x29], xmm0
mov byte [rbp - 9], al
movups xmmword [rbp - 0x19], xmm1
jl 0x140003b47
movdqa xmm0, xmmword [str.0000000000000000O]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1400062c0]
movdqa xmm4, xmmword [0x140006320]
movdqa xmm6, xmmword [0x1400062e0]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140006300]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140006300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x140003a40
cmp r8d, 0x21
jge 0x140003b82
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x21
jl 0x140003b51
movzx ecx, byte [r11]
lea r14, [rbp - 0x29]
movzx eax, word [r11 + 2]
cmp cl, 0xee
mov word [rbp - 0x21], ax
mov edx, ebx
bswap r10d
lea eax, [rcx + 1]
mov byte [rbp - 0x1f], cl
movzx eax, al
cmovbe edx, eax
mov dword [rbp - 0x19], r10d
jmp 0x140003d9a
movups xmm0, xmmword [0x140006230]
movzx eax, byte [0x140006258]
movups xmm1, xmmword [0x140006240]
mov dword [r11 + 4], 0x28
cmp dword [section..data], 2
movups xmmword [rbp - 8], xmm0
mov byte [rbp + 0x20], al
movsd xmm0, qword [0x140006250]
movsd qword [rbp + 0x18], xmm0
movups xmmword [rbp + 8], xmm1
jl 0x140003d27
movdqa xmm0, xmmword [str.0000000000000000O]
lea rcx, [rbp - 4]
movdqa xmm5, xmmword [0x1400062c0]
movdqa xmm4, xmmword [0x140006320]
movdqa xmm6, xmmword [0x1400062e0]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140006300]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140006300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x140003c20
cmp r8d, 0x29
jge 0x140003d62
movsxd rax, r8d
lea r9, [rbp - 8]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x140003d31
movzx edx, byte [r11]
lea r14, [rbp - 8]
movzx eax, word [r11 + 2]
mov ecx, ebx
mov word [rbp], ax
mov rax, r10
shr rax, 0x20
bswap eax
mov dword [rbp + 8], eax
cmp dl, 0xee
lea eax, [rdx + 1]
mov byte [rbp + 2], dl
movzx eax, al
cmovbe ecx, eax
bswap r10d
movzx edx, cl
mov dword [rbp + 0x10], r10d
mov ecx, dword [0x140007074]
xorps xmm0, xmm0
mov rax, qword [0x140007050]
xor r9d, r9d
mov esi, dword [r11 + 4]
xor r8d, r8d
mov byte [r11], dl
mov dl, 1
mov byte [rbp + 0x67], 2
mov qword [rbp - 0x49], rbx
movdqu xmmword [rbp - 0x41], xmm0
mov r10d, dword [rax + rcx*4]
xor ecx, ecx
add r10, qword [0x140007080]
call r10
movaps xmm6, xmmword [rsp + 0xb0]
mov qword [rbp - 0x31], rax
test rax, rax
je 0x140003e9d
mov ecx, dword [0x14000708c]
lea r8, [rbp + 0x67]
mov rax, qword [0x140007050]
mov r9d, 1
mov edx, 0x2222a1
mov r10d, dword [rax + rcx*4]
lea rax, [rbp - 0x49]
add r10, qword [0x140007080]
mov rcx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
call r10
test al, al
jne 0x140003e80
mov ecx, dword [0x14000706c]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
add rdx, qword [0x140007080]
call rdx
cmp eax, 0x3e5
jne 0x140003e80
mov ecx, dword [0x140007048]
lea r8, [rbp + 0x7f]
mov rax, qword [0x140007050]
lea rdx, [rbp - 0x49]
mov r9b, 1
mov r10d, dword [rax + rcx*4]
mov rcx, rdi
add r10, qword [0x140007080]
call r10
mov ecx, dword [0x14000705c]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
add rdx, qword [0x140007080]
mov rcx, qword [rbp - 0x31]
call rdx
mov ecx, dword [0x140007088]
mov edx, 0x2000
mov rax, qword [0x140007050]
mov r8d, 0x1000
mov r10d, dword [rax + rcx*4]
xor ecx, ecx
add r10, qword [0x140007080]
lea r9d, [rcx + 4]
call r10
mov edx, dword [0x140007074]
xorps xmm0, xmm0
mov rcx, qword [0x140007050]
xor r9d, r9d
mov byte [rbp + 0x67], 0x82
xor r8d, r8d
mov qword [rbp - 0x49], rbx
mov rsi, rax
movdqu xmmword [rbp - 0x41], xmm0
mov r10d, dword [rcx + rdx*4]
mov dl, 1
add r10, qword [0x140007080]
xor ecx, ecx
call r10
mov r14, qword [rsp + 0xc0]
mov qword [rbp - 0x31], rax
test rax, rax
je 0x140003fcc
mov ecx, dword [0x14000708c]
lea r8, [rbp + 0x67]
mov rax, qword [0x140007050]
mov r9d, 1
mov edx, 0x22229e
mov r10d, dword [rax + rcx*4]
lea rax, [rbp - 0x49]
add r10, qword [0x140007080]
mov rcx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2000
mov qword [rsp + 0x20], rsi
call r10
test al, al
jne 0x140003faf
mov ecx, dword [0x14000706c]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
add rdx, qword [0x140007080]
call rdx
cmp eax, 0x3e5
jne 0x140003faf
mov ecx, dword [0x140007048]
lea r8, [rbp + 0x7f]
mov rax, qword [0x140007050]
lea rdx, [rbp - 0x49]
mov r9b, 1
mov r10d, dword [rax + rcx*4]
mov rcx, rdi
add r10, qword [0x140007080]
call r10
mov ecx, dword [0x14000705c]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
add rdx, qword [0x140007080]
mov rcx, qword [rbp - 0x31]
call rdx
mov r8d, dword [rbp + 0x7f]
mov r9d, 0x34
mov r11d, ebx
cmp r8d, r9d
jbe 0x1400040ce
mov r10, rbx
lea rdi, [rsi + 0x34]
nop dword [rax]
lea eax, [r9 - 0x34]
and eax, 0x8000001f
jge 0x140004002
dec eax
or eax, 0xffffffe0
inc eax
test eax, eax
je 0x14000404e
mov eax, 0x7a44c6b
mov ecx, r11d
imul r11d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x10c
sub ecx, eax
test ecx, 0xfffffff3
jne 0x140004030
cmp ecx, 0xc
jne 0x14000404a
mov eax, dword [rdi]
add ebx, 4
mov dword [r10 + rsi], eax
add r10, 4
cmp r10, 0x1000
je 0x14000405b
mov r8d, dword [rbp + 0x7f]
add r11d, 4
add r9d, 4
add rdi, 4
cmp r9d, r8d
jb 0x140003ff0
cmp ebx, 0x1000
jne 0x1400040ce
mov ecx, dword [0x14000707c]
mov r8d, ebx
mov rax, qword [0x140007050]
mov rdx, rsi
mov r9d, dword [rax + rcx*4]
mov rcx, r15
add r9, qword [0x140007080]
call r9
mov edx, dword [0x140007098]
mov r8d, 0x8000
mov rcx, qword [0x140007050]
mov r9d, dword [rcx + rdx*4]
xor edx, edx
add r9, qword [0x140007080]
mov rcx, rsi
call r9
mov eax, 1
mov rbx, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xc8]
add rsp, 0xd0
pop r15
pop rdi
pop rbp
ret
mov ecx, dword [0x140007098]
xor edx, edx
mov rax, qword [0x140007050]
mov r8d, 0x8000
mov r9d, dword [rax + rcx*4]
mov rcx, rsi
add r9, qword [0x140007080]
call r9
mov eax, 0xffffffff
jmp 0x1400040b2
mov eax, 0xffffffff
add rsp, 0xd0
pop r15
pop rdi
pop rbp
ret