Function at 0x4de0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
xor esi, esi
xor ebx, ebx
test eax, eax
push ecx
cmove eax, ecx
mov dword [ebp + 0x18], eax
call fcn.00454d00
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
js 0x4de366
push edi
mov edi, dword [ebp + 0x1c]
cmp edi, 0xffffffff
jne 0x4de172
mov edi, eax
mov esi, dword [ebp + 8]
push dword [esi + 0x10]
call fcn.00488320
dec eax
and eax, 7
push esi
mov dword [ebp - 0x10], eax
call fcn.004623d0
mov esi, dword [ebp + 0xc]
add esp, 8
mov ecx, eax
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x10], ebx
jne 0x4de11c
mov byte [esi], bl
inc esi
dec ecx
mov dword [ebp - 8], ecx
cmp edi, 0xfffffffe
jne 0x4de1a9
mov edi, ecx
sub edi, dword [ebp - 4]
sub edi, 2
test edi, edi
jle 0x4de1dc
push 0xe9
push 0x558120
push edi
call fcn.0045e910
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4de1c7
push 0xec
push 0x558120
push 0x41
push 0x94
push 4
call fcn.0045bdb0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0xfffffffe
jne 0x4de17c
jmp 0x4de0ed
jge 0x4de0ed
push 0xd7
push 0x558120
push 0x88
push 0x94
push 4
call fcn.0045bdb0
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
add eax, 2
add eax, edi
cmp ecx, eax
jge 0x4de12d
push 0xe5
push 0x558120
push 0x6e
jmp 0x4de15a
push edi
push ebx
call fcn.0045eb90
add esp, 8
test eax, eax
jle 0x4de34a
mov ecx, dword [ebp - 8]
mov eax, ecx
sub eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
dec eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045e1b0
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.0045dd90
add esp, 0x10
test eax, eax
je 0x4de34a
push 8
lea eax, [ebp - 0x2c]
push 0x558114
push eax
call fcn.0045df40
add esp, 0xc
test eax, eax
je 0x4de34a
push dword [ebp - 4]
lea eax, [ebp - 0x2c]
push dword [ebp + 0x10]
push eax
call fcn.0045df40
add esp, 0xc
test eax, eax
je 0x4de34a
test edi, edi
je 0x4de259
push edi
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0045df40
add esp, 0xc
test eax, eax
je 0x4de34a
mov eax, dword [ebp - 0xc]
add eax, esi
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045dce0
add esp, 0xc
test eax, eax
je 0x4de34a
lea eax, [ebp - 0x2c]
push eax
call fcn.0045df50
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 4]
lea eax, [ecx + esi]
push eax
push ecx
push esi
call fcn.004d4660
add esp, 0x18
test eax, eax
jne 0x4de34a
mov ecx, dword [ebp - 0x14]
sub ecx, edi
add ecx, esi
xor byte [ecx - 2], 1
dec ecx
test edi, edi
jle 0x4de324
xor edx, edx
cmp edi, 0x20
jb 0x4de312
lea eax, [ebx - 1]
add eax, edi
cmp ecx, eax
ja 0x4de2c6
lea eax, [ecx - 1]
add eax, edi
cmp eax, ebx
jae 0x4de312
mov eax, edi
and eax, 0x8000001f
jns 0x4de2d4
dec eax
or eax, 0xffffffe0
inc eax
mov dword [ebp + 0x18], edi
sub dword [ebp + 0x18], eax
lea eax, [ebx + 0x10]
lea ecx, [ecx]
movdqu xmm0, xmmword [ecx]
add edx, 0x20
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [ecx], xmm1
movdqu xmm1, xmmword [eax - 0x20]
movdqu xmm0, xmmword [ecx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [ecx + 0x10], xmm1
add ecx, 0x20
cmp edx, dword [ebp + 0x18]
jl 0x4de2e0
cmp edx, edi
jge 0x4de324
mov al, byte [edx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jl 0x4de316
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4de33b
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [esi], al
mov eax, dword [ebp - 8]
mov byte [eax + esi - 1], 0xbc
mov esi, 1
jmp 0x4de34c
xor esi, esi
test ebx, ebx
je 0x4de1a0
push ebx
call fcn.0045e890
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret