Function at 0x556ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test eax, eax
mov dword [esp + 8], eax
je 0x556f6b
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x556f43
mov ebx, dword [ebp + 0xc]
xor esi, esi
jmp 0x556d35
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
inc esi
sub ecx, eax
add ebx, eax
test ecx, ecx
je 0x556f43
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x60]
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movsd xmm1, qword [edx + 0x30]
cmp ecx, eax
movsd xmm2, qword [edx + 0x28]
movsd xmm0, qword [edx + 0x38]
cmovb eax, ecx
lea ecx, [esp + 0xe0]
mov dword [esp + 4], eax
movsd qword [ecx + 0x30], xmm1
movsd xmm1, qword [edx + 0x20]
movsd qword [ecx + 0x28], xmm2
movsd xmm2, qword [edx + 0x18]
movsd qword [ecx + 0x38], xmm0
movsd qword [ecx + 0x20], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [ecx + 0x18], xmm2
movsd xmm2, qword [edx]
movsd qword [ecx + 0x10], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x128], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x130], 0
mov ecx, edi
push dword [ebp + 8]
call fcn.00557170
add esp, 4
mov dword [esp + 0x14], esi
bswap esi
mov ecx, edi
mov dword [esp + 0x140], esi
lea esi, [esp + 0x140]
mov edx, esi
push 4
call fcn.00557170
add esp, 4
push 0xd8
push edi
push esi
call fcn.007bd9b0
add esp, 0xc
mov eax, dword [esp + 0x208]
lea edx, [esp + 0x218]
mov ecx, 0x14
lea esi, [esp + 0x1c0]
mov edi, edx
mov eax, dword [eax + 0x50]
rep movsd dword es:[edi], dword [esi]
cmp eax, 0x80
ja 0x556f4b
lea ecx, [esp + 0x1c]
push dword [esp + 0x210]
push eax
lea eax, [esp + 0x148]
push eax
call fcn.00557400
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x48]
cmp ecx, 0x41
jae 0x556f5c
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x14]
cmp eax, ecx
cmovb ecx, eax
test ecx, ecx
je 0x556d20
xor eax, eax
cmp ecx, 8
jb 0x556f38
xor eax, eax
cmp ecx, 0x10
jae 0x556eeb
mov edx, eax
mov eax, ecx
and eax, 0xfffffff8
nop dword [eax]
movsd xmm0, qword [esp + edx + 0x20]
movsd xmm1, qword [ebx + edx]
xorps xmm1, xmm0
movlps qword [ebx + edx], xmm1
add edx, 8
cmp eax, edx
jne 0x556ed0
jmp 0x556f30
mov eax, ecx
xor edx, edx
and eax, 0xfffffff0
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [esp + edx + 0x20]
movups xmm1, xmmword [ebx + edx]
xorps xmm1, xmm0
movups xmmword [ebx + edx], xmm1
add edx, 0x10
cmp eax, edx
jne 0x556f00
cmp ecx, eax
je 0x556d20
test cl, 8
jne 0x556ec5
jmp 0x556f38
cmp ecx, eax
je 0x556d20
movzx edx, byte [esp + eax + 0x20]
xor byte [ebx + eax], dl
inc eax
jmp 0x556f30
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
mov edx, 0x80
push 0x89cb58
call fcn.007c1c40
mov edx, 0x40
push 0x89f7f8
call fcn.007c1c40
lea ecx, [esp + 0x140]
mov edx, 0x89def0
mov dword [esp + str.chunk_size_must_be_non_zero], 0x89e9c4
mov dword [esp + 0x144], 1
mov dword [esp + 0x150], 0
mov dword [esp + 0x148], 0x93d1f8
mov dword [esp + 0x14c], 0
call fcn.007c1b50
int3