Function at 0x5ecc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x38]
add edx, ebx
adc ecx, 0
mov eax, 0xffffffff
mov esi, 0xffffffe0
cmp esi, edx
mov esi, 0xf
sbb esi, ecx
jb 0x5ed137
mov eax, dword [ebp + 0x174]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x178]
mov dword [esp + 0x14], eax
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x3c], ecx
cmp dword [ebp + 0x170], 0
je 0x5ecd11
test ebx, ebx
je 0x5ecda2
movups xmm0, xmmword [ebp + 0x40]
movups xmmword [ebp + 0x17c], xmm0
mov dword [ebp + 0x170], 0
xorps xmm0, xmm0
movups xmmword [ebp + 0x40], xmm0
mov esi, 0x10
jmp 0x5ecd17
mov esi, dword [ebp + 0x16c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ecx, dword [ebp + 0xc]
mov eax, esi
and eax, 0xf
je 0x5ecd8a
test ebx, ebx
je 0x5ecd7f
mov dword [esp + 0xc], ecx
lea edi, [ebx - 1]
mov dword [esp + 4], esi
lea edx, [esi + ebp]
add edx, 0x17c
xor esi, esi
nop word cs:[eax + eax]
mov ecx, dword [esp + 0x3c]
movzx ebx, byte [ecx + esi]
mov byte [edx + esi], bl
xor bl, byte [ebp + eax + 0x10]
mov ecx, dword [esp + 0x40]
mov byte [ecx + esi], bl
inc eax
lea ebx, [esi + 1]
and eax, 0xf
je 0x5ecd75
cmp edi, esi
mov esi, ebx
jne 0x5ecd50
mov esi, dword [esp + 4]
add esi, ebx
test eax, eax
je 0x5ecdc2
mov dword [ebp + 0x16c], esi
jmp 0x5ed135
mov dword [esp + 0xc], ecx
cmp ebx, 0x10
setae al
test esi, esi
setne cl
and cl, al
cmp cl, 1
je 0x5ecdd6
jmp 0x5ecdf8
lea eax, [ebp + 0x40]
lea ecx, [ebp + 0x60]
push ecx
push eax
call dword [ebp + 0x168]
add esp, 8
mov dword [ebp + 0x170], 0
jmp 0x5ed135
mov edi, dword [esp + 0x3c]
add edi, ebx
mov edx, dword [esp + 0x40]
add edx, ebx
mov eax, dword [esp + 0x44]
sub eax, ebx
mov ebx, eax
mov dword [esp], edx
lea eax, [ebp + 0x40]
lea ecx, [ebp + 0x60]
lea edx, [ebp + 0x17c]
push esi
push edx
push ecx
push eax
call dword [ebp + 0x164]
mov edx, dword [esp + 0x10]
add esp, 0x10
xor esi, esi
mov eax, dword [esp + 0xc]
bswap eax
cmp ebx, 0xc00
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
jb 0x5ecee5
mov dword [esp + 0x10], ebx
lea eax, [ebp + 0x40]
mov dword [esp + 0x20], eax
lea eax, [ebp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 0x10]
mov dword [esp + 8], eax
nop dword [eax + eax]
mov dword [esp], edx
mov ebp, edi
push 0xc00
push edi
push dword [esp + 0x24]
push dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
call dword [edi + 0x164]
add esp, 0x10
xor ebx, ebx
mov esi, dword [esp + 0xc]
nop word cs:[eax + eax]
push dword [esp + 0x14]
push dword [esp + 0xc]
push edi
call dword [esp + 0x24]
add esp, 0xc
inc esi
mov eax, esi
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
xor eax, dword [ebp + ebx]
mov ecx, dword [esp]
mov dword [ecx + ebx], eax
mov eax, dword [edi + 0x14]
xor eax, dword [ebp + ebx + 4]
mov dword [ecx + ebx + 4], eax
mov eax, dword [edi + 0x18]
xor eax, dword [ebp + ebx + 8]
mov dword [ecx + ebx + 8], eax
mov eax, dword [edi + 0x1c]
xor eax, dword [ebp + ebx + 0xc]
mov dword [ecx + ebx + 0xc], eax
add ebx, 0x10
cmp ebx, 0xc00
jne 0x5ece60
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffff400
lea edi, [ebx + ebp]
mov ecx, dword [esp]
lea edx, [ecx + ebx]
mov dword [esp + 0x10], eax
cmp eax, 0xbff
ja 0x5ece30
add ebp, ebx
mov edx, dword [esp]
add edx, ebx
mov esi, ebp
mov ebx, dword [esp + 0x10]
jmp 0x5ecee7
mov esi, edi
mov edi, edx
mov ebp, ebx
mov eax, ebx
and eax, 0xff0
je 0x5ecfc8
mov ebx, dword [esp + 0x38]
lea ecx, [ebx + 0x40]
lea edx, [ebx + 0x60]
push eax
push esi
push edx
push ecx
call dword [ebx + 0x164]
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [esp], eax
mov ebx, dword [esp + 0xc]
nop dword [eax]
mov dword [esp + 0x10], ebp
push dword [esp + 0x14]
push dword [esp + 4]
mov ebp, dword [esp + 0x40]
push ebp
call dword [esp + 0x24]
add esp, 0xc
inc ebx
mov eax, ebx
bswap eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [esi]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x18]
xor eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x1c]
mov ebp, dword [esp + 0x10]
xor eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
add edi, 0x10
add esi, 0x10
add ebp, 0xfffffff0
cmp ebp, 0xf
ja 0x5ecf20
mov dword [esp + 8], esi
mov dword [esp], edi
test ebp, ebp
je 0x5ecfd7
mov edi, dword [esp + 0x38]
lea esi, [edi + 0x10]
push dword [esp + 0x14]
push esi
push edi
call dword [esp + 0x24]
add esp, 0xc
inc ebx
bswap ebx
mov dword [edi + 0xc], ebx
xor eax, eax
cmp ebp, 0x20
mov ebx, ebp
jae 0x5ecfe0
mov ecx, ebx
mov edx, dword [esp]
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
test cl, 1
jne 0x5ed0a2
mov ebp, ecx
cmp ecx, 1
jne 0x5ed0d2
jmp 0x5ed12b
mov ebx, dword [esp + 0xc]
mov dword [esp + 8], esi
mov dword [esp], edi
test ebp, ebp
jne 0x5ecf7f
mov esi, dword [esp + 4]
jmp 0x5ed12b
mov edx, dword [esp]
mov ecx, edx
sub ecx, edi
add ecx, 0xfffffff0
cmp ecx, 0x10
jb 0x5ed15d
mov ebp, edi
mov ecx, dword [esp + 4]
add ecx, edi
sub edx, ecx
add edx, 0xfffffe84
cmp edx, 0x10
jb 0x5ed161
mov edi, dword [esp + 8]
sub ecx, edi
add ecx, 0x17c
cmp ecx, 0x10
jb 0x5ed153
mov edx, dword [esp]
mov ecx, edx
sub ecx, edi
cmp ecx, 0x10
jb 0x5ed14c
mov edi, dword [esp + 4]
lea ecx, [edi + 0x17b]
cmp ecx, 0x10
jb 0x5ed13f
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x10], ebx
mov ecx, ebx
and ecx, 0xf
mov ebx, edx
lea edx, [edi + ebp]
add edx, 0x17c
add edi, eax
mov dword [esp + 4], edi
mov ebp, dword [esp + 8]
xor edi, edi
nop dword [eax]
movups xmm0, xmmword [ebp + edi]
movups xmmword [edx + edi], xmm0
movups xmm1, xmmword [esi + edi]
xorps xmm1, xmm0
movups xmmword [ebx + edi], xmm1
add edi, 0x10
cmp eax, edi
jne 0x5ed070
cmp dword [esp + 0x10], eax
mov esi, dword [esp + 4]
mov edx, ebx
mov edi, ebp
jne 0x5ecfaf
jmp 0x5ed12b
movzx edx, byte [edi + eax]
mov ebx, edi
mov edi, esi
mov esi, dword [esp + 0x38]
mov byte [esi + edi + 0x17c], dl
xor dl, byte [esi + eax + 0x10]
mov esi, dword [esp]
mov byte [esi + eax], dl
mov esi, edi
mov edi, ebx
mov edx, dword [esp]
lea ebp, [ecx - 1]
inc esi
or eax, 1
cmp ecx, 1
je 0x5ed12b
lea ecx, [edi + eax]
inc ecx
mov edi, edx
mov edx, dword [esp + 0x38]
mov ebx, esi
lea esi, [eax + edx + 0x11]
add edi, eax
inc edi
mov dword [esp + 4], ebx
add ebx, edx
add ebx, 0x17d
xor eax, eax
nop word cs:[eax + eax]
movzx edx, byte [ecx + eax - 1]
mov byte [ebx + eax - 1], dl
xor dl, byte [esi + eax - 1]
mov byte [edi + eax - 1], dl
movzx edx, byte [ecx + eax]
mov byte [ebx + eax], dl
xor dl, byte [esi + eax]
mov byte [edi + eax], dl
add eax, 2
cmp ebp, eax
jne 0x5ed100
mov esi, dword [esp + 4]
add esi, eax
mov eax, dword [esp + 0x38]
mov dword [eax + 0x16c], esi
xor eax, eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, ebx
mov esi, edi
mov edi, dword [esp + 8]
jmp 0x5ecfaf
mov ecx, ebx
jmp 0x5ecfab
mov ecx, ebx
mov edx, dword [esp]
jmp 0x5ecfab
mov ecx, ebx
jmp 0x5ed166
mov ecx, ebx
mov edx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
jmp 0x5ecfaf