Function at 0x1005bf10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d748d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10157600]
lea eax, [ebp - 0x148]
movss xmm3, dword [0x100f6100]
push 0
push 0
movss xmm2, dword [esi + 0x3cfc]
push 0x100f1c94
push ecx
mov ecx, dword [esi + 0x3cf8]
mov dword [esp], 0xbf800000
push eax
call fcn.10039860
movss xmm0, dword [esi + 0x3cfc]
mov edx, 0x101758dc
addss xmm0, dword [esi + 0x3900]
movss xmm6, dword [0x100f5ec4]
xorps xmm7, xmm7
movss xmm1, dword [eax]
movss xmm2, dword [0x100f6094]
movss dword [0x10175a40], xmm1
mulss xmm0, dword [0x10175828]
movss dword [0x10175a44], xmm0
nop
mov ecx, dword [edx - 0x54]
xorps xmm0, xmm0
movzx eax, cl
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f6700]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm5, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
mulss xmm5, xmm6
addsd xmm0, qword [eax*8 + 0x100f6700]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm3, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
mulss xmm3, xmm6
addsd xmm0, qword [eax*8 + 0x100f6700]
cvtpd2ps xmm4, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
shr ecx, 0x1f
comiss xmm7, xmm5
addsd xmm0, qword [ecx*8 + 0x100f6700]
mulss xmm4, xmm6
cvtpd2ps xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, dword [esi + 0x38b0]
jbe 0x1005c067
movaps xmm0, xmm7
jmp 0x1005c073
movss xmm0, dword [0x100f5f68]
minss xmm0, xmm5
comiss xmm7, xmm3
movss xmm5, dword [0x100f5f68]
mulss xmm0, xmm2
addss xmm0, dword [0x100f5f1c]
cvttss2si ecx, xmm0
jbe 0x1005c095
movaps xmm0, xmm7
jmp 0x1005c09c
movaps xmm0, xmm5
minss xmm0, xmm3
movss xmm3, dword [0x100f5f1c]
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm4
jbe 0x1005c0bf
movaps xmm0, xmm7
jmp 0x1005c0c6
movaps xmm0, xmm5
minss xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1005c0e1
movaps xmm0, xmm7
jmp 0x1005c0e8
movaps xmm0, xmm5
minss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [edx], eax
add edx, 4
cmp edx, 0x10175930
jl 0x1005bfd0
mov eax, dword [esi + 0x3f94]
movss xmm0, dword [eax + 0x230]
subss xmm0, dword [eax + 0x18]
movss dword [ebp - 0xac], xmm0
movss xmm0, dword [eax + 0x234]
subss xmm0, dword [eax + 0x1c]
mov byte [eax + 0xb0], 1
cmp byte [0x10175868], 0
mov eax, dword [esi + 0x3f94]
movss dword [ebp - 0x94], xmm0
movss xmm0, dword [0x1017586c]
mov ecx, dword [eax + 0x26c]
mov dword [ebp - 0x88], ecx
movss dword [ebp - 0xb0], xmm0
je 0x1005c197
mov byte [0x10175868], 0
mov eax, dword [esi + 0x3f94]
mov dword [eax + 0x90], 0
mov dword [eax + 0x98], 0
mov dword [eax + 0xa0], 0
mov esi, dword [esi + 0x3f94]
sub esp, 8
movss xmm0, dword [esi + 0xf8]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [esi + 0xfc]
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [esi + 0x7c]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [esi + 0x80]
divss xmm0, dword [0x10175a44]
movss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [esp]
call fcn.100d51f0
movss xmm0, dword [ebp - 0x94]
addss xmm0, dword [esi + 0x80]
mov ecx, dword [0x10175830]
sub ecx, dword [0x1017582c]
fstp dword [ebp - 0x74]
cvttss2si eax, dword [ebp - 0x74]
divss xmm0, dword [0x10175a44]
mov dword [ebp - 0x90], eax
mov eax, 0x2aaaaaab
imul ecx
movss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [esp]
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
call fcn.100d51f0
cvttss2si ecx, dword [ebp - 0x74]
push edi
push str.__d
push 0x10
fstp dword [ebp - 0x5c]
cvttss2si eax, dword [ebp - 0x5c]
add eax, ecx
lea ecx, [edi - 1]
cmp eax, ecx
cmovl ecx, eax
xor esi, esi
test ecx, ecx
lea eax, [ebp - 0x24]
push eax
cmovg esi, ecx
mov dword [ebp - 0x84], esi
call fcn.10057ae0
mov edi, dword [0x10157600]
lea eax, [ebp - 0x24]
movss xmm3, dword [0x100f6100]
add esp, 0x18
movss xmm2, dword [edi + 0x3cfc]
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 0x3cf8]
lea eax, [ebp - 0x178]
mov dword [esp], 0xbf800000
push eax
call fcn.10039860
movd xmm0, dword [0x10175870]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax]
mov eax, dword [0x1017582c]
movss dword [0x1017586c], xmm0
cmp eax, dword [0x10175830]
je 0x1005d3e9
movss xmm3, dword [0x100f6100]
lea eax, [ebp - 0x188]
movss xmm2, dword [edi + 0x3cfc]
push 0
push 0
push 0x100f1104
push ecx
mov ecx, dword [edi + 0x3cf8]
mov dword [esp], 0xbf800000
push eax
call fcn.10039860
cvttss2si edi, dword [ebp - 0x74]
movss xmm0, dword [eax]
movss dword [ebp - 0x9c], xmm0
cmp edi, esi
jg 0x1005d241
movss xmm1, dword [ebp - 0x78]
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x98]
movss dword [ebp - 0x94], xmm0
movss dword [ebp - 0xbc], xmm0
addss xmm1, dword [0x1017586c]
movd xmm0, edi
lea eax, [edi + edi*2]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0xa0], eax
mov eax, dword [0x1017582c]
push edi
mov dword [ebp - 0x74], eax
movss dword [ebp - 0x8c], xmm1
mulss xmm0, dword [0x10175a44]
addss xmm0, dword [ebp - 0xc8]
movss dword [ebp - 0x6c], xmm0
call fcn.1005a490
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], edi
call fcn.10060aa0
addss xmm0, dword [0x1017586c]
movss xmm1, dword [ebp - 0xb0]
push edi
maxss xmm1, xmm0
movss dword [ebp - 0xb0], xmm1
call fcn.1005a490
movss xmm1, dword [0x100f6128]
mov esi, eax
mov ecx, dword [0x10175838]
movaps xmm2, xmm1
mov edx, dword [0x1017583c]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], esi
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x5c], xmm2
cmp ecx, edi
je 0x1005c3ef
setl al
jmp 0x1005c3f4
cmp edx, esi
setle al
test al, al
je 0x1005c41e
cmp ecx, edi
jne 0x1005c3fe
test edx, edx
setg al
test al, al
je 0x1005c416
push 0x10175838
call fcn.10060aa0
movss xmm2, dword [ebp - 0x5c]
jmp 0x1005c419
xorps xmm0, xmm0
movss dword [ebp - 0x60], xmm0
mov eax, dword [0x10175840]
mov edx, dword [0x10175844]
cmp eax, edi
jne 0x1005c42f
test edx, edx
setg cl
test cl, cl
je 0x1005c45a
cmp eax, edi
jne 0x1005c43c
cmp edx, esi
setl cl
lea eax, [ebp - 0x58]
test cl, cl
mov ecx, 0x10175840
cmovne eax, ecx
push eax
call fcn.10060aa0
mov eax, dword [0x10175840]
movaps xmm2, xmm0
cmp eax, edi
jle 0x1005c466
addss xmm2, dword [0x10175a40]
movss xmm3, dword [ebp - 0x60]
movss xmm0, dword [0x100f6128]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1005c504
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1005c504
comiss xmm2, xmm3
mov esi, dword [ebp - 0x88]
jbe 0x1005c50a
movss xmm1, dword [ebp - 0x78]
lea eax, [ebp - 0x140]
addss xmm1, dword [0x1017586c]
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push dword [0x10175914]
movaps xmm0, xmm1
addss xmm1, xmm2
addss xmm0, xmm3
push eax
lea eax, [ebp - 0x160]
push eax
movss dword [ebp - 0x140], xmm1
movss dword [ebp - 0x160], xmm0
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x15c], xmm0
addss xmm0, dword [0x10175a44]
movss dword [ebp - 0x13c], xmm0
call fcn.10035770
jmp 0x1005c50a
mov esi, dword [ebp - 0x88]
lea edx, [edi + 1]
movss xmm2, dword [ebp - 0x6c]
mov eax, edx
movss dword [ebp - 0xb8], xmm2
shr eax, 8
movzx ecx, al
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x5c], edx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10175a18
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.10065210
cmp dword [eax + 4], 0
je 0x1005c5d6
movss xmm0, dword [ebp - 0x98]
lea eax, [ebp - 0x168]
movss xmm1, dword [ebp - 0x78]
addss xmm0, xmm0
addss xmm1, dword [ebp - 0xac]
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push dword [0x1017591c]
addss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10175a44]
push eax
lea eax, [ebp - 0xbc]
push eax
movss dword [ebp - 0x168], xmm1
movss dword [ebp - 0x164], xmm0
call fcn.10035770
movss xmm2, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x90]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
inc edi
push eax
mov ecx, 0x10175a38
mov dword [ebp - 0x5c], edi
call fcn.10065a40
mov eax, dword [ebp - 0x44]
mov ecx, dword [0x10175a38]
mov dword [ebp - 0x60], eax
cmp byte [eax + 0xd], 0
jne 0x1005c609
cmp edi, dword [eax + 0x10]
jge 0x1005c60e
mov eax, ecx
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x1005c81f
movss xmm0, dword [ebp - 0x78]
lea eax, [ebp - 0xd0]
movss xmm1, dword [ebp - 0x98]
addss xmm0, dword [ebp - 0xac]
addss xmm1, xmm1
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push dword [0x10175918]
addss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10175a44]
push eax
lea eax, [ebp - 0xbc]
push eax
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0xd0], xmm1
movss dword [ebp - 0xcc], xmm0
call fcn.10035770
mov ecx, dword [0x10157600]
movss xmm0, dword [ebp - 0x78]
movss xmm3, dword [ebp - 0x6c]
movss xmm2, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x3f94]
movss xmm5, dword [ecx + 0x3914]
movss xmm6, dword [ecx + 0xe04]
movss xmm1, dword [ebp - 0x68]
maxss xmm0, dword [eax + 0x218]
maxss xmm3, dword [eax + 0x21c]
minss xmm2, dword [eax + 0x224]
minss xmm1, dword [eax + 0x220]
subss xmm0, xmm5
comiss xmm6, xmm0
jb 0x1005c81f
movss xmm0, dword [ecx + 0x3918]
movss xmm4, dword [ecx + 0xe08]
subss xmm3, xmm0
comiss xmm4, xmm3
jb 0x1005c81f
addss xmm1, xmm5
comiss xmm1, xmm6
jbe 0x1005c81f
addss xmm2, xmm0
comiss xmm2, xmm4
jbe 0x1005c81f
xor ecx, ecx
call fcn.10023660
mov edi, dword [0x10157600]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [edi + 0x3994]
lea ecx, [edi + 0x49b0]
movups xmmword [ebp - 0x38], xmm0
call fcn.1002a480
cmp dword [edi + 0x49ac], 0
je 0x1005c756
movaps xmm0, xmmword [0x100f6520]
movups xmmword [edi + 0x3994], xmm0
mov eax, dword [ebp - 0x60]
push dword [eax + 0x10]
push str.Error_at_line__d:
call fcn.1003daa0
add esp, 8
mov ecx, 1
call fcn.100145e0
mov edi, dword [0x10157600]
mov eax, dword [edi + 0x3f94]
cmp byte [eax + 0xb3], 0
jne 0x1005c7bc
mov edx, dword [eax + 0x1a0]
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
cmp dword [eax + 0x198], 0
je 0x1005c7a9
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 6
movss xmm1, dword [0x100f5f68]
call fcn.10040000
mov edi, dword [0x10157600]
movups xmm0, xmmword [edi + 0x3994]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
lea ecx, [edi + 0x49b0]
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.1002a480
cmp dword [edi + 0x49ac], 0
je 0x1005c7f4
movaps xmm0, xmmword [0x100f6530]
movups xmmword [edi + 0x3994], xmm0
mov eax, dword [ebp - 0x60]
add eax, 0x14
cmp dword [eax + 0x14], 0xf
jbe 0x1005c802
mov eax, dword [eax]
push eax
push 0x100eb628
call fcn.1003daa0
add esp, 8
mov ecx, 1
call fcn.100145e0
call fcn.1001f210
mov eax, dword [ebp - 0x90]
inc eax
push eax
push 0x100f1cb4
lea eax, [ebp - 0x24]
push 0x10
push eax
call fcn.10057ae0
mov edi, dword [0x10157600]
lea eax, [ebp - 0x24]
movss xmm3, dword [0x100f6100]
add esp, 0x10
movss xmm2, dword [edi + 0x3cfc]
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 0x3cf8]
lea eax, [ebp - 0x180]
mov dword [esp], 0xbf800000
push eax
call fcn.10039860
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x1017586c]
movss xmm1, dword [ebp - 0x6c]
mov edx, dword [0x10175920]
movss dword [ebp - 0xd4], xmm1
subss xmm0, dword [eax]
movss dword [ebp - 0xd8], xmm0
test edx, 0xff000000
je 0x1005c8fb
lea ecx, [ebp - 0x24]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005c8b0
sub ecx, edi
lea eax, [ebp - 0x24]
add ecx, eax
cmp eax, ecx
je 0x1005c8fb
mov eax, dword [esi + 0x2c]
movups xmm0, xmmword [esi + 0x60]
push 0
push ecx
movss xmm2, dword [eax + 0xc]
mov dword [esp], 0
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push edx
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [eax + 8]
push esi
movups xmmword [ebp - 0x38], xmm0
call fcn.10039b60
movss xmm1, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x90]
cmp dword [0x10175848], eax
jne 0x1005cc9f
mov eax, dword [0x10157600]
mov ecx, dword [eax + 0x4a2c]
test ecx, ecx
jne 0x1005c920
xor cl, cl
jmp 0x1005c929
cmp ecx, dword [eax + 0x3f94]
sete cl
mov eax, dword [0x10175840]
mov byte [ebp - 0x6d], cl
cmp eax, dword [0x10175838]
jne 0x1005c944
mov eax, dword [0x10175844]
cmp eax, dword [0x1017583c]
setg al
test al, al
jne 0x1005caa5
movss xmm0, dword [ebp - 0x94]
addss xmm0, dword [ebp - 0xac]
addss xmm1, dword [0x10175a44]
push 0
movzx eax, cl
push ecx
addss xmm0, dword [ebp - 0x98]
xor eax, 1
mov dword [esp], 0
mov ecx, esi
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0xdc], xmm1
push dword [eax*4 + 0x10175924]
lea eax, [ebp - 0xe0]
movss dword [ebp - 0x5c], xmm0
push eax
lea eax, [ebp - 0xbc]
movss dword [ebp - 0xe0], xmm0
push eax
call fcn.10035770
mov edi, dword [0x1017592c]
test edi, 0xff000000
je 0x1005caa5
test byte [esi + 0x24], 1
mov ecx, esi
movss xmm2, dword [ebp - 0x6c]
movss xmm3, dword [0x100f5f1c]
movss xmm0, dword [ebp - 0x5c]
addss xmm2, xmm3
movss xmm1, dword [ebp - 0x60]
push 0
je 0x1005ca2f
subss xmm0, xmm3
movss dword [ebp - 0xec], xmm2
subss xmm1, xmm3
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xf0]
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [ebp - 0x94]
addss xmm0, xmm3
movss dword [ebp - 0xe4], xmm1
movss dword [ebp - 0xf0], xmm0
jmp 0x1005ca78
subss xmm0, dword [0x100f5f18]
subss xmm1, dword [0x100f5f18]
lea eax, [ebp - 0xf8]
movss dword [ebp - 0xfc], xmm2
push eax
lea eax, [ebp - 0x100]
movss dword [ebp - 0xf8], xmm0
movss xmm0, dword [ebp - 0x94]
addss xmm0, xmm3
movss dword [ebp - 0xf4], xmm1
movss dword [ebp - 0x100], xmm0
movss xmm3, dword [0x100f5f68]
push eax
call fcn.10035200
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 1
push edi
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10033850
mov dword [esi + 0x54], 0
cmp byte [ebp - 0x6d], 0
je 0x1005cc9f
call fcn.10095ef2
push 0
push 0x2710
push edx
push eax
call fcn.100d3270
mov edi, eax
mov dword [ebp - 0x80], eax
sub edi, dword [0x10175a70]
mov ecx, edx
mov eax, ecx
mov dword [ebp - 0x64], ecx
sbb eax, dword [0x10175a74]
mov dword [ebp - 0xb4], eax
jne 0x1005caee
cmp edi, 0x190
jbe 0x1005cc9f
movss xmm0, dword [0x100f5f68]
push 0x10175848
movss dword [ebp - 0x60], xmm0
call fcn.1005a2a0
push 0x10175848
mov dword [ebp - 0x5c], eax
call fcn.10060aa0
cmp byte [0x10175864], 0
movss dword [ebp - 0x68], xmm0
je 0x1005cc0f
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ecx + eax*4 + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x7c], edx
imul ecx
mov ecx, dword [ebp - 0x5c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x1005cc0f
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 0x7c]
mov al, byte [ecx + eax*4]
cmp al, 9
jne 0x1005cbc6
addss xmm0, dword [0x100f5f68]
xorps xmm1, xmm1
sub esp, 8
cvtsi2ss xmm1, dword [0x10175860]
mulss xmm1, dword [ebp - 0x9c]
divss xmm0, xmm1
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x7c], xmm0
fld dword [ebp - 0x7c]
fstp qword [esp]
call fcn.100d51f0
movss xmm2, dword [ebp - 0x68]
add esp, 8
fstp dword [ebp - 0x7c]
fld dword [ebp - 0x7c]
fstp dword [ebp - 0x7c]
movss xmm1, dword [ebp - 0x7c]
addss xmm1, dword [0x100f5f68]
mulss xmm1, dword [ebp - 0x5c]
subss xmm1, xmm2
movss dword [ebp - 0x60], xmm1
jmp 0x1005cc14
movss xmm3, dword [0x100f6100]
lea ecx, [ebp - 0x28]
push 0
push 0
push ecx
push ecx
mov byte [ebp - 0x28], al
lea ecx, [ebp - 0x170]
mov eax, dword [0x10157600]
mov dword [esp], 0xbf800000
push ecx
mov byte [ebp - 0x27], 0
movss xmm2, dword [eax + 0x3cfc]
mov ecx, dword [eax + 0x3cf8]
call fcn.10039860
movss xmm2, dword [ebp - 0x68]
movss xmm0, dword [eax]
jmp 0x1005cc19
movss xmm2, dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x60]
movss xmm1, dword [ebp - 0x8c]
lea eax, [ebp - 0x108]
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x6c]
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push dword [0x10175910]
movss dword [ebp - 0x110], xmm1
addss xmm1, xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x10c], xmm2
addss xmm0, dword [0x10175a44]
push eax
lea eax, [ebp - 0x110]
push eax
movss dword [ebp - 0x108], xmm1
movss dword [ebp - 0x104], xmm0
call fcn.10035770
cmp dword [ebp - 0xb4], 0
ja 0x1005cc8f
cmp edi, 0x320
jbe 0x1005cc9f
mov eax, dword [ebp - 0x80]
mov dword [0x10175a70], eax
mov eax, dword [ebp - 0x64]
mov dword [0x10175a74], eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], eax
cmp eax, edx
jne 0x1005ccc4
mov ecx, dword [0x101758dc]
mov dword [ebp - 0x68], ecx
jmp 0x1005ccd3
push eax
call fcn.1005b0c0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
sub edx, eax
xorps xmm3, xmm3
mov eax, 0x2aaaaaab
movss dword [ebp - 0x60], xmm3
imul edx
xorps xmm4, xmm4
xor edi, edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1005d151
nop dword [eax + eax]
mov ecx, dword [ebp - 0x5c]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
push eax
mov dword [ebp - 0x5c], eax
call fcn.1005b0c0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
cmp eax, ecx
jne 0x1005cd32
mov ecx, dword [ebp - 0x5c]
mov cl, byte [ecx]
cmp cl, 9
je 0x1005cd2f
cmp cl, 0x20
jne 0x1005ce49
mov ecx, dword [ebp - 0x68]
cmp dword [0x10175a68], 0
je 0x1005ce49
movss xmm1, dword [ebp - 0x8c]
mov edx, 0x10175a58
movss xmm0, dword [ebp - 0x6c]
addss xmm1, xmm3
cmp dword [0x10175a6c], 0xf
addss xmm0, xmm4
cmova edx, dword [0x10175a58]
movss dword [ebp - 0x118], xmm1
movss dword [ebp - 0x114], xmm0
test ecx, 0xff000000
je 0x1005cdca
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x64], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005cd87
sub ecx, dword [ebp - 0x64]
add ecx, edx
cmp edx, ecx
je 0x1005cdca
mov eax, dword [esi + 0x2c]
movups xmm0, xmmword [esi + 0x60]
push 0
push ecx
movss xmm2, dword [eax + 0xc]
mov dword [esp], 0
push ecx
push edx
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [eax + 8]
push esi
movups xmmword [ebp - 0x38], xmm0
call fcn.10039b60
cmp dword [0x10175a6c], 0xf
mov eax, 0x10175a58
movss xmm3, dword [0x100f6100]
cmova eax, dword [0x10175a58]
push 0
push 0
push eax
push ecx
lea eax, [ebp - 0x148]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x10157600]
movss xmm2, dword [eax + 0x3cfc]
mov ecx, dword [eax + 0x3cf8]
call fcn.10039860
cmp dword [0x10175a6c], 0xf
mov eax, 0x10175a58
movss xmm3, dword [ebp - 0x60]
xorps xmm4, xmm4
cmova eax, dword [0x10175a58]
addss xmm3, dword [ebp - 0x148]
mov dword [0x10175a68], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x80]
movss dword [ebp - 0x60], xmm3
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov cl, byte [eax]
cmp cl, 9
jne 0x1005cfd8
xorps xmm0, xmm0
movss dword [ebp - 0xb4], xmm3
cvtsi2ss xmm0, dword [0x10175860]
sub esp, 8
addss xmm3, dword [0x100f5f68]
mulss xmm0, dword [ebp - 0x9c]
divss xmm3, xmm0
movss dword [ebp - 0x80], xmm0
movss dword [ebp - 0x64], xmm3
fld dword [ebp - 0x64]
fstp qword [esp]
call fcn.100d51f0
movss xmm0, dword [0x100f5f68]
add esp, 8
fstp dword [ebp - 0x64]
fld dword [ebp - 0x64]
inc edi
cmp byte [0x10175887], 0
fstp dword [ebp - 0x64]
movss xmm3, dword [ebp - 0x64]
addss xmm3, xmm0
mulss xmm3, dword [ebp - 0x80]
movss dword [ebp - 0x60], xmm3
je 0x1005d11b
movss xmm1, dword [ebp - 0x8c]
addss xmm3, dword [ebp - 0x8c]
addss xmm1, dword [ebp - 0xb4]
mov eax, dword [0x10157600]
movss xmm2, dword [ebp - 0x6c]
push ecx
subss xmm3, xmm0
mov dword [esp], 0x3f800000
movss xmm4, dword [eax + 0x3cfc]
addss xmm1, xmm0
xorps xmm0, xmm0
lea eax, [ebp - 0xc4]
addss xmm2, xmm0
mov ecx, esi
movaps xmm0, xmm4
mulss xmm4, dword [0x100f5ef8]
push 0x90909090
mulss xmm0, dword [0x100f5f1c]
push eax
movss dword [ebp - 0xc4], xmm3
lea eax, [ebp - 0x120]
subss xmm3, xmm4
movss dword [ebp - 0x120], xmm1
addss xmm2, xmm0
push eax
movss dword [ebp - 0x150], xmm3
movaps xmm0, xmm2
movss dword [ebp - 0x11c], xmm2
subss xmm0, xmm4
movss dword [ebp - 0xc0], xmm2
addss xmm4, xmm2
movss dword [ebp - 0x130], xmm3
movss dword [ebp - 0x14c], xmm0
movss dword [ebp - 0x12c], xmm4
call fcn.10035570
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x150]
push 0x90909090
push eax
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.10035570
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x130]
push 0x90909090
push eax
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.10035570
jmp 0x1005d116
cmp cl, 0x20
jne 0x1005d094
cmp byte [0x10175887], 0
je 0x1005d081
movss xmm2, dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x9c]
addss xmm2, xmm3
mulss xmm0, dword [0x100f5f1c]
xorps xmm3, xmm3
mov eax, dword [0x10157600]
push 3
push ecx
addss xmm2, xmm0
mov dword [esp], 0x4096cbe4
movss xmm1, dword [eax + 0x3cfc]
mov ecx, esi
movss xmm0, dword [ebp - 0x6c]
lea eax, [ebp - 0x138]
mulss xmm1, dword [0x100f5f1c]
addss xmm0, xmm4
push eax
movss dword [ebp - 0x138], xmm2
movss xmm2, dword [0x100f5f80]
addss xmm0, xmm1
movss dword [ebp - 0x134], xmm0
call fcn.10034dc0
push 0x80808080
push dword [esi + 0x54]
mov ecx, esi
push dword [esi + 0x5c]
call fcn.10034520
movss xmm3, dword [ebp - 0x60]
mov dword [esi + 0x54], 0
addss xmm3, dword [ebp - 0x9c]
inc edi
movss dword [ebp - 0x60], xmm3
jmp 0x1005d11b
mov al, cl
and al, 0xfe
cmp al, 0xfc
jne 0x1005d0a3
mov eax, 6
jmp 0x1005d0dc
mov al, cl
and al, 0xfc
cmp al, 0xf8
jne 0x1005d0b2
mov eax, 5
jmp 0x1005d0dc
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x1005d0c1
mov eax, 4
jmp 0x1005d0dc
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x1005d0d0
mov eax, 3
jmp 0x1005d0dc
and cl, 0xe0
xor eax, eax
cmp cl, 0xc0
sete al
inc eax
lea esi, [edi + edi*2]
shl esi, 2
add edi, eax
mov dword [ebp - 0x80], edi
mov edi, dword [ebp - 0xa0]
nop dword [eax]
dec eax
lea esi, [esi + 0xc]
mov dword [ebp - 0x64], eax
mov ecx, 0x10175a58
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + edi*4]
mov al, byte [esi + eax - 0xc]
push eax
call fcn.10062000
mov eax, dword [ebp - 0x64]
test eax, eax
jg 0x1005d0f0
mov edi, dword [ebp - 0x80]
movss xmm3, dword [ebp - 0x60]
mov edx, dword [ebp - 0x74]
xorps xmm4, xmm4
mov ecx, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x88]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
sub ecx, eax
mov dword [ebp - 0x5c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1005cd00
cmp dword [0x10175a68], 0
je 0x1005d223
movss xmm1, dword [ebp - 0x8c]
mov edx, 0x10175a58
movss xmm0, dword [ebp - 0x6c]
addss xmm1, xmm3
mov esi, dword [0x10175a6c]
addss xmm0, xmm4
mov edi, dword [0x10175a58]
cmp esi, 0xf
cmova edx, edi
test dword [ebp - 0x68], 0xff000000
movss dword [ebp - 0xa8], xmm1
movss dword [ebp - 0xa4], xmm0
je 0x1005d20b
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x64], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d1b0
sub ecx, dword [ebp - 0x64]
lea eax, [edx + ecx]
mov dword [ebp - 0x64], eax
cmp edx, eax
je 0x1005d20b
mov ecx, dword [ebp - 0x88]
push 0
push ecx
mov dword [esp], 0
push dword [ebp - 0x64]
mov eax, dword [ecx + 0x2c]
movups xmm0, xmmword [ecx + 0x60]
push edx
lea edx, [ebp - 0x38]
movss xmm2, dword [eax + 0xc]
push edx
push dword [ebp - 0x68]
lea edx, [ebp - 0xa8]
push edx
push ecx
mov ecx, dword [eax + 8]
movups xmmword [ebp - 0x38], xmm0
call fcn.10039b60
mov esi, dword [0x10175a6c]
mov edi, dword [0x10175a58]
cmp esi, 0xf
mov dword [0x10175a68], 0
mov eax, 0x10175a58
cmova eax, edi
mov byte [eax], 0
mov edi, dword [ebp - 0x90]
movss xmm1, dword [ebp - 0x78]
inc edi
mov dword [ebp - 0x90], edi
cmp edi, dword [ebp - 0x84]
jle 0x1005c340
mov ecx, dword [0x10157600]
movss xmm1, dword [0x100f616c]
movss xmm0, dword [ecx + 0xe04]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 0xe08]
jb 0x1005d3e9
comiss xmm2, xmm1
jb 0x1005d3e9
mov eax, dword [ecx + 0xe04]
mov ecx, dword [ecx + 0xe08]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0xa4], ecx
push eax
call fcn.10059b00
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1005afc0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x1005d39f
cmp edi, 0xf
lea eax, [ebp - 0x40]
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x40]
xor ecx, ecx
test esi, esi
je 0x1005d2e6
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1005d2d2
mov edi, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x40]
mov ecx, 0x10175968
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.100656e0
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x1005d323
cmp eax, dword [0x1017596c]
je 0x1005d323
xor ecx, ecx
call fcn.10023660
mov ecx, dword [ebp - 0x84]
add ecx, 0x28
jmp 0x1005d383
cmp edi, 0xf
lea eax, [ebp - 0x40]
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [ebp - 0x84], eax
test esi, esi
je 0x1005d354
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1005d340
mov edi, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x40]
mov ecx, 0x10175988
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.100656e0
mov esi, dword [eax + 4]
test esi, esi
je 0x1005d39f
cmp esi, dword [0x1017598c]
je 0x1005d39f
xor ecx, ecx
call fcn.10023660
lea ecx, [esi + 0x28]
cmp dword [ecx + 0x14], 0xf
jbe 0x1005d38b
mov ecx, dword [ecx]
push 1
xor edx, edx
call fcn.1003d390
add esp, 4
call fcn.1001f210
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xf
jbe 0x1005d3d7
mov ecx, dword [ebp - 0x40]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x1005d3cd
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d503
push edi
push ecx
call fcn.10094251
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [0x10175830]
mov eax, 0x2aaaaaab
sub ecx, dword [0x1017582c]
imul ecx
movss xmm2, dword [ebp - 0xb0]
addss xmm2, dword [0x100f5fd0]
mov ecx, dword [0x10157600]
sar edx, 1
mov eax, edx
movss dword [ebp - 0xa8], xmm2
shr eax, 0x1f
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f6700]
mov eax, dword [ecx + 0x3f94]
cvtpd2ps xmm1, xmm0
mulss xmm1, dword [0x10175a44]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f94]
movss dword [ebp - 0xa4], xmm1
cmp byte [eax + 0xb3], 0
jne 0x1005d4bd
movss xmm3, dword [eax + 0xf8]
lea ecx, [ebp - 0xa8]
movss xmm0, dword [eax + 0xfc]
movaps xmm4, xmm3
addss xmm4, xmm2
movss dword [ebp - 0x50], xmm3
movaps xmm2, xmm0
movss dword [ebp - 0x4c], xmm0
addss xmm2, xmm1
movss xmm1, dword [0x100f6128]
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x44], xmm2
call fcn.10022550
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x50]
call fcn.100226b0
add esp, 8
cmp byte [0x10175867], 0
je 0x1005d4e5
call fcn.10060cf0
mov ecx, dword [0x10157600]
xor edx, edx
mov ecx, dword [ecx + 0x3f94]
call fcn.1001f420
mov byte [0x10175867], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f63
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100ba0c1
int3