Function at 0x60a040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x38], ecx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x54], edi
test edx, edx
je 0x60a63a
test edi, edi
jne 0x60a09d
mov eax, dword [esi]
mov ecx, esi
push str.NULL_passed_to_CBC_encryptor
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0x80], 1
ja 0x60a0c9
mov eax, dword [ebx]
push esi
push dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
push edx
push edi
push ecx
mov ecx, ebx
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
mov eax, edx
xor edx, edx
div dword [ebx + 0x80]
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x60a0fb
mov eax, dword [esi]
mov ecx, esi
push str.CBC_input_not_a_multiple_of_the_cipher_block_size.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
mov al, byte [0x7da898]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 0x45], al
call fcn.0046e290
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], ecx
add eax, 0x20
add ecx, eax
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.004a2730
test al, al
jne 0x60a146
mov eax, dword [esi]
mov ecx, esi
push str.Unable_to_allocate_CBC_encrypt_output_buffer.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x4c]
call fcn.004a2c70
cmp byte [ebp - 0x45], 0
mov esi, eax
mov edx, dword [ebx + 0x80]
mov dword [ebp - 0x44], esi
mov dword [ebp - 8], edx
je 0x60a527
mov eax, dword [ebp - 0x38]
xor ecx, ecx
add eax, 8
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], eax
test edx, edx
je 0x60a318
cmp edx, 8
jb 0x60a2e3
mov dword [ebp - 0x38], ecx
dec eax
lea ecx, [ebp + edx - 0x25]
add eax, edx
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x24]
cmp ecx, eax
mov ecx, 0
ja 0x60a1ad
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x58], eax
jae 0x60a2e3
lea eax, [edi - 1]
lea ecx, [ebp - 0x24]
add eax, edx
cmp ecx, eax
mov ecx, 0
ja 0x60a1ca
lea eax, [ebp + edx - 0x25]
cmp eax, edi
jae 0x60a2e0
cmp edx, 0x40
jb 0x60a282
mov ebx, edx
mov eax, edx
and ebx, 0x3f
lea edx, [ebp - 0x24]
sub eax, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], eax
mov ebx, edi
lea eax, [edi + 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
sub ebx, eax
mov edi, dword [ebp - 0x58]
sub edx, eax
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x68], edx
lea ebx, [eax + 0x10]
lea edx, [ebp - 4]
sub edx, eax
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x38]
movups xmm0, xmmword [edi - 0x30]
mov eax, dword [ebp - 0x70]
lea edi, [edi + 0x40]
movups xmm1, xmmword [ebx - 0x10]
lea ebx, [ebx + 0x40]
xorps xmm1, xmm0
movups xmm0, xmmword [ebx - 0x40]
movups xmmword [ebp + ecx - 0x24], xmm1
add ecx, 0x40
movups xmm1, xmmword [edx + ebx - 0x40]
xorps xmm1, xmm0
movups xmm0, xmmword [edi - 0x50]
movups xmmword [eax + ebx - 0x40], xmm1
mov eax, dword [ebp - 0x68]
movups xmm1, xmmword [ebx - 0x30]
xorps xmm1, xmm0
movups xmm0, xmmword [edi - 0x40]
movups xmmword [eax + ebx - 0x40], xmm1
mov eax, dword [ebp - 0x6c]
movups xmm1, xmmword [ebx - 0x20]
xorps xmm1, xmm0
movups xmmword [eax + ebx - 0x40], xmm1
mov eax, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x60]
jb 0x60a213
cmp dword [ebp - 0x50], 8
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x38], ecx
jb 0x60a2da
jmp 0x60a285
mov eax, dword [ebp - 0x40]
sub edi, dword [ebp - 0x40]
lea ebx, [ebp - 0x24]
mov esi, dword [ebp - 0x44]
add eax, ecx
mov dword [ebp - 0x38], edx
and dword [ebp - 0x38], 0xfffffff8
sub ebx, dword [ebp - 0x40]
mov dword [ebp - 0x50], ebx
mov ebx, edi
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x50]
nop word [eax + eax]
movq xmm1, qword [ebx + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add ecx, 8
xorps xmm1, xmm0
movq qword [edi + eax - 8], xmm1
cmp ecx, dword [ebp - 0x38]
jb 0x60a2b0
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], ecx
cmp ecx, edx
jae 0x60a318
jmp 0x60a2e3
mov eax, dword [ebp - 0x40]
lea ebx, [ebp - 0x24]
mov esi, edi
sub ebx, eax
add ecx, eax
mov dword [ebp - 8], ebx
sub esi, eax
sub edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 8]
nop word [eax + eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [edi + ecx - 1], al
sub edx, 1
jne 0x60a300
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
push dword [ebx + 0x80]
lea eax, [ebp - 0x34]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebx + 0x80]
add esp, 0xc
add edi, ebx
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edi
je 0x60a4fa
mov dword [ebp - 0x58], ebx
xor edx, edx
test ebx, ebx
je 0x60a4b8
cmp ebx, 8
jb 0x60a489
lea eax, [edi - 1]
lea esi, [ebp - 0x24]
add eax, ebx
cmp esi, eax
lea ecx, [ebp + ebx - 0x25]
mov esi, dword [ebp - 0x44]
ja 0x60a380
cmp ecx, edi
jae 0x60a489
lea eax, [esi - 1]
lea edi, [ebp - 0x24]
add eax, ebx
cmp edi, eax
mov edi, dword [ebp - 0x38]
ja 0x60a397
cmp ecx, esi
jae 0x60a489
cmp ebx, 0x40
jb 0x60a444
mov ecx, ebx
mov eax, ebx
mov ebx, esi
and ecx, 0x3f
sub ebx, edi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x54], ebx
sub eax, ecx
lea ebx, [ebp - 0x24]
mov dword [ebp - 0x6c], eax
sub ebx, edi
lea ecx, [esi + 0x30]
mov esi, dword [ebp - 0x54]
lea eax, [edi + 0x10]
mov dword [ebp - 8], ebx
lea ebx, [ebp - 0x14]
sub ebx, edi
mov dword [ebp - 0x50], ebx
lea ebx, [ebp - 4]
sub ebx, edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x58]
nop dword [eax]
movups xmm0, xmmword [ecx - 0x30]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
xorps xmm1, xmm0
movups xmmword [ebp + edx - 0x24], xmm1
add edx, 0x40
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 0x50]
movups xmm0, xmmword [eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax + edi - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [eax - 0x30]
xorps xmm1, xmm0
movups xmmword [eax + esi - 0x40], xmm1
mov esi, dword [ebp - 0x60]
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [eax + esi - 0x40], xmm1
mov esi, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x6c]
jb 0x60a3e0
cmp dword [ebp - 0x68], 8
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
jb 0x60a485
mov ecx, ebx
lea eax, [edi + edx]
and ecx, 0xfffffff8
sub esi, edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x24]
sub ecx, edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x60]
movq xmm1, qword [eax + esi]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [edi + eax - 8], xmm1
cmp edx, ecx
jb 0x60a462
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
cmp edx, ebx
jae 0x60a4b8
lea ecx, [edi + edx]
mov dword [ebp - 8], esi
lea eax, [ebp - 0x24]
sub esi, edi
sub eax, edi
mov edi, ebx
sub edi, edx
mov dword [ebp - 8], eax
mov edx, eax
nop
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [edx + ecx - 1], al
sub edi, 1
jne 0x60a4a0
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
add esi, ebx
lea ecx, [ebp - 0x34]
mov ebx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], esi
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
push dword [ebx + 0x80]
lea eax, [ebp - 0x34]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebx + 0x80]
add esp, 0xc
add edi, ebx
mov dword [ebp - 0x58], ebx
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edi
jne 0x60a352
xor edx, edx
test ebx, ebx
je 0x60a62b
mov ebx, dword [ebp - 0x40]
sub esi, ebx
mov ecx, dword [ebp - 0x5c]
nop dword [eax]
mov al, byte [esi + ebx]
lea ebx, [ebx + 1]
mov byte [ebx - 1], al
inc edx
cmp edx, dword [ecx + 0x80]
jb 0x60a510
jmp 0x60a62b
cmp edx, 0x10
jne 0x60a5c8
mov edx, dword [ebp - 0x38]
push esi
mov ecx, dword [edx + 8]
xor ecx, dword [edi]
mov eax, dword [edx + 0xc]
xor eax, dword [edi + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 8]
xor ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xc]
xor eax, dword [edx + 0x14]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
sub dword [ebp - 0x3c], 1
je 0x60a5ac
sub edi, esi
nop word [eax + eax]
mov ecx, dword [esi]
xor ecx, dword [esi + edi + 0x10]
mov eax, dword [esi + 4]
xor eax, dword [esi + edi + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + edi + 0x18]
xor ecx, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + edi + 0x1c]
xor eax, dword [esi + 0xc]
add esi, 0x10
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x10]
sub dword [ebp - 0x3c], 1
jne 0x60a570
mov edx, dword [ebp - 0x38]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
jmp 0x60a62b
cmp edx, 8
jne 0x60a63a
mov eax, dword [ebp - 0x38]
push esi
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor ecx, dword [edi]
xor eax, dword [edi + 4]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
sub dword [ebp - 0x3c], 1
je 0x60a61d
sub edi, esi
mov ecx, dword [edi + esi + 8]
xor ecx, dword [esi]
mov eax, dword [edi + esi + 0xc]
xor eax, dword [esi + 4]
add esi, 8
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x10]
sub dword [ebp - 0x3c], 1
jne 0x60a5f5
mov edx, dword [ebp - 0x38]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.004a4be0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14