Function at 0x100998b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7d21
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 0x1009997f
push 0x10337cdc
call fcn.1014be59
add esp, 4
cmp dword [0x10337cdc], 0xffffffff
jne 0x1009997f
mov eax, dword [0x10335868]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x10099967
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 0x10099930
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x10099960
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x10099945
cmp ecx, 0xfcb59afa
je 0x10099969
mov edi, dword [edi + 4]
test edi, edi
jne 0x10099925
xor edi, edi
push 0x10337cdc
mov dword [0x10337cd0], edi
call fcn.1014be08
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 0x100999a8
movss xmm0, dword [0x1022c720]
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 0x1009a0a8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x734]
call eax
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1009a0a8
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.1002ffd0
divss xmm2, xmm3
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm2
call fcn.100a9440
mulss xmm0, dword [0x1022c850]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x1022ca34]
divss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x30]
call fcn.100a9440
mulss xmm0, dword [0x1022ca5c]
mov dword [ebp - 0x1c], 0
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, dword [0x1022c598]
jb 0x10099acb
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [0x1022c908]
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.100a9f60
mov eax, dword [0x10337cc8]
add esp, 8
cmp eax, dword [esi + 4]
jle 0x10099be6
push 0x10337cc8
call fcn.1014be59
add esp, 4
cmp dword [0x10337cc8], 0xffffffff
jne 0x10099be6
movss xmm5, dword [0x1022c628]
xor edx, edx
movss xmm6, dword [0x1022c720]
movss xmm7, dword [0x1022c9f8]
lea ecx, [edx + 0xc]
lea esi, [edx + 6]
nop dword [eax + eax]
movss xmm1, dword [0x1022c9e0]
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 0x10099bca
add edx, eax
inc ecx
sub esi, 1
jne 0x10099b70
push 0x10337cc8
mov dword [0x10337ce4], edx
call fcn.1014be08
mov esi, dword [ebp - 0x10]
add esp, 4
movss xmm0, dword [0x1022c720]
mov eax, dword [0x10335848]
movss dword [ebp - 0x18], xmm0
cmp eax, dword [esi + 4]
jle 0x10099c4c
push 0x10335848
call fcn.1014be59
add esp, 4
cmp dword [0x10335848], 0xffffffff
jne 0x10099c4c
push ecx
push 0x8d29f550
mov dword [ebp - 4], 0
mov ecx, dword [0x10336104]
push 0x19c23329
call fcn.100bb3f0
push 0x10335848
mov dword [0x1033584c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014be08
add esp, 4
mov eax, dword [0x1033584c]
movsx eax, word [eax + edi]
add eax, 0xffffffe7
cmp eax, 0xa
ja case.0x10099c64.26
movzx eax, byte [eax + 0x1009a0cc]
jmp dword [eax*4 + 0x1009a0bc]
movss xmm0, dword [0x1022c7a8]
jmp 0x10099c87
movss xmm0, dword [0x1022c7c8]
jmp 0x10099c87
movss xmm0, dword [0x1022c7c4]
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 [0x10335864]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
cmp dword [eax + 0xac], 0
jl 0x1009a0a8
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x1009a0a8
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 0x1009a0a8
movss xmm7, dword [0x1022c720]
xorps xmm0, xmm0
movss xmm6, dword [0x1022c628]
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 [0x1022c9f8]
imul eax, eax
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [0x1022c9e0]
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 0x1009a03a
movss xmm1, dword [0x1022c7b0]
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.10066e90
mulss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x60]
call fcn.1002aaf0
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.1002ffd0
addss xmm0, dword [0x1022c5b8]
movss xmm6, dword [0x1022c720]
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 0x10099ec0
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x10099ec0
comiss xmm6, xmm3
xorps xmm2, xmm2
jbe 0x10099eb3
movss xmm0, dword [0x1022c964]
jmp 0x10099f3b
movss xmm0, dword [0x1022c88c]
jmp 0x10099f3b
movaps xmm0, xmm5
call fcn.1007b970
mulss xmm0, dword [0x1022c908]
xorps xmm2, xmm2
movsd xmm7, qword [0x1022c748]
movss xmm4, dword [0x1022c970]
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm7
cvtsd2ss xmm2, xmm0
comiss xmm3, xmm2
jbe 0x10099ef8
addss xmm2, xmm4
mulss xmm5, xmm5
mulss xmm1, xmm1
addss xmm5, xmm1
movaps xmm0, xmm5
call fcn.1002ffd0
xorps xmm6, xmmword [0x1022cc60]
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.1007b970
mulss xmm0, dword [0x1022c908]
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm7
cvtsd2ss xmm0, xmm0
comiss xmm3, xmm0
jbe 0x10099f3b
addss xmm0, xmm4
lea edx, [ebp - 0x24]
movss dword [ebp - 0x88], xmm0
lea ecx, [ebp - 0x88]
movss dword [ebp - 0x84], xmm2
call fcn.100a9d10
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.1002ffd0
addss xmm0, dword [0x1022c5b8]
movss xmm1, dword [0x1022c720]
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.10097fa0
movss xmm7, dword [0x1022c720]
xorps xmm1, xmm1
add esp, 0x10
comiss xmm0, xmm1
jbe 0x1009a014
movaps xmm0, xmm7
jmp 0x1009a017
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 0x10099da0
movss xmm6, dword [0x1022c628]
mov eax, dword [ebp - 0x30]
test al, 1
jne 0x1009a04b
movss xmm0, dword [0x1022c744]
jmp 0x1009a053
movss xmm0, dword [0x1022ca38]
movss xmm1, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x30], eax
addss xmm0, dword [ebp - 0x10]
subss xmm1, dword [0x1022c67c]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x14], xmm1
cmp eax, 6
jl 0x10099d16
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