Function at 0x10126f88
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
push 0xffffffffffffffff
push 0x101e760d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x102924c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x101273e6
cmp dword [0x103c3e20], 0
je 0x101273e6
mov esi, dword [eax + 8]
mov eax, dword [0x103c8cd0]
test al, 1
jne 0x10126eb6
or eax, 1
mov dword [0x103c8cd0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10074160
push 0xda7d68cb
mov edx, eax
mov ecx, 0x103c8dd8
call fcn.100745a0
add esp, 4
push 0x101ea780
call fcn.101ab3d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103c8dd8]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test esi, esi
je 0x10126f29
test edi, edi
je 0x10126f29
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10126f29
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10126f1c
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10126ef2
xor edx, edx
test ecx, ecx
je 0x10126f19
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10126f00
cmp edi, 0x11ab48ff
je 0x10126f3c
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x10126ed4
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10126f35.2
jmp dword [eax*4 + 0x101273fc]
mov ecx, dword [ebp - 0x14]
jmp 0x10126f2b
push dword [ecx + 4]
call fcn.101bbcec
add esp, 4
mov edx, eax
jmp 0x10126f8b
push dword [ecx + 8]
call fcn.101bbcad
add esp, 4
mov edx, eax
jmp 0x10126f8b
movss xmm0, dword [ecx + 0xc]
sub esp, 8
movss dword [ebp - 0x20], xmm0
fld dword [ebp - 0x20]
fstp qword [esp]
call fcn.101d78f0
fstp dword [ebp - 0x20]
cvttss2si edx, dword [ebp - 0x20]
add esp, 8
jmp 0x10126f8b
xor edx, edx
jmp 0x10126f8b
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x103bc730]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x103bc730]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x101273e6
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x103c8cd0]
mov esi, dword [esi + 8]
test al, 1
jne 0x10127005
or eax, 1
mov dword [0x103c8cd0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10074160
push 0xda7d68cb
mov edx, eax
mov ecx, 0x103c8dd8
call fcn.100745a0
add esp, 4
push 0x101ea780
call fcn.101ab3d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103c8dd8]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test esi, esi
je 0x10127079
test edi, edi
je 0x10127079
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10127079
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1012706c
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10127041
xor edx, edx
test ecx, ecx
je 0x10127069
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10127050
cmp edi, 0xfd0c5087
je 0x1012708c
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x10127023
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10127085.4
jmp dword [eax*4 + 0x10127418]
mov ecx, dword [ebp - 0x14]
jmp 0x1012707b
push dword [ecx + 4]
call fcn.101bd3f9
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x101270e2
push dword [ecx + 8]
call fcn.101bd3e6
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x101270e2
movss xmm0, dword [ecx + 0xc]
jmp 0x101270e2
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x101270e2
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.101d5050
cvtsd2ss xmm0, xmm0
jmp 0x101270e2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c]
movss dword [ebp - 0x18], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x103c8cd0]
test al, 1
jne 0x1012713a
or eax, 1
mov dword [0x103c8cd0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10074160
push 0xda7d68cb
mov edx, eax
mov ecx, 0x103c8dd8
call fcn.100745a0
add esp, 4
push 0x101ea780
call fcn.101ab3d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103c8dd8]
call eax
mov ecx, eax
mov dword [ebp - 0x24], ecx
test edi, edi
je 0x101271b2
test ecx, ecx
je 0x101271b2
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x20], edi
test edi, edi
je 0x101271b2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [edi]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x101271a3
mov eax, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10127174
xor edx, edx
test ecx, ecx
je 0x101271a3
mov edi, eax
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10127183
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], 0xfc0c4ef4
mov edi, dword [ebp - 0x20]
je 0x101271b4
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x20], edi
test edi, edi
je 0x101271b2
mov ecx, dword [ebp - 0x24]
jmp 0x10127158
xor edi, edi
movsx eax, byte [edi + 0x10]
dec eax
cmp eax, 6
ja case.0x101271be.4
jmp dword [eax*4 + 0x10127434]
push dword [edi + 4]
call fcn.101bd3f9
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x10127216
push dword [edi + 8]
call fcn.101bd3e6
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x10127216
movss xmm0, dword [edi + 0xc]
jmp 0x10127216
movd xmm0, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x10127216
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.101d5050
cvtsd2ss xmm0, xmm0
jmp 0x10127216
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c]
movss dword [ebp - 0x14], xmm0
mov esi, dword [eax + 8]
mov eax, dword [0x103c8cd0]
test al, 1
jne 0x1012726e
or eax, 1
mov dword [0x103c8cd0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10074160
push 0xda7d68cb
mov edx, eax
mov ecx, 0x103c8dd8
call fcn.100745a0
add esp, 4
push 0x101ea780
call fcn.101ab3d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103c8dd8]
call eax
mov edi, eax
mov dword [ebp - 0x20], edi
test esi, esi
je 0x101272e9
test edi, edi
je 0x101272e9
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x101272e9
nop dword [eax]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x101272dc
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x101272b0
xor edx, edx
test ecx, ecx
je 0x101272d9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101272c0
cmp edi, 0xff0c53ad
je 0x101272fc
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x10127290
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x101272f5.4
jmp dword [eax*4 + 0x10127450]
mov ecx, dword [ebp - 0x1c]
jmp 0x101272eb
push dword [ecx + 4]
call fcn.101bd3f9
fstp dword [ebp - 0x1c]
movss xmm3, dword [ebp - 0x1c]
add esp, 4
jmp 0x10127355
push dword [ecx + 8]
call fcn.101bd3e6
fstp dword [ebp - 0x1c]
movss xmm3, dword [ebp - 0x1c]
add esp, 4
jmp 0x10127355
movss xmm3, dword [ecx + 0xc]
jmp 0x10127355
movd xmm3, dword [ecx + 0xc]
cvtdq2ps xmm3, xmm3
jmp 0x10127355
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.101d5050
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
jmp 0x10127355
xorps xmm3, xmm3
mov eax, dword [0x103bdb34]
test eax, eax
je 0x101273e6
mov ecx, dword [0x103bdb30]
xor edx, edx
movss xmm1, dword [0x10278040]
lea esi, [eax + ecx]
cmp ecx, esi
je 0x101273e6
mov eax, dword [0x103bdb2c]
mov edi, dword [0x103bdb28]
dec eax
movss xmm2, dword [0x102785e0]
mov dword [ebp - 0x24], eax
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x4a], 0
jne 0x101273bd
mov edi, dword [0x103bc78c]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
mov edi, dword [0x103bdb28]
andps xmm0, xmm2
comiss xmm1, xmm0
jb 0x101273bd
movaps xmm1, xmm0
mov edx, eax
mov eax, dword [ebp - 0x24]
inc ecx
cmp ecx, esi
jne 0x10127390
test edx, edx
je 0x101273e6
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x24], xmm0
movss xmm0, dword [ebp - 0x14]
mov byte [edx + 0x4a], 1
movss dword [edx + 0x28], xmm0
movss dword [edx + 0x2c], xmm3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4