Function at 0x4de790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x48], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ecx
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x28], esi
push edi
test edx, edx
je 0x4dec42
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4de7f0
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.005af618
mov esp, ebp
pop ebp
ret 0x14
mov eax, edx
xor edx, edx
div dword [ebx + 0x80]
test edx, edx
je 0x4de81f
mov eax, dword [esi]
mov ecx, esi
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.005af618
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x40]
xor edx, edx
div dword [ebx + 0x80]
cmp byte [0x68f000], 0
push dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
je 0x4deb77
lea edi, [ecx + 8]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], edi
call fcn.00438b90
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
jne 0x4de875
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.005af618
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp - 0x34]
xor eax, eax
mov edx, dword [esi + 0x80]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x4de9a8
cmp edx, 0x40
jb 0x4de974
lea eax, [edi - 1]
add eax, edx
lea ebx, [ebp - 0x14]
lea ecx, [ebp + edx - 0x15]
cmp ebx, eax
ja 0x4de8ac
cmp ecx, edi
jae 0x4de972
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x14]
lea eax, [ecx - 1]
add eax, edx
cmp esi, eax
ja 0x4de8c7
lea eax, [ebp + edx - 0x15]
cmp eax, ecx
jae 0x4de972
mov eax, edx
and eax, 0xffffffc0
mov dword [ebp - 0x44], eax
lea eax, [ecx + 0x30]
sub ecx, edi
mov dword [ebp - 0x3c], eax
mov ebx, eax
lea eax, [edi + 0x10]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x14]
mov esi, dword [ebp - 0x38]
sub ecx, edi
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 4]
sub ecx, edi
mov dword [ebp - 0x54], ecx
lea ecx, [ebp + 0xc]
mov edx, dword [ebp - 0x54]
sub ecx, edi
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x58], ecx
xor ecx, ecx
movups xmm0, xmmword [ebx - 0x30]
lea ebx, [ebx + 0x40]
movups xmm1, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [ebp + ecx - 0x14], xmm1
add ecx, 0x40
movups xmm1, xmmword [esi + eax - 0x40]
mov esi, dword [ebp - 0x58]
pxor xmm1, xmm0
movups xmm0, xmmword [ebx - 0x50]
movups xmmword [edi + eax - 0x40], xmm1
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmm0, xmmword [ebx - 0x40]
movups xmmword [edx + eax - 0x40], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [esi + eax - 0x40], xmm1
mov esi, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x44]
jb 0x4de902
mov edx, dword [ebp - 0x28]
mov eax, ecx
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
cmp ecx, edx
jae 0x4de9a8
jmp 0x4de974
xor eax, eax
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x14]
sub esi, edi
lea ecx, [edi + eax]
mov dword [ebp - 0x28], esi
sub ebx, edi
mov esi, dword [ebp - 0x34]
sub edx, eax
mov edi, dword [ebp - 0x28]
nop dword [eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + edi - 1], al
sub edx, 1
jne 0x4de990
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x50]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x10]
push dword [esi + 0x80]
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + 0x80]
add edx, esi
sub dword [ebp - 0x2c], 1
mov dword [ebp - 0x38], edx
je 0x4deb50
mov dword [ebp - 0x3c], esi
nop dword [eax + eax]
xor ecx, ecx
test esi, esi
je 0x4deb05
cmp esi, 0x40
jb 0x4dead9
lea eax, [edx - 1]
lea ebx, [ebp - 0x14]
add eax, esi
cmp ebx, eax
lea edi, [ebp + esi - 0x15]
mov ebx, dword [ebp - 0x30]
ja 0x4dea1e
cmp edi, edx
jae 0x4dead9
lea eax, [ebx - 1]
lea edx, [ebp - 0x14]
add eax, esi
cmp edx, eax
mov edx, dword [ebp - 0x38]
ja 0x4dea35
cmp edi, ebx
jae 0x4dead9
lea edi, [ebx + 0x30]
mov eax, esi
mov esi, ebx
and eax, 0xffffffc0
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x54], eax
sub ebx, edx
lea eax, [edx + 0x10]
mov dword [ebp - 0x28], ebx
sub esi, edx
lea ebx, [ebp - 4]
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x3c]
sub ebx, edx
mov dword [ebp - 0x44], ebx
lea ebx, [ebp + 0xc]
sub ebx, edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x4c]
nop dword [eax + eax]
movups xmm0, xmmword [edi - 0x30]
lea edi, [edi + 0x40]
movups xmm1, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [ebp + ecx - 0x14], xmm1
add ecx, 0x40
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [ebp - 0x44]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x50]
movups xmmword [eax + edx - 0x40], xmm1
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x40]
movups xmmword [eax + ebx - 0x40], xmm1
mov ebx, dword [ebp - 0x58]
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax + ebx - 0x40], xmm1
mov ebx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x54]
jb 0x4dea70
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
cmp ecx, esi
jae 0x4deb05
mov edi, ebx
lea eax, [edx + ecx]
lea ebx, [ebp - 0x14]
sub edi, edx
sub ebx, edx
mov edx, esi
sub edx, ecx
nop dword [eax]
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [ebx + eax - 1], cl
sub edx, 1
jne 0x4deaf0
mov ebx, dword [ebp - 0x30]
add ebx, esi
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push dword [esi + 0x80]
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov esi, dword [esi + 0x80]
add edx, esi
sub dword [ebp - 0x2c], 1
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
jne 0x4de9f0
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x34]
xor edx, edx
test esi, esi
je 0x4dec37
sub ebx, edi
nop dword [eax]
mov al, byte [ebx + edi]
lea edi, [edi + 1]
mov byte [edi - 1], al
inc edx
cmp edx, dword [ecx + 0x80]
jb 0x4deb60
jmp 0x4dec37
mov ecx, dword [ebp - 0x48]
call fcn.00438b90
mov esi, eax
test esi, esi
jne 0x4deba7
mov ecx, dword [ebp - 0x28]
push str.Unable_to_allocate_CBC_encrypt_output_buffer.
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push esi
xor ecx, dword [edx + 8]
xor eax, dword [edx + 0xc]
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 - 0x2c], 1
je 0x4dec1d
sub edi, esi
mov ecx, dword [edi + esi + 0x10]
xor ecx, dword [esi]
mov eax, dword [edi + esi + 0x14]
xor eax, dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + esi + 0x18]
mov dword [ebp - 0x10], eax
xor ecx, dword [esi + 8]
mov eax, dword [edi + esi + 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 - 0x2c], 1
jne 0x4debe1
mov edx, dword [ebp - 0x3c]
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
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
call fcn.00435070
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14