Function at 0x100030e0
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, 0x848
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm6, dword [0x103bafc0]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x844], esi
mov edi, 0x80
lea ecx, [esi + 0xc34]
lea edx, [esi + 0x1434]
nop dword [eax]
movss xmm5, dword [ecx + 0x404]
movss xmm4, dword [edx]
sub edx, 8
mov eax, dword [ecx]
mov dword [ebp - 0x818], eax
mov eax, dword [ecx + 4]
movss xmm3, dword [ebp - 0x818]
mov dword [ebp - 0x814], eax
movaps xmm1, xmm3
movss xmm2, dword [ebp - 0x814]
mulss xmm5, xmm6
movaps xmm0, xmm2
mulss xmm4, xmm6
mulss xmm1, xmm5
mulss xmm0, xmm4
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm1, xmm0
subss xmm3, xmm2
movss dword [ebp - 0x810], xmm1
mov eax, dword [ebp - 0x810]
mov dword [ecx - 0xc2c], eax
movss dword [ebp - 0x80c], xmm3
mov eax, dword [ebp - 0x80c]
mov dword [ecx - 0xc28], eax
add ecx, 8
sub edi, 1
jne 0x10003130
lea edi, [esi + 8]
mov ecx, edi
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 [0x103bb220]
mov ecx, 0x80
nop
movss xmm4, dword [0x103bafec]
divss xmm4, dword [esi + 0x1034]
mov eax, dword [edi + 0xc2c]
mov dword [ebp - 0x818], eax
mov eax, dword [edi + 0xc30]
mov dword [ebp - 0x814], eax
movss xmm6, dword [edi + 4]
movss xmm5, dword [edi]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x814]
movaps xmm1, xmm5
mulss xmm1, dword [ebp - 0x818]
mulss xmm6, dword [ebp - 0x818]
mulss xmm5, dword [ebp - 0x814]
addss xmm1, xmm0
subss xmm6, xmm5
mulss xmm1, xmm4
mulss xmm6, xmm4
mulss xmm1, xmm7
mulss xmm6, xmm7
movss dword [ebp - 0x810], xmm1
mov eax, dword [ebp - 0x810]
mov dword [edi], eax
movss dword [ebp - 0x80c], xmm6
mov eax, dword [ebp - 0x80c]
mov dword [edi + 4], eax
add edi, 8
sub ecx, 1
jne 0x100031f0
lea eax, [ebp - 0x414]
xor edx, edx
sub eax, esi
lea edi, [ebp - 0x41c]
mov dword [ebp - 0x81c], eax
lea ecx, [esi + 0x14]
lea eax, [ebp - 0x40c]
sub edi, esi
sub eax, esi
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x804]
sub eax, esi
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x404]
sub eax, esi
mov dword [ebp - 0x828], eax
lea eax, [ebp - 0x7fc]
sub eax, esi
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x3fc]
sub eax, esi
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x7f4]
sub eax, esi
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x3f4]
sub eax, esi
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x7ec]
sub eax, esi
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x3ec]
sub eax, esi
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x7e4]
sub eax, esi
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x3e4]
sub eax, esi
mov esi, dword [ebp - 0x81c]
mov dword [ebp - 0x814], eax
nop word [eax + eax]
mov eax, dword [ecx - 0xc]
lea ecx, [ecx + 0x40]
mov dword [ebp + edx*8 - 0x808], eax
mov eax, dword [ecx - 0x48]
mov dword [edi + ecx - 0x40], eax
mov eax, dword [ecx - 0x44]
mov dword [ebp + edx*8 - 0x800], eax
mov eax, dword [ecx - 0x40]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x820]
mov eax, dword [ecx - 0x3c]
mov dword [ebp + edx*8 - 0x7f8], eax
add edx, 8
mov eax, dword [ecx - 0x38]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x824]
mov eax, dword [ecx - 0x34]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x828]
mov eax, dword [ecx - 0x30]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x82c]
mov eax, dword [ecx - 0x2c]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x830]
mov eax, dword [ecx - 0x28]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x834]
mov eax, dword [ecx - 0x24]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x838]
mov eax, dword [ecx - 0x20]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x83c]
mov eax, dword [ecx - 0x1c]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x840]
mov eax, dword [ecx - 0x18]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x80c]
mov eax, dword [ecx - 0x14]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x814]
mov eax, dword [ecx - 0x10]
mov dword [esi + ecx - 0x40], eax
mov esi, dword [ebp - 0x81c]
cmp edx, 0x80
jb 0x10003350
movaps xmm1, xmmword [0x103bb510]
lea ecx, [ebp - 0x10]
mov esi, dword [ebp - 0x844]
mov eax, 1
nop dword [eax + eax]
movss xmm0, dword [ecx]
lea ecx, [ecx - 8]
xorps xmm0, xmm1
movss dword [ebp + eax*4 - 0x808], xmm0
add eax, 2
cmp eax, 0x200
jb 0x10003440
xor ecx, ecx
lea edx, [esi + 0x103c]
nop word [eax + eax]
mov eax, dword [ebp + ecx*4 - 0x608]
lea edx, [edx + 0x20]
mov dword [edx - 0x24], eax
mov eax, dword [ebp + ecx*4 - 0x604]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + ecx*4 - 0x600]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + ecx*4 - 0x5fc]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + ecx*4 - 0x5f8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + ecx*4 - 0x5f4]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + ecx*4 - 0x5f0]
mov dword [edx - 0xc], eax
mov eax, dword [ebp + ecx*4 - 0x5ec]
add ecx, 8
mov dword [edx - 8], eax
cmp ecx, 0x180
jb 0x10003470
lea eax, [esi + 0x163c]
mov edx, 0x10
lea ecx, [ebp - 0x804]
nop
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movups xmm0, xmmword [ecx - 0x24]
xorps xmm0, xmm1
movups xmmword [eax - 0x24], xmm0
movups xmm0, xmmword [ecx - 0x14]
xorps xmm0, xmm1
movups xmmword [eax - 0x14], xmm0
sub edx, 1
jne 0x100034e0
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