Function at 0x140087870
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rbp - 0x20], xmm6
mov r9, rdx
mov qword [rbp - 0x28], rcx
mov eax, dword [0x1402187e0]
sub eax, dword [0x1402187e4]
imul rax, rax, 0x78d51ded
shr rax, 0x3e
add eax, 0x92cc2a1b
mov ecx, eax
and ecx, 0x2cc2a17
imul ecx, ecx, 0x2522c060
or eax, 0xb522c068
imul eax, eax, 0x90000008
add eax, ecx
cmp eax, 0xfea6c9ff
jbe 0x140087910
mov eax, 0x800
call fcn.1401516e0
sub rsp, rax
mov eax, 0x800
call fcn.1401516e0
sub rsp, rax
mov eax, 0x810
call fcn.1401516e0
sub rsp, rax
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
nop word cs:[rax + rax]
mov eax, dword [0x1402187e8]
or eax, dword [0x1402187ec]
or eax, 0xddba84ef
imul eax, eax, 0xff73a300
mov ecx, eax
not ecx
or ecx, 0x96ce0b31
add ecx, eax
inc ecx
mov eax, 0x800
call fcn.1401516e0
sub rsp, rax
mov rbx, rsp
mov eax, 0x800
call fcn.1401516e0
sub rsp, rax
mov r10, rsp
mov eax, 0x810
call fcn.1401516e0
sub rsp, rax
mov rdx, rsp
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov rsi, rsp
cmp ecx, 0x5ba52d21
jb 0x140087910
mov qword [rbp - 0x30], rdx
mov eax, dword [0x1402187f0]
mov ecx, eax
not ecx
or ecx, dword [0x1402187f4]
add eax, ecx
inc eax
mov ecx, eax
not ecx
mov edx, eax
and edx, 0x189f2cd5
and ecx, 0xe760d32a
imul ecx, edx
mov edx, eax
and edx, 0xe760d32a
or eax, 0xe760d32a
imul eax, edx
add eax, ecx
add eax, 0xe1c989da
mov ecx, eax
xor ecx, 0x9ce7d296
and eax, 0x63182d68
add eax, eax
sub eax, ecx
cmp eax, 0x80dae245
jbe 0x1400879e6
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov rax, qword [rbp - 0x28]
lea r14, [rax + 0x10]
nop
mov eax, dword [0x1402187fc]
mov ecx, eax
xor ecx, ecx
not ecx
and ecx, dword [0x1402187f8]
xor ecx, eax
not ecx
and ecx, 0x1f7dad94
mov eax, ecx
not eax
and eax, 0x24318dfd
xor ecx, 0xdbce7202
lea eax, [rcx + rax*2]
imul ecx, eax, 0x5e94d836
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov r11, rsp
cmp ecx, 0xc4c6c5e1
je 0x1400879f0
mov rdi, qword [r9]
mov rax, qword [r9 + 0x18]
mov qword [r11 + 0x10], rax
movups xmm0, xmmword [r9 + 8]
movups xmmword [r11], xmm0
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x810]
cmp rax, 0x40
jb 0x1400881b7
lea r8, [r9 + 8]
nop dword [rax]
mov eax, dword [0x140218800]
xor edx, edx
div dword [0x140218804]
mov ecx, eax
xor ecx, 0x5081
and ecx, eax
and ecx, 0x6d0cd
imul eax, ecx, 0x41d21a5b
cmp eax, 0xdfa5c102
ja 0x140087a70
test rdi, rdi
je 0x14008822c
mov qword [rbp - 0x40], r8
movabs r13, 0x5c2bdeec2820bdcf
movups xmm6, xmmword [0x140206f08]
movups xmm7, xmmword [0x140206ef8]
mov r15d, 0xae3073a3
movabs rax, 0x7fffffffffffffc
and rax, r13
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x38], r10
mov qword [rbp - 0x60], r9
mov qword [rbp - 0x58], r11
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r14
nop dword [rax + rax]
mov eax, dword [0x140218810]
xor edx, edx
div dword [0x140218814]
or eax, 0x9df05fed
and eax, 0x9ffbffef
cmp eax, 0x893c16de
jne 0x140087b20
mov rax, qword [r11 + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [r11]
movups xmmword [rsi], xmm0
nop
mov eax, dword [0x140218818]
xor edx, edx
div dword [0x14021881c]
add eax, 0xba683b0f
mov rcx, qword [r11 + 0x10]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [r11]
movups xmmword [rsi], xmm0
cmp eax, 0xff468011
ja 0x140087b20
mov rax, qword [rbp - 0x28]
mov r12, qword [rax + 8]
xor ecx, ecx
jmp 0x140087b76
mov eax, ecx
and eax, 4
or rcx, 4
add rcx, rax
cmp rcx, 0x40
je 0x140087cb0
mov eax, dword [str._MJ_]
mov edx, dword [0x140218824]
mov r8d, edx
not r8d
mov r9d, eax
and r9d, r8d
or r8d, eax
not r8d
imul r8d, r9d
mov r9d, eax
and r9d, edx
or eax, edx
imul eax, r9d
add eax, r8d
mov edx, eax
and edx, 0xefe0ade
add edx, edx
sub eax, edx
add eax, 0x8efe0ade
imul rax, rax, 0x51b5886d
shr rax, 0x3e
cmp eax, 0xfaf8cc6a
ja 0x140087c47
nop word [rax + rax]
mov eax, dword [0x140218828]
xor edx, edx
div dword [0x14021882c]
mov edx, eax
xor edx, 0x15832fc7
add edx, eax
and eax, 0x2a7cd038
sub edx, eax
or edx, 0xc890beb3
imul eax, edx, 0x1673af3b
mov rdx, rcx
shl rdx, 5
mov r8, rdx
mov r9, rdx
movups xmmword [rbx + rdx + 0x10], xmm6
movups xmmword [rbx + rdx], xmm7
or rdx, 0x20
or r8, 0x40
or r9, 0x60
movups xmmword [rbx + rdx], xmm7
movups xmmword [rbx + rdx + 0x10], xmm6
movups xmmword [rbx + r8], xmm7
movups xmmword [rbx + r8 + 0x10], xmm6
movups xmmword [rbx + r9], xmm7
movups xmmword [rbx + r9 + 0x10], xmm6
cmp eax, 0xadda36ce
jbe 0x140087b60
mov rax, rcx
shl rax, 5
movups xmmword [rbx + rax + 0x10], xmm6
movups xmmword [rbx + rax], xmm7
mov rdx, rax
or rdx, 0x20
movups xmmword [rbx + rdx], xmm7
movups xmmword [rbx + rdx + 0x10], xmm6
or rax, 0x40
movups xmmword [rbx + rax], xmm7
movups xmmword [rbx + rax + 0x10], xmm6
mov rax, r13
not rax
mov edx, eax
and edx, 3
add rdx, qword [rbp - 0x70]
xor rax, r13
and rax, rcx
xor rax, r13
xor rax, rdx
mov edx, ecx
and edx, 3
or rdx, rax
shl rdx, 5
movups xmmword [rbx + rdx], xmm7
movups xmmword [rbx + rdx + 0x10], xmm6
jmp 0x140087bd0
mov eax, dword [0x140218830]
and eax, dword [0x140218834]
and eax, 0xbba09e67
imul rax, rax, 0x7d2c2b2b
shr rax, 0x3e
or eax, 0xf9199380
cmp eax, 0xa12d5257
jae 0x140087d07
sub rsp, 0x20
mov r8d, 0x800
mov rcx, r10
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x808
mov rcx, qword [rbp - 0x30]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r10, qword [rbp - 0x38]
add rsp, 0x20
mov rdi, r14
mov r14, qword [rbp - 0x30]
nop
mov eax, dword [0x140218838]
xor edx, edx
div dword [0x14021883c]
mov r13d, eax
xor eax, 0x2186c043
xor r13d, 0xde7916ac
mov ecx, r13d
and ecx, 0x86713f10
and eax, 0x798ec0ef
imul eax, ecx
mov ecx, r13d
and ecx, 0x798ec0ef
or r13d, 0x798ec0ef
imul r13d, ecx
add r13d, eax
mov eax, 0xbf7fd2f7
imul r13, rax
shr r13, 0x3f
sub rsp, 0x20
mov r8d, 0x800
mov rcx, r10
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x808
mov rcx, r14
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r10, qword [rbp - 0x38]
add rsp, 0x20
cmp r13d, 0x3393ebc0
ja 0x140087d10
sub rsp, 0x20
mov r8d, 0x800
mov rcx, rdi
mov rdx, r10
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x20
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x810], 0
mfence
mov rax, qword [r12 + 0x180]
mov qword [rbp - 0x68], rax
movzx eax, byte [0x14022cb78]
sub rsp, 0x20
mov edx, 0x818
xor ecx, ecx
call fcn.140107940
add rsp, 0x20
test rax, rax
je 0x140088281
mov r13, rax
sub rsp, 0x20
mov r8d, 0x808
mov rcx, rax
mov rdx, qword [rbp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x20
mov rax, qword [rbp - 0x68]
mov qword [r13 + 0x808], rax
mov qword [r13 + 0x810], 0
mov rdi, qword [rbp - 0x50]
nop
mov eax, dword [0x140218858]
sub eax, dword [0x14021885c]
mov ecx, eax
xor ecx, 0x2fe2a110
xor eax, 0xd00816e7
and eax, 0xd90816f7
mov edx, ecx
and edx, 0x26f7e908
imul edx, eax
mov eax, ecx
and eax, 0xd90816f7
or ecx, 0xd90816f7
imul ecx, eax
add ecx, edx
mov eax, ecx
and eax, 0x40764895
xor ecx, 0x40764895
lea eax, [rcx + rax*2]
cmp eax, 0x80d8329c
jb 0x140087e30
mov r11, qword [rbp - 0x58]
nop word cs:[rax + rax]
mov eax, dword [0x140218860]
sub eax, dword [0x140218864]
add eax, 0xaa9146e5
mov ecx, eax
not ecx
or eax, 0xe1cfa464
or ecx, 0x1e305b9b
and ecx, eax
mov eax, ecx
not eax
and ecx, 0xac91b6e0
mov edx, eax
and edx, 0x536e491f
imul edx, ecx
mov ecx, eax
and ecx, 0xac91b6e0
or eax, 0xac91b6e0
imul eax, ecx
add eax, edx
cmp eax, 0x65f32636
jbe 0x140087ef0
mov rax, qword [r12 + 0x100]
nop dword [rax + rax]
mov eax, dword [0x140218868]
mov ecx, dword [0x14021886c]
mov edx, ecx
and edx, eax
add eax, ecx
sub eax, edx
add eax, 0xa8775d1f
or eax, 0xb130064
and eax, 0xbf1b01ff
mov rcx, qword [r12 + 0x100]
cmp eax, 0x6c33fca8
jb 0x140087ef0
mov rdx, rcx
xor rdx, 7
and rdx, rcx
mov eax, dword [0x140218870]
mov r8d, dword [0x140218874]
xor r8d, eax
not r8d
and r8d, eax
imul rax, r8, 0x4b12224d
shr rax, 0x3c
not eax
or eax, 0x7ad631db
and eax, 0x7ad631df
cmp eax, 0xf74592e9
je 0x140088020
nop word cs:[rax + rax]
mov eax, dword [0x140218878]
or eax, dword [0x14021887c]
or eax, 0x4ac59a46
add eax, 0x4aa4a86f
imul rax, rax, 0x30660f2d
shr rax, 0x3b
mov r8, qword [rdx + 0x810]
cmp eax, 0x3dd64a2a
ja 0x140088020
cmp r8, 7
ja 0x140088030
xor eax, eax
lock cmpxchg qword [rdx + 0x810], r13
sete al
nop dword [rax + rax]
mov edx, dword [0x140218880]
mov r8d, dword [0x140218884]
mov r9d, r8d
not r9d
mov r10d, edx
and r10d, r9d
or r9d, edx
not r9d
imul r9d, r10d
mov r10d, edx
and r10d, r8d
or edx, r8d
imul edx, r10d
add edx, r9d
add edx, 0x515b7b15
xor edx, 0xbc3b5633
cmp edx, 0x962642a0
jb 0x140087fc0
test al, al
je 0x140087e90
jmp 0x140088070
mov rax, qword [rdx + 0x810]
jmp 0x140087f70
mov rax, rcx
lock cmpxchg qword [r12 + 0x100], r8
nop dword [rax]
mov eax, dword [0x140218888]
xor edx, edx
div dword [0x14021888c]
or eax, 0x6adcb371
imul rax, r15
shr rax, 0x3c
add eax, 0x22e94062
cmp eax, 0x715835c2
ja 0x140088040
jmp 0x140087e90
mov edx, dword [0x140218890]
mov r8d, dword [0x140218894]
mov eax, edx
not eax
mov r9d, r8d
not r9d
mov r10d, eax
and r10d, 0xda144fa4
and edx, 0x25ebb05a
or edx, r10d
or eax, r9d
and r9d, 0xda144fa4
and r8d, 0x25ebb05a
or r8d, r9d
xor r8d, edx
not eax
or eax, r8d
shr eax, 1
mov edx, 0xaf928e4b
imul rax, rdx
shr rax, 0x3a
add eax, 0xd3794129
xor eax, 0x72cded41
cmp eax, 0x5f2f4602
mov r9, qword [rbp - 0x60]
jae 0x14008810b
mov rax, rcx
lock cmpxchg qword [r12 + 0x100], r13
mov qword [r9], rdi
mov rax, qword [rsi + 0x10]
mov rdx, qword [rbp - 0x40]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rdx], xmm0
mov rax, qword [rsi + 0x10]
mov qword [r11 + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [r11], xmm0
mov r10, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
nop word cs:[rax + rax]
mov eax, dword [0x140218898]
sub eax, dword [0x14021889c]
mov edx, eax
not edx
or eax, 0xcf5a2143
or edx, 0x30a5debc
and edx, eax
not edx
mov r8d, 0xd30e8b20
sub r8d, edx
add edx, 0x2cf174df
and r8d, 0xef64ae10
mov rax, rcx
lock cmpxchg qword [r12 + 0x100], r13
and edx, 0x109b51ef
or edx, r8d
mov qword [r9], rdi
mov rax, qword [rsi + 0x10]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [r14], xmm0
mov rax, qword [rsi + 0x10]
mov qword [r11 + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [r11], xmm0
cmp edx, 0xeb84cd83
ja 0x140088120
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x810]
cmp rax, 0x40
mov r14, qword [rbp - 0x48]
movabs r13, 0x5c2bdeec2820bdcf
jae 0x140087af0
shl rax, 5
mov qword [r14 + rax], rdi
movups xmm0, xmmword [r11]
movups xmmword [r14 + rax + 8], xmm0
mov rcx, qword [r11 + 0x10]
mov qword [r14 + rax + 0x18], rcx
mov rax, qword [rbp - 0x28]
inc qword [rax + 0x810]
nop dword [rax]
mov eax, dword [0x1402188a0]
imul eax, dword [0x1402188a4]
or eax, 0xcd707bae
mov ecx, eax
xor ecx, 0x10000400
xor eax, 0x20038000
and ecx, 0x100c0610
and eax, 0x22c38149
or eax, ecx
cmp eax, 0xae9722e1
je 0x1400881e0
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, 0x8122c8c7
nop word cs:[rax + rax]
mov ecx, dword [0x14021880c]
xor ecx, dword [0x140218808]
mov edx, ecx
xor edx, 0x6215a0f6
add edx, ecx
and ecx, 0x9dea5f09
sub edx, ecx
imul rdx, rax
shr rdx, 0x3e
mov ecx, edx
and ecx, 0xfffffffe
xor edx, 0x3dfbf01e
lea ecx, [rdx + rcx*2]
cmp ecx, 0x5393fcaa
je 0x140088240
jmp 0x1400881e0
mov eax, dword [0x140218840]
imul eax, dword [0x140218844]
mov ecx, eax
not ecx
and ecx, 0xf784b017
mov edx, eax
and edx, 0x87b4fe8
imul edx, ecx
mov ecx, eax
and ecx, 0xf784b017
or eax, 0xf784b017
imul eax, ecx
add eax, edx
mov ecx, eax
and ecx, 0x6fcdc19b
xor eax, 0xefcdc19b
lea eax, [rax + rcx*2]
imul eax, eax, 0x56b3029a
cmp eax, 0x5de7ad35
jb 0x1400882f1
mov eax, dword [str.xSRs_]
sub eax, dword [0x14021884c]
xor eax, 0xc0020
or eax, 0x87b37fcf
ud2
ud2