Function at 0x56089e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
push edi
mov edi, dword [edx + 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov ebx, dword [edi + 0xc8]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], edi
lea eax, [ebx + 0x10]
cmp ecx, eax
je 0x5608f5
or eax, 0xffffffff
jmp 0x560bef
lea eax, [ebp - 0xa4]
neg eax
lea ecx, [ebp - 0xa4]
and eax, 0xf
lea edx, [edi + 0xd0]
add eax, ecx
mov dword [ebp - 0xc4], edx
push esi
lea edx, [edi + 0xa8]
mov dword [ebp - 0xa8], eax
push 0x40
lea ecx, [eax + 0x30]
mov dword [ebp - 0xc0], edx
pop edx
mov dword [ebp - 0xb4], ecx
lea esi, [eax + 0x40]
lea ecx, [edi + 0x20]
mov dword [ebp - 0xc8], edx
and dword [ecx], 0
push ecx
push edi
cmp ebx, edx
ja 0x560a73
add edx, 0x40
push edx
push 0x813da8
push eax
mov dword [ebp - 0xc8], edx
call fcn.0059d6f4
push dword [ebp - 0xa8]
lea eax, [edi + 0xd0]
push eax
call fcn.0059daf5
and dword [edi + 0x70], 0
lea esi, [edi + 0x94]
mov edi, dword [ebp - 0xb4]
add esp, 0x1c
mov eax, dword [ebp - 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [eax + 4], 0
xor edi, edi
mov dword [eax], 0xd
mov eax, dword [ebp - 0xcc]
and dword [eax + 0xb4], 0
mov dword [eax + 0xb0], ebx
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 8], edi
je 0x5609ef
test ebx, ebx
je 0x560a47
mov ecx, dword [ebp - 0xa8]
mov edi, ebx
mov edx, dword [ebp - 0xac]
add ecx, 0x40
mov esi, dword [ebp - 0xb0]
sub edx, ecx
sub esi, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
mov al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
sub ebx, 1
jne 0x5609dd
jmp 0x560a47
test ebx, ebx
je 0x560a47
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0xd4], ecx
add esi, 0x40
mov ecx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xd4]
sub ecx, esi
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xbc], ebx
mov al, byte [esi]
add ecx, esi
mov dl, byte [ecx + edi]
xor al, dl
mov byte [esi], dl
inc esi
mov byte [ecx], al
mov ecx, dword [ebp - 0xd8]
sub ebx, 1
jne 0x560a28
mov edi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xa8]
mov esi, edi
neg esi
and esi, 0xf
push esi
lea eax, [ebx + 0x40]
add eax, edi
push 0
push eax
call fcn.00739c90
lea eax, [esi + edi]
add esp, 0xc
lea ecx, [eax + 0x20]
lea edx, [eax + ebx]
jmp 0x560b59
push edx
push 0x813da8
push eax
call fcn.0059d6f4
push dword [ebp - 0xa8]
lea eax, [edi + 0xd0]
push eax
call fcn.0059daf5
push 0x10
lea eax, [edi + 0x94]
mov dword [edi + 0x20], 1
and dword [edi + 0x70], 0
push eax
lea eax, [edi + 0xd0]
push eax
call fcn.0059db99
lea eax, [edi + 0xa8]
mov dword [edi + 0xb0], ebx
xor ecx, ecx
mov dword [eax], 0xd
mov dword [eax + 4], ecx
add esp, 0x28
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0xb4], ecx
mov dword [ebp - 0xb4], esi
cmp dword [eax + 8], ecx
je 0x560b0a
mov esi, dword [ebp - 0xb0]
lea eax, [edi + 0x20]
push eax
push edi
push ebx
push dword [ebp - 0xac]
push esi
call fcn.0059d6f4
push ebx
lea eax, [edi + 0xd0]
push esi
push eax
call fcn.0059db99
jmp 0x560b30
mov esi, dword [ebp - 0xac]
lea eax, [edi + 0xd0]
push ebx
push esi
push eax
call fcn.0059db99
lea eax, [edi + 0x20]
push eax
push edi
push ebx
push esi
push dword [ebp - 0xb0]
call fcn.0059d6f4
add esp, 0x20
mov eax, ebx
neg eax
and eax, 0xf
push eax
push 0x813da8
push dword [ebp - 0xc4]
call fcn.0059db99
mov edx, dword [ebp - 0xa8]
add esp, 0xc
mov edi, ebx
push 0x10
pop ecx
mov ebx, dword [ebp - 0xac]
mov esi, dword [ebp - 0xc0]
add ebx, edi
mov dword [ebp - 0xbc], ebx
mov ebx, dword [ebp - 0xb0]
add ebx, edi
lea edi, [edx + 0x40]
movsd dword es:[edi], dword [esi]
push ecx
push dword [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc4]
push esi
call fcn.0059db99
push dword [ebp - 0xc8]
push dword [ebp - 0xa8]
call fcn.00562841
mov edx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xb4]
cmp dword [edx + 8], 0
lea ecx, [edi + 0x84]
cmovne eax, ecx
push eax
push esi
call fcn.0059da88
mov eax, dword [ebp - 0xb8]
add esp, 0x1c
or dword [edi + 0xc8], 0xffffffff
cmp dword [eax + 8], 0
je 0x560bfd
lea esi, [edi + 0x84]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xd0]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.007207bc
leave
ret
push 0x10
push dword [ebp - 0xbc]
push dword [ebp - 0xb4]
call fcn.0055446a
add esp, 0xc
test eax, eax
je 0x560be8
mov ecx, dword [ebp - 0xd0]
sub ebx, ecx
add ebx, 0x10
lea eax, [ecx - 0x10]
push eax
push 0
push ebx
call fcn.00739c90
add esp, 0xc
or eax, 0xffffffff
jmp 0x560bee