Function at 0x482e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], eax
push edi
mov edi, dword [ebp + 0x18]
test ecx, ecx
je 0x483276
cmp dword [ebp + 0xc], 0
jne 0x482eac
mov eax, dword [edi]
mov ecx, edi
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.005ebe04
mov esp, ebp
pop ebp
ret 0x14
xor edx, edx
mov eax, ecx
div dword [ebx + 0x80]
mov dword [ebp - 0x30], eax
test edx, edx
je 0x482ede
mov eax, dword [edi]
mov ecx, edi
push str.AES_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.005ebe04
mov esp, ebp
pop ebp
ret 0x14
cmp byte [0x6bd628], 0
push ecx
mov ecx, dword [ebp - 0x48]
je 0x4831c7
add esi, 8
mov dword [ebp - 0x40], esi
call fcn.00414890
mov ebx, eax
mov dword [ebp - 0x3c], ebx
test ebx, ebx
jne 0x482f24
mov eax, dword [edi]
mov ecx, edi
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.005ebe04
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp - 0x34]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov edx, dword [edi + 0x80]
test edx, edx
je 0x48302b
cmp edx, 0x20
jb 0x482ff9
lea eax, [ebp + edx - 0x29]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x28]
lea eax, [esi - 1]
add eax, edx
cmp ecx, eax
mov ecx, 0
ja 0x482f6a
lea eax, [ebp + edx - 0x29]
cmp eax, esi
jae 0x482ff9
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
dec eax
add eax, edx
cmp ecx, eax
mov ecx, 0
ja 0x482f84
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x38], eax
jae 0x482ffc
mov ebx, dword [ebp + 0xc]
mov eax, edx
mov edi, ebx
lea edx, [ebp - 0x18]
sub edi, esi
and eax, 0xffffffe0
mov dword [ebp - 0x38], edi
lea edi, [ebp - 0x28]
sub edi, esi
mov dword [ebp - 0x44], eax
sub edx, esi
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x34]
mov eax, esi
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
lea edx, [ebx + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x2c]
movups xmm0, xmmword [eax]
mov ebx, dword [ebp - 0x4c]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [edx + eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ecx]
mov ebx, dword [ebp - 0x50]
add ecx, 0x20
pxor xmm1, xmm0
movups xmmword [ebx + eax - 0x20], xmm1
mov ebx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x44]
jb 0x482fb7
mov esi, dword [ebp - 0x40]
mov edx, dword [edi + 0x80]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0xc]
cmp ecx, edx
jae 0x48302b
mov edi, eax
add ecx, esi
lea eax, [ebp - 0x28]
sub edi, esi
sub eax, esi
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov ebx, eax
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edx, 1
jne 0x483013
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x10]
push dword [edi + 0x80]
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [edi + 0x80]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, edx
mov dword [ebp - 0x38], edx
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], ecx
je 0x4831a0
nop dword [eax + eax]
xor esi, esi
test edx, edx
je 0x48315b
cmp edx, 0x20
jb 0x483128
lea eax, [ecx - 1]
lea edi, [ebp - 0x28]
add eax, edx
cmp edi, eax
mov edi, dword [ebp - 0x34]
ja 0x48309e
lea eax, [ebp + edx - 0x29]
cmp eax, ecx
jae 0x483128
lea eax, [ebx - 1]
lea ecx, [ebp - 0x28]
add eax, edx
cmp ecx, eax
mov ecx, dword [ebp - 0x2c]
ja 0x4830b5
lea eax, [ebp + edx - 0x29]
cmp eax, ebx
jae 0x483128
mov eax, edx
mov edi, ebx
and eax, 0xffffffe0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
sub edi, eax
neg eax
mov dword [ebp - 0x50], edi
add edx, eax
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x18]
add eax, edx
mov edx, edi
mov dword [ebp - 0x5c], eax
lea eax, [ebx + 0x10]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
movups xmm0, xmmword [ecx]
mov edi, dword [ebp - 0x58]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [edx + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [ebx + ecx - 0x20], xmm1
movups xmm1, xmmword [edi + esi]
mov edi, dword [ebp - 0x5c]
add esi, 0x20
movups xmm0, xmmword [ecx - 0x10]
pxor xmm1, xmm0
movups xmmword [edi + ecx - 0x20], xmm1
mov edi, dword [ebp - 0x34]
cmp esi, eax
jb 0x4830e7
mov edx, dword [edi + 0x80]
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
cmp esi, edx
jae 0x48315b
mov edi, ebx
lea eax, [ecx + esi]
lea ebx, [ebp - 0x28]
sub edi, ecx
sub ebx, ecx
sub edx, esi
nop word [eax + eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [ebx + eax - 1], cl
sub edx, 1
jne 0x483140
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
add ebx, edx
push ecx
mov ecx, edi
mov dword [ebp - 0x3c], ebx
call dword [eax + 0x10]
push dword [edi + 0x80]
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov edx, dword [edi + 0x80]
add ecx, edx
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], ecx
jne 0x483070
mov esi, dword [ebp - 0x40]
xor edx, edx
cmp dword [edi + 0x80], edx
jbe 0x48326b
sub ebx, esi
mov al, byte [ebx + esi]
lea esi, [esi + 1]
mov byte [esi - 1], al
inc edx
cmp edx, dword [edi + 0x80]
jb 0x4831b0
jmp 0x48326b
call fcn.00414890
mov esi, eax
test esi, esi
je 0x482f03
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp + 0xc]
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]
add edi, 0x10
sub dword [ebp - 0x30], 1
je 0x483251
sub edi, esi
mov ecx, dword [edi + esi]
xor ecx, dword [esi]
mov eax, dword [edi + esi + 4]
xor eax, dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + esi + 8]
mov dword [ebp - 0x10], eax
xor ecx, dword [esi + 8]
mov eax, dword [edi + esi + 0xc]
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 - 0x30], 1
jne 0x483216
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x14], eax
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
call fcn.00411ed0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14