Function at 0x1003f9d0
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
push edi
mov dword [ebp - 8], esi
cmp dword [esi + 8], 0
je 0x1003fd46
cmp dword [esi + 0x738], 0
je 0x1003fd46
mov ecx, dword [0x101f6088]
xorps xmm3, xmm3
test cl, 1
jne 0x1003fa2e
or ecx, 1
xorps xmm0, xmm0
mov dword [0x101f6088], ecx
xorps xmm1, xmm1
movss dword [0x101f607c], xmm0
movss dword [0x101f6080], xmm1
mov dword [0x101f6084], 0
jmp 0x1003fa3e
movss xmm1, dword [0x101f6080]
movss xmm0, dword [0x101f607c]
mov eax, dword [esi + 0x738]
movss xmm2, dword [eax + 0xc]
subss xmm2, xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm1
minss xmm2, dword [0x1010fa50]
minss xmm0, dword [0x1010faa0]
maxss xmm2, dword [0x1010fb4c]
maxss xmm0, dword [0x1010fb5c]
movss dword [ebp - 4], xmm2
movss dword [ebp - 0x14], xmm0
test cl, 2
jne 0x1003fb04
or ecx, 2
mov dword [0x101f6088], ecx
mov ebx, dword [0x101c39ac]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x1003fae9
nop dword [eax + eax]
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003fab0
xor edx, edx
test ecx, ecx
je 0x1003fad9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003fac0
cmp edi, 0x7c2d100c
je 0x1003faf3
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003faa0
mov ecx, dword [0x101f6088]
mov esi, dword [ebp - 8]
xor ebx, ebx
mov dword [0x101f60bc], ebx
jmp 0x1003fb0a
mov ecx, dword [0x101f6088]
mov esi, dword [ebp - 8]
mov dword [0x101f60bc], ebx
jmp 0x1003fb0a
mov ebx, dword [0x101f60bc]
test ebx, ebx
je 0x1003fd46
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1003fc14
test cl, 4
jne 0x1003fb88
or ecx, 4
mov dword [0x101f6088], ecx
mov eax, dword [0x101c39ac]
mov ebx, dword [eax + 0x30]
jmp 0x1003fb7c
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003fb50
xor edx, edx
test ecx, ecx
je 0x1003fb79
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003fb60
cmp edi, 0x12ac36d1
je 0x1003fb80
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003fb40
mov dword [0x101f60b8], ebx
jmp 0x1003fb8e
mov ebx, dword [0x101f60b8]
test ebx, ebx
je 0x1003fd46
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
mov ecx, dword [0x101f60bc]
fstp dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
fmul dword [ebp - 0x10]
fdivr dword [ebp - 4]
fstp dword [ebp - 4]
cvttss2si ecx, dword [ebp - 4]
cmp ecx, 0x7fff
jg 0x1003fbfa
cmp ecx, 0xffff8000
jl 0x1003fbf3
cmp ecx, 1
jge 0x1003fbe5
test ecx, ecx
js 0x1003fbe5
mov ecx, 1
jmp 0x1003fbff
cmp ecx, 0xffffffff
jle 0x1003fbff
test ecx, ecx
jg 0x1003fbff
or ecx, 0xffffffff
jmp 0x1003fbff
mov ecx, 0x8000
jmp 0x1003fbff
mov ecx, 0x7fff
mov esi, dword [ebp - 8]
xorps xmm3, xmm3
movss xmm0, dword [ebp - 0x14]
mov eax, dword [esi + 0x738]
mov word [eax + 0x46], cx
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1003fd19
mov eax, dword [0x101f6088]
test al, 8
jne 0x1003fc98
or eax, 8
mov dword [0x101f6088], eax
mov eax, dword [0x101c39ac]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x1003fc83
nop
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003fc50
xor edx, edx
test ecx, ecx
je 0x1003fc79
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003fc60
cmp esi, 0x53453c88
je 0x1003fc8d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003fc40
mov esi, dword [ebp - 8]
xor ebx, ebx
mov dword [0x101f6070], ebx
jmp 0x1003fc9e
mov esi, dword [ebp - 8]
mov dword [0x101f6070], ebx
jmp 0x1003fc9e
mov ebx, dword [0x101f6070]
test ebx, ebx
je 0x1003fd46
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [0x101f60bc]
fstp dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
fmul dword [ebp - 0x10]
fdivr dword [ebp - 0x14]
fstp dword [ebp - 4]
cvttss2si ecx, dword [ebp - 4]
cmp ecx, 0x7fff
jg 0x1003fd0a
cmp ecx, 0xffff8000
jl 0x1003fd03
cmp ecx, 1
jge 0x1003fcf5
test ecx, ecx
js 0x1003fcf5
mov ecx, 1
jmp 0x1003fd0f
cmp ecx, 0xffffffff
jle 0x1003fd0f
test ecx, ecx
jg 0x1003fd0f
or ecx, 0xffffffff
jmp 0x1003fd0f
mov ecx, 0x8000
jmp 0x1003fd0f
mov ecx, 0x7fff
mov eax, dword [esi + 0x738]
mov word [eax + 0x44], cx
mov eax, dword [esi + 0x738]
movss xmm0, dword [eax + 0xc]
movss dword [0x101f607c], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [0x101f6080], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [0x101f6084], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret