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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100b1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10139878]
add eax, 0xffffffd9
xor eax, 0x5289121f
add eax, dword [0x1013051c]
push esi
push edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10133bf8]
movq qword [ebp - 0x28], xmm0
movss xmm1, dword [ebp - 0x28]
mulss xmm1, xmm1
movq xmm0, qword [eax + 0xc]
movq qword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mulss xmm0, xmm0
mov dword [ebp - 8], eax
addss xmm0, xmm1
call fcn.10016110
xorps xmm1, xmm1
movss dword [ebp - 0x14], xmm0
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x18], xmm1
jbe 0x1007d8f6
xorps xmm0, xmmword [0x100a7da0]
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
fld dword [ebp - 0x14]
fpatan
fstp dword [ebp - 0x18]
fld dword [ebp - 0x24]
fld dword [ebp - 0x28]
fpatan
movss xmm1, dword [ebp - 0x18]
mulss xmm1, dword [0x100a7bec]
fstp dword [ebp - 0x18]
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [ebp - 0x18]
mulss xmm1, dword [0x100a7bec]
movss dword [ebp - 0x18], xmm1
jmp 0x1007d912
comiss xmm0, xmm1
jbe 0x1007d905
movss xmm0, dword [0x100a7ce8]
jmp 0x1007d90d
movss xmm0, dword [0x100a7c0c]
movss dword [ebp - 0x14], xmm0
mov ecx, dword [0x10139654]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [0x100a79c0]
call fcn.100160d0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x100a79c0]
movss dword [ebp - 0x18], xmm0
call fcn.100160d0
mulss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x18]
call fcn.10016100
mulss xmm0, dword [ebp - 0x14]
mov ecx, dword [0x1013e944]
movss dword [ebp - 0x1c], xmm0
test cl, 1
jne 0x1007da05
or ecx, 1
mov dword [0x1013e944], ecx
mov eax, dword [0x10139650]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1007d9ec
nop dword [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1007d9b0
xor edx, edx
test ecx, ecx
je 0x1007d9dc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1007d9c0
mov eax, dword [ebp - 0x14]
cmp esi, 0x7939b3a7
je 0x1007d9f8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1007d9a0
mov ecx, dword [0x1013e944]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [0x1013e94c], eax
jmp 0x1007da0d
mov ecx, dword [0x1013e944]
mov dword [0x1013e94c], eax
jmp 0x1007da0d
mov eax, dword [0x1013e94c]
mov dword [ebp - 0x14], eax
test cl, 2
jne 0x1007da7d
or ecx, 2
mov dword [0x1013e944], ecx
mov eax, dword [0x10139650]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1007da76
nop word [eax + eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007da40
xor edx, edx
test ecx, ecx
je 0x1007da6c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007da50
mov eax, dword [ebp - 0x18]
cmp edi, 0xda6a172f
je 0x1007da78
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1007da30
xor eax, eax
mov dword [0x1013e948], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x1013e948]
fstp dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x2c]
mov eax, dword [0x10133bf8]
fmul dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xorps xmm0, xmmword [0x100a7da0]
xor ecx, ebp
movss dword [eax + 0x24], xmm0
mov eax, dword [0x10133bf8]
fstp dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x1c]
xorps xmm1, xmmword [0x100a7da0]
pop edi
movss dword [eax + 0x28], xmm1
pop esi
call fcn.10095ebc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret