Function at 0x57dfb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f62d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00409430
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x18]
test al, 1
je 0x57e004
lea edi, [esi + 2]
jmp 0x57e20a
mov dword [ebp - 0x14], 0
test al, 2
jne 0x57e068
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ecx + 0xc]
xor eax, dword [ecx + 4]
xor eax, dword [ecx]
xor eax, dword [ecx + 8]
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x57e068
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edx]
nop dword [eax]
cmp dword [ecx + 4], eax
jne 0x57e062
mov edx, dword [ebp - 0x24]
cmp dword [ecx + 8], edx
mov edx, dword [ebp + 8]
jne 0x57e062
mov eax, dword [ecx + 0xc]
cmp eax, dword [edx + 8]
jne 0x57e060
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0xc]
je 0x57e095
mov eax, dword [edx]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x57e040
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
cmp edx, eax
jb 0x57e1a2
cmp eax, 2
mov dword [ebp - 0x24], 2
lea ecx, [eax + eax]
cmovb ecx, dword [ebp - 0x24]
cmp ecx, edx
jae 0x57e0ad
mov edi, 3
jmp 0x57e20a
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x14], xmm0
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x24], eax
mov esi, dword [ebp - 0x10]
jmp 0x57e208
push dword [edi + 0x18]
mov eax, dword [edi]
push edi
push ecx
mov ecx, edi
mov eax, dword [eax + 8]
call eax
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
je 0x57e1bd
mov al, byte [edx + 0x18]
not al
test al, 1
je 0x57e1bd
cmp dword [edi + 0x14], 0
je 0x57e174
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x1c], 0
jbe 0x57e174
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
nop word [eax + eax]
mov eax, dword [edi + 0x14]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x57e14f
lea eax, [edx + 0x10]
mov dword [ebp - 0x28], eax
mov esi, dword [ecx]
xor edx, edx
dec dword [edi + 0xc]
mov eax, dword [ecx + 0x10]
xor eax, dword [ecx + 0xc]
xor eax, dword [ecx + 8]
xor eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x28]
div dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x14]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x18], esi
mov dword [edx], eax
mov dword [ecx], edx
mov ecx, esi
mov edx, dword [ebp - 0x14]
inc dword [edx + 0xc]
test esi, esi
jne 0x57e113
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, 4
mov dword [ebp - 0x20], ecx
mov dword [esi + eax], 0
add esi, 4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], eax
cmp eax, dword [edi + 0x10]
jb 0x57e100
mov eax, dword [edi]
mov ecx, edi
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ecx + 0xc]
xor eax, dword [ecx + 4]
xor eax, dword [ecx]
xor eax, dword [ecx + 8]
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x14], eax
push ecx
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
push eax
call fcn.00582da0
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x57e1c7
lea edi, [eax + 2]
jmp 0x57e20a
mov esi, dword [ebp - 0x10]
mov edi, 2
jmp 0x57e20a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], ecx
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x14], xmm0
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
inc dword [edi + 0xc]
mov dword [ebp - 0x10], esi
xor edi, edi
test esi, esi
je 0x57e21c
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.00539fb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc