Function at 0x556fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
add edx, edi
adc ecx, 0
xor eax, eax
mov esi, 0xffffffe0
cmp esi, edx
mov esi, 0xf
sbb esi, ecx
jb 0x557417
mov esi, dword [ebx + 0x160]
mov eax, dword [ebx + 0x164]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], ecx
cmp dword [ebx + 0x174], 0
mov edx, ebx
je 0x557057
lea eax, [edx + 0x60]
mov dword [ebp - 0x10], eax
lea ebx, [edx + 0x40]
mov ecx, esi
call dword [section..00cfg]
push dword [ebp - 0x10]
push ebx
call esi
mov edx, dword [ebp + 8]
add esp, 8
mov dword [edx + 0x174], 0
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [edx + 0x170]
test eax, eax
je 0x5570d0
test edi, edi
je 0x55740c
nop word cs:[eax + eax]
nop dword [eax]
movzx ecx, byte [edx + eax + 0x10]
xor cl, byte [esi]
add esi, 1
mov byte [ebx], cl
xor byte [edx + eax + 0x40], cl
add ebx, 1
lea ecx, [edi - 1]
add eax, 1
and eax, 0xf
je 0x5570a5
cmp edi, 1
mov edi, ecx
jne 0x557080
test eax, eax
jne 0x55740c
lea edi, [edx + 0x60]
lea eax, [edx + 0x40]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x20]
call dword [section..00cfg]
push edi
push dword [ebp - 0x1c]
call ecx
mov edx, dword [ebp + 8]
add esp, 8
jmp 0x5570d3
mov dword [ebp - 0x10], edi
push dword [edx + 0xc]
call fcn.006d7f05
mov edx, dword [ebp + 8]
add esp, 4
mov edi, eax
lea ecx, [edx + 0x60]
lea eax, [edx + 0x40]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
mov eax, edx
cmp edx, 0xc00
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x1c]
jb 0x55716c
nop
mov dword [ebp - 0x10], edx
call dword [section..00cfg]
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push 0xc0
push ebx
push esi
call dword [ebp + 0x1c]
add esp, 0x14
add edi, 0xc0
push edi
call fcn.006d7f05
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
call dword [section..00cfg]
push 0xc00
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call ecx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10]
add esp, 0x10
add ebx, 0xc00
add esi, 0xc00
add edx, 0xfffff400
cmp edx, 0xbff
ja 0x557100
mov eax, edx
and eax, 0xfffffff0
je 0x5571cf
mov dword [ebp - 0x24], edx
shr dword [ebp - 0x24], 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], eax
call dword [section..00cfg]
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push ebx
push esi
call dword [ebp + 0x1c]
add esp, 0x14
add edi, dword [ebp - 0x24]
push edi
call fcn.006d7f05
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
add esi, dword [ebp - 0x28]
and dword [ebp - 0x10], 0xf
mov ecx, dword [ebp - 0x14]
call dword [section..00cfg]
push dword [ebp - 0x28]
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call ecx
mov edx, dword [ebp - 0x10]
add esp, 0x10
add ebx, dword [ebp - 0x28]
test edx, edx
je 0x5572f6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 0x168]
add eax, 0x10
mov dword [ebp - 0x14], eax
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp + 8]
call ecx
add esp, 0xc
add edi, 1
push edi
call fcn.006d7f05
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add esp, 4
mov dword [edx + 0xc], eax
xor eax, eax
cmp ecx, 8
jb 0x557393
lea edi, [ebx + ecx]
add edx, ecx
add edx, 0x40
mov dword [ebp - 0x1c], edx
cmp ebx, edx
setb byte [ebp - 0x20]
mov edx, dword [ebp - 0x14]
cmp edi, edx
seta byte [ebp - 0x28]
add ecx, esi
cmp ebx, ecx
setb byte [ebp - 0x24]
cmp esi, edi
setb byte [ebp - 0x15]
cmp ecx, edx
seta dl
cmp esi, dword [ebp - 0x1c]
setb dh
mov cl, byte [ebp - 0x28]
test byte [ebp - 0x20], cl
jne 0x5572fd
mov cl, byte [ebp - 0x15]
and byte [ebp - 0x24], cl
jne 0x5572fd
mov ecx, dword [ebp - 0x10]
and dl, dh
mov edx, dword [ebp + 8]
jne 0x557393
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x557348
mov eax, ecx
and eax, 0xfffffff0
lea ecx, [eax - 0x10]
mov edi, ecx
shr edi, 4
add edi, 1
test ecx, ecx
mov dword [ebp - 0x14], edi
je 0x557308
and edi, 0xfffffffe
xor ecx, ecx
mov edx, dword [ebp + 8]
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [esi + ecx]
movups xmm1, xmmword [edx + ecx + 0x10]
xorps xmm1, xmm0
movups xmmword [ebx + ecx], xmm1
movups xmm0, xmmword [edx + ecx + 0x20]
movups xmm2, xmmword [edx + ecx + 0x40]
xorps xmm2, xmm1
movups xmmword [edx + ecx + 0x40], xmm2
movups xmm1, xmmword [esi + ecx + 0x10]
xorps xmm1, xmm0
movups xmmword [ebx + ecx + 0x10], xmm1
movups xmm0, xmmword [edx + ecx + 0x50]
xorps xmm0, xmm1
movups xmmword [edx + ecx + 0x50], xmm0
add ecx, 0x20
add edi, 0xfffffffe
jne 0x5572b0
jmp 0x55730d
xor eax, eax
jmp 0x557409
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
jmp 0x557393
xor ecx, ecx
mov edx, dword [ebp + 8]
test byte [ebp - 0x14], 1
je 0x557330
movups xmm0, xmmword [esi + ecx]
movups xmm1, xmmword [edx + ecx + 0x10]
xorps xmm1, xmm0
movups xmmword [ebx + ecx], xmm1
movups xmm0, xmmword [edx + ecx + 0x40]
xorps xmm0, xmm1
movups xmmword [edx + ecx + 0x40], xmm0
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jne 0x55733e
mov eax, ecx
jmp 0x55740c
test cl, 8
jne 0x557348
and ecx, 0xf
jmp 0x557393
mov edx, eax
mov eax, ecx
and eax, 0xfffffff8
and ecx, 7
mov edi, dword [ebp + 8]
nop word cs:[eax + eax]
nop
movsd xmm0, qword [esi + edx]
movsd xmm1, qword [edi + edx + 0x10]
xorps xmm1, xmm0
movlps qword [ebx + edx], xmm1
movsd xmm0, qword [edi + edx + 0x40]
xorps xmm0, xmm1
movlps qword [edi + edx + 0x40], xmm0
add edx, 8
cmp eax, edx
jne 0x557360
cmp dword [ebp - 0x10], eax
mov edx, edi
jne 0x557393
mov eax, dword [ebp - 0x10]
jmp 0x55740c
test cl, 1
jne 0x5573a1
mov edx, ecx
cmp ecx, 1
jne 0x5573bc
jmp 0x557406
mov edi, edx
mov dl, byte [edx + eax + 0x10]
xor dl, byte [esi + eax]
mov byte [ebx + eax], dl
xor byte [edi + eax + 0x40], dl
lea edx, [ecx - 1]
or eax, 1
cmp ecx, 1
je 0x557406
lea ecx, [esi + eax]
add ecx, 1
mov esi, dword [ebp + 8]
add esi, eax
add esi, 0x41
add eax, ebx
add eax, 1
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ebx, byte [esi + edi - 0x31]
xor bl, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
xor byte [esi + edi - 1], bl
movzx ebx, byte [esi + edi - 0x30]
xor bl, byte [ecx + edi]
mov byte [eax + edi], bl
xor byte [esi + edi], bl
add edi, 2
cmp edx, edi
jne 0x5573e0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [edx + 0x170], eax
mov eax, 1
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret