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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d65f6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss xmm1, dword [0x10207ae0]
movss xmm0, dword [0x1029d130]
mov eax, dword [ebx + 0xc]
mulss xmm0, xmm1
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x50], ecx
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d12c]
mulss xmm0, xmm1
mov dword [ebp - 0x54], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d128]
mulss xmm0, xmm1
mov dword [ebp - 0xa0], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d124]
mulss xmm0, xmm1
mov dword [ebp - 0x70], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x74], eax
mov eax, dword [0x102ba47c]
test al, 1
jne 0x100671c8
or eax, 1
mov dword [0x102ba47c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x44], eax
cmp eax, dword [0x102b3e8c]
je 0x100670dd
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x100670cf
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x100670a6
xor edx, edx
test ecx, ecx
je 0x100670cf
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100670b3
cmp esi, 0x46ff3e75
je 0x100670f3
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x44], eax
cmp eax, dword [0x102b3e8c]
jne 0x10067093
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [0x102ba4a0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100671cd
mov eax, dword [ebp - 0x3c]
xor edi, edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], edi
cmp dword [eax + 4], edi
jle 0x10067198
xor ecx, ecx
mov dword [ebp - 0x30], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10067147
cmp dword [ecx + 4], 0
jle 0x10067147
push 0
mov edx, 0xe5cd906c
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10067144
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x44], edi
mov eax, dword [ebp - 0x3c]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x10067150
xor edx, edx
test ecx, ecx
je 0x1006717c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10067160
cmp esi, 0xe5cd906c
je 0x100671ab
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
inc edx
mov edi, dword [ebp - 0x44]
add ecx, 0x3c
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
cmp edx, dword [eax + 4]
jl 0x10067110
mov ecx, dword [ebp - 0x50]
mov eax, edi
mov dword [0x102ba4a0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100671cd
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x44]
mov dword [0x102ba4a0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100671cd
mov eax, dword [0x102ba4a0]
add eax, ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [0x102ba4a8]
test al, 1
jne 0x10067338
or eax, 1
mov dword [0x102ba4a8], eax
mov dword [ebp - 4], 1
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
je 0x1006724a
nop
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x1006723c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10067213
xor edx, edx
test ecx, ecx
je 0x1006723c
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10067220
cmp esi, 0x46ff3e75
je 0x10067260
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
jne 0x10067200
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [0x102ba494], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1006733d
mov eax, dword [ebp - 0x44]
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edi
cmp dword [eax + 4], edi
jle 0x10067308
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x100672b7
cmp dword [ecx + 4], 0
jle 0x100672b7
push 0
mov edx, 0x4591beb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x100672b4
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x44]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x100672c0
xor edx, edx
test ecx, ecx
je 0x100672ec
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100672d0
cmp esi, 0x4591beb3
je 0x1006731b
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x3c]
add ecx, 0x3c
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x10067280
mov ecx, dword [ebp - 0x50]
mov eax, edi
mov dword [0x102ba494], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1006733d
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x3c]
mov dword [0x102ba494], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1006733d
mov eax, dword [0x102ba494]
add eax, ecx
mov dword [ebp - 0x68], eax
mov eax, dword [0x102ba49c]
test al, 1
jne 0x100674a8
or eax, 1
mov dword [0x102ba49c], eax
mov dword [ebp - 4], 2
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
je 0x100673ba
nop
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x100673ac
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10067383
xor edx, edx
test ecx, ecx
je 0x100673ac
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10067390
cmp esi, 0x46ff3e75
je 0x100673d0
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
jne 0x10067370
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [0x102ba4ac], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100674ad
mov eax, dword [ebp - 0x44]
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edi
cmp dword [eax + 4], edi
jle 0x10067478
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10067427
cmp dword [ecx + 4], 0
jle 0x10067427
push 0
mov edx, 0xb69663a6
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10067424
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x44]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x10067430
xor edx, edx
test ecx, ecx
je 0x1006745c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10067440
cmp esi, 0xb69663a6
je 0x1006748b
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x3c]
add ecx, 0x3c
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x100673f0
mov ecx, dword [ebp - 0x50]
mov eax, edi
mov dword [0x102ba4ac], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100674ad
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x3c]
mov dword [0x102ba4ac], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100674ad
mov eax, dword [0x102ba4ac]
add eax, ecx
mov dword [ebp - 0x94], eax
mov eax, dword [0x102ba4c8]
test al, 1
jne 0x10067618
or eax, 1
mov dword [0x102ba4c8], eax
mov dword [ebp - 4], 3
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
je 0x1006752b
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x1006751d
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x100674f4
xor edx, edx
test ecx, ecx
je 0x1006751d
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10067501
cmp esi, 0x46ff3e75
je 0x10067541
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
jne 0x100674e1
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [0x102ba4bc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1006761d
mov eax, dword [ebp - 0x44]
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edi
cmp dword [eax + 4], edi
jle 0x100675e8
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10067597
cmp dword [ecx + 4], 0
jle 0x10067597
push 0
mov edx, 0xf329170d
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10067594
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x44]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x100675a0
xor edx, edx
test ecx, ecx
je 0x100675cc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100675b0
cmp esi, 0xf329170d
je 0x100675fb
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x3c]
add ecx, 0x3c
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x10067560
mov ecx, dword [ebp - 0x50]
mov eax, edi
mov dword [0x102ba4bc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1006761d
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x3c]
mov dword [0x102ba4bc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1006761d
mov eax, dword [0x102ba4bc]
lea esi, [ecx + eax]
mov eax, dword [0x102ba484]
mov dword [ebp - 0x78], esi
test al, 1
jne 0x10067770
or eax, 1
mov dword [0x102ba484], eax
mov dword [ebp - 4], 4
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
je 0x1006769a
nop
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x1006768c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10067663
xor edx, edx
test ecx, ecx
je 0x1006768c
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10067670
cmp esi, 0x46ff3e75
je 0x100676b3
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
jne 0x10067650
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x78]
mov dword [0x102ba464], eax
jmp 0x10067775
mov eax, dword [ebp - 0x44]
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edi
cmp dword [eax + 4], edi
jle 0x10067758
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10067707
cmp dword [ecx + 4], 0
jle 0x10067707
push 0
mov edx, 0x820942a0
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10067704
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x44]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x10067710
xor edx, edx
test ecx, ecx
je 0x1006773c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10067720
cmp esi, 0x820942a0
je 0x1006775f
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x3c]
add ecx, 0x3c
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x100676d0
mov eax, edi
jmp 0x1006769c
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x3c]
jmp 0x1006769c
mov eax, dword [0x102ba464]
mov edx, dword [ecx + eax]
xorps xmm3, xmm3
movss xmm7, dword [0x10207bc8]
xor eax, eax
mov dword [ebp - 0x78], edx
xorps xmm6, xmm6
movss dword [ebp - 0x30], xmm7
xorps xmm4, xmm4
test edx, edx
js 0x1006780a
mov ecx, dword [ebp - 0x94]
sub esi, ecx
mov edi, dword [ebp - 0x68]
sub edi, ecx
mov edx, dword [ebp - 0x5c]
cmp byte [edx + eax], 0
mov edx, dword [ebp - 0x78]
je 0x100677fa
movd xmm2, dword [ecx]
movd xmm5, dword [edi + ecx]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm5, xmm5
movaps xmm0, xmm2
movaps xmm1, xmm5
mulss xmm0, xmm2
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.1000d600
addss xmm0, dword [0x10207964]
comiss xmm0, xmm7
jbe 0x100677e6
movaps xmm7, xmm0
movd xmm0, dword [esi + ecx]
addss xmm3, xmm5
cvtdq2ps xmm0, xmm0
addss xmm6, xmm2
addss xmm4, xmm0
inc eax
add ecx, 4
cmp eax, edx
jle 0x100677a4
mov ecx, dword [ebp - 0x50]
movss dword [ebp - 0x30], xmm7
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
cmp edx, 1
jg 0x1006781f
call eax
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
jmp 0x1006787b
movss xmm1, dword [0x1020785c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm3, xmm1
mulss xmm6, xmm1
mulss xmm4, xmm1
movaps xmmword [ebp - 0x90], xmm3
movss dword [ebp - 0x5c], xmm6
movss dword [ebp - 0x68], xmm4
call eax
movaps xmm0, xmmword [ebp - 0x90]
movss xmm2, dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x68]
addss xmm1, dword [eax + 8]
addss xmm0, dword [eax]
addss xmm2, dword [eax + 4]
movss dword [ebp - 0x5c], xmm1
mov eax, dword [ebp - 0x5c]
unpcklps xmm0, xmm2
movss xmm2, dword [ebp - 0x30]
lea edx, [ebp - 0x4c]
mov edi, dword [ebp - 0x9c]
lea ecx, [ebp - 0xac]
maxss xmm2, dword [0x10207a5c]
lea esi, [edi + 0xc]
mov dword [ebp - 0x44], eax
movq qword [ebp - 0x4c], xmm0
mulss xmm2, dword [esi]
call fcn.10066570
mov dword [ebp - 4], 5
mov eax, dword [0x102cc030]
movss xmm0, dword [edi + 8]
add eax, 0x781833fb
mulss xmm0, dword [0x10207778]
xor eax, 0x567bbcf7
movss xmm2, dword [eax + 4]
xor eax, eax
comiss xmm0, dword [0x10207764]
mulss xmm2, dword [0x10207878]
movss xmm0, dword [esi]
seta al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003a1e0
comiss xmm0, dword [0x102076b4]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x68], 0x3f800000
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], 0
push 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
movss xmm1, dword [0x1020785c]
movss dword [esi], xmm0
cmovae ecx, esi
comiss xmm1, xmm0
cmovae eax, ecx
movss xmm6, dword [eax]
lea eax, [ebp - 0x88]
movss dword [esi], xmm6
mov ecx, dword [0x102cc030]
push eax
add ecx, 0x781833fb
lea eax, [ebp - 0x4c]
xor ecx, 0x567bbcf7
push eax
call fcn.1015a0f0
test al, al
je 0x10068054
movss xmm0, dword [0x102062b4]
mulss xmm0, dword [0x102077ec]
mov esi, dword [ebx + 8]
movss xmm1, dword [ebp - 0x88]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [0x102062b8]
mulss xmm6, dword [esi]
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x50], xmm6
movss dword [ebp - 0x30], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x102076fc]
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x102078b8]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_sin
mulsd xmm0, qword [0x102078c8]
movss xmm1, dword [esi]
comiss xmm1, dword [0x10207824]
movss xmm1, dword [0x1020770c]
movss xmm2, dword [0x102078a8]
movsd qword [ebp - 0x40], xmm0
jbe 0x10067b8d
mov eax, dword [0x102cc030]
add eax, 0x781833fb
xor eax, 0x567bbcf7
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x94], eax
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x44], eax
or eax, 3
mov byte [ebp - 4], 7
mov dword [edi], eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x54]
movzx eax, al
mov dword [ebp - 0x68], 0xff
mov dword [ebp - 0x54], 0
movd xmm0, eax
lea eax, [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x50]
cvttss2si edx, xmm0
xorps xmm0, xmm0
test edx, edx
mov dword [ebp - 0x5c], edx
cmovns ecx, eax
cmp edx, 0xff
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
cmovle eax, ecx
movzx edx, dl
mov eax, dword [eax]
movzx esi, al
mov eax, dword [ebp - 0xa0]
movzx ecx, al
mov eax, dword [ebp - 0x70]
movzx eax, al
movd xmm6, edx
cvtdq2ps xmm6, xmm6
movd xmm3, eax
movd xmm4, ecx
movd xmm5, esi
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
mulss xmm6, xmm1
mulss xmm3, xmm1
comiss xmm0, xmm6
mulss xmm4, xmm1
mulss xmm5, xmm1
movss xmm1, dword [0x1020785c]
jbe 0x10067ad0
xorps xmm6, xmm6
jmp 0x10067ad4
minss xmm6, xmm1
movss xmm7, dword [0x10207ae0]
movss xmm2, dword [0x102077ec]
mulss xmm6, xmm7
addss xmm6, xmm2
cvttss2si ecx, xmm6
shl ecx, 0x10
comiss xmm0, xmm3
jbe 0x10067afd
xorps xmm3, xmm3
jmp 0x10067b01
minss xmm3, xmm1
mulss xmm3, xmm7
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x10067b1c
xorps xmm4, xmm4
jmp 0x10067b20
minss xmm4, xmm1
mulss xmm4, xmm7
addss xmm4, xmm2
cvttss2si eax, xmm4
or ecx, eax
comiss xmm0, xmm5
jbe 0x10067b38
xorps xmm5, xmm5
jmp 0x10067b3c
minss xmm5, xmm1
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
sub edx, eax
mulss xmm5, xmm7
push ecx
mov dword [esp], 0x40000000
push 0
addss xmm5, xmm2
sar edx, 3
cvttss2si esi, xmm5
shl esi, 0x18
or esi, ecx
mov ecx, dword [ebp - 0x94]
push esi
push edx
push eax
call fcn.100bd010
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
movss xmm2, dword [0x102078a8]
mov dword [edi], eax
mov edi, dword [ebp - 0x9c]
movss xmm0, dword [ebp - 0x50]
mulss xmm0, dword [0x10207a98]
mov ecx, dword [0x102cc030]
movss xmm1, dword [0x1020785c]
add ecx, 0x781833fb
movss xmm4, dword [0x102062b8]
xor ecx, 0x567bbcf7
movss xmm5, dword [0x102062b4]
addss xmm4, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm5, xmm2
movss xmm3, dword [ebp - 0x34]
subss xmm0, xmm1
movzx eax, al
subss xmm3, xmm1
cvtps2pd xmm0, xmm0
movd xmm2, eax
subsd xmm0, qword [ebp - 0x40]
cvtdq2ps xmm2, xmm2
cvtpd2ps xmm6, xmm0
mulss xmm2, dword [0x1020770c]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10067c0d
xorps xmm2, xmm2
jmp 0x10067c11
minss xmm2, xmm1
mulss xmm2, dword [0x10207ae0]
movaps xmm0, xmm3
push 0
addss xmm0, xmm5
movss dword [ebp - 0x60], xmm3
push ecx
addss xmm2, dword [0x102077ec]
mov ecx, dword [ecx + 0xc]
mov dword [esp], 0
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm6
addss xmm0, xmm4
movss dword [ebp - 0x5c], xmm6
cvttss2si eax, xmm2
movss dword [ebp - 0x54], xmm0
shl eax, 0x18
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100bef00
movss xmm0, dword [ebp - 0x50]
lea eax, [ebp - 0x5c]
movss xmm2, dword [0x10207ae0]
lea ecx, [ebp - 0x54]
mov esi, dword [0x102cc030]
movss xmm7, dword [0x102062b4]
add esi, 0x781833fb
mulss xmm7, dword [edi + 8]
xor esi, 0x567bbcf7
mov dword [ebp - 0x54], 0
mulss xmm0, xmm2
mov dword [ebp - 0x68], 0xff
mov edi, dword [esi + 0xc]
mulss xmm7, dword [0x10207778]
cvttss2si edx, xmm0
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x30]
test edx, edx
cvtps2pd xmm0, xmm0
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], edx
cmovle eax, ecx
mov edx, dword [ebp - 0x74]
movzx edx, dl
movss xmm1, dword [0x1020785c]
mov eax, dword [eax]
subsd xmm0, qword [ebp - 0x40]
movzx esi, al
mov eax, dword [ebp - 0xa0]
movzx ecx, al
mov eax, dword [ebp - 0x70]
cvtpd2ps xmm0, xmm0
movzx eax, al
movd xmm5, edx
movd xmm4, eax
movd xmm3, ecx
movd xmm6, esi
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [0x1020770c]
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm6, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x10067d4a
xorps xmm5, xmm5
jmp 0x10067d4e
minss xmm5, xmm1
mulss xmm5, xmm2
movss xmm2, dword [0x102077ec]
addss xmm5, xmm2
cvttss2si ecx, xmm5
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x10067d6f
xorps xmm4, xmm4
jmp 0x10067d73
minss xmm4, xmm1
movss xmm5, dword [0x10207ae0]
mulss xmm4, xmm5
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x10067d96
xorps xmm3, xmm3
jmp 0x10067d9a
minss xmm3, xmm1
mulss xmm3, xmm5
addss xmm3, xmm2
cvttss2si eax, xmm3
or ecx, eax
comiss xmm0, xmm6
jbe 0x10067db2
xorps xmm6, xmm6
jmp 0x10067db6
minss xmm6, xmm1
movss xmm1, dword [ebp - 0x34]
mulss xmm6, xmm5
addss xmm7, xmm1
push 0
push ecx
mov dword [esp], 0
addss xmm6, xmm2
movss dword [ebp - 0x58], xmm1
movss xmm2, dword [ebp - 0x54]
movaps xmm0, xmm2
movss dword [ebp - 0x60], xmm7
addss xmm0, dword [0x102062b8]
movss dword [ebp - 0x54], xmm2
cvttss2si eax, xmm6
movss dword [ebp - 0x5c], xmm0
shl eax, 0x18
or eax, ecx
mov ecx, edi
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100bef00
mov ax, word [0x102019e8]
xorps xmm0, xmm0
mov edi, dword [0x102cc030]
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
add edi, 0x781833fb
mov al, byte [0x102019ea]
xor edi, 0x567bbcf7
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x29], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
movss xmm0, dword [edi + 0xbc]
mov eax, dword [edi + 0xb8]
mov dword [ebp - 0x44], eax
movss dword [ebp - 0x70], xmm0
call fcn.10029870
mov edx, dword [ebp - 0x44]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x54]
push eax
mov edx, dword [edx + 0x38]
lea ecx, [esi + 0x4c]
mov edx, dword [edx + 8]
mov dword [ebp - 0x54], edx
call fcn.100c3de0
mov ecx, esi
call fcn.100bcc60
cmp dword [ebp - 0x1c], 0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [0x102079b8]
mov esi, dword [edi + 0xb8]
cvtps2pd xmm0, xmm0
subsd xmm0, qword [ebp - 0x40]
cvtpd2ps xmm4, xmm0
movss xmm0, dword [edi + 0xbc]
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x54], xmm0
je 0x10067f22
lea ecx, [ebp - 0x2c]
call fcn.10029870
movss xmm3, dword [0x10207b78]
movss xmm2, dword [ebp - 0x54]
push 0
push 0
push eax
push ecx
lea eax, [ebp - 0x6c]
mov dword [esp], 0xbf800000
push eax
mov ecx, esi
call fcn.100c2e00
movss xmm0, dword [ebp - 0x6c]
addss xmm0, dword [0x10207858]
movss xmm4, dword [ebp - 0x5c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x54], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x10067f25
xorps xmm1, xmm1
cvttss2si eax, dword [ebp - 0x50]
movss xmm2, dword [0x102077ec]
movzx esi, al
movss xmm3, dword [ebp - 0x88]
mulss xmm1, xmm2
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm3, xmm1
movss dword [ebp - 0x94], xmm4
mulss xmm0, dword [0x102077b0]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x98], xmm3
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1020770c]
comiss xmm0, xmm1
movss xmm0, dword [0x1020785c]
jbe 0x10067f8f
xorps xmm1, xmm1
jmp 0x10067f93
minss xmm1, xmm0
mulss xmm1, dword [0x10207ae0]
addss xmm3, xmm0
push 0
push ecx
mov ecx, dword [edi + 0xc]
addss xmm4, xmm0
addss xmm1, xmm2
mov dword [esp], 0
movss xmm2, dword [ebp - 0x70]
push 0
push dword [ebp - 0x74]
movss dword [ebp - 0x58], xmm3
cvttss2si eax, xmm1
movss dword [ebp - 0x54], xmm4
shl eax, 0x18
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x44]
call fcn.100bf410
movd xmm1, esi
xorps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1020770c]
comiss xmm0, xmm1
ja 0x10067ffe
movaps xmm0, xmm1
minss xmm0, dword [0x1020785c]
mulss xmm0, dword [0x10207ae0]
push 0
movss xmm2, dword [ebp - 0x70]
push ecx
addss xmm0, dword [0x102077ec]
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
push 0
push dword [ebp - 0x74]
cvttss2si eax, xmm0
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x44]
call fcn.100bf410
mov ecx, dword [edi + 0xc]
dec dword [ecx + 0x4c]
call fcn.100bcc60
lea ecx, [ebp - 0x2c]
call fcn.10029c20
lea ecx, [ebp - 0xac]
call fcn.100296b0
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.101d03f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc