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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1010083c]
sub esp, 0x10
push ebx
push esi
push edi
test al, 1
jne 0x1007e508
or eax, 1
mov dword [0x1010083c], eax
mov eax, dword [0x100fb6e4]
mov ebx, dword [eax + 0x30]
jmp 0x1007e4fc
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1007e4d0
xor edx, edx
test ecx, ecx
je 0x1007e4f9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1007e4e0
cmp esi, 0x90f473ab
je 0x1007e500
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1007e4c4
mov dword [0x10100840], ebx
jmp 0x1007e50e
mov ebx, dword [0x10100840]
cmp byte [0x100dea18], 0
je 0x1007e538
mov ecx, dword [0x100fb564]
mov eax, dword [0x100d6b10]
add ecx, 0xffffffb8
xor ecx, 0xb97c4e05
cmp byte [ecx + eax], 0
jne 0x1007e538
mov ecx, 3
jmp 0x1007e53a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x100dc11c], 0
je 0x1007e6aa
mov eax, dword [0x100fb744]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x10100528]
ja 0x1007e6aa
movss xmm2, dword [0x1010052c]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1007e6aa
subss xmm1, dword [0x10100524]
mov eax, dword [0x100d6be8]
movss xmm0, dword [0x100c8080]
mov ecx, dword [0x100fb6f4]
cdq
divss xmm1, xmm2
sub eax, edx
mov word [ebp - 4], 0xc8c8
mov ebx, eax
mov byte [ebp - 2], 0xc8
mov eax, dword [0x100d6bec]
cdq
sub eax, edx
sar ebx, 1
mov edi, eax
mov dword [ebp - 0x10], ebx
sar edi, 1
mov dword [ebp - 0xc], edi
subss xmm0, xmm1
mulss xmm0, dword [0x100c8178]
cvttss2si eax, xmm0
mov byte [ebp - 1], al
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100fb6f4]
lea edx, [edi - 1]
push edx
lea esi, [ebx - 1]
add ebx, 0xfffffffa
push esi
mov eax, dword [ecx]
lea edx, [edi - 6]
push edx
push ebx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100fb6f4]
mov eax, dword [ebp - 8]
mov byte [ebp - 1], al
mov word [ebp - 4], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 2], 0xc8
push dword [ebp - 4]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100fb6f4]
inc edi
mov edx, dword [ebp - 0xc]
push edi
push esi
mov eax, dword [ecx]
add edx, 6
push edx
push ebx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100fb6f4]
mov eax, dword [ebp - 8]
mov byte [ebp - 1], al
mov word [ebp - 4], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 2], 0xc8
push dword [ebp - 4]
mov eax, dword [eax + 0x38]
call eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x100fb6f4]
push edi
mov edi, dword [ebp - 0xc]
lea esi, [ebx + 1]
add ebx, 6
mov eax, dword [ecx]
push esi
lea edx, [edi + 6]
push edx
mov eax, dword [eax + 0x4c]
push ebx
call eax
mov ecx, dword [0x100fb6f4]
mov eax, dword [ebp - 8]
mov byte [ebp - 1], al
mov word [ebp - 4], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 2], 0xc8
push dword [ebp - 4]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100fb6f4]
lea edx, [edi - 1]
push edx
push esi
lea edx, [edi - 6]
mov eax, dword [ecx]
push edx
push ebx
mov eax, dword [eax + 0x4c]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret