Function at 0x14003a400
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x40], xmm9
movaps xmmword [rbp + 0x30], xmm8
movaps xmmword [rbp + 0x20], xmm7
movaps xmmword [rbp + 0x10], xmm6
mov qword [rbp + 8], 0xfffffffffffffffe
mov r14, r8
mov rdi, rdx
mov rsi, rcx
lea rbx, [r8 + 0x28]
mov rcx, rbx
call fcn.14003cd60
mov r12, rax
mov r15, rdx
test rdx, rdx
mov qword [rbp - 0x48], rdi
je 0x14003a48c
mov rax, r15
shr rax, 0x3e
jne 0x14003a7d3
lea r13, [r15 + r15]
movzx eax, byte [0x140342a71]
mov edx, 2
mov rcx, r13
call fcn.1400361d0
test rax, rax
je 0x14003a7d8
mov rdi, rax
jmp 0x14003a494
mov edi, 2
xor r13d, r13d
mov rcx, rdi
mov rdx, r12
mov r8, r13
call fcn.1401fa0b0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r15
lea rcx, [rbp - 0x18]
call fcn.140037580
mov qword [rbp - 0x20], rdx
mov r8, rdx
sub r8, 1
mov qword [rbp], rax
jb 0x14003a7bd
lea rcx, [rax + r8*2]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rcx
mov word [rbp - 0x50], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 1
mov qword [rbp - 8], 0
mov rax, r8
shr rax, 1
and r8d, 1
add r8, rax
je 0x14003a510
lea rcx, [rbp - 0x18]
xor edx, edx
call fcn.1401fad00
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x18]
call fcn.1400366e0
mov rax, qword [rbp - 8]
mov qword [rbp - 0x30], rax
movups xmm0, xmmword [rbp - 0x18]
movaps xmmword [rbp - 0x40], xmm0
mov rdx, qword [rbp - 0x20]
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp]
call fcn.1400361e0
movq xmm6, qword [r14 + 4]
movq xmm7, qword [r14 + 0xc]
mov r14d, dword [r14 + 0x24]
lea rcx, [rbp - 0x18]
mov rdx, rbx
call fcn.14003b120
cmp dword [rbp - 0x18], 0
je 0x14003a571
xorps xmm8, xmm8
xorps xmm9, xmm9
jne 0x14003a57f
jmp 0x14003a588
movss xmm8, dword [rbp - 0x14]
movss xmm9, dword [rbp - 0x10]
je 0x14003a588
lea rcx, [rbp - 0x10]
call fcn.14003cdb0
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
imul edx, ecx, 0x27220a95
mov r8, rcx
rol edx, 5
shr r8, 0x20
xor edx, r8d
imul r15d, edx, 0x27220a95
cmp rcx, 4
jb 0x14003a641
lea rdx, [rcx - 4]
mov r8d, edx
shr r8d, 2
inc r8d
and r8d, 3
je 0x14003a5ee
shl r8, 2
xor r9d, r9d
nop
rol r15d, 5
xor r15d, dword [rax + r9]
imul r15d, r15d, 0x27220a95
add r9, 4
cmp r8, r9
jne 0x14003a5d0
add rax, r9
sub rcx, r9
cmp rdx, 0xc
jb 0x14003a641
nop word cs:[rax + rax]
rol r15d, 5
xor r15d, dword [rax]
imul edx, r15d, 0x27220a95
rol edx, 5
xor edx, dword [rax + 4]
imul edx, edx, 0x27220a95
rol edx, 5
xor edx, dword [rax + 8]
imul edx, edx, 0x27220a95
rol edx, 5
xor edx, dword [rax + 0xc]
imul r15d, edx, 0x27220a95
add rax, 0x10
add rcx, 0xfffffffffffffff0
cmp rcx, 3
ja 0x14003a600
test rcx, rcx
je 0x14003a6de
mov r8, rcx
mov rdx, rax
and r8, 3
je 0x14003a67a
nop word cs:[rax + rax]
movzx r9d, byte [rdx]
rol r15d, 5
inc rdx
xor r15d, r9d
imul r15d, r15d, 0x27220a95
dec r8
jne 0x14003a660
cmp rcx, 4
jb 0x14003a6de
add rax, rcx
nop word cs:[rax + rax]
rol r15d, 5
movzx ecx, byte [rdx]
xor r15d, ecx
imul ecx, r15d, 0x27220a95
movzx r8d, byte [rdx + 1]
rol ecx, 5
xor ecx, r8d
imul ecx, ecx, 0x27220a95
movzx r8d, byte [rdx + 2]
rol ecx, 5
xor ecx, r8d
imul ecx, ecx, 0x27220a95
movzx r8d, byte [rdx + 3]
rol ecx, 5
xor ecx, r8d
imul r15d, ecx, 0x27220a95
add rdx, 4
cmp rdx, rax
jne 0x14003a690
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x40]
call fcn.1401dc450
mov rcx, rbx
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.gdi32.dll_CreateDCW]
mov qword [rbp], rax
mov rcx, rax
mov edx, 8
call qword [sym.imp.gdi32.dll_GetDeviceCaps]
mov edi, eax
mov rcx, qword [rbp]
mov edx, 0x76
call qword [sym.imp.gdi32.dll_GetDeviceCaps]
mov ebx, eax
mov rcx, qword [rbp]
call qword [sym.imp.gdi32.dll_DeleteDC]
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
cvtsi2ss xmm1, edi
divss xmm0, xmm1
psubd xmm7, xmm6
cmp r14d, 1
mov rax, qword [rbp - 8]
mov qword [rsi + 0x10], rax
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi], xmm1
mov dword [rsi + 0x20], r15d
mov rax, qword [rbp - 0x48]
mov qword [rsi + 0x18], rax
punpcklqdq xmm6, xmm7
movdqu xmmword [rsi + 0x24], xmm6
movss dword [rsi + 0x34], xmm8
movss dword [rsi + 0x38], xmm0
movss dword [rsi + 0x3c], xmm9
sete byte [rsi + 0x40]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x14003a794
mov rcx, qword [rbp - 0x38]
mov r8d, 1
call fcn.1400361e0
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x10]
movaps xmm7, xmmword [rbp + 0x20]
movaps xmm8, xmmword [rbp + 0x30]
movaps xmm9, xmmword [rbp + 0x40]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x14020b6c8]
mov rcx, r8
xor edx, edx
mov r8, rax
call fcn.1402053f0
ud2
call fcn.1401db020
mov ecx, 2
mov rdx, r13
call fcn.140204ba0
int3