Function at 0x557420
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 0x557868
mov esi, dword [ebx + 0x160]
mov eax, dword [ebx + 0x164]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], ecx
cmp dword [ebx + 0x174], 0
je 0x557498
lea eax, [ebx + 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea ebx, [eax + 0x40]
mov ecx, esi
call dword [section..00cfg]
push dword [ebp - 0x10]
push ebx
mov ebx, dword [ebp + 8]
call esi
add esp, 8
mov dword [ebx + 0x174], 0
mov dword [ebp - 0x1c], esi
mov eax, ebx
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax + 0x170]
test eax, eax
je 0x557519
test edi, edi
je 0x557839
nop word cs:[eax + eax]
nop
movzx ecx, byte [esi]
add esi, 1
mov edx, dword [ebp + 8]
movzx edx, byte [edx + eax + 0x10]
xor dl, cl
mov byte [ebx], dl
mov edx, dword [ebp + 8]
xor byte [edx + eax + 0x40], cl
add ebx, 1
lea ecx, [edi - 1]
add eax, 1
and eax, 0xf
je 0x5574ee
cmp edi, 1
mov edi, ecx
jne 0x5574c0
test eax, eax
mov edi, dword [ebp + 8]
jne 0x55785d
mov dword [ebp - 0x14], ebx
mov eax, edi
add edi, 0x60
lea ebx, [eax + 0x40]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
call dword [section..00cfg]
push edi
push ebx
call ecx
add esp, 8
jmp 0x55751f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push dword [ebx + 0xc]
call fcn.006d7f05
add esp, 4
mov edi, eax
lea eax, [ebx + 0x60]
lea ecx, [ebx + 0x40]
mov edx, dword [ebp - 0x10]
cmp edx, 0xc00
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jb 0x5575be
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
nop dword [eax]
mov dword [ebp - 0x10], edx
call dword [section..00cfg]
push 0xc00
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
call dword [section..00cfg]
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push 0xc0
push ebx
push esi
call ecx
add esp, 0x14
add edi, 0xc0
push edi
call fcn.006d7f05
mov edx, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x18]
add ebx, 0xc00
add esi, 0xc00
add edx, 0xfffff400
cmp edx, 0xbff
ja 0x557550
jmp 0x5575c4
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov eax, edx
and eax, 0xfffffff0
je 0x557631
mov ebx, edx
shr ebx, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], edx
mov ebx, eax
mov dword [ebp - 0x28], eax
call dword [section..00cfg]
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
call dword [section..00cfg]
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
push ebx
push esi
call ecx
add esp, 0x14
add edi, dword [ebp - 0x24]
push edi
call fcn.006d7f05
mov edx, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x28]
add ebx, eax
mov dword [ebp - 0x14], ebx
add esi, eax
and edx, 0xf
test edx, edx
je 0x557756
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 0x168]
lea ebx, [eax + 0x10]
call dword [section..00cfg]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call ecx
add esp, 0xc
add edi, 1
push edi
mov edi, dword [ebp + 8]
call fcn.006d7f05
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [edi + 0xc], eax
xor eax, eax
cmp ecx, 8
jb 0x5577ec
add edi, ecx
add edi, 0x40
mov edx, ebx
mov ebx, dword [ebp - 0x14]
lea eax, [ebx + ecx]
add ecx, esi
cmp eax, edx
seta byte [ebp - 0x18]
cmp ebx, edi
setb byte [ebp - 0x1c]
cmp ecx, edx
seta byte [ebp - 0x20]
cmp esi, edi
setb dh
cmp ebx, ecx
setb dl
cmp esi, eax
setb al
mov cl, byte [ebp - 0x1c]
test byte [ebp - 0x18], cl
jne 0x55775d
and byte [ebp - 0x20], dh
jne 0x55775d
mov ecx, dword [ebp - 0x10]
and dl, al
mov edi, dword [ebp + 8]
mov eax, 0
jne 0x5577ec
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x5577af
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 - 0x18], edi
je 0x55776a
and edi, 0xfffffffe
xor ecx, ecx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [esi + ecx]
movups xmm1, xmmword [edx + ecx + 0x10]
movups xmm2, xmmword [edx + ecx + 0x40]
xorps xmm2, xmm0
movups xmmword [edx + ecx + 0x40], xmm2
xorps xmm1, xmm0
movups xmmword [ebx + ecx], xmm1
movups xmm0, xmmword [esi + ecx + 0x10]
movups xmm1, xmmword [edx + ecx + 0x20]
movups xmm2, xmmword [edx + ecx + 0x50]
xorps xmm2, xmm0
movups xmmword [edx + ecx + 0x50], xmm2
xorps xmm1, xmm0
movups xmmword [ebx + ecx + 0x10], xmm1
add ecx, 0x20
add edi, 0xfffffffe
jne 0x557710
jmp 0x55776f
xor eax, eax
jmp 0x557839
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
xor eax, eax
jmp 0x5577ec
xor ecx, ecx
mov edx, dword [ebp + 8]
test byte [ebp - 0x18], 1
mov edi, edx
je 0x557797
movups xmm0, xmmword [esi + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
movups xmm2, xmmword [edi + ecx + 0x40]
xorps xmm2, xmm0
movups xmmword [edi + ecx + 0x40], xmm2
xorps xmm1, xmm0
mov edx, dword [ebp - 0x14]
movups xmmword [edx + ecx], xmm1
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jne 0x5577a5
mov eax, ecx
jmp 0x55785d
test cl, 8
jne 0x5577af
and ecx, 0xf
jmp 0x5577ec
mov edx, eax
mov eax, ecx
and eax, 0xfffffff8
and ecx, 7
mov ebx, dword [ebp - 0x14]
nop dword [eax]
movsd xmm0, qword [esi + edx]
movsd xmm1, qword [edi + edx + 0x10]
movsd xmm2, qword [edi + edx + 0x40]
xorps xmm2, xmm0
movlps qword [edi + edx + 0x40], xmm2
xorps xmm1, xmm0
movlps qword [ebx + edx], xmm1
add edx, 8
cmp eax, edx
jne 0x5577c0
cmp dword [ebp - 0x10], eax
je 0x55785a
test cl, 1
jne 0x55783e
mov edx, ecx
cmp ecx, 1
je 0x55785a
lea ecx, [esi + eax]
add ecx, 1
lea esi, [edi + eax]
add esi, 0x41
mov edi, dword [ebp - 0x14]
add eax, edi
add eax, 1
xor edi, edi
nop
movzx ebx, byte [ecx + edi - 1]
xor byte [esi + edi - 1], bl
xor bl, byte [esi + edi - 0x31]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi]
xor byte [esi + edi], bl
xor bl, byte [esi + edi - 0x30]
mov byte [eax + edi], bl
add edi, 2
cmp edx, edi
jne 0x557810
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
jmp 0x55785d
mov dl, byte [esi + eax]
xor byte [edi + eax + 0x40], dl
xor dl, byte [edi + eax + 0x10]
mov ebx, dword [ebp - 0x14]
mov byte [ebx + eax], dl
lea edx, [ecx - 1]
or eax, 1
cmp ecx, 1
jne 0x5577f8
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x170], eax
mov eax, 1
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret