Function at 0x100fd230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov ecx, dword [0x101cd520]
mov eax, 0x38e38e39
sub ecx, dword [0x101cd51c]
imul ecx
push ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
push esi
add ebx, edx
push edi
mov dword [ebp - 0x14], ebx
je 0x100fd701
mov ecx, dword [0x10140e2c]
test ecx, ecx
je 0x100fd701
mov eax, dword [0x101cca90]
lea edx, [ebx + ebx*8]
add eax, 0xffffffc1
xor eax, 0x5910726e
shl edx, 2
movd xmm2, dword [eax + ecx]
mov ecx, ebx
mov eax, dword [0x101cc864]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
movss dword [ebp - 8], xmm2
nop dword [eax]
mov esi, dword [0x101cd51c]
sub edx, 0x24
mov edi, ecx
mov dword [ebp - 4], edx
dec ecx
mov dword [ebp - 0xc], ecx
add esi, edx
je 0x100fd6f9
mov edx, dword [esi + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x101cc864]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
comiss xmm0, dword [0x1014cfc8]
jbe 0x100fd345
mov edi, dword [0x101cd520]
add esi, 0x24
cmp esi, edi
je 0x100fd339
lea edx, [esi - 0x10]
nop
mov eax, dword [esi]
lea edx, [edx + 0x24]
mov dword [edx - 0x38], eax
add esi, 0x24
mov eax, dword [edx - 0x10]
mov dword [edx - 0x34], eax
mov eax, dword [edx - 0xc]
mov dword [edx - 0x30], eax
mov eax, dword [edx - 8]
mov dword [edx - 0x2c], eax
mov eax, dword [edx - 4]
mov dword [edx - 0x28], eax
mov eax, dword [edx]
mov dword [edx - 0x24], eax
mov eax, dword [edx + 4]
mov dword [edx - 0x20], eax
movzx eax, byte [edx + 8]
mov byte [edx - 0x1c], al
movzx eax, byte [edx + 9]
mov byte [edx - 0x1b], al
mov eax, dword [edx + 0xc]
mov dword [edx - 0x18], eax
cmp esi, edi
jne 0x100fd2f0
mov ecx, dword [ebp - 0xc]
sub dword [0x101cd520], 0x24
jmp 0x100fd6f6
lea eax, [ebx - 1]
cmp ecx, eax
je 0x100fd35d
cmp edi, ebx
jae 0x100fd6f6
cmp edx, dword [esi + 0x3c]
je 0x100fd6f6
movss xmm6, dword [esi + 0xc]
movss xmm7, dword [esi + 0x10]
movss xmm2, dword [esi]
movss xmm3, dword [esi + 4]
subss xmm2, xmm6
movss xmm0, dword [esi + 0x14]
subss xmm3, xmm7
movss xmm4, dword [esi + 8]
subss xmm4, xmm0
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x28], xmm6
movaps xmm1, xmm2
movss dword [ebp - 0x2c], xmm7
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.1002bd80
addss xmm0, dword [0x10114d64]
movss xmm5, dword [0x10114e70]
movaps xmm1, xmm2
mulss xmm1, xmm2
divss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.1002bd80
movaps xmm1, xmm5
mov dword [ebp - 0x44], 0x12514650
mulss xmm1, xmm2
mov eax, 0x10
mov dword [ebp - 0x40], 0x574e550d
mov byte [ebp - 0x3c], 0x23
mulss xmm1, xmm0
addss xmm1, xmm6
movss dword [ebp - 0x30], xmm1
movaps xmm1, xmm5
mulss xmm1, xmm3
mulss xmm5, xmm4
mulss xmm1, xmm0
mulss xmm5, xmm0
movaps xmm0, xmmword [0x101157e0]
addss xmm1, xmm7
xorps xmm0, xmmword [0x10115a80]
addss xmm5, dword [ebp - 0x1c]
movups xmmword [ebp - 0x54], xmm0
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x38], xmm5
xor byte [ebp + eax - 0x54], 0x23
inc eax
cmp eax, 0x19
jb 0x100fd450
mov ecx, dword [0x101cc83c]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x101157e0]
xorps xmm0, xmmword [0x10115a80]
mov dword [ebp - 0x18], eax
mov eax, 0x10
mov dword [ebp - 0x44], 0x12514650
mov dword [ebp - 0x40], 0x574e550d
mov byte [ebp - 0x3c], 0x23
movups xmmword [ebp - 0x54], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x54], 0x23
inc eax
cmp eax, 0x19
jb 0x100fd4a0
mov eax, dword [0x101cc864]
movss xmm1, dword [ebp - 8]
mov ecx, dword [0x101cc894]
movzx ebx, byte [0x1014ceb6]
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [0x10114dcc]
push 1
movss dword [ebp - 0x20], xmm0
movd xmm0, dword [esi + 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x1014ceb4]
movzx esi, al
shr eax, 8
subss xmm1, xmm0
movzx edi, al
movss xmm0, dword [0x1014cfc8]
subss xmm0, xmm1
minss xmm0, dword [0x10114e70]
mulss xmm0, dword [0x10115040]
movss dword [ebp - 0x24], xmm0
call dword [0x101cc974]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100fd6eb
mov ecx, dword [0x101cc864]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0xc8], ecx
test edx, edx
js 0x100fd6eb
mov ecx, dword [0x101cc83c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x100fd699
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push edx
mov dword [eax + 0x30], 0
mov dword [eax + 0x150], ecx
mov dword [eax + 0x154], 0xffffffff
mov dword [eax + 0x158], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xf4], 0
mov ecx, dword [0x101cc83c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0x28]
mov dword [edx + 0x15c], eax
mov eax, dword [0x101cc864]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x10114dd8]
movss dword [edx + 0xc4], xmm0
movaps xmm0, xmm1
mov eax, dword [0x101cc864]
addss xmm0, dword [eax + 0x10]
mov dword [edx + 0xd8], 0
mov dword [edx + 0x34], 0
movss dword [edx + 0xdc], xmm1
movss xmm1, dword [ebp - 0x30]
movss dword [edx + 0xc8], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [edx + 0xec], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [edx + 0x48], xmm1
subss xmm1, xmm3
movss dword [edx + 0x4c], xmm2
subss xmm2, xmm4
movss dword [edx + 0x50], xmm0
subss xmm0, xmm5
movss dword [edx + 0x3c], xmm3
movss dword [edx + 0x40], xmm4
movss dword [edx + 0x44], xmm5
movss dword [edx + 0xb4], xmm1
movss dword [edx + 0xb8], xmm2
movss dword [edx + 0xbc], xmm0
mov dword [edx + 0xcc], 0x40400000
mov dword [edx + 0xd0], 0x40400000
mov dword [edx + 0xd4], 0x3f800000
mov dword [edx + 0xf0], 0x3e4ccccd
mov dword [edx + 0xfc], 2
jmp 0x100fd69c
mov edx, dword [ebp - 0x10]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [edx + 0xf8], 0
mov dword [edx + 0xf4], 0
push edx
movss dword [edx + 0xe0], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe8], xmm0
mov ecx, dword [0x101cc894]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
movss xmm2, dword [ebp - 8]
mov edx, dword [ebp - 4]
test ecx, ecx
jne 0x100fd2a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret