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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1020b634]
push ebx
push esi
push edi
test al, 1
jne 0x100c39e8
or eax, 1
mov dword [0x1020b634], eax
mov eax, dword [0x10204630]
mov ebx, dword [eax + 0x30]
jmp 0x100c39dc
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100c39b0
xor edx, edx
test ecx, ecx
je 0x100c39d9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100c39c0
cmp esi, 0x90f473ab
je 0x100c39e0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100c39a0
mov dword [0x1020b630], ebx
jmp 0x100c39ee
mov ebx, dword [0x1020b630]
mov edx, dword [0x10204964]
xor esi, esi
mov eax, dword [0x101f9ee4]
add edx, 0xffffffb4
xor edx, 0xd9785be7
mov ecx, 3
cmp byte [edx + eax], 0
mov eax, dword [ebx]
cmove esi, ecx
mov ecx, ebx
push esi
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1020ada4]
test eax, eax
je 0x100c3de2
mov ecx, dword [0x1020b634]
test cl, 2
jne 0x100c3a45
or ecx, 2
xorps xmm0, xmm0
mov dword [0x1020b634], ecx
movups xmmword [0x1020b61c], xmm0
xor ebx, ebx
xor edi, edi
test eax, eax
je 0x100c3de2
movss xmm2, dword [0x100e5ab4]
movss xmm3, dword [0x100e5a64]
cmp eax, edi
jbe 0x100c3df3
mov esi, dword [0x1020ada0]
mov edx, dword [0x1020ad9c]
mov eax, dword [0x1020ad98]
dec edx
lea ecx, [esi + edi]
and edx, ecx
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1020463c]
movq qword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [ecx + 0xc]
call fcn.1003d0c0
movaps xmm1, xmm0
comiss xmm1, xmm2
jbe 0x100c3aeb
mov edx, dword [0x1020ad94]
sub esp, 0xc
mov ecx, esp
add esi, edi
sub esp, 0xc
lea eax, [esi + 1]
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, esp
mov dword [ecx], edx
mov ecx, 0x1020ad94
mov dword [eax + 4], 0
mov dword [eax], edx
mov dword [eax + 8], esi
lea eax, [ebp - 0x34]
push eax
call fcn.100cbff0
jmp 0x100c3b63
movaps xmm0, xmm2
lea ecx, [ebp - 0x28]
subss xmm0, xmm1
mov eax, 0xff
movd xmm1, dword [0x101ff2f8]
mov edx, 0x1020b624
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x100e5c4c]
mulss xmm1, xmm3
cvttss2si ebx, xmm0
movd xmm0, dword [0x101ff2fc]
cvtdq2ps xmm0, xmm0
cmp ebx, 0xff
cmovg ebx, eax
xor eax, eax
test ebx, ebx
movss dword [0x1020b61c], xmm1
mulss xmm0, xmm3
cmovs ebx, eax
movss dword [0x1020b620], xmm0
call fcn.100bcde0
movss xmm2, dword [0x100e5ab4]
movss xmm3, dword [0x100e5a64]
mov byte [0x1020afb8], al
mov eax, dword [0x1020ada4]
inc edi
cmp eax, edi
ja 0x100c3a69
test ebx, ebx
je 0x100c3de2
xor esi, esi
nop dword [eax + eax]
push esi
push dword [0x101ea960]
push dword [0x101ea95c]
call fcn.100cecd0
cmp eax, dword [0x101ea960]
je 0x100c3dd8
cmp esi, 1
jne 0x100c3bb0
cmp byte [0x1020afb8], 0
je 0x100c3de2
mov ecx, dword [0x10204644]
movss xmm0, dword [esi*8 + 0x1020b620]
movss dword [ebp - 8], xmm0
movss xmm0, dword [esi*8 + 0x1020b61c]
mov eax, dword [ecx]
mov word [ebp - 0x10], 0xffff
mov byte [ebp - 0xe], 0xff
mov byte [ebp - 0xd], bl
push dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
movss dword [ebp - 0xc], xmm0
call eax
movss xmm1, dword [ebp - 8]
movss xmm2, dword [ebp - 0xc]
movaps xmm0, xmm1
subss xmm0, dword [0x100e5b64]
subss xmm1, dword [0x100e5b78]
mov ecx, dword [0x10204644]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movaps xmm0, xmm2
subss xmm0, dword [0x100e5b64]
subss xmm2, dword [0x100e5b78]
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [0x10204644]
movss xmm0, dword [esi*8 + 0x1020b620]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi*8 + 0x1020b61c]
mov eax, dword [ecx]
mov word [ebp - 0x14], 0xffff
mov byte [ebp - 0x12], 0xff
mov byte [ebp - 0x11], bl
push dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
movss dword [ebp - 8], xmm0
call eax
movss xmm1, dword [ebp - 0xc]
movss xmm2, dword [ebp - 8]
movaps xmm0, xmm1
addss xmm0, dword [0x100e5b64]
addss xmm1, dword [0x100e5b78]
mov ecx, dword [0x10204644]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movaps xmm0, xmm2
subss xmm0, dword [0x100e5b64]
subss xmm2, dword [0x100e5b78]
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [0x10204644]
movss xmm0, dword [esi*8 + 0x1020b620]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi*8 + 0x1020b61c]
mov eax, dword [ecx]
mov word [ebp - 0x18], 0xffff
mov byte [ebp - 0x16], 0xff
mov byte [ebp - 0x15], bl
push dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
movss dword [ebp - 8], xmm0
call eax
mov ecx, dword [0x10204644]
movss xmm1, dword [ebp - 0xc]
movaps xmm0, xmm1
addss xmm0, dword [0x100e5b64]
mov edx, dword [ecx]
movss xmm2, dword [ebp - 8]
addss xmm1, dword [0x100e5b78]
cvttss2si eax, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100e5b64]
addss xmm2, dword [0x100e5b78]
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [0x10204644]
movss xmm0, dword [esi*8 + 0x1020b620]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi*8 + 0x1020b61c]
mov eax, dword [ecx]
mov word [ebp - 0x1c], 0xffff
mov byte [ebp - 0x1a], 0xff
mov byte [ebp - 0x19], bl
push dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
movss dword [ebp - 8], xmm0
call eax
movss xmm1, dword [ebp - 0xc]
movss xmm2, dword [ebp - 8]
movaps xmm0, xmm1
subss xmm0, dword [0x100e5b64]
subss xmm1, dword [0x100e5b78]
mov ecx, dword [0x10204644]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movaps xmm0, xmm2
addss xmm0, dword [0x100e5b64]
addss xmm2, dword [0x100e5b78]
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
mov eax, dword [edx + 0x4c]
call eax
inc esi
cmp esi, 1
jle 0x100c3b80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100cee06
mov esp, ebp
pop ebp
ret
call fcn.10046830
int3