Function at 0x5eb680
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 0x5ebb27
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 0x5eb701
test ebx, ebx
je 0x5eb792
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 0x5eb707
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 0x5eb77a
test ebx, ebx
je 0x5eb76f
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 0x5eb765
cmp edi, esi
mov esi, ebx
jne 0x5eb740
mov esi, dword [esp + 4]
add esi, ebx
test eax, eax
je 0x5eb7b2
mov dword [ebp + 0x16c], esi
jmp 0x5ebb25
mov dword [esp + 0xc], ecx
cmp ebx, 0x10
setae al
test esi, esi
setne cl
and cl, al
cmp cl, 1
je 0x5eb7c6
jmp 0x5eb7e8
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 0x5ebb25
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 0x5eb8d5
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 0x5eb850
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 0x5eb820
add ebp, ebx
mov edx, dword [esp]
add edx, ebx
mov esi, ebp
mov ebx, dword [esp + 0x10]
jmp 0x5eb8d7
mov esi, edi
mov edi, edx
mov ebp, ebx
mov eax, ebx
and eax, 0xff0
je 0x5eb9b8
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 0x5eb910
mov dword [esp + 8], esi
mov dword [esp], edi
test ebp, ebp
je 0x5eb9c7
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 0x5eb9d0
mov ecx, ebx
mov edx, dword [esp]
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
test cl, 1
jne 0x5eba92
mov ebp, ecx
cmp ecx, 1
jne 0x5ebac2
jmp 0x5ebb1b
mov ebx, dword [esp + 0xc]
mov dword [esp + 8], esi
mov dword [esp], edi
test ebp, ebp
jne 0x5eb96f
mov esi, dword [esp + 4]
jmp 0x5ebb1b
mov edx, dword [esp]
mov ecx, edx
sub ecx, edi
add ecx, 0xfffffff0
cmp ecx, 0x10
jb 0x5ebb4d
mov ebp, edi
mov ecx, dword [esp + 4]
add ecx, edi
sub edx, ecx
add edx, 0xfffffe84
cmp edx, 0x10
jb 0x5ebb51
mov edi, dword [esp + 8]
sub ecx, edi
add ecx, 0x17c
cmp ecx, 0x10
jb 0x5ebb43
mov edx, dword [esp]
mov ecx, edx
sub ecx, edi
cmp ecx, 0x10
jb 0x5ebb3c
mov edi, dword [esp + 4]
lea ecx, [edi + 0x17b]
cmp ecx, 0x10
jb 0x5ebb2f
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 0x5eba60
cmp dword [esp + 0x10], eax
mov esi, dword [esp + 4]
mov edx, ebx
mov edi, ebp
jne 0x5eb99f
jmp 0x5ebb1b
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 0x5ebb1b
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 0x5ebaf0
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 0x5eb99f
mov ecx, ebx
jmp 0x5eb99b
mov ecx, ebx
mov edx, dword [esp]
jmp 0x5eb99b
mov ecx, ebx
jmp 0x5ebb56
mov ecx, ebx
mov edx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
jmp 0x5eb99f