Function at 0x5561d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x160]
mov dword [ebp - 0x18], eax
mov dword [edi + 0x174], 0
mov dword [edi + 0x170], 0
xorps xmm0, xmm0
movaps xmmword [edi], xmm0
movaps xmmword [edi + 0x30], xmm0
movaps xmmword [edi + 0x40], xmm0
cmp ecx, 0xc
jne 0x55622e
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [ebx]
movsd qword [edi], xmm0
mov byte [edi + 0xf], 1
mov esi, 2
jmp 0x55659a
lea eax, [edi + 0x60]
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x5563d0
lea eax, [ecx - 0x10]
mov dword [ebp - 0x10], eax
add ebx, 0x10
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x40], 0
xor edx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
xor ecx, ecx
nop word [eax + eax]
xor cl, byte [ebx - 0x10]
mov byte [edi], cl
mov ecx, dword [ebp - 0x2c]
xor cl, byte [ebx - 0xf]
mov byte [edi + 1], cl
xor al, byte [ebx - 0xe]
mov byte [edi + 2], al
mov eax, dword [ebp - 0x38]
xor al, byte [ebx - 0xd]
mov byte [edi + 3], al
mov eax, dword [ebp - 0x1c]
xor al, byte [ebx - 0xc]
mov byte [edi + 4], al
mov eax, dword [ebp - 0x24]
xor al, byte [ebx - 0xb]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x28]
xor al, byte [ebx - 0xa]
mov byte [edi + 6], al
mov eax, dword [ebp - 0x30]
xor al, byte [ebx - 9]
mov byte [edi + 7], al
xor dl, byte [ebx - 8]
mov byte [edi + 8], dl
mov edx, dword [ebp - 0x40]
xor dl, byte [ebx - 7]
mov byte [edi + 9], dl
mov eax, dword [ebp - 0x20]
xor al, byte [ebx - 6]
mov byte [edi + 0xa], al
mov ecx, dword [ebp - 0x48]
xor cl, byte [ebx - 5]
mov byte [edi + 0xb], cl
mov eax, dword [ebp - 0x34]
xor al, byte [ebx - 4]
mov byte [edi + 0xc], al
mov eax, dword [ebp - 0x3c]
xor al, byte [ebx - 3]
mov byte [edi + 0xd], al
mov eax, dword [ebp - 0x44]
xor al, byte [ebx - 2]
mov byte [edi + 0xe], al
mov eax, dword [ebp - 0x4c]
xor al, byte [ebx - 1]
mov byte [edi + 0xf], al
mov ecx, dword [ebp - 0x18]
call dword [section..00cfg]
push dword [ebp - 0x14]
push edi
call ecx
add esp, 8
mov esi, dword [ebp - 0x10]
cmp esi, 0x10
mov edx, esi
jb 0x5563db
movzx eax, byte [edi]
mov esi, eax
movzx eax, byte [edi + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 3]
mov dword [ebp - 0x38], eax
add edx, 0xfffffff0
mov dword [ebp - 0x10], edx
add ebx, 0x10
movzx eax, byte [edi + 4]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 5]
mov dword [ebp - 0x24], eax
movzx eax, byte [edi + 6]
mov dword [ebp - 0x28], eax
movzx eax, byte [edi + 7]
mov dword [ebp - 0x30], eax
movzx edx, byte [edi + 8]
movzx eax, byte [edi + 9]
mov dword [ebp - 0x40], eax
movzx eax, byte [edi + 0xa]
mov dword [ebp - 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [ebp - 0x48], eax
movzx eax, byte [edi + 0xc]
mov dword [ebp - 0x34], eax
movzx eax, byte [edi + 0xd]
mov dword [ebp - 0x3c], eax
mov eax, ecx
movzx ecx, byte [edi + 0xe]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [edi + 0xf]
mov dword [ebp - 0x4c], ecx
mov ecx, esi
jmp 0x5562b0
mov edx, ecx
test edx, edx
jne 0x5563e6
jmp 0x55655e
mov ecx, dword [ebp + 0x14]
test edx, edx
je 0x55655e
xor eax, eax
cmp edx, 8
mov dword [ebp - 0x10], edx
jb 0x5564ef
lea ecx, [ebx + edx]
cmp ecx, edi
jbe 0x556406
lea ecx, [edi + edx]
cmp ebx, ecx
jb 0x5564ef
xor eax, eax
cmp edx, 0x20
jb 0x5564bb
mov eax, edx
and eax, 0xffffffe0
lea ecx, [eax - 0x20]
mov edx, ecx
shr edx, 5
add edx, 1
test ecx, ecx
je 0x55647f
mov esi, edx
and edx, 0xfffffffe
xor ecx, ecx
nop dword [eax]
movups xmm0, xmmword [ebx + ecx]
movups xmm1, xmmword [ebx + ecx + 0x10]
movups xmm2, xmmword [edi + ecx]
xorps xmm2, xmm0
movups xmm0, xmmword [edi + ecx + 0x10]
xorps xmm0, xmm1
movups xmmword [edi + ecx], xmm2
movups xmmword [edi + ecx + 0x10], xmm0
movups xmm0, xmmword [ebx + ecx + 0x20]
movups xmm1, xmmword [ebx + ecx + 0x30]
movups xmm2, xmmword [edi + ecx + 0x20]
xorps xmm2, xmm0
movups xmm0, xmmword [edi + ecx + 0x30]
xorps xmm0, xmm1
movups xmmword [edi + ecx + 0x20], xmm2
movups xmmword [edi + ecx + 0x30], xmm0
add ecx, 0x40
add edx, 0xfffffffe
jne 0x556430
jmp 0x556483
mov esi, edx
xor ecx, ecx
mov edx, esi
test dl, 1
je 0x5564ab
movups xmm0, xmmword [ebx + ecx]
movups xmm1, xmmword [ebx + ecx + 0x10]
movups xmm2, xmmword [edi + ecx]
xorps xmm2, xmm0
movups xmm0, xmmword [edi + ecx + 0x10]
xorps xmm0, xmm1
movups xmmword [edi + ecx], xmm2
movups xmmword [edi + ecx + 0x10], xmm0
mov edx, dword [ebp - 0x10]
cmp edx, eax
je 0x556549
test dl, 0x18
je 0x5564ef
mov ecx, eax
mov eax, edx
and eax, 0xfffffff8
nop word cs:[eax + eax]
nop dword [eax]
movsd xmm0, qword [ebx + ecx]
movsd xmm1, qword [edi + ecx]
xorps xmm1, xmm0
movlps qword [edi + ecx], xmm1
add ecx, 8
cmp eax, ecx
jne 0x5564d0
mov edx, dword [ebp - 0x10]
cmp edx, eax
je 0x556549
mov esi, eax
not esi
add esi, edx
and edx, 3
je 0x55650f
nop word [eax + eax]
movzx ecx, byte [ebx + eax]
xor byte [edi + eax], cl
add eax, 1
add edx, 0xffffffff
jne 0x556500
cmp esi, 3
mov edx, dword [ebp - 0x10]
jb 0x556549
nop word [eax + eax]
movzx ecx, byte [ebx + eax]
xor byte [edi + eax], cl
movzx ecx, byte [ebx + eax + 1]
xor byte [edi + eax + 1], cl
movzx ecx, byte [ebx + eax + 2]
xor byte [edi + eax + 2], cl
movzx ecx, byte [ebx + eax + 3]
xor byte [edi + eax + 3], cl
add eax, 4
cmp edx, eax
jne 0x556520
mov ecx, dword [ebp - 0x18]
call dword [section..00cfg]
push dword [ebp - 0x14]
push edi
call ecx
add esp, 8
mov ecx, dword [ebp + 0x14]
lea eax, [ecx*8]
shr ecx, 0x1d
push ecx
push eax
call fcn.006d7f32
add esp, 8
xor dword [edi + 8], eax
xor dword [edi + 0xc], edx
mov ecx, dword [ebp - 0x18]
call dword [section..00cfg]
push dword [ebp - 0x14]
push edi
call ecx
add esp, 8
push dword [edi + 0xc]
call fcn.006d7f05
add esp, 4
mov esi, eax
add esi, 1
mov ecx, dword [edi + 0x168]
lea ebx, [edi + 0x20]
call dword [section..00cfg]
push dword [ebp + 0xc]
push ebx
push edi
call ecx
add esp, 0xc
push esi
call fcn.006d7f05
add esp, 4
mov dword [edi + 0xc], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret