Function at 0x614550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6334f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
lea edi, [ecx + 1]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
test edi, edi
je 0x614621
cmp edi, 0x7fffffff
ja 0x61478e
cmp edi, 0x1000
jb 0x6145f0
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x614793
push eax
call fcn.006084b7
add esp, 4
test eax, eax
je 0x614798
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [ebp - 0x28], esi
mov dword [esi - 4], eax
jmp 0x6145fe
push edi
call fcn.006084b7
add esp, 4
mov dword [ebp - 0x28], eax
mov esi, eax
push edi
lea eax, [esi + edi]
mov dword [ebp - 0x1c], esi
push 0
push esi
mov dword [ebp - 0x14], eax
call fcn.0060a6d0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, esi
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 1
test edx, edx
je 0x61470e
test eax, eax
je 0x61470e
xor edi, edi
test ecx, ecx
je 0x61470a
cmp ecx, 0x40
jb 0x6146e4
dec eax
add eax, ecx
mov dword [ebp - 0x2c], eax
lea eax, [edx - 1]
add eax, ecx
cmp dword [ebp - 0x20], eax
ja 0x614663
cmp dword [ebp - 0x2c], edx
jae 0x6146e1
movaps xmm1, xmmword [0x4b0910]
mov eax, ecx
mov ecx, dword [ebp - 0x20]
and eax, 0xffffffc0
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, edx
sub eax, ecx
lea ecx, [edx + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x30]
add edi, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp edi, dword [ebp - 0x30]
jb 0x614690
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], edi
cmp edi, ecx
jae 0x61470a
jmp 0x6146e4
mov eax, dword [ebp - 0x20]
sub edx, eax
lea ecx, [eax + edi]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 0x24]
sub edx, edi
mov edi, dword [ebp + 0xc]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor al, 0x67
mov byte [ecx - 1], al
sub edx, 1
jne 0x6146f4
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov byte [eax + ecx], 0
mov edi, dword [ebp - 0x38]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
push ecx
push esi
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [edi], 0x498708
call fcn.00524db0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x614771
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
mov dword [ebp - 4], 3
cmp ecx, 0x1000
jb 0x614767
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x614798
push ecx
push esi
call fcn.006084e7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret
call fcn.004c7d60
call fcn.004c7aa0
call fcn.00540ccc
int3