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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f1493
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [0x10305fef], 0
jne 0x10129473
cmp byte [0x10308a3c], 0
je 0x10129664
cmp dword [ebx + 4], 3
jl 0x10129664
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x14c]
mov eax, dword [0x1031e91c]
mov dword [ebp - 0x24], ecx
test al, 1
jne 0x101295c6
or eax, 1
mov dword [0x1031e91c], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x10129504
nop
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x101294f9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x101294d3
xor edx, edx
test ecx, ecx
je 0x101294f9
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101294e0
cmp edi, 0x4e9f1122
je 0x1012951d
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x101294c0
xor eax, eax
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x103201cc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101295cb
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x101295b4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10129567
cmp dword [ecx + 4], 0
jle 0x10129567
push 0
mov edx, 0x53630d14
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10129564
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10129570
xor edx, edx
test ecx, ecx
je 0x1012959c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10129580
cmp ebx, 0x53630d14
je 0x101295bb
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10129536
mov eax, ebx
jmp 0x10129506
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
jmp 0x10129506
mov eax, dword [0x103201cc]
movss xmm0, dword [eax + ecx]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + ecx + 4]
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
movss dword [ebp - 0x20], xmm0
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x158]
mov ecx, dword [eax + 0x30]
mov eax, ecx
shr eax, 9
test al, 1
jne 0x10129664
mov eax, ecx
shr eax, 0xa
test al, 1
jne 0x10129664
mov eax, ecx
shr eax, 4
test al, 1
jne 0x10129664
shr ecx, 3
test cl, 1
jne 0x10129664
cmp byte [ebx + 2], 0
jne 0x10129668
call fcn.1012a510
movss xmm0, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x20]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000d460
movss xmm1, dword [0x1027112c]
comiss xmm1, xmm0
jb 0x10129668
mov byte [ebx + 2], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebx + 2], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret