Function at 0x5565d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x38]
add edx, ebx
adc ecx, 0
xor eax, eax
mov esi, 0xffffffe0
cmp esi, edx
mov esi, 0xf
sbb esi, ecx
jb 0x556aeb
mov eax, dword [edi + 0x168]
mov dword [ebp - 0x1c], eax
mov esi, dword [edi + 0x160]
mov eax, dword [edi + 0x164]
mov dword [ebp - 0x28], eax
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x174], 0
je 0x556651
lea eax, [edi + 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea edi, [eax + 0x40]
mov ecx, esi
call dword [section..00cfg]
push dword [ebp - 0x10]
push edi
mov edi, dword [ebp + 8]
call esi
add esp, 8
mov dword [edi + 0x174], 0
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0x170]
test eax, eax
je 0x5566c7
test ebx, ebx
je 0x556ae0
nop dword [eax]
movzx ecx, byte [edi + eax + 0x10]
xor cl, byte [edx]
add edx, 1
mov byte [esi], cl
xor byte [edi + eax + 0x40], cl
add esi, 1
lea ecx, [ebx - 1]
add eax, 1
and eax, 0xf
je 0x556695
cmp ebx, 1
mov ebx, ecx
jne 0x556670
test eax, eax
jne 0x556ae0
mov dword [ebp - 0x10], esi
mov esi, edx
lea eax, [edi + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
lea edi, [eax + 0x40]
mov ebx, ecx
mov ecx, dword [ebp - 0x18]
call dword [section..00cfg]
push dword [ebp - 0x24]
push edi
mov edi, dword [ebp + 8]
call ecx
add esp, 8
jmp 0x5566cc
mov dword [ebp - 0x10], esi
mov esi, edx
push dword [edi + 0xc]
call fcn.006d7f05
add esp, 4
mov ecx, eax
lea eax, [edi + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [edi + 0x60]
mov dword [ebp - 0x30], eax
lea eax, [edi + 0x40]
mov dword [ebp - 0x2c], eax
cmp ebx, 0xc00
mov eax, ebx
mov dword [ebp - 0x20], ecx
jb 0x55680a
mov ecx, esi
mov edx, dword [ebp - 0x10]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov ebx, 0xfffff400
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
nop word cs:[eax + eax]
nop
mov ecx, dword [ebp - 0x1c]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push edi
call ecx
add esp, 0xc
add esi, 1
push esi
call fcn.006d7f05
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x18]
xor eax, dword [edx + ebx + 0xc00]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + ebx + 0xc00], eax
mov eax, dword [edi + 0x14]
xor eax, dword [edx + ebx + 0xc04]
mov dword [ecx + ebx + 0xc04], eax
mov eax, dword [edi + 0x18]
xor eax, dword [edx + ebx + 0xc08]
mov dword [ecx + ebx + 0xc08], eax
mov eax, dword [edi + 0x1c]
xor eax, dword [edx + ebx + 0xc0c]
mov dword [ecx + ebx + 0xc0c], eax
add ebx, 0x10
jne 0x556730
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x10]
lea edi, [esi + ebx]
mov ecx, dword [ebp - 0x28]
call dword [section..00cfg]
push 0xc00
push edi
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call ecx
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffff400
mov ecx, dword [ebp - 0x18]
add ecx, ebx
add ecx, 0xc00
lea edx, [esi + ebx]
add edx, 0xc00
cmp eax, 0xbff
ja 0x556710
mov ecx, dword [ebp - 0x18]
lea esi, [ecx + ebx]
add esi, 0xc00
mov ecx, dword [ebp - 0x10]
add ecx, ebx
add ecx, 0xc00
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0xc]
mov edx, eax
and edx, 0xfffffff0
mov dword [ebp - 0x18], edx
je 0x5568bd
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x10]
nop word cs:[eax + eax]
nop
mov ecx, dword [ebp - 0x1c]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
push ebx
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
push eax
call fcn.006d7f05
add esp, 4
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
xor eax, dword [esi]
mov dword [edi], eax
mov eax, dword [ebx + 0x14]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x18]
xor eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
add edi, 0x10
add esi, 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x14], eax
cmp eax, 0xf
ja 0x556830
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp - 0x18]
sub edi, ebx
mov ecx, dword [ebp - 0x28]
call dword [section..00cfg]
push ebx
push edi
mov edi, dword [ebp + 8]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call ecx
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x5569d6
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
call dword [section..00cfg]
push ebx
mov esi, dword [ebp - 0x24]
push esi
push edi
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
call fcn.006d7f05
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 0xc], eax
xor ebx, ebx
cmp ecx, 8
jb 0x556a6c
mov edx, dword [ebp - 0x10]
mov ebx, esi
lea esi, [edx + ecx]
lea eax, [edi + ecx]
add eax, 0x40
mov dword [ebp - 0x20], eax
cmp edx, eax
setb byte [ebp - 0x1c]
cmp esi, ebx
seta byte [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edi, [eax + ecx]
cmp edx, edi
setb cl
cmp eax, esi
setb ch
cmp edi, ebx
seta dl
cmp eax, dword [ebp - 0x20]
setb dh
mov al, byte [ebp - 0x28]
test byte [ebp - 0x1c], al
jne 0x5569dd
and cl, ch
jne 0x5569dd
mov ecx, dword [ebp - 0x14]
and dl, dh
mov edi, dword [ebp + 8]
mov ebx, 0
jne 0x556a6c
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x556a2f
and ecx, 0xfffffff0
mov dword [ebp - 0x1c], ecx
add ecx, 0xfffffff0
mov edx, ecx
shr edx, 4
add edx, 1
test ecx, ecx
je 0x5569ea
mov esi, edx
and esi, 0xfffffffe
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ebx + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
xorps xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [edi + ecx + 0x20]
movups xmm2, xmmword [edi + ecx + 0x40]
xorps xmm2, xmm1
movups xmmword [edi + ecx + 0x40], xmm2
movups xmm1, xmmword [ebx + ecx + 0x10]
xorps xmm1, xmm0
movups xmmword [eax + ecx + 0x10], xmm1
movups xmm0, xmmword [edi + ecx + 0x50]
xorps xmm0, xmm1
movups xmmword [edi + ecx + 0x50], xmm0
add ecx, 0x20
add esi, 0xfffffffe
jne 0x556990
jmp 0x5569f2
xor eax, eax
jmp 0x556ae0
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
xor ebx, ebx
jmp 0x556a6c
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
test dl, 1
je 0x556a14
movups xmm0, xmmword [ebx + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
xorps xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [edi + ecx + 0x40]
xorps xmm0, xmm1
movups xmmword [edi + ecx + 0x40], xmm0
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
cmp ecx, ebx
jne 0x556a25
mov eax, ecx
jmp 0x556ae0
test cl, 8
jne 0x556a2f
and ecx, 0xf
jmp 0x556a6c
mov edx, ebx
mov ebx, ecx
and ebx, 0xfffffff8
and ecx, 7
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
nop
movsd xmm0, qword [esi + edx]
movsd xmm1, qword [edi + edx + 0x10]
xorps xmm1, xmm0
movlps qword [eax + edx], xmm1
movsd xmm0, qword [edi + edx + 0x40]
xorps xmm0, xmm1
movlps qword [edi + edx + 0x40], xmm0
add edx, 8
cmp ebx, edx
jne 0x556a40
cmp dword [ebp - 0x14], ebx
je 0x556add
test cl, 1
jne 0x556abe
mov edx, ecx
mov eax, dword [ebp - 0x10]
cmp ecx, 1
je 0x556add
mov ecx, dword [ebp - 0x18]
add ecx, ebx
add ecx, 1
lea esi, [edi + ebx]
add esi, 0x41
add eax, ebx
add eax, 1
xor edi, edi
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 0x556a90
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
jmp 0x556ae0
mov dl, byte [edi + ebx + 0x10]
mov esi, dword [ebp - 0x18]
xor dl, byte [esi + ebx]
mov eax, dword [ebp - 0x10]
mov byte [eax + ebx], dl
xor byte [edi + ebx + 0x40], dl
lea edx, [ecx - 1]
or ebx, 1
cmp ecx, 1
jne 0x556a7b
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x170], eax
mov eax, 1
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret