Function at 0x10252050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [0x1059bb04]
mov ebx, ecx
mov eax, dword [edi + 0x14]
movq xmm0, qword [edi + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [0x105b2748]
mov dword [ebp - 8], eax
movq qword [ebp - 0x40], xmm0
mov cl, byte [eax + 8]
mov byte [eax + 8], 1
mov eax, dword [0x105b2748]
mov byte [ebp - 1], cl
mov dword [ebp - 0xc], eax
mov cl, byte [eax + 0x18]
mov byte [eax + 0x18], 0
mov edx, dword [0x105b27f0]
mov byte [ebp - 2], cl
mov ecx, dword [0x105b27ec]
lea eax, [ecx + 0x2c]
movss xmm0, dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [edx + 0x2c]
lea esi, [ecx + 0x1c]
mov dword [ebp - 0x1c], eax
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax]
mov eax, dword [0x105b2750]
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1059ba80]
mov dword [ebp - 0x28], eax
movq xmm0, qword [eax + 0x35a8]
mov eax, dword [eax + 0x35b0]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
cmp ecx, dword [esi]
je 0x10252121
movd xmm0, ecx
mov eax, ecx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x103e4170]
cvtpd2ps xmm0, xmm0
movss dword [ecx + 0x2c], xmm0
mov ecx, dword [esi]
cmp ecx, dword [ecx + 0x1c]
lea esi, [ecx + 0x1c]
jne 0x102520f2
mov edx, dword [0x105b27f0]
cmp edx, dword [edx + 0x1c]
lea ecx, [edx + 0x1c]
je 0x1025215e
nop dword [eax]
mov eax, edx
xor eax, 0x7f7fffff
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x103e4170]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x2c], xmm0
mov edx, dword [ecx]
cmp edx, dword [edx + 0x1c]
lea ecx, [edx + 0x1c]
jne 0x10252130
mov dword [ebx + 0xd8], 0
xorps xmm1, xmm1
mov edx, dword [0x105b2a00]
mov eax, dword [0x1059ba80]
add edx, 0xffffffad
mov ecx, dword [0x1059bb04]
xor edx, 0xbacf8014
mov dword [edx + eax], ecx
mov eax, dword [0x1059bb04]
mov ecx, dword [eax + 0x40]
mov eax, dword [0x105b2908]
mov dword [eax], ecx
mov eax, dword [0x1059ba80]
mov dword [0x105b290c], eax
mov eax, dword [0x105b278c]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0xb8], eax
mov eax, dword [0x105b278c]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0xbc], eax
movss xmm0, dword [0x1059bb14]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [0x1059bb18]
movss dword [edi + 0x10], xmm0
movss xmm0, dword [0x1059bb1c]
movss dword [edi + 0x14], xmm0
mov ecx, dword [0x105b299c]
mov eax, dword [0x1059ba80]
add ecx, 0xffffffc6
xor ecx, 0xbacf7ffb
movd xmm0, dword [ecx + eax]
mov eax, dword [0x105b278c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
movss dword [eax + 0x10], xmm0
mov ecx, dword [0x105b2978]
mov eax, dword [0x1059ba80]
add ecx, 0xffffffcf
xor ecx, 0xbacf7ff2
test byte [ecx + eax], 0x40
mov eax, dword [0x105b278c]
jne 0x10252233
movss xmm1, dword [eax + 0x20]
movss dword [eax + 0x14], xmm1
mov ecx, dword [0x105b2794]
push dword [0x1059ba80]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [0x105b2750]
push dword [0x1059ba80]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [0x105b2748]
push ebx
push dword [0x105b2794]
mov eax, dword [ecx]
push dword [0x1059bb04]
push dword [0x1059ba80]
mov eax, dword [eax + 0x50]
call eax
mov ecx, dword [0x105b2750]
push ebx
push dword [0x1059ba80]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [0x105b2748]
push ebx
push dword [0x1059bb04]
mov eax, dword [ecx]
push dword [0x1059ba80]
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [0x105b2750]
push dword [0x1059ba80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
movss xmm0, dword [ebp - 0x10]
push 0
mov byte [eax + 8], cl
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 0x18], cl
mov eax, dword [0x105b2908]
mov dword [eax], 0xffffffff
mov ecx, dword [0x105b2a00]
mov eax, dword [0x1059ba80]
add ecx, 0xffffffad
mov dword [0x105b290c], 0
xor ecx, 0xbacf8014
mov dword [ecx + eax], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x18]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x28]
movss dword [eax + 0x35a8], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [eax + 0x35ac], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + 0x35b0], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [edi + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x14], xmm0
mov ecx, dword [0x105b2794]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret