Function at 0x499600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5afe
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x90]
mov edi, dword [ebp + 0x1c]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x20]
push str.Pbkdf2
push eax
mov dword [ebp - 0x98], edi
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x88], 0
call fcn.00430cc0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004132b0
push esi
call fcn.00484070
push eax
mov dword [ebp - 0xb4], eax
call fcn.00484240
mov ecx, dword [ebp + 0x18]
mov esi, eax
add esp, 8
mov dword [ebp - 0xc0], esi
lea eax, [ecx - 1]
add eax, esi
cdq
idiv esi
mov dword [ebp - 0xb8], eax
mov eax, ecx
cdq
mov ecx, 1
idiv esi
mov dword [ebp - 0x9c], ecx
mov eax, edx
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xb8], ecx
jl 0x4999e0
mov ecx, dword [ebp - 0xbc]
call fcn.00401c90
mov ecx, dword [ebp - 0xbc]
mov edi, eax
call fcn.00414910
mov ecx, dword [ebp - 0xa0]
mov esi, eax
call fcn.00401c90
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
call fcn.00414910
mov edx, dword [ebp - 0x9c]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0xa8], eax
shr ecx, 0x18
mov eax, edx
mov byte [ebp - 0x14], cl
mov ecx, edx
shr ecx, 0x10
mov byte [ebp - 0x13], cl
lea ecx, [ebp - 0x84]
shr eax, 8
mov byte [ebp - 0x12], al
mov byte [ebp - 0x11], dl
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x6c], 0
movq qword [ebp - 0x74], xmm0
call fcn.004118f0
push edi
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00412010
push 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x84]
call fcn.00412010
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x68]
movq qword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x68], xmm0
call fcn.004118f0
xorps xmm0, xmm0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x34], 0
call fcn.004118f0
xorps xmm0, xmm0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.004118f0
mov esi, dword [ebp - 0xb4]
lea eax, [ebp - 0x30]
push eax
push esi
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
push dword [ebp - 0xa8]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x84]
call fcn.00414910
push eax
call fcn.00498640
add esp, 0x18
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push eax
call fcn.00411fb0
lea ecx, [ebp - 0x30]
call fcn.00401c90
mov edi, eax
lea ecx, [ebp - 0x30]
cmp edi, dword [ebp + 0x18]
cmova edi, dword [ebp + 0x18]
mov dword [ebp - 0xac], edi
call fcn.00414910
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x49986f
lea ecx, [ebp - 0x30]
call fcn.00411b10
lea ecx, [ebp - 0x4c]
call fcn.00411b10
lea ecx, [ebp - 0x68]
call fcn.00411b10
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.00411b10
mov edi, dword [ebp - 0x98]
jmp 0x4999bb
cmp dword [ebp + 0x14], 1
mov dword [ebp - 0xb0], 1
jbe 0x499983
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0xa8]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x4c]
call fcn.00414910
push eax
call fcn.00498640
add esp, 0x18
lea ecx, [ebp - 0x68]
call fcn.00414910
mov esi, eax
test esi, esi
je 0x49983d
xor edx, edx
test edi, edi
je 0x49994b
mov ecx, dword [ebp - 0x94]
cmp edi, 0x20
jb 0x499929
lea eax, [esi - 1]
add eax, edi
cmp ecx, eax
ja 0x4998e3
lea eax, [ecx - 1]
add eax, edi
cmp eax, esi
jae 0x499929
mov eax, dword [ebp - 0x94]
mov ecx, edi
mov edi, esi
and ecx, 0xffffffe0
sub edi, eax
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [esi + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x4998f2
mov edi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x94]
cmp edx, edi
jae 0x49994b
sub esi, dword [ebp - 0x94]
add ecx, edx
sub edi, edx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x499937
mov edi, dword [ebp - 0xac]
lea ecx, [ebp - 0x4c]
call fcn.004132b0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00411fb0
lea ecx, [ebp - 0x68]
call fcn.004132b0
mov eax, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb0], eax
cmp eax, dword [ebp + 0x14]
jb 0x499883
mov edi, dword [ebp - 0x98]
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00411fb0
lea ecx, [ebp - 0x30]
call fcn.00411b10
lea ecx, [ebp - 0x4c]
call fcn.00411b10
lea ecx, [ebp - 0x68]
call fcn.00411b10
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.00411b10
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [ebp - 0xb8]
jle 0x4996d4
mov esi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x4999ee
sub esi, eax
mov ecx, edi
push esi
call fcn.00415e20
lea ecx, [ebp - 0x90]
call fcn.00430db0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret