Function at 0x101546b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [0x10240c80]
push esi
push edi
cmp byte [eax + 0x36f7], 0
je 0x1015500e
push 0x1046bd84
call fcn.101b54db
add esp, 4
test eax, eax
jne 0x10155022
cmp dword [0x1046bdb0], 0x7fffffff
je 0x10155029
cmp byte [0x10534060], al
mov eax, dword [0x10240c8c]
je 0x10154719
cmp byte [0x10534061], 0
jne 0x10154723
cmp byte [eax + 0x5c], 0
je 0x10155001
movss xmm0, dword [0x105340a0]
comiss xmm0, dword [0x1021520c]
jb 0x1015473e
cmp byte [eax + 0x5c], 0
je 0x10155001
cmp byte [eax + 0x5c], 0
xorps xmm1, xmm1
mov ecx, dword [0x10469550]
mov eax, ecx
je 0x1015475f
mov dword [ecx + 0x1cc8], 0x3e99999a
mov esi, ecx
mov edi, ecx
jmp 0x1015476d
mov dword [ecx + 0x1cc8], 0
mov esi, eax
mov edi, eax
movss xmm0, dword [eax + 0x54]
subss xmm0, dword [0x102154b0]
or dword [ecx + 0x1c74], 0x40
mov edx, dword [ecx + 0x1c74]
or edx, 3
mov dword [ecx + 0x1c88], 0x43820000
mov dword [ecx + 0x1c8c], 0
mulss xmm0, dword [0x102151ac]
mov dword [ecx + 0x1c90], 0
mov dword [ecx + 0x1c78], 2
mov dword [ecx + 0x1c74], edx
movss dword [ecx + 0x1c84], xmm0
movss xmm0, dword [0x10240c2c]
movss dword [ecx + 0x1c94], xmm0
mov dword [ecx + 0x1c98], 0
mov dword [ecx + 0x1c7c], 2
mov eax, dword [0x10240c8c]
cmp byte [eax + 0x5c], 0
jne 0x1015480b
movss dword [ecx + 0x1c94], xmm0
mov esi, edi
mov dword [ecx + 0x1c7c], 1
movss xmm0, dword [0x102155e4]
lea eax, [esp + 0xb0]
movss xmm2, dword [0x102155ac]
or edx, 0x10
mov dword [ecx + 0x1c74], edx
movss dword [esp + 0xb0], xmm1
mov dword [ecx + 0x1cb0], 0
movss dword [ecx + 0x1cb4], xmm0
movss dword [ecx + 0x1cb8], xmm2
movss dword [ecx + 0x1cbc], xmm0
mov dword [ecx + 0x1cc0], 0
mov dword [ecx + 0x1cc4], 0
lea ecx, [esi + 0x1cf4]
movss xmm0, dword [esi + 0x156c]
push eax
mov dword [esp + 0xb4], 2
movss dword [esp + 0xb8], xmm0
call fcn.1017e400
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0xb0]
mov esi, dword [0x10469550]
push eax
mov dword [esp + 0xb4], 8
movups xmm0, xmmword [esi + 0x16a4]
lea ecx, [esi + 0x1ce8]
movups xmmword [esp + 0xb8], xmm0
call fcn.1017e4b0
mov dword [esi + 0x16a4], 0
mov ecx, 1
mov dword [esi + 0x16a8], 0
mov dword [esi + 0x16ac], 0
mov dword [esi + 0x16b0], 0x3f800000
mov esi, 0xc022b
mov eax, dword [0x10240c8c]
movq xmm0, qword [0x1020d558]
mov edi, dword [0x10241d90]
cmp byte [eax + 0x5c], 0
mov eax, dword [0x1020d560]
mov dword [esp + 0xb8], eax
cmovne esi, ecx
mov ax, word [0x1020d564]
xor edx, edx
mov word [esp + 0xbc], ax
mov al, byte [0x1020d566]
movq qword [esp + 0xb0], xmm0
mov byte [esp + 0xbe], al
mov dword [esp + 0x10], edx
cmp edi, 2
jl 0x10154a60
movaps xmm2, xmmword [0x10215760]
mov edx, 8
movaps xmm3, xmmword [0x10215bf0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov dword [esp + 0x10], edx
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215820]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102157a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102158a0]
movd xmm0, dword [0x1020d558]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10215900]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xb0], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215820]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102158a0]
movd xmm0, dword [esp + 0xb4]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10215900]
xorps xmm1, xmm0
movd dword [esp + 0xb4], xmm1
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0xb0], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0xf
jl 0x10154a60
push esi
xor edx, edx
lea ecx, [esp + 0xb4]
call fcn.101755f0
push ecx
lea ecx, [esp + 0x1c]
call fcn.100201c0
mov eax, dword [0x1020d030]
xor edx, edx
movq xmm0, qword [str.fZXOeXRIQ_A]
mov dword [esp + 0xb8], eax
mov al, byte [0x1020d034]
movq qword [esp + 0xb0], xmm0
mov byte [esp + 0xbc], al
mov dword [esp + 0x10], edx
cmp edi, 2
jl 0x10154bf4
movaps xmm2, xmmword [0x10215760]
mov edx, 8
movaps xmm4, xmmword [0x10215bf0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [0x10215900]
psrad xmm1, 5
mov dword [esp + 0x10], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215820]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102157a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.fZXOeXRIQ_A]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xb0], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215820]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0xb4]
xorps xmm1, xmm0
movd dword [esp + 0xb4], xmm1
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0xb0], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0xd
jl 0x10154bf4
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x18]
call fcn.100b9ed0
movss xmm0, dword [0x105340a0]
mulss xmm0, dword [0x10215488]
cvttss2si ecx, xmm0
push ecx
mov ecx, eax
call fcn.10020240
mov edx, 0x1020c048
mov ecx, eax
call fcn.100b9ed0
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x1c]
call fcn.10020120
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10154c7e
mov esi, dword [esi]
mov edi, dword [0x10469550]
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x10], xmm0
test esi, esi
jne 0x10154c9e
xorps xmm2, xmm2
jmp 0x10154d02
movss xmm3, dword [0x102155ac]
lea eax, [esp + 0xb0]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10183eb0
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [0x10215214]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x10]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov eax, dword [edi + 0x1bec]
subss xmm0, xmm2
push 1
xor edx, edx
mov ecx, esi
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x1bec]
mulss xmm0, dword [0x102151ac]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x104]
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.101867e0
mov ecx, dword [esp + 0xe8]
cmp ecx, 0xf
jbe 0x10154d92
mov edx, dword [esp + 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10154d88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015503a
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c80]
movups xmm0, xmmword [eax + 0x36e6]
mov al, byte [eax + 0x36f6]
movups xmmword [esp + 0xb0], xmm0
test al, al
je 0x10154e68
mov eax, dword [0x10240c7c]
movss xmm0, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call fcn.101ddf90
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x102152e0]
mulss xmm1, dword [0x102151ac]
addss xmm1, dword [0x102151ac]
cvtps2pd xmm0, xmm0
movss dword [esp + 0x14], xmm1
call fcn.101ddf90
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x1021536c]
mulss xmm1, dword [0x102151ac]
addss xmm1, dword [0x102151ac]
cvtps2pd xmm0, xmm0
movss dword [esp + 0xb0], xmm1
call fcn.101ddf90
movss xmm2, dword [0x102151ac]
xorps xmm5, xmm5
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [esp + 0xb0]
cvtsd2ss xmm5, xmm0
mulss xmm5, xmm2
addss xmm5, xmm2
jmp 0x10154e8b
movss xmm3, dword [esp + 0xb0]
movss xmm4, dword [esp + 0xb4]
movss xmm5, dword [esp + 0xb8]
movss xmm2, dword [0x102151ac]
movss xmm6, dword [0x1021521c]
xorps xmm0, xmm0
comiss xmm0, xmm3
movaps xmm7, xmm6
jbe 0x10154ea3
xorps xmm1, xmm1
jmp 0x10154eaa
movaps xmm1, xmm6
minss xmm1, xmm3
movss xmm3, dword [0x10215514]
mulss xmm1, xmm3
addss xmm1, xmm2
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x10154ecb
xorps xmm1, xmm1
jmp 0x10154ed2
movaps xmm1, xmm6
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10154eed
xorps xmm1, xmm1
jmp 0x10154ef4
movaps xmm1, xmm6
minss xmm1, xmm5
mulss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm7
ja 0x10154f0e
movaps xmm0, xmm6
minss xmm0, xmm7
mulss xmm0, xmm3
addss xmm0, xmm2
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov ecx, 0x29
call fcn.1016df40
movss xmm1, dword [0x1021521c]
movss xmm0, dword [0x105340a0]
call fcn.100bd4e0
mov edi, dword [0x10469550]
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x20]
mov eax, dword [0x10240c80]
movss dword [0x10240c2c], xmm0
cmp byte [eax + 0x337c], 0
je 0x10154f9a
mov eax, dword [edi + 0x1ce8]
mov edx, dword [edi + 0x1cf0]
lea esi, [eax + eax*4]
mov eax, dword [edx + esi*4 - 0x14]
movups xmm0, xmmword [edx + esi*4 - 0x10]
add eax, eax
movups xmmword [edi + eax*8 + 0x1624], xmm0
dec dword [edi + 0x1ce8]
mov ecx, 1
call fcn.1016e030
call fcn.10177890
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x18], 0x101eed7c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x14], eax
lea ecx, [esp + 0x1c]
call fcn.1001fd60
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x18], 0x101ef760
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x14], eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x6c], 0x101eedb0
call fcn.101b4f5f
add esp, 4
push 0x1046bd84
call fcn.101b550d
add esp, 4
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.101b5daa
mov esp, ebp
pop ebp
ret
push 5
call fcn.101b571c
push 6
mov dword [0x1046bdb0], 0x7ffffffe
call fcn.101b571c
call fcn.101bb1d6
int3