Function at 0x54ccd6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
push edi
mov edi, dword [edx + 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov ebx, dword [edi + 0xc8]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], edi
lea eax, [ebx + 0x10]
cmp ecx, eax
je 0x54cd2d
or eax, 0xffffffff
jmp 0x54d027
lea eax, [ebp - 0xa4]
neg eax
lea ecx, [ebp - 0xa4]
and eax, 0xf
lea edx, [edi + 0xd0]
add eax, ecx
mov dword [ebp - 0xc4], edx
push esi
lea edx, [edi + 0xa8]
mov dword [ebp - 0xa8], eax
push 0x40
lea ecx, [eax + 0x30]
mov dword [ebp - 0xc0], edx
pop edx
mov dword [ebp - 0xb4], ecx
lea esi, [eax + 0x40]
lea ecx, [edi + 0x20]
mov dword [ebp - 0xc8], edx
and dword [ecx], 0
push ecx
push edi
cmp ebx, edx
ja 0x54ceab
add edx, 0x40
push edx
push 0x7ec898
push eax
mov dword [ebp - 0xc8], edx
call fcn.00589b2d
push dword [ebp - 0xa8]
lea eax, [edi + 0xd0]
push eax
call fcn.00589f2e
and dword [edi + 0x70], 0
lea esi, [edi + 0x94]
mov edi, dword [ebp - 0xb4]
add esp, 0x1c
mov eax, dword [ebp - 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [eax + 4], 0
xor edi, edi
mov dword [eax], 0xd
mov eax, dword [ebp - 0xcc]
and dword [eax + 0xb4], 0
mov dword [eax + 0xb0], ebx
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 8], edi
je 0x54ce27
test ebx, ebx
je 0x54ce7f
mov ecx, dword [ebp - 0xa8]
mov edi, ebx
mov edx, dword [ebp - 0xac]
add ecx, 0x40
mov esi, dword [ebp - 0xb0]
sub edx, ecx
sub esi, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
mov al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
sub ebx, 1
jne 0x54ce15
jmp 0x54ce7f
test ebx, ebx
je 0x54ce7f
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0xd4], ecx
add esi, 0x40
mov ecx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xd4]
sub ecx, esi
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xbc], ebx
mov al, byte [esi]
add ecx, esi
mov dl, byte [ecx + edi]
xor al, dl
mov byte [esi], dl
inc esi
mov byte [ecx], al
mov ecx, dword [ebp - 0xd8]
sub ebx, 1
jne 0x54ce60
mov edi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xa8]
mov esi, edi
neg esi
and esi, 0xf
push esi
lea eax, [ebx + 0x40]
add eax, edi
push 0
push eax
call fcn.00718210
lea eax, [esi + edi]
add esp, 0xc
lea ecx, [eax + 0x20]
lea edx, [eax + ebx]
jmp 0x54cf91
push edx
push 0x7ec898
push eax
call fcn.00589b2d
push dword [ebp - 0xa8]
lea eax, [edi + 0xd0]
push eax
call fcn.00589f2e
push 0x10
lea eax, [edi + 0x94]
mov dword [edi + 0x20], 1
and dword [edi + 0x70], 0
push eax
lea eax, [edi + 0xd0]
push eax
call fcn.00589fd2
lea eax, [edi + 0xa8]
mov dword [edi + 0xb0], ebx
xor ecx, ecx
mov dword [eax], 0xd
mov dword [eax + 4], ecx
add esp, 0x28
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0xb4], ecx
mov dword [ebp - 0xb4], esi
cmp dword [eax + 8], ecx
je 0x54cf42
mov esi, dword [ebp - 0xb0]
lea eax, [edi + 0x20]
push eax
push edi
push ebx
push dword [ebp - 0xac]
push esi
call fcn.00589b2d
push ebx
lea eax, [edi + 0xd0]
push esi
push eax
call fcn.00589fd2
jmp 0x54cf68
mov esi, dword [ebp - 0xac]
lea eax, [edi + 0xd0]
push ebx
push esi
push eax
call fcn.00589fd2
lea eax, [edi + 0x20]
push eax
push edi
push ebx
push esi
push dword [ebp - 0xb0]
call fcn.00589b2d
add esp, 0x20
mov eax, ebx
neg eax
and eax, 0xf
push eax
push 0x7ec898
push dword [ebp - 0xc4]
call fcn.00589fd2
mov edx, dword [ebp - 0xa8]
add esp, 0xc
mov edi, ebx
push 0x10
pop ecx
mov ebx, dword [ebp - 0xac]
mov esi, dword [ebp - 0xc0]
add ebx, edi
mov dword [ebp - 0xbc], ebx
mov ebx, dword [ebp - 0xb0]
add ebx, edi
lea edi, [edx + 0x40]
movsd dword es:[edi], dword [esi]
push ecx
push dword [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc4]
push esi
call fcn.00589fd2
push dword [ebp - 0xc8]
push dword [ebp - 0xa8]
call fcn.0054ec79
mov edx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xb4]
cmp dword [edx + 8], 0
lea ecx, [edi + 0x84]
cmovne eax, ecx
push eax
push esi
call fcn.00589ec1
mov eax, dword [ebp - 0xb8]
add esp, 0x1c
or dword [edi + 0xc8], 0xffffffff
cmp dword [eax + 8], 0
je 0x54d035
lea esi, [edi + 0x84]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xd0]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret
push 0x10
push dword [ebp - 0xbc]
push dword [ebp - 0xb4]
call fcn.005408a2
add esp, 0xc
test eax, eax
je 0x54d020
mov ecx, dword [ebp - 0xd0]
sub ebx, ecx
add ebx, 0x10
lea eax, [ecx - 0x10]
push eax
push 0
push ebx
call fcn.00718210
add esp, 0xc
or eax, 0xffffffff
jmp 0x54d026