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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1019c644]
sub esp, 0x10
xorps xmm3, xmm3
push ebx
push esi
push edi
test cl, 1
jne 0x1003d012
or ecx, 1
xorps xmm0, xmm0
mov dword [0x1019c644], ecx
xorps xmm1, xmm1
movss dword [0x1019c620], xmm0
movss dword [0x1019c624], xmm1
mov dword [0x1019c628], 0
jmp 0x1003d022
movss xmm1, dword [0x1019c624]
movss xmm0, dword [0x1019c620]
mov esi, dword [ebp + 8]
movss xmm2, dword [esi + 0xc]
subss xmm2, xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 4], xmm0
test cl, 2
jne 0x1003d0b1
or ecx, 2
mov dword [0x1019c644], ecx
mov ebx, dword [0x10196c6c]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x1003d0a9
nop dword [eax]
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d070
xor edx, edx
test ecx, ecx
je 0x1003d099
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d080
cmp edi, 0x7c2d100c
je 0x1003d0d6
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003d060
mov ecx, dword [0x1019c644]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x1019c5fc], ebx
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1003d1a4
test cl, 4
jne 0x1003d128
or ecx, 4
mov dword [0x1019c644], ecx
mov eax, dword [0x10196c6c]
mov ebx, dword [eax + 0x30]
jmp 0x1003d11c
mov ecx, dword [0x1019c644]
mov esi, dword [ebp + 8]
jmp 0x1003d0ab
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d0f0
xor edx, edx
test ecx, ecx
je 0x1003d119
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d100
cmp edi, 0x12ac36d1
je 0x1003d120
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003d0e1
mov dword [0x1019c60c], ebx
jmp 0x1003d12e
mov ebx, dword [0x1019c60c]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
call dword [ebp - 8]
mov ecx, dword [0x1019c5fc]
fstp dword [ebp - 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
call dword [ebp - 8]
fmul dword [ebp - 0xc]
fdivr dword [ebp - 0x10]
fstp dword [ebp - 0x10]
cvttss2si eax, dword [ebp - 0x10]
cmp eax, 0x7fff
jg 0x1003d190
cmp eax, 0xffff8000
jl 0x1003d189
cmp eax, 1
jge 0x1003d17b
test eax, eax
js 0x1003d17b
mov eax, 1
jmp 0x1003d195
cmp eax, 0xffffffff
jle 0x1003d195
test eax, eax
jg 0x1003d195
or eax, 0xffffffff
jmp 0x1003d195
mov eax, 0x8000
jmp 0x1003d195
mov eax, 0x7fff
mov esi, dword [ebp + 8]
xorps xmm3, xmm3
movss xmm0, dword [ebp - 4]
mov word [esi + 0x46], ax
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1003d299
mov eax, dword [0x1019c644]
test al, 8
jne 0x1003d228
or eax, 8
mov dword [0x1019c644], eax
mov eax, dword [0x10196c6c]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x1003d213
nop
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d1e0
xor edx, edx
test ecx, ecx
je 0x1003d209
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d1f0
cmp edi, 0x53453c88
je 0x1003d21d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003d1d0
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x1019c610], ebx
jmp 0x1003d22e
mov esi, dword [ebp + 8]
mov dword [0x1019c610], ebx
jmp 0x1003d22e
mov ebx, dword [0x1019c610]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp + 8], eax
call dword [ebp + 8]
mov ecx, dword [0x1019c5fc]
fstp dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp + 8], eax
call dword [ebp + 8]
fmul dword [ebp - 0x10]
fdivr dword [ebp - 4]
fstp dword [ebp + 8]
cvttss2si eax, dword [ebp + 8]
cmp eax, 0x7fff
jg 0x1003d290
cmp eax, 0xffff8000
jl 0x1003d289
cmp eax, 1
jge 0x1003d27b
test eax, eax
js 0x1003d27b
mov eax, 1
jmp 0x1003d295
cmp eax, 0xffffffff
jle 0x1003d295
test eax, eax
jg 0x1003d295
or eax, 0xffffffff
jmp 0x1003d295
mov eax, 0x8000
jmp 0x1003d295
mov eax, 0x7fff
mov word [esi + 0x44], ax
movss xmm0, dword [esi + 0xc]
movss dword [0x1019c620], xmm0
movss xmm0, dword [esi + 0x10]
pop edi
movss dword [0x1019c624], xmm0
movss xmm0, dword [esi + 0x14]
pop esi
movss dword [0x1019c628], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 4