Function at 0x497de0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
mov rbx, qword [rcx + 0xf8]
movzx r12d, byte [rbx + 0x63]
movzx eax, byte [rbx + 0x62]
movzx ebp, byte [rbx + 0x61]
movzx esi, byte [rbx + 0x60]
mov r15d, r12d
add r12d, 1
movzx r11d, byte [rbx + 0x5f]
movzx r10d, byte [rbx + 0x5e]
shr r12d, 8
mov qword [rsp + 0x148], rdx
movzx edx, byte [rbx + 0x5d]
lea r14d, [r15 + 1]
add r12d, eax
movdqu xmm2, xmmword [rbx + 0x54]
mov qword [rsp + 0x140], rcx
mov eax, r12d
mov qword [rsp + 0x158], r9
shr eax, 8
mov qword [rsp + 0x150], r8
add ebp, eax
mov dword [rsp + 0x54], 0x10
mov eax, ebp
mov byte [rbx + 0x63], r14b
shr eax, 8
mov byte [rbx + 0x62], r12b
add esi, eax
mov byte [rbx + 0x61], bpl
mov eax, esi
mov byte [rbx + 0x60], sil
shr eax, 8
movaps xmmword [rsp + 0x60], xmm2
add r11d, eax
mov eax, r11d
mov byte [rbx + 0x5f], r11b
shr eax, 8
add r10d, eax
mov eax, r10d
mov byte [rbx + 0x5e], r10b
shr eax, 8
add eax, edx
movzx edx, byte [rbx + 0x5c]
mov byte [rbx + 0x5d], al
mov dword [rsp + 0x30], eax
shr eax, 8
lea edi, [rdx + rax]
movzx edx, byte [rbx + 0x5b]
mov ecx, edi
mov byte [rbx + 0x5c], dil
shr ecx, 8
mov dword [rsp + 0x44], edi
add edx, ecx
mov byte [rbx + 0x5b], dl
mov r9d, edx
mov dword [rsp + 0x48], edx
movzx edx, byte [rbx + 0x5a]
shr r9d, 8
lea r8d, [rdx + r9]
mov byte [rbx + 0x5a], r8b
mov r13d, r8d
mov dword [rsp + 0x4c], r8d
movzx r9d, byte [rbx + 0x59]
shr r13d, 8
movzx r8d, byte [rbx + 0x58]
movzx edx, byte [rbx + 0x56]
add r9d, r13d
movzx edi, byte [rbx + 0x55]
mov ecx, r9d
mov byte [rbx + 0x59], r9b
shr ecx, 8
add r8d, ecx
mov ecx, r8d
mov byte [rbx + 0x58], r8b
shr ecx, 8
mov eax, ecx
movzx ecx, byte [rbx + 0x57]
add ecx, eax
mov r13d, ecx
mov byte [rbx + 0x57], cl
shr r13d, 8
add edx, r13d
mov r13d, edx
mov byte [rbx + 0x56], dl
shr r13d, 8
mov eax, r13d
add eax, edi
movzx edi, byte [rbx + 0x54]
mov r13d, eax
mov byte [rbx + 0x55], al
shr r13d, 8
add r13d, edi
cmp qword [rbx + 0x28], 0x10
mov edi, 0x20
mov byte [rbx + 0x54], r13b
movdqu xmm3, xmmword [rbx + 0x54]
movaps xmmword [rsp + 0x70], xmm3
je 0x498068
movzx r14d, r14b
movzx r12d, r12b
movzx ebp, bpl
movzx esi, sil
add r14d, 1
movzx r11d, r11b
movzx r10d, r10b
movzx r9d, r9b
shr r14d, 8
movzx r8d, r8b
movzx ecx, cl
movzx edx, dl
add r12d, r14d
movzx eax, al
movzx r13d, r13b
add r15d, 2
mov byte [rbx + 0x62], r12b
shr r12d, 8
mov edi, 0x30
add ebp, r12d
mov byte [rbx + 0x63], r15b
mov byte [rbx + 0x61], bpl
shr ebp, 8
add esi, ebp
mov byte [rbx + 0x60], sil
shr esi, 8
add r11d, esi
mov byte [rbx + 0x5f], r11b
shr r11d, 8
add r10d, r11d
movzx r11d, byte [rsp + 0x30]
mov byte [rbx + 0x5e], r10b
shr r10d, 8
add r10d, r11d
movzx r11d, byte [rsp + 0x44]
mov byte [rbx + 0x5d], r10b
shr r10d, 8
add r10d, r11d
mov byte [rbx + 0x5c], r10b
mov r11d, r10d
movzx r10d, byte [rsp + 0x48]
shr r11d, 8
add r10d, r11d
mov byte [rbx + 0x5b], r10b
mov r11d, r10d
movzx r10d, byte [rsp + 0x4c]
shr r11d, 8
add r10d, r11d
mov byte [rbx + 0x5a], r10b
shr r10d, 8
add r9d, r10d
mov byte [rbx + 0x59], r9b
shr r9d, 8
add r8d, r9d
mov byte [rbx + 0x58], r8b
shr r8d, 8
add ecx, r8d
mov byte [rbx + 0x57], cl
shr ecx, 8
add edx, ecx
mov byte [rbx + 0x56], dl
shr edx, 8
add eax, edx
mov byte [rbx + 0x55], al
shr eax, 8
add eax, r13d
mov byte [rbx + 0x54], al
movdqu xmm4, xmmword [rbx + 0x54]
movaps xmmword [rsp + 0x80], xmm4
mov dword [rsp + 0x20], edi
lea r12, [rsp + 0x90]
mov rcx, qword [rbx]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x54]
mov rdx, r12
call sym.EVP_CipherUpdate
test eax, eax
je 0x498093
cmp dword [rsp + 0x54], edi
je 0x4980b0
xor eax, eax
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rbx + 0x28]
lea rdi, [rbx + 0x34]
mov rdx, r12
mov rcx, rdi
mov r8, rsi
call sym.memcpy
mov edx, dword [rbx + 0x30]
movdqu xmm5, xmmword [rsp + rsi + 0x90]
movups xmmword [rbx + 0x54], xmm5
test edx, edx
jne 0x498516
cmp qword [rsp + 0x148], 0
je 0x4982ce
cmp qword [rsp + 0x150], 0
je 0x4982ce
cmp rsi, qword [rsp + 0x150]
mov rdx, rsi
cmova rdx, qword [rsp + 0x150]
test rdx, rdx
je 0x498277
mov rax, qword [rsp + 0x148]
lea rcx, [rdx - 1]
lea r8, [rax + 1]
mov rax, rdi
sub rax, r8
cmp rax, 0xe
jbe 0x498a28
cmp rcx, 6
jbe 0x498a28
cmp rcx, 0xe
jbe 0x4989c8
mov rax, qword [rsp + 0x148]
movdqu xmm0, xmmword [rbx + 0x34]
movdqu xmm5, xmmword [rax]
mov rax, rdx
shr rax, 4
pxor xmm0, xmm5
movaps xmmword [rsp + 0x30], xmm5
movups xmmword [rbx + 0x34], xmm0
cmp rax, 1
je 0x498197
mov rax, qword [rsp + 0x148]
movdqu xmm0, xmmword [rbx + 0x44]
movdqu xmm1, xmmword [rax + 0x10]
pxor xmm0, xmm1
movaps xmmword [rsp + 0x30], xmm1
movups xmmword [rbx + 0x44], xmm0
mov rax, rdx
and rax, 0xfffffffffffffff0
test dl, 0xf
je 0x498277
mov r8, rdx
sub rcx, rax
sub r8, rax
cmp rcx, 6
jbe 0x4981e8
mov r15, qword [rsp + 0x148]
lea rcx, [rbx + rax + 0x34]
movq xmm1, qword [rcx]
movq xmm0, qword [r15 + rax]
pxor xmm0, xmm1
movq qword [rcx], xmm0
mov rcx, r8
and rcx, 0xfffffffffffffff8
add rax, rcx
cmp rcx, r8
je 0x498277
mov rcx, qword [rsp + 0x148]
movzx ecx, byte [rcx + rax]
xor byte [rbx + rax + 0x34], cl
lea rcx, [rax + 1]
cmp rdx, rcx
jbe 0x498277
mov r15, qword [rsp + 0x148]
movzx r8d, byte [r15 + rax + 1]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 2]
cmp rdx, rcx
jbe 0x498277
movzx r8d, byte [r15 + rax + 2]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 3]
cmp rdx, rcx
jbe 0x498277
movzx r8d, byte [r15 + rax + 3]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 4]
cmp rdx, rcx
jbe 0x498277
movzx r8d, byte [r15 + rax + 4]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 5]
cmp rdx, rcx
jbe 0x498277
movzx r8d, byte [r15 + rax + 5]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 6]
cmp rdx, rcx
jbe 0x498277
movzx eax, byte [r15 + rax + 6]
xor byte [rbx + rcx + 0x34], al
cmp rsi, qword [rsp + 0x150]
jae 0x4982ce
mov rax, qword [rsp + 0x148]
mov r8, qword [rsp + 0x150]
lea rdx, [rax + rsi + 1]
lea rax, [rbx + 0x54]
sub r8, rsi
sub rax, rdx
cmp rax, 0xe
mov rax, qword [rsp + 0x148]
jbe 0x498b92
cmp r8, 0xf
jbe 0x498b92
movdqu xmm0, xmmword [rax + rsi]
movdqu xmm5, xmmword [rbx + 0x54]
pxor xmm0, xmm5
movups xmmword [rbx + 0x54], xmm0
cmp qword [rsp + 0x158], 0
je 0x4984be
cmp qword [rsp + 0x160], 0
je 0x4984be
cmp rsi, qword [rsp + 0x160]
mov rdx, rsi
cmova rdx, qword [rsp + 0x160]
test rdx, rdx
je 0x498467
mov rax, qword [rsp + 0x158]
lea rcx, [rdx - 1]
lea r8, [rax + 1]
mov rax, rdi
sub rax, r8
cmp rax, 0xe
jbe 0x498a49
cmp rcx, 6
jbe 0x498a49
cmp rcx, 0xe
jbe 0x4989be
mov rax, qword [rsp + 0x158]
movdqu xmm0, xmmword [rbx + 0x34]
movdqu xmm1, xmmword [rax]
mov rax, rdx
shr rax, 4
pxor xmm0, xmm1
movaps xmmword [rsp + 0x30], xmm1
movups xmmword [rbx + 0x34], xmm0
cmp rax, 1
je 0x498387
mov rax, qword [rsp + 0x158]
movdqu xmm0, xmmword [rbx + 0x44]
movdqu xmm1, xmmword [rax + 0x10]
pxor xmm0, xmm1
movaps xmmword [rsp + 0x30], xmm1
movups xmmword [rbx + 0x44], xmm0
mov rax, rdx
and rax, 0xfffffffffffffff0
test dl, 0xf
je 0x498467
mov r8, rdx
sub rcx, rax
sub r8, rax
cmp rcx, 6
jbe 0x4983d8
mov r15, qword [rsp + 0x158]
lea rcx, [rbx + rax + 0x34]
movq xmm1, qword [rcx]
movq xmm0, qword [r15 + rax]
pxor xmm0, xmm1
movq qword [rcx], xmm0
mov rcx, r8
and rcx, 0xfffffffffffffff8
add rax, rcx
cmp rcx, r8
je 0x498467
mov rcx, qword [rsp + 0x158]
movzx ecx, byte [rcx + rax]
xor byte [rbx + rax + 0x34], cl
lea rcx, [rax + 1]
cmp rdx, rcx
jbe 0x498467
mov r15, qword [rsp + 0x158]
movzx r8d, byte [r15 + rax + 1]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 2]
cmp rdx, rcx
jbe 0x498467
movzx r8d, byte [r15 + rax + 2]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 3]
cmp rdx, rcx
jbe 0x498467
movzx r8d, byte [r15 + rax + 3]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 4]
cmp rdx, rcx
jbe 0x498467
movzx r8d, byte [r15 + rax + 4]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 5]
cmp rdx, rcx
jbe 0x498467
movzx r8d, byte [r15 + rax + 5]
xor byte [rbx + rcx + 0x34], r8b
lea rcx, [rax + 6]
cmp rdx, rcx
jbe 0x498467
movzx eax, byte [r15 + rax + 6]
xor byte [rbx + rcx + 0x34], al
cmp rsi, qword [rsp + 0x160]
jae 0x4984be
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x160]
lea rdx, [rbx + 0x54]
lea rcx, [rcx + rsi + 1]
sub rax, rsi
sub rdx, rcx
cmp rdx, 0xe
jbe 0x498a6a
cmp rax, 0xf
jbe 0x498a6a
mov rax, qword [rsp + 0x158]
movdqu xmm1, xmmword [rbx + 0x54]
movdqu xmm0, xmmword [rax + rsi]
pxor xmm0, xmm1
movups xmmword [rbx + 0x54], xmm0
mov dword [rsp + 0x28], 0xffffffff
xor r8d, r8d
xor edx, edx
mov r9, rdi
mov qword [rsp + 0x20], 0
mov rcx, qword [rbx]
call sym.EVP_CipherInit_ex
test eax, eax
je 0x498093
mov rcx, qword [rbx + 8]
xor r8d, r8d
xor edx, edx
mov r9, rdi
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], 0
call sym.EVP_CipherInit_ex
test eax, eax
setne al
movzx eax, al
jmp 0x498095
mov rax, qword [rsp + 0x158]
or rax, qword [rsp + 0x168]
or rax, qword [rsp + 0x148]
je 0x4987e3
lea rbp, [rbx + 0x80]
mov dword [rsp + 0x58], 0x10
mov qword [rbx + 0x88], 0
mov qword [rbx + 0x80], 0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
cmp rsi, 0x10
je 0x4989d2
lea rsi, [rbx + 0x90]
mov r12d, 0x30
mov dword [rsp + 0xc0], 0x10
movdqu xmm0, xmmword [rbx + 0x90]
pxor xmm0, xmmword [0x0078a2f0]
movups xmmword [rbx + 0x90], xmm0
movdqu xmm0, xmmword [rbx + 0xa0]
pxor xmm0, xmmword [0x0078a300]
movups xmmword [rbx + 0xa0], xmm0
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x20], r12d
mov r9, rbp
mov rdx, rbp
lea r8, [rsp + 0xc0]
call sym.EVP_CipherUpdate
test eax, eax
je 0x498093
cmp dword [rsp + 0xc0], r12d
jne 0x498093
cmp qword [rsp + 0x148], 0
je 0x4989b1
cmp qword [rsp + 0x150], 0
mov r8, qword [rsp + 0x150]
sete dl
cmp qword [rsp + 0x168], 0
mov rax, r8
je 0x498a17
add rax, qword [rsp + 0x170]
cmp qword [rsp + 0x158], 0
je 0x498a06
add rax, qword [rsp + 0x160]
bswap eax
mov dword [rbx + 0x64], eax
xor eax, eax
mov word [rbx + 0x68], ax
movzx eax, byte [rbx + 0x28]
mov byte [rbx + 0x6a], 0
add eax, 0x10
mov qword [rbx + 0x78], 8
mov byte [rbx + 0x6b], al
test dl, dl
jne 0x49868c
mov rdx, qword [rsp + 0x148]
mov rcx, rbx
call sym.ctr_BCC_update.part.0
test eax, eax
je 0x498093
cmp qword [rsp + 0x168], 0
je 0x4986c2
cmp qword [rsp + 0x170], 0
je 0x4986c2
mov r8, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x168]
mov rcx, rbx
call sym.ctr_BCC_update.part.0
test eax, eax
je 0x498093
cmp qword [rsp + 0x158], 0
je 0x4986f8
cmp qword [rsp + 0x160], 0
je 0x4986f8
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call sym.ctr_BCC_update.part.0
test eax, eax
je 0x498093
mov r8d, 1
lea rdx, [0x00726ac0]
mov rcx, rbx
call sym.ctr_BCC_update.part.0
test eax, eax
je 0x498093
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x498d1a
mov dword [rsp + 0x28], 0xffffffff
xor r8d, r8d
xor edx, edx
mov r9, rbp
mov qword [rsp + 0x20], 0
mov rcx, qword [rbx]
call sym.EVP_CipherInit_ex
test eax, eax
je 0x498093
mov r9, qword [rbx + 0x28]
mov dword [rsp + 0x20], 0x10
lea r12, [rsp + 0x58]
mov rdx, rbp
mov rcx, qword [rbx]
mov r8, r12
add r9, rbp
call sym.EVP_CipherUpdate
test eax, eax
je 0x498093
cmp dword [rsp + 0x58], 0x10
jne 0x498093
mov dword [rsp + 0x20], 0x10
mov rcx, qword [rbx]
mov r9, rbp
mov r8, r12
mov rdx, rsi
call sym.EVP_CipherUpdate
test eax, eax
je 0x498093
cmp dword [rsp + 0x58], 0x10
jne 0x498093
cmp qword [rbx + 0x28], 0x10
je 0x4987e3
mov dword [rsp + 0x20], 0x10
mov rcx, qword [rbx]
lea rdx, [rbx + 0xa0]
mov r9, rsi
mov r8, r12
call sym.EVP_CipherUpdate
test eax, eax
je 0x498093
cmp dword [rsp + 0x58], 0x10
jne 0x498093
cmp qword [rsp + 0x150], 0
je 0x4984be
mov rax, qword [rsp + 0x140]
mov rdx, qword [rax + 0xe8]
test rdx, rdx
je 0x4984be
mov rcx, qword [rbx + 0x28]
lea r8, [rbx + 0x80]
cmp rdx, rcx
mov r9, rcx
cmovbe r9, rdx
test r9, r9
je 0x498958
lea r10, [r9 - 1]
cmp r10, 0xe
jbe 0x498edd
movdqu xmm0, xmmword [rbx + 0x34]
movdqu xmm5, xmmword [rbx + 0x80]
mov rax, r9
shr rax, 4
pxor xmm0, xmm5
movups xmmword [rbx + 0x34], xmm0
cmp rax, 1
je 0x49886d
movdqu xmm5, xmmword [rbx + 0x44]
movdqu xmm0, xmmword [rbx + 0x90]
pxor xmm0, xmm5
movups xmmword [rbx + 0x44], xmm0
mov rax, r9
and rax, 0xfffffffffffffff0
test r9b, 0xf
je 0x498958
mov r11, r9
sub r10, rax
sub r11, rax
cmp r10, 6
jbe 0x4988bc
movq xmm1, qword [rbx + rax + 0x80]
lea r10, [rbx + rax + 0x34]
movq xmm0, qword [r10]
pxor xmm0, xmm1
movq qword [r10], xmm0
mov r10, r11
and r10, 0xfffffffffffffff8
add rax, r10
cmp r10, r11
je 0x498958
movzx r10d, byte [rbx + rax + 0x80]
xor byte [rbx + rax + 0x34], r10b
lea r10, [rax + 1]
cmp r9, r10
jbe 0x498958
movzx r11d, byte [rbx + rax + 0x81]
xor byte [rbx + r10 + 0x34], r11b
lea r10, [rax + 2]
cmp r9, r10
jbe 0x498958
movzx r11d, byte [rbx + rax + 0x82]
xor byte [rbx + r10 + 0x34], r11b
lea r10, [rax + 3]
cmp r9, r10
jbe 0x498958
movzx r11d, byte [rbx + rax + 0x83]
xor byte [rbx + r10 + 0x34], r11b
lea r10, [rax + 4]
cmp r9, r10
jbe 0x498958
movzx r11d, byte [rbx + rax + 0x84]
xor byte [rbx + r10 + 0x34], r11b
lea r10, [rax + 5]
cmp r9, r10
jbe 0x498958
movzx r11d, byte [rbx + rax + 0x85]
add rax, 6
xor byte [rbx + r10 + 0x34], r11b
cmp r9, rax
jbe 0x498958
movzx r9d, byte [rbx + rax + 0x80]
xor byte [rbx + rax + 0x34], r9b
cmp rdx, rcx
jbe 0x4984be
mov rax, rdx
mov edx, 0x10
sub rax, rcx
cmp rax, 0x10
cmovbe rdx, rax
sub rdx, 1
cmp rdx, 0xe
jbe 0x498db0
mov rdx, 0xffffffffffffffd3
sub rdx, rcx
cmp rdx, 0xe
jbe 0x498db0
movdqu xmm0, xmmword [rbx + rcx + 0x80]
movdqu xmm5, xmmword [rbx + 0x54]
pxor xmm0, xmm5
movups xmmword [rbx + 0x54], xmm0
jmp 0x4984be
mov edx, 1
xor r8d, r8d
jmp 0x49861e
mov r8, rdx
xor eax, eax
jmp 0x4983a6
mov r8, rdx
xor eax, eax
jmp 0x4981b6
lea rsi, [rbx + 0x90]
mov r12d, 0x20
mov dword [rsp + 0xc0], 0x10
movdqu xmm0, xmmword [rbx + 0x90]
pxor xmm0, xmmword [0x0078a2f0]
movups xmmword [rbx + 0x90], xmm0
jmp 0x4985c9
mov qword [rsp + 0x160], 0
jmp 0x49864f
mov qword [rsp + 0x170], 0
jmp 0x498638
mov r8, qword [rsp + 0x148]
xor eax, eax
movzx ecx, byte [r8 + rax]
xor byte [rbx + rax + 0x34], cl
add rax, 1
cmp rdx, rax
jne 0x498a32
jmp 0x498277
mov r8, qword [rsp + 0x158]
xor eax, eax
movzx ecx, byte [r8 + rax]
xor byte [rbx + rax + 0x34], cl
add rax, 1
cmp rdx, rax
jne 0x498a53
jmp 0x498467
mov rdx, qword [rsp + 0x158]
movzx edx, byte [rdx + rsi]
xor byte [rbx + 0x54], dl
cmp rax, 1
jbe 0x4984be
movzx edx, byte [rcx]
xor byte [rbx + 0x55], dl
cmp rax, 2
je 0x4984be
mov rcx, qword [rsp + 0x158]
movzx edx, byte [rcx + rsi + 2]
xor byte [rbx + 0x56], dl
cmp rax, 3
je 0x4984be
movzx edx, byte [rcx + rsi + 3]
xor byte [rbx + 0x57], dl
cmp rax, 4
je 0x4984be
movzx edx, byte [rcx + rsi + 4]
xor byte [rbx + 0x58], dl
cmp rax, 5
je 0x4984be
movzx edx, byte [rcx + rsi + 5]
xor byte [rbx + 0x59], dl
cmp rax, 6
je 0x4984be
movzx edx, byte [rcx + rsi + 6]
xor byte [rbx + 0x5a], dl
cmp rax, 7
je 0x4984be
movzx edx, byte [rcx + rsi + 7]
xor byte [rbx + 0x5b], dl
cmp rax, 8
je 0x4984be
movzx edx, byte [rcx + rsi + 8]
xor byte [rbx + 0x5c], dl
cmp rax, 9
je 0x4984be
movzx edx, byte [rcx + rsi + 9]
xor byte [rbx + 0x5d], dl
cmp rax, 0xa
je 0x4984be
movzx edx, byte [rcx + rsi + 0xa]
xor byte [rbx + 0x5e], dl
cmp rax, 0xb
je 0x4984be
movzx edx, byte [rcx + rsi + 0xb]
xor byte [rbx + 0x5f], dl
cmp rax, 0xc
je 0x4984be
movzx edx, byte [rcx + rsi + 0xc]
xor byte [rbx + 0x60], dl
cmp rax, 0xd
je 0x4984be
movzx edx, byte [rcx + rsi + 0xd]
xor byte [rbx + 0x61], dl
cmp rax, 0xe
je 0x4984be
movzx edx, byte [rcx + rsi + 0xe]
xor byte [rbx + 0x62], dl
cmp rax, 0xf
jbe 0x4984be
movzx eax, byte [rcx + rsi + 0xf]
xor byte [rbx + 0x63], al
jmp 0x4984be
movzx eax, byte [rax + rsi]
xor byte [rbx + 0x54], al
cmp r8, 1
jbe 0x4982ce
movzx eax, byte [rdx]
xor byte [rbx + 0x55], al
cmp r8, 2
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 2]
xor byte [rbx + 0x56], al
cmp r8, 3
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 3]
xor byte [rbx + 0x57], al
cmp r8, 4
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 4]
xor byte [rbx + 0x58], al
cmp r8, 5
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 5]
xor byte [rbx + 0x59], al
cmp r8, 6
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 6]
xor byte [rbx + 0x5a], al
cmp r8, 7
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 7]
xor byte [rbx + 0x5b], al
cmp r8, 8
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 8]
xor byte [rbx + 0x5c], al
cmp r8, 9
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 9]
xor byte [rbx + 0x5d], al
cmp r8, 0xa
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 0xa]
xor byte [rbx + 0x5e], al
cmp r8, 0xb
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 0xb]
xor byte [rbx + 0x5f], al
cmp r8, 0xc
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 0xc]
xor byte [rbx + 0x60], al
cmp r8, 0xd
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 0xd]
xor byte [rbx + 0x61], al
cmp r8, 0xe
je 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 0xe]
xor byte [rbx + 0x62], al
cmp r8, 0xf
jbe 0x4982ce
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + rsi + 0xf]
xor byte [rbx + 0x63], al
jmp 0x4982ce
mov r8d, 0x10
xor edx, edx
lea rcx, [rbx + rax + 0x64]
sub r8, rax
call sym.memset
cmp qword [rbx + 0x28], 0x10
movdqu xmm0, xmmword [rbx + 0x64]
je 0x498ee4
movaps xmmword [rsp + 0xe0], xmm0
mov r12d, 0x30
mov dword [rsp + 0x5c], 0x10
movdqu xmm1, xmmword [rbp]
pxor xmm1, xmm0
movups xmmword [rbp], xmm1
movdqu xmm5, xmmword [rsi]
pxor xmm0, xmm5
movups xmmword [rsi], xmm0
movdqu xmm0, xmmword [rsi + 0x10]
pxor xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsi + 0x10], xmm0
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x20], r12d
mov r9, rbp
mov rdx, rbp
lea r8, [rsp + 0x5c]
call sym.EVP_CipherUpdate
test eax, eax
je 0x498093
cmp dword [rsp + 0x5c], r12d
je 0x498722
jmp 0x498093
movzx edx, byte [rbx + rcx + 0x80]
xor byte [rbx + 0x54], dl
cmp rax, 1
je 0x4984be
movzx edx, byte [r8 + rcx + 1]
xor byte [rbx + 0x55], dl
cmp rax, 2
je 0x4984be
movzx edx, byte [r8 + rcx + 2]
xor byte [rbx + 0x56], dl
cmp rax, 3
je 0x4984be
movzx edx, byte [r8 + rcx + 3]
xor byte [rbx + 0x57], dl
cmp rax, 4
je 0x4984be
movzx edx, byte [r8 + rcx + 4]
xor byte [rbx + 0x58], dl
cmp rax, 5
je 0x4984be
movzx edx, byte [r8 + rcx + 5]
xor byte [rbx + 0x59], dl
cmp rax, 6
je 0x4984be
movzx edx, byte [r8 + rcx + 6]
xor byte [rbx + 0x5a], dl
cmp rax, 7
je 0x4984be
movzx edx, byte [r8 + rcx + 7]
xor byte [rbx + 0x5b], dl
cmp rax, 8
je 0x4984be
movzx edx, byte [r8 + rcx + 8]
xor byte [rbx + 0x5c], dl
cmp rax, 9
je 0x4984be
movzx edx, byte [r8 + rcx + 9]
xor byte [rbx + 0x5d], dl
cmp rax, 0xa
je 0x4984be
movzx edx, byte [r8 + rcx + 0xa]
xor byte [rbx + 0x5e], dl
cmp rax, 0xb
je 0x4984be
movzx edx, byte [r8 + rcx + 0xb]
xor byte [rbx + 0x5f], dl
cmp rax, 0xc
je 0x4984be
movzx edx, byte [r8 + rcx + 0xc]
xor byte [rbx + 0x60], dl
cmp rax, 0xd
je 0x4984be
movzx edx, byte [r8 + rcx + 0xd]
xor byte [rbx + 0x61], dl
cmp rax, 0xe
je 0x4984be
movzx edx, byte [r8 + rcx + 0xe]
xor byte [rbx + 0x62], dl
cmp rax, 0xf
jbe 0x4984be
movzx eax, byte [r8 + rcx + 0xf]
xor byte [rbx + 0x63], al
jmp 0x4984be
xor eax, eax
jmp 0x49887e
mov dword [rsp + 0x5c], 0x10
movdqu xmm1, xmmword [rbp]
mov r12d, 0x20
pxor xmm1, xmm0
movups xmmword [rbp], xmm1
movdqu xmm1, xmmword [rsi]
pxor xmm0, xmm1
movups xmmword [rsi], xmm0
jmp 0x498d7f