Function at 0x53ece0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
test edi, edi
je 0x53f1a1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x53f1a1
push esi
nop word [eax + eax]
mov edx, dword [ebx + 0x24]
test edx, edx
jne 0x53f148
cmp ecx, 0x40
jb 0x53f148
movups xmm0, xmmword [edi]
xor esi, esi
lea edx, [ebx + 0x29]
movups xmmword [ebx + 0x28], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebx + 0x38], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebx + 0x48], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ebx + 0x58], xmm0
nop dword [eax + eax]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x154], ecx
inc esi
cmp esi, 0x10
jb 0x53ed50
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x14c]
mov edi, dword [ebx + 0x18]
mov ecx, 0x40
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x20]
mov eax, dword [edx + 0x2c]
lea edx, [edx + 4]
xor eax, dword [edx + 0x14]
xor eax, dword [edx - 0xc]
xor eax, dword [edx - 4]
rol eax, 1
mov dword [edx + 0x34], eax
sub ecx, 1
jne 0x53eda5
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, ecx
mov ecx, ebx
xor ecx, edi
rol edx, 5
and ecx, dword [ebp - 8]
rol dword [ebp - 8], 0x1e
xor ecx, ebx
add ecx, 0x5a827999
add edx, ecx
mov ecx, edi
xor ecx, dword [ebp - 8]
and ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x154]
xor ecx, edi
rol dword [ebp - 4], 0x1e
add esi, edx
add ecx, 0x5a827999
mov edx, esi
rol edx, 5
add edx, ecx
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x150]
and ecx, esi
xor ecx, dword [ebp - 8]
add ebx, edx
add ecx, 0x5a827999
rol esi, 0x1e
mov edx, ebx
rol edx, 5
add edx, ecx
mov ecx, esi
xor ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x14c]
and ecx, ebx
xor ecx, dword [ebp - 4]
add edi, edx
mov edx, edi
rol ebx, 0x1e
rol edx, 5
add edx, ecx
mov ecx, dword [ebp - 8]
add edx, dword [ebp + eax*4 - 0x148]
add ecx, 0x5a827999
add ecx, edx
mov edx, ecx
mov dword [ebp - 8], ecx
mov ecx, esi
rol edx, 5
xor ecx, ebx
and ecx, edi
rol edi, 0x1e
xor ecx, esi
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x144]
add ecx, 0x5a827999
add ecx, edx
add eax, 5
mov dword [ebp - 4], ecx
cmp eax, 0x14
jb 0x53edc3
mov dword [ebp - 0xc], esi
cmp eax, 0x28
jae 0x53ef54
mov edx, ecx
mov ecx, ebx
xor ecx, edi
rol edx, 5
xor ecx, dword [ebp - 8]
rol dword [ebp - 8], 0x1e
add ecx, 0x6ed9eba1
add edx, ecx
mov ecx, edi
add edx, dword [ebp + eax*4 - 0x154]
xor ecx, dword [ebp - 8]
add esi, edx
xor ecx, dword [ebp - 4]
mov edx, esi
rol dword [ebp - 4], 0x1e
add ecx, 0x6ed9eba1
rol edx, 5
add edx, ecx
mov ecx, esi
add edx, dword [ebp + eax*4 - 0x150]
xor ecx, dword [ebp - 8]
add ebx, edx
xor ecx, dword [ebp - 4]
mov edx, ebx
add ecx, 0x6ed9eba1
rol edx, 5
add edx, ecx
rol esi, 0x1e
add edx, dword [ebp + eax*4 - 0x14c]
mov ecx, esi
add edi, edx
xor ecx, ebx
xor ecx, dword [ebp - 4]
mov edx, edi
rol edx, 5
add edx, ecx
rol ebx, 0x1e
add edx, dword [ebp + eax*4 - 0x148]
mov ecx, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, edx
mov edx, ecx
mov dword [ebp - 8], ecx
mov ecx, esi
rol edx, 5
xor ecx, ebx
xor ecx, edi
rol edi, 0x1e
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x144]
add ecx, 0x6ed9eba1
add ecx, edx
add eax, 5
mov dword [ebp - 4], ecx
cmp eax, 0x28
jb 0x53ee96
mov dword [ebp - 0xc], esi
cmp eax, 0x3c
jae 0x53f048
nop dword [eax]
mov esi, ecx
mov edx, edi
or edx, dword [ebp - 8]
mov ecx, edi
and ecx, dword [ebp - 8]
and edx, ebx
or edx, ecx
rol esi, 5
add edx, dword [ebp + eax*4 - 0x154]
add edx, dword [ebp - 0xc]
lea ecx, [esi - 0x70e44324]
add ecx, edx
mov edx, dword [ebp - 8]
rol edx, 0x1e
mov esi, ecx
mov dword [ebp - 8], edx
or edx, dword [ebp - 4]
and edx, edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
and ecx, dword [ebp - 4]
or edx, ecx
rol dword [ebp - 4], 0x1e
add edx, dword [ebp + eax*4 - 0x150]
mov ecx, dword [ebp - 0xc]
add edx, ebx
rol esi, 5
lea ebx, [esi - 0x70e44324]
add ebx, edx
mov edx, ecx
or edx, dword [ebp - 4]
mov esi, ebx
and edx, dword [ebp - 8]
and ecx, dword [ebp - 4]
or edx, ecx
rol esi, 5
add edx, dword [ebp + eax*4 - 0x14c]
mov ecx, dword [ebp - 0xc]
add edx, edi
rol ecx, 0x1e
lea edi, [esi - 0x70e44324]
mov dword [ebp - 0xc], ecx
add edi, edx
mov edx, ecx
or edx, ebx
and ecx, ebx
and edx, dword [ebp - 4]
mov esi, edi
or edx, ecx
rol esi, 5
add edx, dword [ebp + eax*4 - 0x148]
add edx, dword [ebp - 8]
rol ebx, 0x1e
lea ecx, [esi - 0x70e44324]
add ecx, edx
mov edx, ebx
mov esi, ecx
mov dword [ebp - 8], ecx
or edx, edi
rol esi, 5
and edx, dword [ebp - 0xc]
mov ecx, ebx
and ecx, edi
rol edi, 0x1e
or edx, ecx
add edx, dword [ebp + eax*4 - 0x144]
lea ecx, [esi - 0x70e44324]
add edx, dword [ebp - 4]
add eax, 5
add ecx, edx
mov dword [ebp - 4], ecx
cmp eax, 0x3c
jb 0x53ef60
mov esi, dword [ebp - 0xc]
cmp eax, 0x50
jae 0x53f108
mov edx, ecx
mov ecx, ebx
xor ecx, edi
rol edx, 5
xor ecx, dword [ebp - 8]
add ecx, dword [ebp + eax*4 - 0x154]
rol dword [ebp - 8], 0x1e
add ecx, esi
lea esi, [edx - 0x359d3e2a]
add esi, ecx
mov ecx, edi
xor ecx, dword [ebp - 8]
mov edx, esi
xor ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x150]
rol dword [ebp - 4], 0x1e
add ecx, ebx
rol edx, 5
lea ebx, [edx - 0x359d3e2a]
add ebx, ecx
mov ecx, esi
xor ecx, dword [ebp - 8]
mov edx, ebx
xor ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x14c]
add ecx, edi
rol edx, 5
rol esi, 0x1e
lea edi, [edx - 0x359d3e2a]
add edi, ecx
mov ecx, esi
xor ecx, ebx
mov edx, edi
xor ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x148]
add ecx, dword [ebp - 8]
rol edx, 5
add edx, 0xca62c1d6
rol ebx, 0x1e
add ecx, edx
mov edx, ecx
mov dword [ebp - 8], ecx
mov ecx, esi
rol edx, 5
xor ecx, ebx
xor ecx, edi
rol edi, 0x1e
add ecx, 0xca62c1d6
add ecx, dword [ebp + eax*4 - 0x144]
add eax, 5
add ecx, dword [ebp - 4]
add ecx, edx
mov dword [ebp - 4], ecx
cmp eax, 0x50
jb 0x53f051
mov eax, dword [ebp - 0x14]
add eax, ecx
mov ecx, dword [ebp - 0x10]
add dword [ecx + 0x18], edi
mov edi, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 8]
add dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
add dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], eax
add dword [ebx + 8], 0x200
adc dword [ebx + 0xc], 0
add edi, 0x40
sub ecx, 0x40
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ecx
jmp 0x53f198
mov eax, 0x40
mov esi, ecx
sub eax, edx
cmp ecx, eax
cmovae esi, eax
lea eax, [edx + 0x28]
push esi
add eax, ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0xc]
add edi, esi
add dword [ebx + 0x24], esi
sub ecx, esi
add esp, 0xc
mov dword [ebp + 8], edi
cmp dword [ebx + 0x24], 0x40
mov dword [ebp + 0xc], ecx
jne 0x53f198
mov ecx, ebx
call fcn.0053e2f0
add dword [ebx + 8], 0x200
mov ecx, dword [ebp + 0xc]
adc dword [ebx + 0xc], 0
mov dword [ebx + 0x24], 0
test ecx, ecx
jne 0x53ed10
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8