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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100bf040]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [0x100bf678], 0
push esi
push edi
je 0x1008da29
cmp dword [0x100bf670], 0
je 0x1008da29
cmp dword [0x100bf674], 0x1f
je 0x1008da29
cmp dword [0x100bf2a8], 0
je 0x1008da29
cmp byte [0x100bf2ac], 0
je 0x1008da29
test byte [0x100bf6d4], 2
jne 0x1008da29
test byte [0x100bf2b0], 1
je 0x1008da29
cmp byte [0x100c0154], 0
je 0x1008da29
push 0
push dword [0x100c020c]
push dword [0x100c0208]
call fcn.100a2ea0
mov ecx, dword [0x100c020c]
cmp eax, ecx
jne 0x1008da24
test byte [0x100bf2b0], 1
jne 0x1008d644
mov eax, dword [0x100c0284]
cmp eax, 0xffffffff
je 0x1008d644
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100d0478]
test al, al
jne 0x1008da24
push 1
push ecx
push dword [0x100c0208]
call fcn.100a2ea0
cmp eax, dword [0x100c020c]
je 0x1008da29
mov eax, dword [0x100fec48]
mov ecx, dword [0x100bf2a8]
add eax, 0xffffffb7
xor eax, 0xc032dff8
cmp byte [eax + ecx], 0
mov eax, dword [0x100bf678]
jbe 0x1008d686
movss xmm4, dword [eax + 0x130]
jmp 0x1008d68e
movss xmm4, dword [eax + 0x12c]
mulss xmm4, dword [0x100b5210]
mov eax, dword [0x100febc0]
movss xmm2, dword [0x100b543c]
add eax, 0xffffffd9
movss xmm1, dword [0x100b5434]
xor eax, 0xc032dfd6
andps xmm2, xmm4
movss xmm3, dword [0x100b5274]
movaps xmm0, xmm4
movaps xmm5, xmm4
xorps xmm0, xmm2
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm2
addss xmm5, xmm1
subss xmm5, xmm1
movss xmm1, dword [eax + ecx + 4]
mulss xmm1, xmm1
movaps xmm0, xmm5
subss xmm0, xmm4
cmpnless xmm0, xmm2
andps xmm0, xmm3
subss xmm5, xmm0
movss xmm0, dword [eax + ecx]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.10020390
comiss xmm5, xmm0
jbe 0x1008d786
mov eax, dword [0x100bf6c8]
movss xmm2, dword [eax + 0x28]
movss xmm4, dword [eax + 0x24]
movaps xmm0, xmm2
movaps xmm1, xmm4
mulss xmm0, xmm2
and dword [eax + 0x30], 0xfffdffff
mulss xmm1, xmm4
addss xmm1, xmm0
sqrtss xmm1, xmm1
comiss xmm1, dword [0x100b5364]
jbe 0x1008da29
comiss xmm1, xmm5
jbe 0x1008da29
divss xmm3, xmm1
minss xmm1, xmm5
movaps xmm0, xmm3
mulss xmm3, xmm2
mulss xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm1
movss dword [eax + 0x28], xmm3
movss dword [eax + 0x24], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100a30ac
mov esp, ebp
pop ebp
ret
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [esp + 0x1c], xmm0
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
movaps xmm1, xmm4
mov eax, dword [0x100bf6c8]
mulss xmm1, xmm4
movq xmm0, qword [eax + 0xc]
movq qword [esp + 0x28], xmm0
movaps xmm0, xmm3
mov eax, dword [eax + 0x14]
mulss xmm0, xmm3
mov dword [esp + 0x30], eax
addss xmm0, xmm1
call fcn.10020390
movaps xmm2, xmm0
xorps xmm1, xmm1
comiss xmm2, xmm1
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x10], xmm1
jbe 0x1008d822
xorps xmm0, xmmword [0x100b55a0]
movaps xmm1, xmm2
call fcn.10020340
mulss xmm0, dword [0x100b5390]
movaps xmm1, xmm4
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm3
call fcn.10020340
mulss xmm0, dword [0x100b5390]
movss dword [esp + 0x10], xmm0
jmp 0x1008d83f
comiss xmm0, xmm1
jbe 0x1008d831
movss xmm0, dword [0x100b5480]
jmp 0x1008d839
movss xmm0, dword [0x100b53b0]
movss dword [esp + 0xc], xmm0
mov ecx, dword [0x100fe9c0]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x100b51b0]
call fcn.10020370
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100b51b0]
movss dword [esp + 0x10], xmm0
call fcn.10020370
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10020380
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x10104320]
movss dword [esp + 0x14], xmm0
test cl, 1
jne 0x1008d938
or ecx, 1
mov dword [0x10104320], ecx
mov eax, dword [0x100fe9bc]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008d91e
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008d8e0
xor edx, edx
test ecx, ecx
je 0x1008d90d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d8f0
mov eax, dword [esp + 0xc]
cmp esi, 0x7939b3a7
je 0x1008d92b
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008d8d4
mov ecx, dword [0x10104320]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [0x1010431c], eax
jmp 0x1008d941
mov ecx, dword [0x10104320]
mov dword [0x1010431c], eax
jmp 0x1008d941
mov eax, dword [0x1010431c]
mov dword [esp + 0xc], eax
test cl, 2
jne 0x1008d9af
or ecx, 2
mov dword [0x10104320], ecx
mov eax, dword [0x100fe9bc]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1008d9a8
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008d970
xor edx, edx
test ecx, ecx
je 0x1008d99d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d980
mov eax, dword [esp + 0x10]
cmp esi, 0xda6a172f
je 0x1008d9aa
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008d960
xor eax, eax
mov dword [0x10104328], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
mov ecx, dword [0x10104328]
fstp dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [esp + 0x18]
mov eax, dword [0x100bf6c8]
fmul dword [esp + 0x14]
xorps xmm0, xmmword [0x100b55a0]
movss dword [eax + 0x24], xmm0
mov eax, dword [0x100bf6c8]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
xorps xmm1, xmmword [0x100b55a0]
movss dword [eax + 0x28], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100a30ac
mov esp, ebp
pop ebp
ret
call fcn.1008d300
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100a30ac
mov esp, ebp
pop ebp
ret