Function at 0x100c6a40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push edi
mov edi, ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x100c6a57
mov al, 1
pop edi
add esp, 0x28
ret 0x14
push esi
mov esi, dword [esp + 0x38]
test esi, esi
jne 0x100c6a7a
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.NULL_passed_to_CBC_encryptor
call edx
pop esi
xor al, al
pop edi
add esp, 0x28
ret 0x14
push ebx
mov ebx, dword [edi + 0x80]
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
je 0x100c6aa6
mov ecx, dword [esp + 0x48]
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
pop esi
xor al, al
pop edi
add esp, 0x28
ret 0x14
cmp byte [0x1026e91c], 0
push ebp
push ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
je 0x100c6c05
mov ebp, dword [esp + 0x40]
add ebp, 8
mov dword [esp + 0x40], ebp
call fcn.1001d220
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x100c6af3
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Unable_to_allocate_CBC_encrypt_output_buffer.
call edx
pop ebp
pop ebx
pop esi
xor al, al
pop edi
add esp, 0x28
ret 0x14
mov ecx, dword [edi + 0x80]
test ecx, ecx
jbe 0x100c6b20
mov eax, ebp
sub esi, ebp
lea ebp, [esp + 0x18]
sub ebp, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
add eax, 1
sub ecx, 1
mov byte [eax + ebp - 1], dl
jne 0x100c6b07
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call eax
mov ecx, dword [edi + 0x80]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
call sub.MSVCR80.dll_memcpy
mov ecx, dword [edi + 0x80]
add esp, 0xc
add esi, ecx
sub dword [esp + 0x10], 1
je 0x100c6bc8
test ecx, ecx
jbe 0x100c6b8b
mov ebp, ebx
lea edx, [esp + 0x18]
sub ebp, esi
mov eax, esi
sub edx, esi
mov dword [esp + 0x4c], ecx
jmp 0x100c6b70
mov bl, byte [eax + ebp]
xor bl, byte [eax]
add eax, 1
sub dword [esp + 0x4c], 1
mov byte [edx + eax - 1], bl
jne 0x100c6b70
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
add ebx, ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call eax
mov ecx, dword [edi + 0x80]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
call sub.MSVCR80.dll_memcpy
mov ecx, dword [edi + 0x80]
add esp, 0xc
add esi, ecx
sub dword [esp + 0x10], 1
jne 0x100c6b57
xor ecx, ecx
cmp dword [edi + 0x80], ecx
jbe 0x100c6beb
mov esi, ebx
mov eax, ebp
sub esi, ebp
mov dl, byte [esi + eax]
mov byte [eax], dl
add ecx, 1
add eax, 1
cmp ecx, dword [edi + 0x80]
jb 0x100c6bd8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push eax
call fcn.10018010
pop ebp
pop ebx
pop esi
mov al, 1
pop edi
add esp, 0x28
ret 0x14
call fcn.1001d220
mov esi, eax
test esi, esi
jne 0x100c6c2c
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Unable_to_allocate_CBC_encrypt_output_buffer.
call eax
pop ebp
pop ebx
pop esi
xor al, al
pop edi
add esp, 0x28
ret 0x14
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [ebx]
xor ecx, dword [ebp + 8]
mov edx, dword [ebx + 4]
xor edx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
xor eax, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xc]
xor ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push eax
mov ecx, edi
call edx
add ebx, 0x10
sub dword [esp + 0x10], 1
je 0x100c6cb6
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor eax, dword [ebx]
xor ecx, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
xor edx, dword [ebx + 8]
xor eax, dword [ebx + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x24], eax
add esi, 0x10
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call edx
add ebx, 0x10
sub dword [esp + 0x10], 1
jne 0x100c6c74
mov eax, dword [esi]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0x10], edx
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x14], eax
call fcn.10018010
pop ebp
pop ebx
pop esi
mov al, 1
pop edi
add esp, 0x28
ret 0x14