Function at 0x4e1280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x4e1299
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0xc], 0
jne 0x4e12b7
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.NULL_passed_to_CBC_encryptor
call edx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x14
xor edx, edx
mov eax, ecx
div dword [edi + 0x80]
push ebx
test edx, edx
je 0x4e12df
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.AES_CBC_input_not_a_multiple_of_the_cipher_block_size.
call edx
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [0x8a0274], 0
push esi
push ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
je 0x4e1428
mov esi, dword [ebp + 8]
add esi, 8
mov dword [ebp - 8], esi
call fcn.00414050
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x4e1325
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Unable_to_allocate_CBC_encrypt_output_buffer.
call edx
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x14
cmp dword [edi + 0x80], 0
jbe 0x4e1354
mov eax, esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, edx
lea ecx, [ebp - 0x18]
sub ecx, edx
mov edx, dword [edi + 0x80]
mov dword [ebp + 0x18], edx
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
dec dword [ebp + 0x18]
mov byte [ecx + eax - 1], dl
jne 0x4e1345
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, edi
call eax
mov ecx, dword [edi + 0x80]
push ecx
lea edx, [ebp - 0x28]
push edx
push ebx
call fcn.0070d6a0
mov ecx, dword [edi + 0x80]
mov eax, dword [ebp + 0xc]
add esp, 0xc
dec dword [ebp - 4]
lea esi, [ecx + eax]
je 0x4e13f1
lea ebx, [ebx]
test ecx, ecx
je 0x4e13ba
sub ebx, esi
lea edx, [ebp - 0x18]
mov eax, esi
mov dword [ebp + 0x18], ebx
sub edx, esi
mov dword [ebp + 0xc], ecx
jmp 0x4e13a8
mov ebx, dword [ebp + 0x18]
mov bl, byte [ebx + eax]
xor bl, byte [eax]
inc eax
dec dword [ebp + 0xc]
mov byte [edx + eax - 1], bl
jne 0x4e13a5
mov ebx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
add ebx, ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
mov dword [ebp + 8], ebx
call edx
mov eax, dword [edi + 0x80]
push eax
lea ecx, [ebp - 0x28]
push ecx
push ebx
call fcn.0070d6a0
mov ecx, dword [edi + 0x80]
add esp, 0xc
add esi, ecx
dec dword [ebp - 4]
jne 0x4e1390
xor ecx, ecx
cmp dword [edi + 0x80], ecx
jbe 0x4e1411
mov eax, dword [ebp - 8]
mov esi, ebx
sub esi, eax
mov dl, byte [esi + eax]
mov byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [edi + 0x80]
jb 0x4e1402
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0040fbc0
pop esi
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14
call fcn.00414050
mov esi, eax
test esi, esi
jne 0x4e144d
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Unable_to_allocate_CBC_encrypt_output_buffer.
call eax
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax]
xor ecx, dword [ebx + 8]
mov edx, dword [eax + 4]
xor edx, dword [ebx + 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [ebx + 0x10]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
xor edx, dword [ebx + 0x14]
mov eax, dword [edi]
mov dword [ebp - 0x10], ecx
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, edi
call edx
dec dword [ebp - 4]
mov eax, dword [ebp + 0xc]
je 0x4e14d0
lea ebx, [eax + 0x10]
sub ebx, esi
mov eax, dword [ebx + esi]
xor eax, dword [esi]
mov ecx, dword [ebx + esi + 4]
xor ecx, dword [esi + 4]
mov edx, dword [ebx + esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + esi + 0xc]
mov dword [ebp - 0x14], ecx
xor edx, dword [esi + 8]
xor eax, dword [esi + 0xc]
mov dword [ebp - 0x10], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
add esi, 0x10
push esi
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call edx
dec dword [ebp - 4]
jne 0x4e1491
mov ebx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 0xc], ecx
mov edx, dword [esi + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x10], edx
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x14], eax
call fcn.0040fbc0
pop esi
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14