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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xorps xmm2, xmm2
mov ecx, dword [0x1010068c]
mov dword [ebp - 4], esi
push edi
test cl, 1
jne 0x1002a517
or ecx, 1
xorps xmm0, xmm0
mov dword [0x1010068c], ecx
xorps xmm1, xmm1
movss dword [0x10100644], xmm0
movss dword [0x10100648], xmm1
mov dword [0x1010064c], 0
jmp 0x1002a527
movss xmm1, dword [0x10100648]
movss xmm0, dword [0x10100644]
movss xmm3, dword [esi + 0xc]
subss xmm3, xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 8], xmm0
test cl, 2
jne 0x1002a5b1
or ecx, 2
mov dword [0x1010068c], ecx
mov ebx, dword [0x100fada4]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x1002a5a9
nop
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002a570
xor edx, edx
test ecx, ecx
je 0x1002a599
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002a580
cmp edi, 0x7c2d100c
je 0x1002a5d6
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002a560
mov ecx, dword [0x1010068c]
mov esi, dword [ebp - 4]
xor ebx, ebx
mov dword [0x10100684], ebx
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1002a6ba
test cl, 4
jne 0x1002a628
or ecx, 4
mov dword [0x1010068c], ecx
mov eax, dword [0x100fada4]
mov ebx, dword [eax + 0x30]
jmp 0x1002a61c
mov ecx, dword [0x1010068c]
mov esi, dword [ebp - 4]
jmp 0x1002a5ab
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002a5f0
xor edx, edx
test ecx, ecx
je 0x1002a619
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002a600
cmp edi, 0x12ac36d1
je 0x1002a620
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002a5e1
mov dword [0x10100660], ebx
jmp 0x1002a62e
mov ebx, dword [0x10100660]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 0xc]
mov ecx, dword [0x10100684]
fstp dword [ebp - 0x10]
divss xmm0, dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
movss dword [ebp - 0xc], xmm0
call dword [ebp - 0x14]
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x14], xmm0
fdivr dword [ebp - 0x14]
fstp dword [ebp - 0x14]
cvttss2si eax, dword [ebp - 0x14]
cmp eax, 0x7fff
jg 0x1002a6a6
cmp eax, 0xffff8000
jl 0x1002a69f
cmp eax, 1
jge 0x1002a691
test eax, eax
js 0x1002a691
mov eax, 1
jmp 0x1002a6ab
cmp eax, 0xffffffff
jle 0x1002a6ab
test eax, eax
jg 0x1002a6ab
or eax, 0xffffffff
jmp 0x1002a6ab
mov eax, 0x8000
jmp 0x1002a6ab
mov eax, 0x7fff
mov esi, dword [ebp - 4]
xorps xmm2, xmm2
movss xmm0, dword [ebp - 8]
mov word [esi + 0x46], ax
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002a7bf
mov eax, dword [0x1010068c]
test al, 8
jne 0x1002a738
or eax, 8
mov dword [0x1010068c], eax
mov eax, dword [0x100fada4]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x1002a723
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002a6f0
xor edx, edx
test ecx, ecx
je 0x1002a719
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002a700
cmp edi, 0x53453c88
je 0x1002a72d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002a6e4
mov esi, dword [ebp - 4]
xor ebx, ebx
mov dword [0x10100658], ebx
jmp 0x1002a73e
mov esi, dword [ebp - 4]
mov dword [0x10100658], ebx
jmp 0x1002a73e
mov ebx, dword [0x10100658]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
movss xmm0, dword [ebp - 8]
mov ecx, dword [0x10100684]
fstp dword [ebp - 0x14]
divss xmm0, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
movss dword [ebp - 8], xmm0
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x14], xmm0
fdivr dword [ebp - 0x14]
fstp dword [ebp - 0x14]
cvttss2si eax, dword [ebp - 0x14]
cmp eax, 0x7fff
jg 0x1002a7b6
cmp eax, 0xffff8000
jl 0x1002a7af
cmp eax, 1
jge 0x1002a7a1
test eax, eax
js 0x1002a7a1
mov eax, 1
jmp 0x1002a7bb
cmp eax, 0xffffffff
jle 0x1002a7bb
test eax, eax
jg 0x1002a7bb
or eax, 0xffffffff
jmp 0x1002a7bb
mov eax, 0x8000
jmp 0x1002a7bb
mov eax, 0x7fff
mov word [esi + 0x44], ax
movss xmm0, dword [esi + 0xc]
movss dword [0x10100644], xmm0
movss xmm0, dword [esi + 0x10]
pop edi
movss dword [0x10100648], xmm0
movss xmm0, dword [esi + 0x14]
pop esi
movss dword [0x1010064c], xmm0
pop ebx
mov esp, ebp
pop ebp
ret