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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100d4364]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101ba278]
push ebx
push esi
push edi
test al, 1
jne 0x10039cd2
or eax, 1
mov dword [0x101ba278], eax
mov ebx, dword [0x101b2fd4]
mov ebx, dword [ebx + 0x30]
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x10039cb8
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10039c80
xor edx, edx
test ecx, ecx
je 0x10039ca9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039c90
cmp edi, 0xadc3dc05
je 0x10039cc5
mov ebx, dword [ebx + 4]
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x10039c74
mov eax, dword [0x101ba278]
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [0x101ba23c], ebx
jmp 0x10039cdb
mov eax, dword [0x101ba278]
mov dword [0x101ba23c], ebx
jmp 0x10039cdb
mov ecx, dword [0x101ba23c]
mov dword [ebp - 8], ecx
test al, 2
jne 0x10039d41
or eax, 2
mov dword [0x101ba278], eax
mov ecx, dword [0x101b2fd4]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x10039d39
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10039d00
xor edx, edx
test ecx, ecx
je 0x10039d2d
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039d10
cmp edi, 0xa9bf35
je 0x10039e33
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10039cf4
mov eax, dword [0x101ba278]
xor ebx, ebx
mov dword [0x101ba258], ebx
test al, 4
jne 0x10039db1
or eax, 4
mov dword [0x101ba278], eax
mov ecx, dword [0x101b2fd4]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x10039da9
nop word [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 0x10039d70
xor edx, edx
test ecx, ecx
je 0x10039d9d
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039d80
cmp edi, 0xb488961c
je 0x10039e3d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10039d60
mov eax, dword [0x101ba278]
xor ebx, ebx
mov dword [0x101ba274], ebx
test al, 8
jne 0x10039e1d
or eax, 8
mov dword [0x101ba278], eax
mov ecx, dword [0x101b2fd4]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x10039e15
nop word [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 0x10039de0
xor edx, edx
test ecx, ecx
je 0x10039e09
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039df0
cmp edi, 0x1da69e46
je 0x10039e47
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10039dd0
mov eax, dword [0x101ba278]
xor ebx, ebx
mov dword [0x101ba27c], ebx
test al, 0x10
jne 0x10039e96
or eax, 0x10
mov dword [0x101ba278], eax
mov eax, dword [0x101b2fd4]
mov ebx, dword [eax + 0x30]
jmp 0x10039e8c
mov eax, dword [0x101ba278]
jmp 0x10039d3b
mov eax, dword [0x101ba278]
jmp 0x10039dab
mov eax, dword [0x101ba278]
jmp 0x10039e17
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10039e60
xor edx, edx
test ecx, ecx
je 0x10039e89
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039e70
cmp edi, 0xe5abc68c
je 0x10039e90
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10039e50
mov dword [0x101ba254], ebx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [0x100c80c4]
lahf
test ah, 0x44
jp 0x10039ec5
movss dword [ebp - 8], xmm0
mov ecx, dword [0x101ba258]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
mov ecx, dword [0x101ba274]
fstp dword [ebp - 0xc]
test ecx, ecx
je 0x10039f69
cmp dword [0x101ba27c], 0
je 0x10039f69
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, dword [0x100c8284]
lahf
test ah, 0x44
jnp 0x10039f69
mov ecx, dword [0x101ba27c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
mov ecx, dword [0x101ba274]
fstp dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 8]
comiss xmm0, dword [ebp - 0x14]
fstp dword [ebp - 0x10]
jbe 0x10039f51
lea eax, [ebp - 0x14]
movss xmm0, dword [eax]
movss dword [ebp - 8], xmm0
jmp 0x10039f81
comiss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
lea ecx, [ebp - 8]
cmovae eax, ecx
movss xmm0, dword [eax]
movss dword [ebp - 8], xmm0
jmp 0x10039f81
movss xmm0, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10039f81
mov dword [ebp - 8], 0x3f800000
mov ecx, dword [0x101ba254]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
fdivr dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
maxss xmm0, dword [ebp - 0xc]
movss dword [0x1019f0a0], xmm0
call fcn.100b366f
mov esp, ebp
pop ebp
ret