Function at 0x10263ba0
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, 0x48
mov eax, dword [0x12077240]
mov dword [ebp - 0x38], ecx
push esi
mov esi, edx
mov dword [ebp - 0x20], esi
push edi
test al, 1
jne 0x10263bf1
or eax, 1
mov dword [0x12077240], eax
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x1c8]
mov dword [0x12077244], ecx
jmp 0x10263bf7
mov ecx, dword [0x12077244]
test ecx, ecx
je 0x10263c16
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
je 0x10263c16
movss xmm0, dword [0x1046f104]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x11b92250]
xor edi, edi
add eax, 0xc6c19814
movss xmm1, dword [esi]
xor eax, 0x26996288
mov eax, dword [eax + 0x160]
mov ecx, dword [eax + 4]
mov eax, 0x1b4e81b5
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x96
sub ecx, eax
mov eax, dword [0x110e5830]
imul ecx, ecx, 0xc8
add eax, 0xaae697be
xor eax, 0x122398de
movss xmm0, dword [ecx + eax + 0x23c]
addss xmm0, dword [ecx + eax + 0x238]
mov eax, dword [ebx + 8]
subss xmm1, dword [eax + 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [eax + 0x2c]
movss dword [ebp - 4], xmm1
movss dword [ebp - 8], xmm0
divss xmm0, xmm1
call fcn.103885fe
movss xmm1, dword [ebp - 4]
movss xmm2, dword [ebp - 8]
mulss xmm1, xmm1
mov eax, dword [ebx + 8]
mulss xmm2, xmm2
mulss xmm0, dword [0x1046f2dc]
addss xmm2, xmm1
xorps xmm1, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0x30]
subss xmm0, dword [esi + 8]
sqrtss xmm1, xmm2
divss xmm0, xmm1
call fcn.103885fe
mulss xmm0, dword [0x1046f4ec]
xorps xmm2, xmm2
movss xmm1, dword [ebp - 0xc]
movss dword [ebp - 8], xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 4]
comiss xmm0, xmm2
jb 0x10263d0f
addss xmm1, dword [0x1046f384]
movss dword [ebp - 8], xmm1
fld dword [ebp - 0x10]
fld dword [0x1046f3d8]
call fcn.103885e0
movss xmm1, dword [0x1046f3d8]
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [0x1046f384]
movss dword [ebp - 4], xmm0
jbe 0x10263d44
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
movss xmm2, dword [0x1046f504]
comiss xmm2, xmm0
jbe 0x10263d5a
addss xmm0, xmm1
movss dword [ebp - 4], xmm0
fld dword [ebp - 8]
fld dword [0x1046f3d8]
call fcn.103885e0
movss xmm0, dword [0x1046f3d8]
fstp dword [ebp - 0x10]
movss xmm2, dword [ebp - 0x10]
comiss xmm2, dword [0x1046f384]
jbe 0x10263d85
subss xmm2, xmm0
movss xmm1, dword [0x1046f504]
comiss xmm1, xmm2
jbe 0x10263d96
addss xmm2, xmm0
mulss xmm2, dword [0x1046efc0]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.10232b00
movss xmm2, dword [ebp - 4]
lea edx, [ebp - 8]
mulss xmm2, dword [0x1046efc0]
lea ecx, [ebp - 4]
call fcn.10232b00
xorps xmm2, xmm2
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.10232b00
movss xmm6, dword [ebp - 0x10]
mov eax, 1
movss xmm7, dword [ebp - 0xc]
movaps xmm1, xmm6
mulss xmm1, dword [ebp - 8]
movss xmm5, dword [ebp - 4]
movss xmm3, dword [ebp - 0x14]
movaps xmm0, xmm5
xorps xmm0, xmmword [0x1046f8e0]
movaps xmm2, xmm5
movss xmm4, dword [ebp - 0x18]
movss dword [ebp - 0x10], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [ebp - 8]
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm6
mulss xmm2, xmm3
movss dword [ebp - 0x24], xmm1
movaps xmm1, xmm7
mulss xmm1, xmm4
mulss xmm0, xmm2
mulss xmm5, xmm4
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1046f4c0]
mulss xmm0, xmm6
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [ebp - 8]
movss dword [ebp - 4], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm2
mov dword [ebp - 8], eax
movss xmm2, dword [ebp - 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1046f4c0]
mulss xmm0, xmm1
movss dword [ebp - 4], xmm2
movaps xmm2, xmm7
mulss xmm2, xmm3
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm5
mulss xmm7, xmm5
mulss xmm6, xmm3
addss xmm2, xmm0
mulss xmm1, xmm4
subss xmm7, xmm6
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x28], xmm7
nop
movd xmm0, eax
xor esi, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1046f034]
mulss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x18], xmm0
nop dword [eax + eax]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1046f0d0]
movaps xmm0, xmm1
call fcn.10387910
movss xmm1, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
mov eax, dword [0x11b92250]
movaps xmm4, xmm0
movss xmm0, dword [ebp - 0xc]
movaps xmm3, xmm4
mulss xmm3, dword [ebp - 0x18]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [ebx + 8]
shufps xmm4, xmm4, 1
mulss xmm4, dword [ebp - 0x18]
mov eax, dword [eax + 0x15c]
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm1, dword [ebp - 0x10]
movss xmm2, dword [eax + 0x10c]
mov eax, dword [ebp - 0x20]
push dword [ebx + 0x10]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm4
push dword [ebx + 0xc]
mulss xmm1, xmm2
push dword [ecx + 4]
mov ecx, eax
addss xmm1, dword [eax]
push dword [ebp - 0x38]
movss dword [ebp - 0x44], xmm1
movss xmm1, dword [ebp - 4]
mulss xmm1, xmm3
addss xmm1, dword [ebp - 0x24]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, dword [eax + 4]
movss dword [ebp - 0x40], xmm1
movss xmm1, dword [ebp - 0x2c]
mulss xmm1, xmm3
addss xmm1, dword [ebp - 0x30]
addss xmm1, xmm0
mulss xmm1, xmm2
addss xmm1, dword [eax + 8]
movss dword [ebp - 0x3c], xmm1
call fcn.102635d0
add esp, 0x10
lea ecx, [edi + 1]
test al, al
cmove ecx, edi
inc esi
mov edi, ecx
cmp esi, 8
jl 0x10263ed0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 6
jle 0x10263eb0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
pop edi
pop esi
mulss xmm0, dword [0x1046efc8]
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret