Function at 0x4d1c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x6baac0]
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 - 0x54], ecx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edi
test edx, edx
je 0x4d1f02
test edi, edi
jne 0x4d1c8a
mov eax, dword [esi]
mov ecx, esi
push str.NULL_passed_to_CFB_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
cmp dword [ebx + 0x80], 1
ja 0x4d1cb6
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.005ebe04
mov esp, ebp
pop ebp
ret 0x14
mov eax, edx
xor edx, edx
div dword [ebx + 0x80]
mov dword [ebp - 0x50], eax
test edx, edx
je 0x4d1ce8
mov eax, dword [esi]
mov ecx, esi
push str.CFB_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
test eax, eax
je 0x4d1c75
mov al, byte [0x6bd628]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 0x45], al
call fcn.00401c90
mov dword [ebp - 0x58], eax
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
lea ecx, [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00414430
test al, al
jne 0x4d1d36
mov eax, dword [esi]
mov ecx, esi
push str.Unable_to_allocate_CFB_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
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x4c]
call fcn.004148e0
cmp byte [ebp - 0x45], 0
mov esi, eax
mov dword [ebp - 0x58], esi
je 0x4d1e07
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebx + 0x80]
add eax, 8
test ecx, ecx
je 0x4d1d70
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
nop
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
xor edi, edi
cmp dword [ebx + 0x80], edi
jbe 0x4d1dc4
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x18], eax
mov eax, esi
mov esi, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
nop
lea ecx, [ebp - 0x34]
add ecx, edi
movzx edx, byte [esi + ecx]
movzx eax, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 8]
mov byte [eax + ecx], dl
mov byte [ebp + edi - 0x44], dl
inc edi
cmp edi, dword [ebx + 0x80]
jb 0x4d1da0
mov esi, dword [ebp - 0x58]
mov eax, dword [ebx + 0x80]
add esi, eax
add dword [ebp - 0x5c], eax
sub dword [ebp - 0x50], 1
mov dword [ebp - 0x58], esi
jne 0x4d1d70
sub esi, eax
xor edx, edx
test eax, eax
je 0x4d1ef7
mov ecx, dword [ebp - 0x54]
add ecx, 8
sub esi, ecx
nop dword [eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [ebx + 0x80]
jb 0x4d1df0
jmp 0x4d1ef7
mov eax, dword [ebx + 0x80]
cmp eax, 0x10
jne 0x4d1e97
mov ecx, dword [ebp - 0x54]
sub edi, esi
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov ecx, dword [edi + esi]
lea esi, [esi + 0x10]
mov eax, dword [edi + esi - 0xc]
xor ecx, dword [ebp - 0x24]
xor eax, dword [ebp - 0x20]
mov dword [esi - 0x10], ecx
mov dword [esi - 0xc], eax
mov ecx, dword [edi + esi - 8]
mov eax, dword [edi + esi - 4]
xor ecx, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x18]
sub dword [ebp - 0x50], 1
mov dword [esi - 8], ecx
mov dword [esi - 4], eax
movups xmm0, xmmword [esi - 0x10]
movups xmmword [ebp - 0x14], xmm0
jne 0x4d1e33
mov ecx, dword [ebp - 0x54]
mov eax, dword [esi - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [esi - 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi - 8]
mov dword [ecx + 0x10], eax
mov eax, dword [esi - 4]
mov dword [ecx + 0x14], eax
jmp 0x4d1ef7
cmp eax, 8
jne 0x4d1f02
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
nop dword [eax + eax]
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [edi + 4]
lea edi, [edi + 8]
mov ecx, dword [edi - 8]
lea esi, [esi + 8]
xor eax, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x1c]
sub dword [ebp - 0x50], 1
mov dword [esi - 4], eax
mov eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [esi - 4]
mov dword [esi - 8], ecx
mov dword [ebp - 8], eax
jne 0x4d1eb0
mov ecx, dword [ebp - 0x54]
mov eax, dword [esi - 8]
mov dword [ecx + 8], eax
mov eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x4c]
call fcn.00415c90
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