Function at 0x10097e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a79a1
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x3c], eax
movss dword [ebp - 0x74], xmm1
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov ecx, dword [eax + 4]
xor edx, edx
add ecx, 8
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call eax
mov ebx, dword fs:[0x2c]
mov esi, dword [0x103357d4]
mov dword [edi], 0
mov eax, dword [0x10337ccc]
mov ecx, dword [ebx + esi*4]
cmp eax, dword [ecx + 4]
jle 0x10097f73
push 0x10337ccc
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337ccc], 0xffffffff
jne 0x10097f73
mov eax, dword [0x10335870]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x10097f55
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097f20
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x10097f4e
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x10097f33
cmp esi, 0xfcb59afa
je 0x10097f57
mov edi, dword [edi + 4]
test edi, edi
jne 0x10097f17
xor edi, edi
push 0x10337ccc
mov dword [0x10337cd4], edi
call fcn.1014bb7e
mov esi, dword [0x103357d4]
add esp, 4
mov edi, dword [ebp - 0x4c]
mov ecx, dword [0x10337cd4]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
jne 0x1009869c
movss xmm1, dword [ebp + 0x10]
ucomiss xmm1, dword [0x1022be90]
lahf
test ah, 0x44
jnp 0x1009869c
mov eax, dword [0x10336270]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x10098688
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x734]
call eax
mov dword [ebp - 0x84], eax
test eax, eax
je 0x10098688
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
movaps xmm3, xmm0
movss xmm4, dword [ecx + 8]
movaps xmm2, xmm1
subss xmm3, dword [eax]
subss xmm2, dword [eax + 4]
movss dword [ebp - 0x78], xmm0
movaps xmm0, xmm4
subss xmm0, dword [eax + 8]
movss dword [ebp - 0x7c], xmm1
movss dword [ebp - 0x80], xmm4
movaps xmm1, xmm2
movss dword [ebp - 0x1c], xmm3
mulss xmm1, xmm2
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm0, xmm1
call fcn.10030000
divss xmm2, xmm3
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm2
call fcn.100a9120
mulss xmm0, dword [0x1022c148]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [0x1022c31c]
divss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [ebp - 0x20]
call fcn.100a9120
mulss xmm0, dword [0x1022c344]
xorps xmm2, xmm2
mov dword [ebp - 0x28], 0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, xmm2
jb 0x1009808f
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x1022c1f4]
movss dword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x50], 0
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x54], 0
push eax
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
call fcn.100a9c40
mov ecx, dword [ebx + esi*4]
add esp, 8
mov eax, dword [0x10337ce0]
cmp eax, dword [ecx + 4]
jle 0x100981ab
push 0x10337ce0
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337ce0], 0xffffffff
jne 0x100981ab
movss xmm5, dword [0x1022bf68]
xor edx, edx
movss xmm6, dword [0x1022c018]
movss xmm7, dword [0x1022c2e0]
lea ecx, [edx + 0xc]
lea esi, [edx + 6]
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 0x1009818c
add edx, eax
inc ecx
sub esi, 1
jne 0x10098132
push 0x10337ce0
mov dword [0x10337cd8], edx
call fcn.1014bb7e
mov esi, dword [0x103357d4]
add esp, 4
mov ecx, dword [ebx + esi*4]
movss xmm0, dword [0x1022c018]
mov eax, dword [0x10335848]
movss dword [ebp - 0x14], xmm0
cmp eax, dword [ecx + 4]
jle 0x10098214
push 0x10335848
call fcn.1014bbcf
add esp, 4
cmp dword [0x10335848], 0xffffffff
jne 0x10098214
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.0x1009822c.26
movzx eax, byte [eax + 0x100986c8]
jmp dword [eax*4 + 0x100986b8]
movss xmm0, dword [0x1022c0a0]
movss dword [ebp - 0x14], xmm0
jmp 0x10098265
movss xmm0, dword [0x1022c0c0]
movss dword [ebp - 0x14], xmm0
jmp 0x10098265
movss xmm0, dword [0x1022c0bc]
movss dword [ebp - 0x14], xmm0
jmp 0x10098265
movss xmm0, dword [ebp - 0x14]
movss xmm1, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp - 0x3c]
divss xmm1, xmm0
mov ecx, dword [eax + 4]
add ecx, 4
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
movss dword [ebp + 0x10], xmm1
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 0x10098688
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x10098688
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl ecx, 4
add ecx, dword [ebp + 0x14]
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x40], eax
je 0x10098688
movss xmm0, dword [0x1022c018]
xor esi, esi
movss dword [ebp - 0x38], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 1
xor ebx, ebx
mov eax, dword [0x10337cd8]
mov edi, 4
mul edi
mov dword [ebp - 0x1c], esi
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.1014bf4b
add esp, 4
mov dword [ebp - 0x18], eax
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x10337cd8]
xor ebx, ebx
add esp, 0xc
mul edi
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.1014bf4b
add esp, 4
mov dword [ebp - 0x24], eax
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memset
movss xmm5, dword [0x1022bf68]
add esp, 0xc
movss xmm7, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x20], eax
movss xmm3, dword [0x1022c2e0]
add eax, 0xc
movss xmm1, dword [0x1022c2c8]
movaps xmm6, xmm7
imul eax, eax
xor edi, edi
mulss xmm6, dword [ebp - 0x74]
movss dword [ebp - 0x48], xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
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
movss xmm1, dword [0x1022c018]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
add eax, 6
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x10098560
mov ebx, dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0xd8], xmm0
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0xd4], xmm0
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0xd0], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [ebp - 0x70]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x84]
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [ebp - 0x6c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x3c]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [ebp - 0x68]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [ebp - 0x78]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x40]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov byte [ebp - 0xec], 1
mov dword [ebp - 0xe4], edi
movss dword [ebp - 0xdc], xmm6
movss dword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x88], eax
cmp esi, dword [ebp - 0x28]
je 0x1009852b
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 2
call fcn.10018cb0
test al, al
je 0x1009851f
lea ecx, [ebp - 0xec]
call fcn.10099ec0
mov dword [esi + 0x24], eax
add esi, 0x28
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], esi
jmp 0x1009853e
lea eax, [ebp - 0xec]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.10099b50
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
inc edi
movss xmm6, dword [ebp - 0x48]
inc ebx
cmp edi, eax
jl 0x100983e2
movss xmm5, dword [0x1022bf68]
movss xmm7, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
test al, 1
jne 0x10098571
movss xmm0, dword [0x1022c03c]
jmp 0x10098579
movss xmm0, dword [0x1022c320]
addss xmm0, dword [ebp - 0x34]
subss xmm7, dword [0x1022bf74]
inc eax
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x38], xmm7
cmp eax, 6
jl 0x10098363
mov ecx, dword [0x10337b98]
lea eax, [ebp - 0x30]
push eax
call fcn.100e6690
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov eax, dword [eax + 4]
push dword [eax + 0x100]
call fcn.100c4b60
mov ecx, dword [0x10337cd8]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
subss xmm1, dword [0x1022c018]
test ecx, ecx
jle 0x100985f5
mov edx, dword [ebp - 0x18]
xorps xmm2, xmm2
movss xmm0, dword [edx + eax*4]
comiss xmm2, xmm0
jae 0x100985f0
comiss xmm0, xmm1
jb 0x100985f0
inc esi
inc eax
cmp eax, ecx
jl 0x100985e0
push dword [ebp - 0x18]
call fcn.1014c0ed
add esp, 4
push dword [ebp - 0x24]
call fcn.1014c0ed
movd xmm0, dword [0x10337cd8]
lea eax, [ebp - 0x44]
movd xmm1, esi
lea ecx, [ebp - 0x48]
cvtdq2ps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x40], 0x3f800000
mov dword [ebp - 0x48], 0
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movss xmm0, dword [0x1022c018]
mulss xmm1, dword [ebp - 0x14]
comiss xmm1, dword [0x1022be90]
movss dword [ebp - 0x44], xmm1
cmovae ecx, eax
lea eax, [ebp - 0x40]
comiss xmm0, xmm1
cmovae eax, ecx
lea ecx, [ebp - 0x30]
movss xmm0, dword [eax]
comiss xmm0, dword [ebp + 0x10]
mov eax, dword [ebp - 0x4c]
movss dword [eax], xmm0
setae bl
call fcn.1004d310
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0x3f800000
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret