Function at 0x10003520
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm1, xmmword [0x103bb510]
xor eax, eax
push esi
mov esi, ecx
push edi
lea edx, [esi + 0x163c]
nop dword [eax]
movups xmm0, xmmword [edx - 4]
lea edx, [edx + 0x20]
xorps xmm0, xmm1
movups xmmword [ebp + eax*4 - 0x808], xmm0
movups xmm0, xmmword [edx - 0x14]
xorps xmm0, xmm1
movups xmmword [ebp + eax*4 - 0x7f8], xmm0
add eax, 8
cmp eax, 0x80
jb 0x10003560
mov ecx, 0x80
lea edx, [esi + 0x103c]
nop word [eax + eax]
mov eax, dword [edx - 4]
lea edx, [edx + 0x20]
mov dword [ebp + ecx*4 - 0x808], eax
mov eax, dword [edx - 0x20]
mov dword [ebp + ecx*4 - 0x804], eax
mov eax, dword [edx - 0x1c]
mov dword [ebp + ecx*4 - 0x800], eax
mov eax, dword [edx - 0x18]
mov dword [ebp + ecx*4 - 0x7fc], eax
mov eax, dword [edx - 0x14]
mov dword [ebp + ecx*4 - 0x7f8], eax
mov eax, dword [edx - 0x10]
mov dword [ebp + ecx*4 - 0x7f4], eax
mov eax, dword [edx - 0xc]
mov dword [ebp + ecx*4 - 0x7f0], eax
mov eax, dword [edx - 8]
mov dword [ebp + ecx*4 - 0x7ec], eax
add ecx, 8
cmp ecx, 0x200
jb 0x100035a0
movss xmm6, dword [0x103bafc0]
lea ecx, [esi + 0xc34]
movss xmm7, dword [0x103bb2fc]
lea edi, [ebp - 0x40c]
xor edx, edx
nop dword [eax]
movss xmm5, dword [ebp + edx*8 - 0x808]
movss xmm4, dword [ebp + edx*8 - 0x408]
inc edx
subss xmm5, dword [edi + 0x400]
subss xmm4, dword [edi]
movss xmm3, dword [ecx + 4]
sub edi, 8
movss xmm2, dword [ecx]
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm5, xmm6
mulss xmm4, xmm7
mulss xmm1, xmm5
mulss xmm0, xmm4
mulss xmm2, xmm4
mulss xmm3, xmm5
addss xmm1, xmm0
subss xmm2, xmm3
movss dword [ebp - 0x810], xmm1
mov eax, dword [ebp - 0x810]
mov dword [ecx - 0xc2c], eax
movss dword [ebp - 0x80c], xmm2
mov eax, dword [ebp - 0x80c]
mov dword [ecx - 0xc28], eax
add ecx, 8
cmp edx, 0x80
jb 0x10003620
lea ecx, [esi + 8]
call fcn.10004120
mov ecx, esi
call fcn.10003fc0
push dword [esi + 4]
lea ecx, [esi + 0x408]
push dword [esi]
call fcn.10004770
mov ecx, esi
call fcn.10003f20
movss xmm7, dword [0x103bafec]
lea ecx, [esi + 0xc38]
mov edx, 0x80
movss xmm5, dword [ecx - 0xc2c]
movaps xmm2, xmm7
divss xmm2, dword [esi + 0x1034]
movss xmm4, dword [ecx - 0xc30]
movaps xmm0, xmm5
movss xmm3, dword [ecx - 4]
addss xmm2, xmm2
mulss xmm0, dword [ecx]
movaps xmm1, xmm4
mulss xmm4, dword [ecx]
mulss xmm1, xmm3
mulss xmm3, xmm5
addss xmm1, xmm0
subss xmm3, xmm4
mulss xmm1, xmm2
mulss xmm3, xmm2
movss dword [ebp - 0x810], xmm1
mov eax, dword [ebp - 0x810]
mov dword [ecx - 0xc30], eax
movss dword [ebp - 0x80c], xmm3
mov eax, dword [ebp - 0x80c]
mov dword [ecx - 0xc2c], eax
add ecx, 8
sub edx, 1
jne 0x100036e1
movss xmm1, dword [0x103bb510]
lea ecx, [esi + 0x1038]
lea edx, [esi + 0x142c]
mov esi, 0x10
mov eax, dword [ecx - 0x1030]
lea ecx, [ecx + 0x40]
mov dword [ecx - 0x40], eax
lea edx, [edx - 0x40]
movss xmm0, dword [ecx - 0x106c]
xorps xmm0, xmm1
movss dword [edx + 0x48], xmm0
mov eax, dword [ecx - 0x1068]
mov dword [ecx - 0x38], eax
movss xmm0, dword [ecx - 0x1064]
xorps xmm0, xmm1
movss dword [edx + 0x40], xmm0
mov eax, dword [ecx - 0x1060]
mov dword [ecx - 0x30], eax
movss xmm0, dword [ecx - 0x105c]
xorps xmm0, xmm1
movss dword [edx + 0x38], xmm0
mov eax, dword [ecx - 0x1058]
mov dword [ecx - 0x28], eax
movss xmm0, dword [ecx - 0x1054]
xorps xmm0, xmm1
movss dword [edx + 0x30], xmm0
mov eax, dword [ecx - 0x1050]
mov dword [ecx - 0x20], eax
movss xmm0, dword [ecx - 0x104c]
xorps xmm0, xmm1
movss dword [edx + 0x28], xmm0
mov eax, dword [ecx - 0x1048]
mov dword [ecx - 0x18], eax
movss xmm0, dword [ecx - 0x1044]
xorps xmm0, xmm1
movss dword [edx + 0x20], xmm0
mov eax, dword [ecx - 0x1040]
mov dword [ecx - 0x10], eax
movss xmm0, dword [ecx - 0x103c]
xorps xmm0, xmm1
movss dword [edx + 0x18], xmm0
mov eax, dword [ecx - 0x1038]
mov dword [ecx - 8], eax
movss xmm0, dword [ecx - 0x1034]
xorps xmm0, xmm1
movss dword [edx + 0x10], xmm0
sub esi, 1
jne 0x10003774
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100980ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret