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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bef46
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10203360]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss xmm1, dword [0x101f0a98]
movss xmm0, dword [0x102850d8]
mov eax, dword [ebp + 0xc]
mulss xmm0, xmm1
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x78], ecx
cvttss2si eax, xmm0
movss xmm0, dword [0x102850d4]
mulss xmm0, xmm1
mov dword [ebp - 0x44], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x102850d0]
mulss xmm0, xmm1
mov dword [ebp - 0x4c], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x102850cc]
mulss xmm0, xmm1
mov dword [ebp - 0x64], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x68], eax
mov eax, dword [0x102a183c]
test al, 1
jne 0x10054a25
or eax, 1
mov dword [0x102a183c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1029b360]
mov dword [ebp - 0x30], eax
cmp eax, dword [0x1029b364]
je 0x1005493a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x1005492c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054903
xor edx, edx
test ecx, ecx
je 0x1005492c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054910
cmp esi, 0x46ff3e75
je 0x10054950
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x1029b364]
jne 0x100548f0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a1860], eax
jmp 0x10054a2a
mov eax, dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
cmp dword [eax + 4], edi
jle 0x100549f8
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x58], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x100549a4
cmp dword [ecx + 4], 0
jle 0x100549a4
push 0
mov edx, 0xe5cd906c
call fcn.101146e0
add esp, 4
test eax, eax
je 0x100549a1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x38]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100549b0
xor edx, edx
test ecx, ecx
je 0x100549dc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100549c0
cmp esi, 0xe5cd906c
je 0x10054a0b
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
inc edx
mov edi, dword [ebp - 0x30]
add ecx, 0x3c
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], ecx
cmp edx, dword [eax + 4]
jl 0x10054970
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a1860], eax
jmp 0x10054a2a
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a1860], eax
jmp 0x10054a2a
mov eax, dword [0x102a1860]
add eax, ecx
mov dword [ebp - 0x50], eax
mov eax, dword [0x102a1868]
test al, 1
jne 0x10054b95
or eax, 1
mov dword [0x102a1868], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1029b360]
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
je 0x10054aaa
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x10054a9c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054a73
xor edx, edx
test ecx, ecx
je 0x10054a9c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054a80
cmp esi, 0x46ff3e75
je 0x10054ac0
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
jne 0x10054a60
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a1854], eax
jmp 0x10054b9a
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
cmp dword [eax + 4], edi
jle 0x10054b68
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x58], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10054b14
cmp dword [ecx + 4], 0
jle 0x10054b14
push 0
mov edx, 0x4591beb3
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10054b11
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10054b20
xor edx, edx
test ecx, ecx
je 0x10054b4c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054b30
cmp esi, 0x4591beb3
je 0x10054b7b
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x38]
add ecx, 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x10054ae0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a1854], eax
jmp 0x10054b9a
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a1854], eax
jmp 0x10054b9a
mov eax, dword [0x102a1854]
add eax, ecx
mov dword [ebp - 0x70], eax
mov eax, dword [0x102a185c]
test al, 1
jne 0x10054d05
or eax, 1
mov dword [0x102a185c], eax
mov dword [ebp - 4], 2
mov eax, dword [0x1029b360]
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
je 0x10054c1a
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x10054c0c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054be3
xor edx, edx
test ecx, ecx
je 0x10054c0c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054bf0
cmp esi, 0x46ff3e75
je 0x10054c30
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
jne 0x10054bd0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a186c], eax
jmp 0x10054d0a
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
cmp dword [eax + 4], edi
jle 0x10054cd8
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x58], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10054c84
cmp dword [ecx + 4], 0
jle 0x10054c84
push 0
mov edx, 0xb69663a6
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10054c81
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054c90
xor edx, edx
test ecx, ecx
je 0x10054cbc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054ca0
cmp esi, 0xb69663a6
je 0x10054ceb
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x38]
add ecx, 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x10054c50
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a186c], eax
jmp 0x10054d0a
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a186c], eax
jmp 0x10054d0a
mov eax, dword [0x102a186c]
add eax, ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [0x102a1888]
test al, 1
jne 0x10054e75
or eax, 1
mov dword [0x102a1888], eax
mov dword [ebp - 4], 3
mov eax, dword [0x1029b360]
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
je 0x10054d8a
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x10054d7c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054d53
xor edx, edx
test ecx, ecx
je 0x10054d7c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054d60
cmp esi, 0x46ff3e75
je 0x10054da0
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
jne 0x10054d40
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a187c], eax
jmp 0x10054e7a
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
cmp dword [eax + 4], edi
jle 0x10054e48
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x58], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10054df4
cmp dword [ecx + 4], 0
jle 0x10054df4
push 0
mov edx, 0xf329170d
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10054df1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054e00
xor edx, edx
test ecx, ecx
je 0x10054e2c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054e10
cmp esi, 0xf329170d
je 0x10054e5b
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x38]
add ecx, 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x10054dc0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a187c], eax
jmp 0x10054e7a
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [0x102a187c], eax
jmp 0x10054e7a
mov eax, dword [0x102a187c]
lea esi, [eax + ecx]
mov eax, dword [0x102a1844]
mov dword [ebp - 0x80], esi
test al, 1
jne 0x10054fcd
or eax, 1
mov dword [0x102a1844], eax
mov dword [ebp - 4], 4
mov eax, dword [0x1029b360]
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
je 0x10054efa
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x10054eec
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054ec3
xor edx, edx
test ecx, ecx
je 0x10054eec
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054ed0
cmp esi, 0x46ff3e75
je 0x10054f13
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x1029b364]
jne 0x10054eb0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
mov dword [0x102a1828], eax
jmp 0x10054fd2
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
cmp dword [eax + 4], edi
jle 0x10054fb8
xor ecx, ecx
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x58], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10054f64
cmp dword [ecx + 4], 0
jle 0x10054f64
push 0
mov edx, 0x820942a0
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10054f61
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10054f70
xor edx, edx
test ecx, ecx
je 0x10054f9c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10054f80
cmp esi, 0x820942a0
je 0x10054fbf
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x38]
add ecx, 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x10054f30
mov eax, edi
jmp 0x10054efc
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x38]
jmp 0x10054efc
mov eax, dword [0x102a1828]
mov edx, dword [eax + ecx]
xorps xmm4, xmm4
movss xmm1, dword [0x101f0b88]
xor eax, eax
mov dword [ebp - 0x80], edx
xorps xmm3, xmm3
movss dword [ebp - 0x2c], xmm1
xorps xmm5, xmm5
test edx, edx
js 0x1005506a
mov ecx, dword [ebp - 0x6c]
sub esi, ecx
mov edi, dword [ebp - 0x70]
movss xmm7, dword [0x101f0924]
sub edi, ecx
mov edx, dword [ebp - 0x50]
movaps xmm6, xmm1
cmp byte [eax + edx], 0
mov edx, dword [ebp - 0x80]
je 0x1005505a
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [edi + ecx]
cvtsi2ss xmm2, dword [ecx]
movaps xmm0, xmm1
mulss xmm1, xmm1
addss xmm4, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esi + ecx]
addss xmm3, xmm2
mulss xmm2, xmm2
addss xmm5, xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
call fcn.1000cb10
movaps xmm1, xmm0
addss xmm1, xmm7
maxss xmm1, xmm6
inc eax
add ecx, 4
cmp eax, edx
jle 0x10055006
mov ecx, dword [ebp - 0x78]
movss dword [ebp - 0x2c], xmm1
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
cmp edx, 1
jg 0x10055087
call eax
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
jmp 0x100550e3
movss xmm1, dword [0x101f0824]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm4, xmm1
mulss xmm3, xmm1
mulss xmm5, xmm1
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x70], xmm3
movss dword [ebp - 0x6c], xmm5
call eax
movss xmm1, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x70]
movss xmm2, dword [ebp - 0x6c]
addss xmm1, dword [eax]
addss xmm0, dword [eax + 4]
addss xmm2, dword [eax + 8]
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x38], xmm2
movss xmm2, dword [ebp - 0x2c]
lea edx, [ebp - 0x40]
mov edi, dword [ebp - 0x60]
lea ecx, [ebp - 0x90]
maxss xmm2, dword [0x101f0a10]
lea esi, [edi + 0xc]
mulss xmm2, dword [esi]
call fcn.10053de0
mov dword [ebp - 4], 5
mov eax, dword [0x102b2f68]
movss xmm0, dword [edi + 8]
add eax, 0x9062a674
mulss xmm0, dword [0x101f073c]
xor eax, 0x205f1821
movss xmm2, dword [eax + 4]
xor eax, eax
comiss xmm0, dword [0x101f0728]
mulss xmm2, dword [0x101f083c]
movss xmm0, dword [esi]
seta al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10028bf0
xorps xmm1, xmm1
movss dword [esi], xmm0
comiss xmm1, xmm0
lea edx, [ebp - 0x50]
mov dword [ebp - 0x70], 0x3f800000
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x50], 0
push 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
seta al
test al, al
cmove edx, esi
comiss xmm0, dword [0x101f0824]
seta al
test al, al
lea eax, [ebp - 0x5c]
push eax
cmove ecx, edx
lea eax, [ebp - 0x40]
push eax
movss xmm6, dword [ecx]
movss dword [esi], xmm6
mov ecx, dword [0x102b2f68]
add ecx, 0x9062a674
xor ecx, 0x205f1821
call fcn.101432a0
test al, al
je 0x10055898
movss xmm0, dword [0x101ef164]
mulss xmm0, dword [0x101f07bc]
mov esi, dword [ebp + 8]
movss xmm1, dword [ebp - 0x5c]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x58]
subss xmm0, dword [0x101ef168]
mulss xmm6, dword [esi]
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm6
movss dword [ebp - 0x2c], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101f06cc]
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x101f0880]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_sin
mulsd xmm0, qword [0x101f0890]
movss xmm1, dword [esi]
comiss xmm1, dword [0x101f07ec]
movss xmm1, dword [0x101f06dc]
movss xmm2, dword [0x101f0870]
movsd qword [ebp - 0x3c], xmm0
jbe 0x100553db
mov eax, dword [0x102b2f68]
add eax, 0x9062a674
xor eax, 0x205f1821
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], eax
or eax, 3
mov byte [ebp - 4], 7
mov dword [edi], eax
lea esi, [ebp - 0x50]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
movzx eax, al
mov dword [ebp - 0x70], 0xff
mov dword [ebp - 0x44], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x30]
cvttss2si edx, xmm0
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x50], edx
shr eax, 0x1f
test al, al
lea eax, [ebp - 0x70]
cmove ecx, esi
cmp edx, 0xff
mov edx, dword [ebp - 0x68]
cmovle eax, ecx
movzx edx, dl
mov eax, dword [eax]
movzx esi, al
mov eax, dword [ebp - 0x4c]
movzx ecx, al
mov eax, dword [ebp - 0x64]
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 [0x101f0824]
jbe 0x10055322
xorps xmm6, xmm6
jmp 0x10055326
minss xmm6, xmm1
movss xmm7, dword [0x101f0a98]
movss xmm2, dword [0x101f07bc]
mulss xmm6, xmm7
addss xmm6, xmm2
cvttss2si ecx, xmm6
shl ecx, 0x10
comiss xmm0, xmm3
jbe 0x1005534f
xorps xmm3, xmm3
jmp 0x10055353
minss xmm3, xmm1
mulss xmm3, xmm7
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1005536e
xorps xmm4, xmm4
jmp 0x10055372
minss xmm4, xmm1
mulss xmm4, xmm7
addss xmm4, xmm2
cvttss2si eax, xmm4
or ecx, eax
comiss xmm0, xmm5
jbe 0x1005538a
xorps xmm5, xmm5
jmp 0x1005538e
minss xmm5, xmm1
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
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 - 0x6c]
push esi
push edx
push eax
call fcn.100a77a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
movss xmm2, dword [0x101f0870]
mov dword [edi], eax
mov edi, dword [ebp - 0x60]
jmp 0x100553e1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
movss xmm0, dword [ebp - 0x30]
mulss xmm0, dword [0x101f0a54]
mov ecx, dword [0x102b2f68]
movss xmm1, dword [0x101f0824]
add ecx, 0x9062a674
movss xmm4, dword [0x101ef168]
xor ecx, 0x205f1821
movss xmm5, dword [0x101ef164]
addss xmm4, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x2c]
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 - 0x3c]
cvtdq2ps xmm2, xmm2
cvtpd2ps xmm6, xmm0
mulss xmm2, dword [0x101f06dc]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10055461
xorps xmm2, xmm2
jmp 0x10055465
minss xmm2, xmm1
mulss xmm2, dword [0x101f0a98]
movaps xmm0, xmm3
push 0
addss xmm0, xmm5
movss dword [ebp - 0x54], xmm3
push ecx
addss xmm2, dword [0x101f07bc]
mov ecx, dword [ecx + 0xc]
mov dword [esp], 0
movss dword [ebp - 0x48], xmm0
movaps xmm0, xmm6
addss xmm0, xmm4
movss dword [ebp - 0x50], xmm6
cvttss2si eax, xmm2
movss dword [ebp - 0x44], xmm0
shl eax, 0x18
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100a9530
movss xmm0, dword [ebp - 0x30]
lea esi, [ebp - 0x60]
movss xmm2, dword [0x101f0a98]
lea ecx, [ebp - 0x44]
mov edx, dword [0x102b2f68]
mulss xmm0, xmm2
add edx, 0x9062a674
xor edx, 0x205f1821
mov dword [ebp - 0x44], 0
movss xmm7, dword [0x101ef164]
mulss xmm7, dword [edi + 8]
mov dword [ebp - 0x50], 0xff
cvttss2si eax, xmm0
mov edi, dword [edx + 0xc]
mov edx, dword [ebp - 0x68]
movzx edx, dl
mulss xmm7, dword [0x101f073c]
mov dword [ebp - 0x60], eax
shr eax, 0x1f
test al, al
movss xmm1, dword [0x101f0824]
lea eax, [ebp - 0x50]
movd xmm5, edx
cmove ecx, esi
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 0x2c]
cmp esi, 0xff
cvtps2pd xmm0, xmm0
cmovle eax, ecx
mov eax, dword [eax]
movzx esi, al
subsd xmm0, qword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
movzx ecx, al
mov eax, dword [ebp - 0x64]
movzx eax, al
cvtpd2ps xmm0, xmm0
movd xmm4, eax
movd xmm3, ecx
movd xmm6, esi
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [0x101f06dc]
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm6, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x1005559d
xorps xmm5, xmm5
jmp 0x100555a1
minss xmm5, xmm1
mulss xmm5, xmm2
movss xmm2, dword [0x101f07bc]
addss xmm5, xmm2
cvttss2si ecx, xmm5
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x100555c2
xorps xmm4, xmm4
jmp 0x100555c6
minss xmm4, xmm1
movss xmm5, dword [0x101f0a98]
mulss xmm4, xmm5
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x100555e9
xorps xmm3, xmm3
jmp 0x100555ed
minss xmm3, xmm1
mulss xmm3, xmm5
addss xmm3, xmm2
cvttss2si eax, xmm3
or ecx, eax
comiss xmm0, xmm6
jbe 0x10055605
xorps xmm6, xmm6
jmp 0x10055609
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 - 0x48], xmm1
movss xmm2, dword [ebp - 0x44]
movaps xmm0, xmm2
movss dword [ebp - 0x54], xmm7
addss xmm0, dword [0x101ef168]
movss dword [ebp - 0x44], xmm2
cvttss2si eax, xmm6
movss dword [ebp - 0x50], xmm0
shl eax, 0x18
or eax, ecx
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100a9530
mov ax, word [0x101ef23c]
xorps xmm0, xmm0
mov edi, dword [0x102b2f68]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
add edi, 0x9062a674
mov al, byte [0x101ef23e]
xor edi, 0x205f1821
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
movss xmm0, dword [edi + 0xbc]
mov eax, dword [edi + 0xb8]
mov dword [ebp - 0x4c], eax
movss dword [ebp - 0x64], xmm0
call fcn.1001d770
mov edx, dword [ebp - 0x4c]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x44]
push eax
mov edx, dword [edx + 0x38]
lea ecx, [esi + 0x4c]
mov edx, dword [edx + 8]
mov dword [ebp - 0x44], edx
call fcn.100ae3a0
mov ecx, esi
call fcn.100a7320
cmp dword [ebp - 0x18], 0
movss xmm0, dword [ebp - 0x58]
subss xmm0, dword [0x101f0978]
mov esi, dword [edi + 0xb8]
cvtps2pd xmm0, xmm0
subsd xmm0, qword [ebp - 0x3c]
cvtpd2ps xmm4, xmm0
movss xmm0, dword [edi + 0xbc]
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x44], xmm0
je 0x1005576e
lea ecx, [ebp - 0x28]
call fcn.1001d770
movss xmm3, dword [0x101f0b40]
movss xmm2, dword [ebp - 0x44]
push 0
push 0
push eax
push ecx
lea eax, [ebp - 0x74]
mov dword [esp], 0xbf800000
push eax
mov ecx, esi
call fcn.100ad3c0
movss xmm0, dword [ebp - 0x74]
addss xmm0, dword [0x101f0820]
movss xmm4, dword [ebp - 0x50]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x70]
movss dword [ebp - 0x44], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x10055771
xorps xmm1, xmm1
mov eax, dword [ebp - 0x60]
movss xmm2, dword [0x101f07bc]
movzx esi, al
movss xmm3, dword [ebp - 0x5c]
mulss xmm1, xmm2
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm3, xmm1
movss dword [ebp - 0x80], xmm4
mulss xmm0, dword [0x101f077c]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x84], xmm3
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x101f06dc]
comiss xmm0, xmm1
movss xmm0, dword [0x101f0824]
jbe 0x100557d3
xorps xmm1, xmm1
jmp 0x100557d7
minss xmm1, xmm0
mulss xmm1, dword [0x101f0a98]
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 - 0x64]
push 0
push dword [ebp - 0x68]
movss dword [ebp - 0x48], xmm3
cvttss2si eax, xmm1
movss dword [ebp - 0x44], xmm4
shl eax, 0x18
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
call fcn.100a9a40
movd xmm2, esi
xorps xmm0, xmm0
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x101f06dc]
comiss xmm0, xmm2
ja 0x10055842
minss xmm2, dword [0x101f0824]
movaps xmm0, xmm2
mulss xmm0, dword [0x101f0a98]
push 0
movss xmm2, dword [ebp - 0x64]
push ecx
addss xmm0, dword [0x101f07bc]
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
push 0
push dword [ebp - 0x68]
cvttss2si eax, xmm0
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x4c]
call fcn.100a9a40
mov ecx, dword [edi + 0xc]
dec dword [ecx + 0x4c]
call fcn.100a7320
lea ecx, [ebp - 0x28]
call fcn.1001de40
lea ecx, [ebp - 0x90]
call fcn.1001d530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b965e
mov esp, ebp
pop ebp
ret 0xc