Function at 0x564e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], ebx
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x48]
jne 0x564e9a
mov eax, 0xd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 4
push edi
push 0x200
call fcn.00479f06
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x564ec6
lea eax, [edi + 2]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
push esi
mov esi, dword [ebx + 0x4c]
push 0
push 0x200
push edi
push dword [ebx + 8]
mov dword [ebp - 0x20], esi
mov esi, dword [ebx + 0x50]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x21], 1
call eax
add esp, 0x10
cmp eax, 0x200
jne 0x5653eb
push edi
mov ecx, ebx
call fcn.005805c0
cmp dword [edi + 0x1fc], eax
je 0x564f46
mov eax, dword [ebx]
push 0x1000
push 0x20
push edi
push dword [ebx + 8]
mov byte [ebp - 0x21], 0
call eax
add esp, 0x10
cmp eax, 0x20
jne 0x564f32
cmp dword [edi], 0x6e696268
jne 0x564f32
mov esi, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x34], esi
jmp 0x564f43
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
xor edx, edx
mov edi, dword [ebp - 0x34]
xor ecx, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc], xmm0
nop word [eax + eax]
mov esi, dword [ebp + ecx*4 - 0x1c]
test esi, esi
je 0x565001
cmp dword [esi], 0x66676572
jne 0x564ff1
mov eax, dword [ebp + ecx*4 - 0x10]
mov dword [ebp - 0x38], eax
cmp eax, 0x230
jb 0x564ff1
cmp dword [esi + 0x1c], 6
jne 0x564ff1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x564ff1
push esi
mov ecx, ebx
call fcn.005805c0
cmp dword [esi + 0x1fc], eax
jne 0x564feb
mov eax, dword [ebp - 0x20]
cmp dword [esi + 0xc], eax
jne 0x564feb
cmp dword [esi + 0x10], edi
jne 0x564feb
mov eax, dword [esi + 0x20c]
cmp eax, dword [esi + 4]
jne 0x564feb
cmp eax, dword [ebx + 0x48]
jae 0x564fd3
cmp byte [ebp - 0x21], 0
jne 0x564feb
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, dword [ebp - 0x38]
add eax, 0xfffffe00
mov dword [ebp - 0x30], edx
mov dword [ebp + ecx*4 - 0x10], eax
jmp 0x565001
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + ecx*4 - 0x1c], 0
mov dword [ebp + ecx*4 - 0x10], 0
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 3
jb 0x564f70
mov edi, dword [ebp - 0x2c]
test edx, edx
jne 0x56502a
push 0x200
push edi
call fcn.0058bb51
mov eax, 0x49
jmp 0x5653fb
mov eax, 1
lea esi, [ebp - 0x10]
mov ecx, 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov edx, eax
cmp eax, 3
jae 0x565083
mov edi, dword [ebp + edx*4 - 0x1c]
test edi, edi
je 0x565077
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x565061
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
jbe 0x565077
mov ecx, dword [esi]
mov dword [esi - 0xc], edi
mov eax, dword [ebp + edx*4 - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp + edx*4 - 0x1c], eax
mov dword [ebp + edx*4 - 0x10], ecx
inc edx
cmp edx, 3
jb 0x565047
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
inc eax
add esi, 4
sub ecx, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], ecx
jne 0x565040
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp byte [ebp - 0x21], cl
jne 0x5650e8
mov edi, dword [ebp - 0x2c]
xor edx, edx
cmp dword [ebp - 0x18], ecx
mov eax, 2
setne dl
cmp dword [ebp - 0x14], ecx
mov ecx, 0x80
cmovne edx, eax
mov dword [ebp - 0x30], edx
mov esi, dword [ebp + edx*4 - 0x1c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
mov ecx, edx
inc dword [esi + 4]
mov dword [esi + 0x1c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x50], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebx + 0x60], xmm0
jmp 0x5650eb
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + ecx*4 - 0x1c]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
nop word [eax + eax]
lea eax, [ebp - 0x1c]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x5653ba
cmp dword [edi + 4], edx
jne 0x5653ba
add edi, 0x200
mov dword [ebp - 0x34], edi
cmp dword [edi], 0x454c7648
jne 0x56535f
mov ecx, dword [ebp + ecx*4 - 0x10]
mov dword [ebp - 0x38], ecx
cmp dword [edi + 4], ecx
ja 0x56535f
cmp dword [edi + 0xc], edx
jne 0x56535f
mov eax, dword [edi + 0x14]
lea ebx, [eax*8 + 0x28]
cmp ecx, ebx
jb 0x56535f
mov edi, dword [ebp - 0x34]
xor edx, edx
xor esi, esi
mov dword [ebp - 0x20], edx
cmp eax, 2
jb 0x565194
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0x34]
add ecx, 0xfffffffe
shr ecx, 1
inc ecx
lea edi, [ecx + ecx]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x34]
nop dword [eax + eax]
add edx, dword [eax - 8]
lea eax, [eax + 0x10]
add esi, dword [eax - 0x10]
sub ecx, 1
jne 0x565180
mov ecx, dword [ebp - 0x38]
mov eax, dword [edi + 0x14]
cmp dword [ebp - 0x20], eax
jae 0x5651a0
mov eax, dword [ebp - 0x20]
add ebx, dword [edi + eax*8 + 0x2c]
lea eax, [esi + edx]
add eax, ebx
cmp ecx, eax
jb 0x565359
mov dword [ebp - 0x20], 0x20
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov esi, 0x7a4e55c5
mov eax, 0x82ef4d88
mov dword [ebp - 0x40], 8
nop word [eax + eax]
movzx edx, byte [ebx + 3]
lea ebx, [ebx + 4]
movzx ecx, byte [ebx - 2]
sub edi, 4
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx - 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx - 4]
shl edx, 8
or edx, ecx
add esi, edx
xor eax, esi
rol esi, 0x14
add esi, eax
rol eax, 9
xor eax, esi
rol esi, 0x1b
add esi, eax
rol eax, 0x13
sub dword [ebp - 0x40], 1
jne 0x5651d0
mov dword [ebp - 0x20], edi
mov edx, 0x80
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x34]
sub ecx, 1
je 0x565241
sub ecx, 1
je 0x565238
sub ecx, 1
jne 0x565249
movzx edx, byte [ebx + 2]
or edx, 0x8000
movzx ecx, byte [ebx + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx]
shl edx, 8
or edx, ecx
add esi, edx
xor edx, edx
xor eax, esi
rol esi, 0x14
lea ecx, [esi + eax]
rol eax, 9
xor eax, ecx
rol ecx, 0x1b
add ecx, eax
rol eax, 0x13
xor eax, ecx
rol ecx, 0x14
add ecx, eax
rol eax, 9
xor eax, ecx
rol ecx, 0x1b
add ecx, eax
rol eax, 0x13
or edx, eax
cmp ecx, dword [edi + 0x20]
jne 0x565359
cmp edx, dword [edi + 0x24]
jne 0x565359
mov eax, dword [edi + 4]
push 0x82ef4d88
add eax, 0xffffffd8
push 0x7a4e55c5
push eax
lea eax, [edi + 0x28]
push eax
call fcn.00564d90
mov esi, dword [ebp - 0x2c]
add esp, 0x10
cmp eax, dword [edi + 0x18]
jne 0x56535c
cmp edx, dword [edi + 0x1c]
jne 0x56535c
mov edx, dword [esi + 0x90]
mov eax, edx
mov ecx, dword [edi + 8]
and eax, 0xfffffffe
or edx, 1
and cl, 1
lea ecx, [edi + 0x28]
cmove edx, eax
xor ebx, ebx
mov dword [esi + 0x90], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x14]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x565332
lea esi, [edi + 0x2c]
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi - 4]
add eax, 0x1000
push eax
push dword [esi]
mov eax, dword [ebp - 0x48]
push ecx
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
mov edx, dword [ebp - 0x20]
add esp, 0x10
cmp eax, edx
jne 0x5653b0
mov ecx, dword [ebp - 0x40]
inc ebx
add ecx, edx
add esi, 8
mov dword [ebp - 0x40], ecx
cmp ebx, dword [edi + 0x14]
jb 0x5652f4
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [edi + 4]
inc dword [ebp - 0x28]
add edi, dword [edi + 4]
cmp ecx, 0x30
mov dword [ebp + edx*4 - 0x10], ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edi
jae 0x565120
jmp 0x56535f
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x48]
lea eax, [edx - 1]
push 0
push 0x200
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
push esi
push dword [ebx + 8]
call eax
add esp, 0x10
cmp eax, 0x200
jne 0x5653b3
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x50], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebx + 0x60], xmm0
cmp ecx, 3
jae 0x5653ba
mov edx, dword [ebp - 0x28]
jmp 0x565100
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], 0x12
push 0x200
push dword [ebp - 0x2c]
call fcn.0058bb51
mov eax, dword [ebp - 0x3c]
add esp, 8
test eax, eax
jne 0x5653fe
mov ecx, ebx
call fcn.00580750
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 4
push 0x200
push edi
call fcn.0058bb51
mov eax, 0x12
add esp, 8
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 4