Function at 0x10099320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7a21
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x34], ecx
mov eax, dword fs:[0x2c]
mov esi, dword [0x103357d4]
mov esi, dword [eax + esi*4]
mov eax, dword [0x10337cdc]
mov dword [ebp - 0x10], esi
cmp eax, dword [esi + 4]
jle 0x100993ef
push 0x10337cdc
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337cdc], 0xffffffff
jne 0x100993ef
mov eax, dword [0x10335870]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100993d7
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100993a0
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100993d0
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100993b5
cmp ecx, 0xfcb59afa
je 0x100993d9
mov edi, dword [edi + 4]
test edi, edi
jne 0x10099395
xor edi, edi
push 0x10337cdc
mov dword [0x10337cd0], edi
call fcn.1014bb7e
mov esi, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [0x10337cd0]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
je 0x10099418
movss xmm0, dword [0x1022c018]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10336270]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x10099b18
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x734]
call eax
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10099b18
mov ecx, dword [0x103362d8]
mov eax, dword [ebp - 0x14]
movss xmm0, dword [ecx + 0x198]
addss xmm0, dword [ecx + 0x194]
movss xmm1, dword [eax + 4]
movss xmm4, dword [eax + 8]
movaps xmm2, xmm1
movss dword [ebp - 0x70], xmm1
movss dword [ebp - 0x90], xmm1
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [eax]
mov eax, dword [ebp + 8]
movaps xmm3, xmm0
movss dword [ebp - 0x6c], xmm0
movss dword [ebp - 0x94], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0x74], xmm4
subss xmm0, dword [eax + 8]
subss xmm3, dword [eax]
subss xmm2, dword [eax + 4]
movss dword [ebp - 0x8c], xmm4
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x2c], xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10030000
divss xmm2, xmm3
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm2
call fcn.100a9120
mulss xmm0, dword [0x1022c148]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x1022c31c]
divss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x30]
call fcn.100a9120
mulss xmm0, dword [0x1022c344]
mov dword [ebp - 0x1c], 0
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, dword [0x1022be90]
jb 0x1009953b
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [0x1022c1f4]
movss dword [ebp - 0x20], xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0
push eax
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.100a9c40
mov eax, dword [0x10337cc8]
add esp, 8
cmp eax, dword [esi + 4]
jle 0x10099656
push 0x10337cc8
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337cc8], 0xffffffff
jne 0x10099656
movss xmm5, dword [0x1022bf20]
xor edx, edx
movss xmm6, dword [0x1022c018]
movss xmm7, dword [0x1022c2e0]
lea ecx, [edx + 0xc]
lea esi, [edx + 6]
nop dword [eax + eax]
movss xmm1, dword [0x1022c2c8]
mov eax, ecx
imul eax, ecx
xorps xmm4, xmm4
movaps xmm3, xmm7
cvtsi2ss xmm4, eax
mulss xmm4, xmm5
andps xmm3, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm6
subss xmm2, xmm0
cvttss2si eax, xmm2
add eax, 6
test eax, eax
jle 0x1009963a
add edx, eax
inc ecx
sub esi, 1
jne 0x100995e0
push 0x10337cc8
mov dword [0x10337ce4], edx
call fcn.1014bb7e
mov esi, dword [ebp - 0x10]
add esp, 4
movss xmm0, dword [0x1022c018]
mov eax, dword [0x10335848]
movss dword [ebp - 0x18], xmm0
cmp eax, dword [esi + 4]
jle 0x100996bc
push 0x10335848
call fcn.1014bbcf
add esp, 4
cmp dword [0x10335848], 0xffffffff
jne 0x100996bc
push ecx
push 0x8d29f550
mov dword [ebp - 4], 0
mov ecx, dword [0x10336104]
push 0x19c23329
call fcn.100bb0f0
push 0x10335848
mov dword [0x1033584c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x1033584c]
movsx eax, word [eax + edi]
add eax, 0xffffffe7
cmp eax, 0xa
ja case.0x100996d4.26
movzx eax, byte [eax + 0x10099b3c]
jmp dword [eax*4 + 0x10099b2c]
movss xmm0, dword [0x1022c0a0]
jmp 0x100996f7
movss xmm0, dword [0x1022c0c0]
jmp 0x100996f7
movss xmm0, dword [0x1022c0bc]
movss dword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, dword [eax + 4]
add ecx, 4
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x1033586c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
cmp dword [eax + 0xac], 0
jl 0x10099b18
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x10099b18
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x78], eax
je 0x10099b18
movss xmm7, dword [0x1022c018]
xorps xmm0, xmm0
movss xmm6, dword [0x1022bf20]
xorps xmm5, xmm5
movaps xmm1, xmm7
movss dword [ebp - 0x2c], xmm5
xor eax, eax
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm0
mov dword [ebp - 0x30], eax
mulss xmm1, dword [ebp - 0x5c]
add eax, 0xc
xor esi, esi
movss xmm3, dword [0x1022c2e0]
imul eax, eax
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [0x1022c2c8]
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm4, xmm6
andps xmm3, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm7
subss xmm2, xmm0
cvttss2si edi, xmm2
add edi, 6
test edi, edi
jle 0x10099aaa
movss xmm1, dword [0x1022c0a8]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x80], esi
divss xmm1, xmm0
movss dword [ebp - 0x7c], xmm1
nop
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x60], xmm0
call fcn.10066970
mulss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x60]
call fcn.1002ab30
movss xmm2, dword [ebp - 0x64]
movaps xmm1, xmm0
mulss xmm1, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x58]
movss xmm4, dword [ebp - 0x3c]
movss xmm3, dword [ebp - 0x38]
mulss xmm0, xmm1
mulss xmm5, xmm2
mulss xmm4, xmm2
addss xmm5, dword [ebp - 0x4c]
mulss xmm3, xmm2
addss xmm4, dword [ebp - 0x48]
addss xmm3, dword [ebp - 0x44]
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x54]
mulss xmm0, xmm1
addss xmm4, xmm0
movss xmm0, dword [ebp - 0x50]
mulss xmm0, xmm1
addss xmm3, xmm0
movaps xmm1, xmm4
movaps xmm0, xmm5
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm0, xmm1
call fcn.10030000
addss xmm0, dword [0x1022beb0]
movss xmm6, dword [0x1022c018]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
divss xmm6, xmm0
movaps xmm1, xmm6
mulss xmm1, xmm5
movaps xmm5, xmm6
mulss xmm5, xmm4
mulss xmm6, xmm3
xorps xmm3, xmm3
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x10099930
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x10099930
comiss xmm6, xmm3
xorps xmm2, xmm2
jbe 0x10099923
movss xmm0, dword [0x1022c250]
jmp 0x100999ab
movss xmm0, dword [0x1022c184]
jmp 0x100999ab
movaps xmm0, xmm5
call fcn.1007b490
mulss xmm0, dword [0x1022c1f4]
xorps xmm2, xmm2
movsd xmm7, qword [0x1022c040]
movss xmm4, dword [0x1022c25c]
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm7
cvtsd2ss xmm2, xmm0
comiss xmm3, xmm2
jbe 0x10099968
addss xmm2, xmm4
mulss xmm5, xmm5
mulss xmm1, xmm1
addss xmm5, xmm1
movaps xmm0, xmm5
call fcn.10030000
xorps xmm6, xmmword [0x1022c580]
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.1007b490
mulss xmm0, dword [0x1022c1f4]
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm7
cvtsd2ss xmm0, xmm0
comiss xmm3, xmm0
jbe 0x100999ab
addss xmm0, xmm4
lea edx, [ebp - 0x24]
movss dword [ebp - 0x88], xmm0
lea ecx, [ebp - 0x88]
movss dword [ebp - 0x84], xmm2
call fcn.100a99f0
movss xmm4, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x20]
movaps xmm1, xmm4
movss xmm2, dword [ebp - 0x1c]
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, xmm1
call fcn.10030000
addss xmm0, dword [0x1022beb0]
movss xmm1, dword [0x1022c018]
mov eax, dword [ebp - 0x68]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x78]
divss xmm1, xmm0
movss xmm0, dword [eax + 0x10c]
mov eax, dword [ebp - 0x34]
push dword [ebp + 0xc]
mulss xmm4, xmm1
push dword [eax + 4]
mulss xmm3, xmm1
mov eax, edx
lea edx, [ebp - 0x94]
mulss xmm2, xmm1
push eax
mulss xmm4, xmm0
mulss xmm3, xmm0
addss xmm4, dword [ebp - 0x6c]
mulss xmm2, xmm0
addss xmm3, dword [ebp - 0x70]
addss xmm2, dword [ebp - 0x74]
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm2
call fcn.10097a30
movss xmm7, dword [0x1022c018]
xorps xmm1, xmm1
add esp, 0x10
comiss xmm0, xmm1
jbe 0x10099a84
movaps xmm0, xmm7
jmp 0x10099a87
xorps xmm0, xmm0
addss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x7c]
inc esi
movaps xmm5, xmm0
movss dword [ebp - 0x2c], xmm5
cmp esi, edi
jl 0x10099810
movss xmm6, dword [0x1022bf20]
mov eax, dword [ebp - 0x30]
test al, 1
jne 0x10099abb
movss xmm0, dword [0x1022c03c]
jmp 0x10099ac3
movss xmm0, dword [0x1022c320]
movss xmm1, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x30], eax
addss xmm0, dword [ebp - 0x10]
subss xmm1, dword [0x1022bf74]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x14], xmm1
cmp eax, 6
jl 0x10099786
movd xmm0, dword [0x10337ce4]
cvtdq2ps xmm0, xmm0
divss xmm5, xmm0
mulss xmm5, dword [ebp - 0x18]
minss xmm5, xmm7
movaps xmm0, xmm5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret