Function at 0x10097e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101adb31
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push esi
push edi
mov eax, dword [0x10249010]
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 esi, ecx
mov dword [ebp - 0x4c], esi
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 eax, dword fs:[0x2c]
mov ecx, dword [0x1039ea44]
mov dword [esi], 0
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x103a0fb4]
cmp eax, dword [ebx + 4]
jle 0x10097f5d
push 0x103a0fb4
call fcn.10151b0d
add esp, 4
cmp dword [0x103a0fb4], 0xffffffff
jne 0x10097f5d
mov eax, dword [0x1039ead8]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x10097f45
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097f10
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x10097f3e
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x10097f23
cmp esi, 0xfcb59afa
je 0x10097f47
mov edi, dword [edi + 4]
test edi, edi
jne 0x10097f02
xor edi, edi
push 0x103a0fb4
mov dword [0x103a0fbc], edi
call fcn.10151ac3
mov esi, dword [ebp - 0x4c]
add esp, 4
mov ecx, dword [0x103a0fbc]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
jne 0x1009868c
movss xmm1, dword [ebp + 0x10]
ucomiss xmm1, dword [0x10232c38]
lahf
test ah, 0x44
jnp 0x1009868c
mov eax, dword [0x1039f500]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x10098678
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x734]
call eax
mov dword [ebp - 0x84], eax
test eax, eax
je 0x10098678
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.1002f5d0
divss xmm2, xmm3
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm2
call fcn.100a9140
mulss xmm0, dword [0x10232ef0]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [0x102330dc]
divss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [ebp - 0x20]
call fcn.100a9140
mulss xmm0, dword [0x10233104]
xorps xmm2, xmm2
mov dword [ebp - 0x28], 0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, xmm2
jb 0x10098079
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x10232fa8]
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.100a9850
mov eax, dword [0x103a0fc8]
add esp, 8
cmp eax, dword [ebx + 4]
jle 0x10098193
push 0x103a0fc8
call fcn.10151b0d
add esp, 4
cmp dword [0x103a0fc8], 0xffffffff
jne 0x10098193
movss xmm5, dword [0x10232d10]
xor edx, edx
movss xmm6, dword [0x10232db8]
movss xmm7, dword [0x102330a0]
lea ecx, [edx + 0xc]
lea esi, [edx + 6]
nop dword [eax]
movss xmm1, dword [0x10233088]
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 0x1009817a
add edx, eax
inc ecx
sub esi, 1
jne 0x10098120
push 0x103a0fc8
mov dword [0x103a0fc0], edx
call fcn.10151ac3
add esp, 4
movss xmm0, dword [0x10232db8]
mov eax, dword [0x1039eab8]
movss dword [ebp - 0x14], xmm0
cmp eax, dword [ebx + 4]
jle 0x100981f9
push 0x1039eab8
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eab8], 0xffffffff
jne 0x100981f9
push ecx
push 0x8d29f550
mov dword [ebp - 4], 0
mov ecx, dword [0x1039f394]
push 0x19c23329
call fcn.100bc2f0
push 0x1039eab8
mov dword [0x1039eabc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039eabc]
movsx eax, word [eax + edi]
add eax, 0xffffffe7
cmp eax, 0xa
ja case.0x10098211.26
movzx eax, byte [eax + 0x100986b8]
jmp dword [eax*4 + 0x100986a8]
movss xmm0, dword [0x10232e48]
movss dword [ebp - 0x14], xmm0
jmp 0x1009824a
movss xmm0, dword [0x10232e68]
movss dword [ebp - 0x14], xmm0
jmp 0x1009824a
movss xmm0, dword [0x10232e64]
movss dword [ebp - 0x14], xmm0
jmp 0x1009824a
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 [0x1039ead4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
cmp dword [eax + 0xac], 0
jl 0x10098678
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x10098678
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 0x10098678
movss xmm0, dword [0x10232db8]
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 [0x103a0fc0]
mov edi, 4
mul edi
mov dword [ebp - 0x1c], esi
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.10151efb
add esp, 4
mov dword [ebp - 0x18], eax
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x103a0fc0]
xor ebx, ebx
add esp, 0xc
mul edi
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.10151efb
add esp, 4
mov dword [ebp - 0x24], eax
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memset
movss xmm5, dword [0x10232d10]
add esp, 0xc
movss xmm7, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x20], eax
nop dword [eax + eax]
movss xmm3, dword [0x102330a0]
add eax, 0xc
movss xmm1, dword [0x10233088]
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 [0x10232db8]
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 0x1009854e
mov ebx, dword [ebp - 0x1c]
nop
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 0x10098519
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
call fcn.10018b70
test al, al
je 0x1009850d
lea ecx, [ebp - 0xec]
call fcn.10099ee0
mov dword [esi + 0x24], eax
add esi, 0x28
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], esi
jmp 0x1009852c
lea eax, [ebp - 0xec]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.10099b70
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
inc edi
movss xmm6, dword [ebp - 0x48]
inc ebx
cmp edi, eax
jl 0x100983d0
movss xmm5, dword [0x10232d10]
movss xmm7, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
test al, 1
jne 0x1009855f
movss xmm0, dword [0x10232ddc]
jmp 0x10098567
movss xmm0, dword [0x102330e0]
addss xmm0, dword [ebp - 0x34]
subss xmm7, dword [0x10232d1c]
inc eax
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x38], xmm7
cmp eax, 6
jl 0x10098350
mov ecx, dword [0x103a0e2c]
lea eax, [ebp - 0x30]
push eax
call fcn.100e9cd0
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov eax, dword [eax + 4]
push dword [eax + 0x100]
call fcn.100c5e40
mov ecx, dword [0x103a0fc0]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
subss xmm1, dword [0x10232db8]
test ecx, ecx
jle 0x100985e5
mov edx, dword [ebp - 0x18]
xorps xmm2, xmm2
nop
movss xmm0, dword [edx + eax*4]
comiss xmm2, xmm0
jae 0x100985e0
comiss xmm0, xmm1
jb 0x100985e0
inc esi
inc eax
cmp eax, ecx
jl 0x100985d0
push dword [ebp - 0x18]
call fcn.1015209a
add esp, 4
push dword [ebp - 0x24]
call fcn.1015209a
movd xmm0, dword [0x103a0fc0]
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 [0x10232db8]
mulss xmm1, dword [ebp - 0x14]
comiss xmm1, dword [0x10232c38]
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.1004cff0
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 [esi], 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