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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x101ba248]
sub esp, 0x10
xorps xmm2, xmm2
push ebx
push esi
push edi
test cl, 1
jne 0x1003b7d2
or ecx, 1
xorps xmm0, xmm0
mov dword [0x101ba248], ecx
xorps xmm1, xmm1
movss dword [0x101ba25c], xmm0
movss dword [0x101ba260], xmm1
mov dword [0x101ba264], 0
jmp 0x1003b7e2
movss xmm1, dword [0x101ba260]
movss xmm0, dword [0x101ba25c]
mov esi, dword [ebp + 8]
movss xmm3, dword [esi + 0xc]
subss xmm3, xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm1
movss dword [ebp - 8], xmm3
movss dword [ebp - 4], xmm0
test cl, 2
jne 0x1003b871
or ecx, 2
mov dword [0x101ba248], ecx
mov ebx, dword [0x101b2fd4]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x1003b869
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 0x1003b830
xor edx, edx
test ecx, ecx
je 0x1003b859
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003b840
cmp edi, 0x7c2d100c
je 0x1003b896
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003b820
mov ecx, dword [0x101ba248]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x101ba240], ebx
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1003b97a
test cl, 4
jne 0x1003b8e8
or ecx, 4
mov dword [0x101ba248], ecx
mov eax, dword [0x101b2fd4]
mov ebx, dword [eax + 0x30]
jmp 0x1003b8dc
mov ecx, dword [0x101ba248]
mov esi, dword [ebp + 8]
jmp 0x1003b86b
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003b8b0
xor edx, edx
test ecx, ecx
je 0x1003b8d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003b8c0
cmp edi, 0x12ac36d1
je 0x1003b8e0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003b8a1
mov dword [0x101ba24c], ebx
jmp 0x1003b8ee
mov ebx, dword [0x101ba24c]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
movss xmm0, dword [ebp - 8]
mov ecx, dword [0x101ba240]
fstp dword [ebp - 0xc]
divss xmm0, dword [ebp - 0xc]
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 - 0x10], xmm0
fdivr dword [ebp - 0x10]
fstp dword [ebp - 0x10]
cvttss2si eax, dword [ebp - 0x10]
cmp eax, 0x7fff
jg 0x1003b966
cmp eax, 0xffff8000
jl 0x1003b95f
cmp eax, 1
jge 0x1003b951
test eax, eax
js 0x1003b951
mov eax, 1
jmp 0x1003b96b
cmp eax, 0xffffffff
jle 0x1003b96b
test eax, eax
jg 0x1003b96b
or eax, 0xffffffff
jmp 0x1003b96b
mov eax, 0x8000
jmp 0x1003b96b
mov eax, 0x7fff
mov esi, dword [ebp + 8]
xorps xmm2, xmm2
movss xmm0, dword [ebp - 4]
mov word [esi + 0x46], ax
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1003ba7f
mov eax, dword [0x101ba248]
test al, 8
jne 0x1003b9f8
or eax, 8
mov dword [0x101ba248], eax
mov eax, dword [0x101b2fd4]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x1003b9e3
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003b9b0
xor edx, edx
test ecx, ecx
je 0x1003b9d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003b9c0
cmp edi, 0x53453c88
je 0x1003b9ed
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003b9a4
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x101ba250], ebx
jmp 0x1003b9fe
mov esi, dword [ebp + 8]
mov dword [0x101ba250], ebx
jmp 0x1003b9fe
mov ebx, dword [0x101ba250]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp + 8], eax
call dword [ebp + 8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [0x101ba240]
fstp dword [ebp + 8]
divss xmm0, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
movss dword [ebp - 4], xmm0
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 4]
movss dword [ebp + 8], xmm0
fdivr dword [ebp + 8]
fstp dword [ebp + 8]
cvttss2si eax, dword [ebp + 8]
cmp eax, 0x7fff
jg 0x1003ba76
cmp eax, 0xffff8000
jl 0x1003ba6f
cmp eax, 1
jge 0x1003ba61
test eax, eax
js 0x1003ba61
mov eax, 1
jmp 0x1003ba7b
cmp eax, 0xffffffff
jle 0x1003ba7b
test eax, eax
jg 0x1003ba7b
or eax, 0xffffffff
jmp 0x1003ba7b
mov eax, 0x8000
jmp 0x1003ba7b
mov eax, 0x7fff
mov word [esi + 0x44], ax
movss xmm0, dword [esi + 0xc]
movss dword [0x101ba25c], xmm0
movss xmm0, dword [esi + 0x10]
pop edi
movss dword [0x101ba260], xmm0
movss xmm0, dword [esi + 0x14]
pop esi
movss dword [0x101ba264], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 4