Function at 0x140088ad0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x30], xmm9
movaps xmmword [rbp + 0x20], xmm8
movaps xmmword [rbp + 0x10], xmm7
movaps xmmword [rbp], xmm6
mov qword [rbp - 8], 0xfffffffffffffffe
mov r14, r8
mov rdi, rdx
mov rsi, rcx
lea rbx, [r8 + 0x28]
mov rcx, rbx
call fcn.14008b1a0
mov r12, rax
mov r15, rdx
test rdx, rdx
mov qword [rbp - 0x48], rdi
je 0x140088b5c
mov rax, r15
shr rax, 0x3e
jne 0x140088e93
lea r13, [r15 + r15]
movzx eax, byte [0x1401fe1c1]
mov edx, 2
mov rcx, r13
call fcn.140013a90
test rax, rax
je 0x140088e98
mov rdi, rax
jmp 0x140088b64
mov edi, 2
xor r13d, r13d
mov rcx, rdi
mov rdx, r12
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r15
lea rcx, [rbp - 0x28]
call fcn.1400850f0
mov qword [rbp - 0x40], rdx
mov r8, rdx
sub r8, 1
mov qword [rbp - 0x10], rax
jb 0x140088e7d
lea rcx, [rax + r8*2]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rcx
mov word [rbp - 0x50], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 1
mov qword [rbp - 0x18], 0
mov rax, r8
shr rax, 1
and r8d, 1
add r8, rax
je 0x140088be0
lea rcx, [rbp - 0x28]
xor edx, edx
call fcn.140144210
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x28]
call fcn.1400887f0
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov rdi, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x40]
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x10]
call fcn.140013aa0
movq xmm6, qword [r14 + 4]
movq xmm7, qword [r14 + 0xc]
mov r14d, dword [r14 + 0x24]
lea rcx, [rbp - 0x28]
mov rdx, rbx
call fcn.1400895d0
cmp dword [rbp - 0x28], 0
je 0x140088c45
xorps xmm8, xmm8
xorps xmm9, xmm9
jne 0x140088c53
jmp 0x140088c5c
movss xmm8, dword [rbp - 0x24]
movss xmm9, dword [rbp - 0x20]
je 0x140088c5c
lea rcx, [rbp - 0x20]
call fcn.14010af70
imul eax, edi, 0x27220a95
mov rcx, rdi
rol eax, 5
shr rcx, 0x20
xor eax, ecx
imul r15d, eax, 0x27220a95
cmp rdi, 4
jb 0x140088cc7
lea rcx, [rdi - 4]
mov eax, ecx
shr eax, 2
inc eax
and eax, 3
mov r8, qword [rbp - 0x30]
je 0x140088ccd
shl rax, 2
xor edx, edx
nop word cs:[rax + rax]
rol r15d, 5
xor r15d, dword [r8 + rdx]
imul r15d, r15d, 0x27220a95
add rdx, 4
cmp rax, rdx
jne 0x140088ca0
lea rax, [r8 + rdx]
sub rdi, rdx
cmp rcx, 0xc
jae 0x140088ce0
jmp 0x140088d21
mov rax, qword [rbp - 0x30]
jmp 0x140088d21
mov rax, r8
cmp rcx, 0xc
jb 0x140088d21
nop word cs:[rax + rax]
rol r15d, 5
xor r15d, dword [rax]
imul ecx, r15d, 0x27220a95
rol ecx, 5
xor ecx, dword [rax + 4]
imul ecx, ecx, 0x27220a95
rol ecx, 5
xor ecx, dword [rax + 8]
imul ecx, ecx, 0x27220a95
rol ecx, 5
xor ecx, dword [rax + 0xc]
imul r15d, ecx, 0x27220a95
add rax, 0x10
add rdi, 0xfffffffffffffff0
cmp rdi, 3
ja 0x140088ce0
test rdi, rdi
je 0x140088dbe
mov rdx, rdi
mov rcx, rax
and rdx, 3
je 0x140088d5a
nop word cs:[rax + rax]
movzx r8d, byte [rcx]
rol r15d, 5
inc rcx
xor r15d, r8d
imul r15d, r15d, 0x27220a95
dec rdx
jne 0x140088d40
cmp rdi, 4
jb 0x140088dbe
add rax, rdi
nop word cs:[rax + rax]
rol r15d, 5
movzx edx, byte [rcx]
xor r15d, edx
imul edx, r15d, 0x27220a95
movzx r8d, byte [rcx + 1]
rol edx, 5
xor edx, r8d
imul edx, edx, 0x27220a95
movzx r8d, byte [rcx + 2]
rol edx, 5
xor edx, r8d
imul edx, edx, 0x27220a95
movzx r8d, byte [rcx + 3]
rol edx, 5
xor edx, r8d
imul r15d, edx, 0x27220a95
add rcx, 4
cmp rcx, rax
jne 0x140088d70
mov rcx, rbx
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.gdi32.dll_CreateDCW]
mov qword [rbp - 0x10], rax
mov rcx, rax
mov edx, 8
call qword [sym.imp.gdi32.dll_GetDeviceCaps]
mov edi, eax
mov rcx, qword [rbp - 0x10]
mov edx, 0x76
call qword [sym.imp.gdi32.dll_GetDeviceCaps]
mov ebx, eax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.gdi32.dll_DeleteDC]
cvtsi2ss xmm0, ebx
cvtsi2ss xmm1, edi
divss xmm0, xmm1
psubd xmm7, xmm6
cmp r14d, 1
mov dword [rsi + 8], r15d
mov rax, qword [rbp - 0x48]
mov qword [rsi], rax
punpcklqdq xmm6, xmm7
movdqu xmmword [rsi + 0xc], xmm6
movss dword [rsi + 0x1c], xmm8
movss dword [rsi + 0x20], xmm0
movss dword [rsi + 0x24], xmm9
sete byte [rsi + 0x28]
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140088e54
mov r8d, 1
mov rcx, qword [rbp - 0x30]
call fcn.140013aa0
mov rax, rsi
movaps xmm6, xmmword [rbp]
movaps xmm7, xmmword [rbp + 0x10]
movaps xmm8, xmmword [rbp + 0x20]
movaps xmm9, xmmword [rbp + 0x30]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x140185568]
mov rcx, r8
xor edx, edx
mov r8, rax
call fcn.14014d3c0
ud2
call fcn.140133b50
mov ecx, 2
mov rdx, r13
call fcn.14014cc70
int3