Function at 0x100983f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7ca1
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 0x100984e3
push 0x10337ccc
call fcn.1014be59
add esp, 4
cmp dword [0x10337ccc], 0xffffffff
jne 0x100984e3
mov eax, dword [0x10335868]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100984c5
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10098490
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x100984be
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x100984a3
cmp esi, 0xfcb59afa
je 0x100984c7
mov edi, dword [edi + 4]
test edi, edi
jne 0x10098487
xor edi, edi
push 0x10337ccc
mov dword [0x10337cd4], edi
call fcn.1014be08
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 0x10098c0c
movss xmm1, dword [ebp + 0x10]
ucomiss xmm1, dword [0x1022c598]
lahf
test ah, 0x44
jnp 0x10098c0c
mov eax, dword [0x10336270]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x10098bf8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x734]
call eax
mov dword [ebp - 0x84], eax
test eax, eax
je 0x10098bf8
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.1002ffd0
divss xmm2, xmm3
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm2
call fcn.100a9440
mulss xmm0, dword [0x1022c850]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [0x1022ca34]
divss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [ebp - 0x20]
call fcn.100a9440
mulss xmm0, dword [0x1022ca5c]
xorps xmm2, xmm2
mov dword [ebp - 0x28], 0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, xmm2
jb 0x100985ff
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x1022c908]
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.100a9f60
mov ecx, dword [ebx + esi*4]
add esp, 8
mov eax, dword [0x10337ce0]
cmp eax, dword [ecx + 4]
jle 0x1009871b
push 0x10337ce0
call fcn.1014be59
add esp, 4
cmp dword [0x10337ce0], 0xffffffff
jne 0x1009871b
movss xmm5, dword [0x1022c670]
xor edx, edx
movss xmm6, dword [0x1022c720]
movss xmm7, dword [0x1022c9f8]
lea ecx, [edx + 0xc]
lea esi, [edx + 6]
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 0x100986fc
add edx, eax
inc ecx
sub esi, 1
jne 0x100986a2
push 0x10337ce0
mov dword [0x10337cd8], edx
call fcn.1014be08
mov esi, dword [0x103357d4]
add esp, 4
mov ecx, dword [ebx + esi*4]
movss xmm0, dword [0x1022c720]
mov eax, dword [0x10335848]
movss dword [ebp - 0x14], xmm0
cmp eax, dword [ecx + 4]
jle 0x10098784
push 0x10335848
call fcn.1014be59
add esp, 4
cmp dword [0x10335848], 0xffffffff
jne 0x10098784
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.0x1009879c.26
movzx eax, byte [eax + 0x10098c38]
jmp dword [eax*4 + 0x10098c28]
movss xmm0, dword [0x1022c7a8]
movss dword [ebp - 0x14], xmm0
jmp 0x100987d5
movss xmm0, dword [0x1022c7c8]
movss dword [ebp - 0x14], xmm0
jmp 0x100987d5
movss xmm0, dword [0x1022c7c4]
movss dword [ebp - 0x14], xmm0
jmp 0x100987d5
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 [0x10335864]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
cmp dword [eax + 0xac], 0
jl 0x10098bf8
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x10098bf8
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 0x10098bf8
movss xmm0, dword [0x1022c720]
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.1014c1d5
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.1014c1d5
add esp, 4
mov dword [ebp - 0x24], eax
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memset
movss xmm5, dword [0x1022c670]
add esp, 0xc
movss xmm7, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x20], eax
movss xmm3, dword [0x1022c9f8]
add eax, 0xc
movss xmm1, dword [0x1022c9e0]
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 [0x1022c720]
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 0x10098ad0
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 0x10098a9b
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 2
call fcn.10018cd0
test al, al
je 0x10098a8f
lea ecx, [ebp - 0xec]
call fcn.1009a450
mov dword [esi + 0x24], eax
add esi, 0x28
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], esi
jmp 0x10098aae
lea eax, [ebp - 0xec]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.1009a0e0
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
inc edi
movss xmm6, dword [ebp - 0x48]
inc ebx
cmp edi, eax
jl 0x10098952
movss xmm5, dword [0x1022c670]
movss xmm7, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
test al, 1
jne 0x10098ae1
movss xmm0, dword [0x1022c744]
jmp 0x10098ae9
movss xmm0, dword [0x1022ca38]
addss xmm0, dword [ebp - 0x34]
subss xmm7, dword [0x1022c67c]
inc eax
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x38], xmm7
cmp eax, 6
jl 0x100988d3
mov ecx, dword [0x10337b98]
lea eax, [ebp - 0x30]
push eax
call fcn.100e6980
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov eax, dword [eax + 4]
push dword [eax + 0x100]
call fcn.100c4ea0
mov ecx, dword [0x10337cd8]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
subss xmm1, dword [0x1022c720]
test ecx, ecx
jle 0x10098b65
mov edx, dword [ebp - 0x18]
xorps xmm2, xmm2
movss xmm0, dword [edx + eax*4]
comiss xmm2, xmm0
jae 0x10098b60
comiss xmm0, xmm1
jb 0x10098b60
inc esi
inc eax
cmp eax, ecx
jl 0x10098b50
push dword [ebp - 0x18]
call fcn.1014c374
add esp, 4
push dword [ebp - 0x24]
call fcn.1014c374
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 [0x1022c720]
mulss xmm1, dword [ebp - 0x14]
comiss xmm1, dword [0x1022c598]
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.1004d6a0
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