Function at 0x53a3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [ebp + 0x10]
xor edx, edx
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
shl eax, 9
xor ecx, ecx
add eax, 0x6014e8
movsd qword [esp + 0x48], xmm0
push esi
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edx
push edi
test eax, eax
je 0x53a858
mov edi, dword [ebx + 0x80]
mov dword [esp + 0x2c], edi
nop
test edi, edi
je 0x53a454
mov eax, dword [ebx + 0x8c]
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x74]
mov ebx, dword [esp + 0x30]
lea esi, [eax + edx*4]
nop dword [eax + eax]
mov eax, dword [esi]
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
cmovg eax, ecx
add esi, ebx
mov ecx, eax
sub edi, 1
jne 0x53a430
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc edx
mov dword [esp + 0x34], edx
cmp edx, eax
jb 0x53a410
test ecx, ecx
je 0x53a858
xor eax, eax
cmp ecx, 1
jle 0x53a478
nop dword [eax]
shr ecx, 1
inc eax
cmp ecx, 1
ja 0x53a470
mov ecx, dword [ebp + 0xc]
add eax, 0xfffffffb
add ecx, 0x1c
mov dword [esp + 0x28], ecx
mov dword [ecx], eax
test eax, eax
je 0x53a870
push ebx
lea edi, [eax - 1]
mov dword [esp + 0x30], 2
call fcn.0053c7f0
push 0x2e
push 0
push 0x12
push ebx
call fcn.0053c970
push 3
push 0
push 0x11
push ebx
call fcn.0053c970
push 4
push 0
push 0
push ebx
call fcn.0053c970
mov eax, dword [ebp + 0xc]
push dword [eax]
push ebx
call fcn.0053c620
add esp, 0x3c
mov dword [esp + 0x30], 0
test edi, edi
js 0x53a7f6
movsd xmm0, qword [ebp + 0x20]
mov ecx, edi
mov esi, dword [esp + 0x2c]
mov eax, 1
rol eax, cl
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x28]
mov edx, ecx
mov dword [esp + 0x34], eax
and edx, 2
mov eax, dword [ebp + 0xc]
movsd qword [esp + 0x60], xmm0
add eax, 8
movsd xmm0, qword [0x5bbbf8]
mov dword [esp + 0x3c], edx
xor edx, edx
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [0x6023c8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
movsd qword [esp + 0x68], xmm0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
sub eax, 4
cmp edi, eax
jge 0x53a562
cmp esi, 2
jae 0x53a562
test cl, 1
je 0x53a562
mov al, 1
jmp 0x53a564
xor al, al
cmp dword [esp + 0x30], 0
mov byte [esp + 0x1c], al
jbe 0x53a595
mov ebx, dword [esp + 0x20]
test byte [ebx + edx - 4], 1
mov ebx, dword [ebp + 8]
je 0x53a595
push ebx
cmp al, 1
jne 0x53a589
call fcn.0053c1f0
jmp 0x53a58e
call fcn.0053c880
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, esi
sub eax, 0
je 0x53a5dd
sub eax, 1
je 0x53a5c8
sub eax, 1
jne 0x53a5f1
push ecx
lea eax, [esp + 0x28]
push eax
push edi
push ebx
call fcn.00538e70
add esp, 0x10
test byte [esp + 0x14], 0x20
je 0x53a5f1
push ebx
call fcn.0053c8c0
add esp, 4
jmp 0x53a5f1
push dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push edi
push ebx
call fcn.00539360
add esp, 0x10
jmp 0x53a5f1
push ecx
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
push edi
push ebx
call fcn.00539920
add esp, 0x14
movsd xmm0, qword [esp + 0x58]
mov ecx, dword [ebp + 0x34]
movsd qword [esp + 0x48], xmm0
test ecx, ecx
je 0x53a617
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x38]
jae 0x53a617
movsd xmm0, qword [ecx + eax*8]
movsd qword [esp + 0x48], xmm0
cmp dword [ebp + 0x1c], 1
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jne 0x53a62a
call fcn.005265f0
jmp 0x53a62f
call fcn.00526630
movd xmm0, dword [esp + 0x3c]
add esp, 8
movd xmm2, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
mulsd xmm1, qword [esp + 0x48]
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [esp + 0x60]
cvtdq2pd xmm2, xmm2
mulsd xmm1, xmm0
mulsd xmm2, xmm1
mulsd xmm2, qword [esp + 0x68]
mulsd xmm2, xmm1
movaps xmm0, xmm2
addsd xmm2, qword [eax + 0x20]
addsd xmm0, qword [esp + 0x50]
movsd qword [eax + 0x20], xmm2
mov eax, dword [esp + 0x10]
movsd qword [esp + 0x50], xmm0
movsd qword [ecx + eax + 8], xmm0
cmp esi, 2
jne 0x53a6a2
test edi, edi
je 0x53a70f
mov ecx, dword [esp + 0x14]
test cl, 4
jne 0x53a713
test cl, 1
je 0x53a6ca
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
add eax, 0xfffffffc
cmp edi, eax
jne 0x53a6c4
cmp esi, 2
jne 0x53a6ca
jmp 0x53a713
jge 0x53a6ca
test esi, esi
jne 0x53a713
cmp byte [esp + 0x1c], 1
jne 0x53a6e4
mov eax, ecx
and eax, 0x10
push eax
push ebx
call fcn.0053c1c0
add esp, 8
mov esi, eax
jmp 0x53a6e9
mov esi, 3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push ebx
and dword [ecx + eax + 0x14], 0xfffffffe
call fcn.0053c660
mov ecx, dword [esp + 0x2c]
add esp, 4
add eax, esi
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x2c]
jmp 0x53a755
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x10
cmp byte [esp + 0x1c], 1
jne 0x53a72b
push eax
push ebx
call fcn.0053c140
add esp, 8
jmp 0x53a73f
push ebx
test eax, eax
je 0x53a737
call fcn.0053c440
jmp 0x53a73c
call fcn.0053c500
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push ebx
or dword [ecx + eax + 0x14], 1
call fcn.0053c660
add esp, 4
mov edx, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [ecx + edx], eax
cmp esi, 3
jne 0x53a77b
mov eax, dword [esp + 0x34]
xor esi, esi
dec edi
mov dword [esp + 0x2c], esi
ror eax, 1
mov dword [esp + 0x34], eax
cmp dword [esp + 0x3c], 0
je 0x53a78f
push ebx
call fcn.0053c750
mov edx, dword [esp + 0x14]
add esp, 4
inc dword [esp + 0x30]
add edx, 0x18
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
test edi, edi
jns 0x53a541
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x30], ecx
test ecx, ecx
je 0x53a80c
push ebx
call fcn.0053c660
mov esi, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x53a80c
mov ebx, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
shl edx, 3
mov eax, dword [ebx]
lea edx, [edx - 0x18]
dec ecx
mov edi, dword [eax + edx]
cmp edi, esi
jbe 0x53a7e9
mov dword [eax + edx], esi
jmp 0x53a7eb
mov esi, edi
test ecx, ecx
jne 0x53a7d7
mov eax, dword [ebp + 0xc]
mov ecx, ebx
jmp 0x53a80f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x30], 0
add ecx, 8
mov dword [esp + 0x18], ecx
jmp 0x53a80f
lea ecx, [eax + 8]
xor edx, edx
cmp dword [eax + 0x30], edx
jbe 0x53a87a
mov edi, dword [ecx]
lea esi, [edx + edx*2]
mov ecx, dword [edi + esi*8]
mov eax, dword [eax]
lea ebx, [edi + esi*8]
cmp byte [ecx + eax - 1], 0xff
jne 0x53a833
mov eax, dword [esp + 0x18]
dec ecx
mov dword [ebx], ecx
mov edi, dword [eax]
test edx, edx
jne 0x53a83b
xor eax, eax
jmp 0x53a83f
mov eax, dword [edi + esi*8 - 0x18]
sub ecx, eax
inc edx
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x18]
cmp edx, dword [eax + 0x30]
jb 0x53a816
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x30], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret