Function at 0x533af0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1c90
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebx + 0x18]
mov byte [ecx + 0x10], 0
mov eax, dword [ecx + 4]
mov edi, eax
mov ecx, dword [ecx]
sub edi, ecx
sar edi, 3
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], edi
cmp ecx, eax
je 0x533c0f
cmp edx, 0x1e
jae 0x533c0f
mov eax, dword [ebx + 0x14]
xor edx, edx
mov esi, dword [ebx + 0x18]
movsx eax, byte [eax]
shl eax, 7
test esi, esi
je 0x533b87
mov edi, dword [ebx + 0x14]
nop dword [eax]
movsx ecx, byte [edx + edi]
inc edx
imul eax, eax, 0xf4243
xor eax, ecx
cmp edx, esi
jb 0x533b70
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
imul eax, eax, 0xf4243
xor edx, edx
push dword [ebx + 0x1c]
push esi
push dword [ebx + 0x14]
xor eax, esi
imul eax, eax, 0xf4243
push dword [ebx + 0x10]
xor eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
div edi
mov edi, edx
lea ecx, [ecx + edi*8]
call fcn.00533950
test al, al
jne 0x533f0a
mov eax, dword [ebp - 0x20]
xor edx, edx
mov esi, dword [eax]
mov ecx, dword [eax + 4]
imul eax, dword [ebp - 0x24], 0x25
sub ecx, esi
sar ecx, 3
div ecx
mov eax, edx
mov dword [ebp - 0x24], eax
lea ecx, [esi + eax*8]
mov esi, dword [ebx + 0x1c]
push esi
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.00533950
test al, al
jne 0x533f0a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov ax, word [ecx + edi*8 + 2]
cmp ax, word [ecx + edx*8 + 2]
cmova edi, edx
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x24], edi
jmp 0x533c12
mov esi, dword [ebx + 0x1c]
cmp edx, 0x12c
jbe 0x533d9e
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
movss dword [ebp - 0x1c], xmm0
test edx, edx
je 0x533de9
imul eax, dword [ebx + 0x10], 0x4c
mov dword [ebp - 0x28], eax
nop word [eax + eax]
mov esi, dword [ebx + 0x14]
sub edx, ecx
push ecx
add esi, ecx
shufps xmm0, xmm0, 0
mov ecx, dword [ebx + 0x20]
push edx
push esi
movaps xmmword [ebp - 0x50], xmm0
call fcn.004a8300
mov edi, eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x34], 0x44dcc0
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x48]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 8]
mov dword [ebp - 4], 0
lea eax, [ecx + eax*4]
mov ecx, dword [ebx + 8]
mov edx, dword [edx]
push eax
push edi
push esi
lea eax, [ebp - 0x34]
push eax
call dword [edx + 0x5c]
xor edx, edx
test edi, edi
je 0x533d66
mov esi, dword [ebp - 0x18]
cmp edi, 0x10
jb 0x533d00
movaps xmm2, xmmword [ebp - 0x50]
mov eax, edi
and eax, 0xf
mov ecx, edi
sub ecx, eax
mov eax, dword [ebx + 0x1c]
lea eax, [eax + esi*4]
add eax, 0x10
movups xmm0, xmmword [eax - 0x10]
add edx, 0x10
movaps xmm1, xmm2
addps xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
movups xmm0, xmmword [eax]
movaps xmm1, xmm2
addps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movaps xmm1, xmm2
addps xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
addps xmm0, xmm2
movups xmmword [eax + 0x20], xmm0
add eax, 0x40
cmp edx, ecx
jb 0x533cc3
cmp edx, edi
jae 0x533d66
movss xmm1, dword [ebp - 0x1c]
mov eax, edi
sub eax, edx
cmp eax, 4
jb 0x533d41
mov ecx, dword [ebx + 0x1c]
lea eax, [edx + esi]
shufps xmm1, xmm1, 0
lea eax, [ecx + eax*4]
mov ecx, edi
sub ecx, edx
sub ecx, 4
shr ecx, 2
inc ecx
lea edx, [edx + ecx*4]
nop dword [eax]
movups xmm0, xmmword [eax]
addps xmm0, xmm1
movups xmmword [eax], xmm0
add eax, 0x10
sub ecx, 1
jne 0x533d30
cmp edx, edi
jae 0x533d66
mov ecx, dword [ebx + 0x1c]
lea eax, [edx + esi]
lea eax, [ecx + eax*4]
mov ecx, edi
sub ecx, edx
movss xmm0, dword [eax]
addss xmm0, xmm1
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x533d52
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x1c]
add ecx, edi
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x18], ecx
movss xmm0, dword [eax + ecx*4 - 4]
mov dword [ebp - 4], 0xffffffff
movss dword [ebp - 0x1c], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x449560
cmp ecx, edx
jb 0x533c40
jmp 0x533de9
mov eax, dword [ebx + 0xc]
imul ecx, dword [ebx + 0x10], 0x4c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x44dcc0
add ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 8]
push esi
push edx
push dword [ebx + 0x14]
mov dword [ebp - 4], 1
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x5c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x449560
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
cmp edi, eax
jae 0x533f0a
inc dword [edx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
cmp eax, 0xea60
jbe 0x533e40
mov ecx, dword [edx + 4]
mov eax, dword [edx]
cmp eax, ecx
je 0x533e32
mov esi, 1
nop dword [eax]
cmp word [eax + 2], 0
jbe 0x533e2b
mov word [eax + 2], si
add eax, 8
cmp eax, ecx
jne 0x533e20
mov dword [edx + 0xc], 2
mov dword [ebp - 0x24], 2
mov esi, dword [edx]
mov eax, dword [esi + edi*8 + 4]
mov dword [esi + edi*8 + 4], 0
test eax, eax
je 0x533e5b
push eax
call fcn.0057e94e
add esp, 4
cmp dword [ebx + 0x14], 0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
mov byte [esi + edi*8], al
mov eax, dword [ebp - 0x24]
mov byte [esi + edi*8 + 1], cl
mov word [esi + edi*8 + 2], ax
je 0x533f0a
cmp dword [ebx + 0x1c], 0
je 0x533f0a
movzx ecx, cl
mov edx, 4
mov eax, ecx
inc ecx
shr eax, 2
add eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0057eb8c
mov ecx, eax
add esp, 4
mov eax, dword [esi + edi*8 + 4]
mov dword [esi + edi*8 + 4], ecx
test eax, eax
je 0x533ec3
push eax
call fcn.0057e94e
mov ecx, dword [esi + edi*8 + 4]
add esp, 4
mov al, byte [esi + edi*8 + 1]
xor edx, edx
test al, al
je 0x533ef7
mov eax, dword [ebx + 0x1c]
sub eax, ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc edx
mov al, byte [esi + edi*8 + 1]
mov byte [ebp - 0x11], al
movzx eax, al
cmp edx, eax
mov eax, dword [ebx + 0x1c]
jb 0x533ed5
mov ecx, dword [esi + edi*8 + 4]
mov al, byte [ebp - 0x11]
movzx eax, al
push eax
push dword [ebx + 0x14]
lea eax, [ecx + eax*4]
push eax
call fcn.00582b50
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c