Function at 0x10139340
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 0x10230841
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x102d5080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
cmp byte [0x10359a42], 0
je 0x101399ae
mov eax, dword [0x103bfbf0]
add eax, 0xe77afa8c
xor eax, 0xdf32286b
cmp byte [eax + 0x63d68], 0
je 0x101393b0
test byte [eax + 0x6572c], 8
jne 0x101399ae
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x134]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + 0x25c]
cmp eax, 9
je 0x101399ae
cmp eax, 8
je 0x101399ae
mov eax, dword [0x10375568]
test al, 1
jne 0x1013952b
or eax, 1
mov dword [0x10375568], eax
mov dword [ebp - 4], 0
mov eax, dword [0x10371278]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1037127c]
je 0x1013945a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1013944c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10139423
xor edx, edx
test ecx, ecx
je 0x1013944c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10139430
cmp esi, 0x72e242a1
je 0x1013946d
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1037127c]
jne 0x10139410
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10373c68], eax
jmp 0x10139530
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x10139504
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x101394ba
cmp dword [ecx + 4], 0
jle 0x101394ba
push 0
mov edx, 0xa4a37590
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x101394b7
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101394c3
xor edx, edx
test ecx, ecx
je 0x101394ec
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101394d0
cmp edi, 0xa4a37590
je 0x10139514
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x1c]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10139486
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10373c68], eax
jmp 0x10139530
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [0x10373c68], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10139530
mov eax, dword [0x10373c68]
mov ecx, dword [ebp - 0x2c]
test byte [ecx + eax], 1
jne 0x101399ae
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
mov eax, dword [ecx + 0x140]
mov edx, dword [eax + 0x30]
test edx, 0x20000
jne 0x101399ae
mov eax, edx
mov dword [ebp - 0x18], edx
shr dword [ebp - 0x18], 4
and byte [ebp - 0x18], 1
shr eax, 3
and eax, 0xffffff01
mov dword [ebp - 0x30], eax
mov eax, edx
shr eax, 9
shr edx, 0xa
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x30], 0
mov dword [ebp - 0x38], edx
jne 0x101395ab
test al, al
jne 0x101395ab
cmp byte [ebp - 0x18], al
jne 0x101395ab
mov byte [ebp - 0x11], al
test dl, dl
je 0x101395af
mov byte [ebp - 0x11], 1
mov eax, dword [0x10373c54]
mov ecx, dword [ecx + 0x134]
mov dword [ebp - 0x3c], ecx
test al, 1
jne 0x1013970d
or eax, 1
mov dword [0x10373c54], eax
mov dword [ebp - 4], 1
mov eax, dword [0x10371278]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1037127c]
je 0x1013962e
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10139620
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101395f7
xor edx, edx
test ecx, ecx
je 0x10139620
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10139604
cmp edi, 0x4e9f1122
je 0x10139640
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1037127c]
jne 0x101395e4
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [0x1037550c], eax
jmp 0x10139712
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
cmp dword [eax + 4], edi
jle 0x101396e8
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10139694
cmp dword [ecx + 4], 0
jle 0x10139694
push 0
mov edx, 0x53630d14
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10139691
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x101396a0
xor edx, edx
test ecx, ecx
je 0x101396cc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101396b0
cmp edi, 0x53630d14
je 0x101396f7
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
inc edx
mov edi, dword [ebp - 0x20]
add ecx, 0x3c
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
cmp edx, dword [eax + 4]
jl 0x10139660
mov edx, dword [ebp - 0x38]
mov eax, edi
mov ecx, dword [ebp - 0x3c]
mov dword [0x1037550c], eax
jmp 0x10139712
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x20]
mov dword [0x1037550c], eax
jmp 0x10139712
mov eax, dword [0x1037550c]
movss xmm1, dword [ecx + eax]
movss xmm0, dword [ecx + eax + 4]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x38], xmm1
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000ded0
cmp byte [ebp - 0x11], 0
movaps xmm2, xmm0
mov edi, dword [ebp - 0x40]
movss xmm5, dword [0x102bda24]
movss xmm6, dword [0x102bdb98]
movss xmm4, dword [0x102bda6c]
movss xmm1, dword [edi + 8]
xorps xmm1, xmmword [0x102bdf90]
movss dword [edi + 8], xmm1
xorps xmm1, xmm1
movss dword [ebp - 0x34], xmm2
je 0x101397c3
cmp byte [ebp - 0x30], 0
je 0x1013984a
cmp byte [ebp - 0x24], 0
je 0x1013978f
movss xmm1, dword [0x102bd948]
jmp 0x101397b9
test dl, dl
je 0x1013979b
movss xmm1, dword [0x102bdb78]
comiss xmm6, xmm1
jbe 0x101397a9
addss xmm1, xmm4
comiss xmm6, xmm1
ja 0x101397a0
comiss xmm1, xmm5
jbe 0x101397b9
nop
subss xmm1, xmm4
comiss xmm1, xmm5
ja 0x101397b0
addss xmm1, dword [edi + 0x18]
movss dword [edi + 0x18], xmm1
mov eax, dword [0x10bbf240]
movd xmm0, dword [0x10359a68]
movss xmm7, dword [0x102bd7ac]
cvtdq2ps xmm0, xmm0
lea esi, [eax - 0x500c3374]
xor esi, 0x3743f7af
mov edx, dword [esi + 0x24c]
mulss xmm0, dword [0x102bd63c]
mov ecx, dword [edx + 0x1c]
subss xmm7, xmm0
movss xmm0, dword [0x102bd73c]
mov ecx, dword [ecx + 0x2c]
xor ecx, edx
mov edx, dword [esi + 0x1b0]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, edx
comiss xmm0, xmm2
mov dword [ebp - 0x30], ecx
jb 0x101398ba
mov eax, dword [esi + 0x140]
movss xmm0, dword [ebp - 0x24]
movss dword [eax + 0x24], xmm0
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
cmp byte [ebp - 0x18], 0
je 0x10139892
cmp byte [ebp - 0x24], 0
je 0x10139860
movss xmm1, dword [0x102bd9f0]
jmp 0x10139871
test dl, dl
je 0x1013986e
movss xmm1, dword [0x102bdb94]
jmp 0x10139871
movaps xmm1, xmm5
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x140]
mov dword [eax + 0x24], 0
jmp 0x1013979b
cmp byte [ebp - 0x24], 0
je 0x101398a5
movss xmm1, dword [0x102bd9b4]
jmp 0x101397b9
test dl, dl
je 0x1013979b
movss xmm1, dword [0x102bdb8c]
jmp 0x101397b9
fld dword [ebp - 0x3c]
fld dword [ebp - 0x38]
fpatan
movss xmm3, dword [edi + 0x18]
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x102bd974]
subss xmm3, xmm0
comiss xmm6, xmm3
jbe 0x101398e9
addss xmm3, xmm4
comiss xmm6, xmm3
ja 0x101398e0
comiss xmm3, xmm5
jbe 0x101398f9
nop
subss xmm3, xmm4
comiss xmm3, xmm5
ja 0x101398f0
movss xmm1, dword [0x102bdad4]
lea edx, [ebp - 0x3c]
divss xmm1, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
movss xmm2, dword [ebp - 0x24]
movaps xmm0, xmm2
movss dword [ebp - 0x3c], xmm1
xorps xmm0, xmmword [0x102bdf90]
comiss xmm1, xmm0
movss dword [ebp - 0x40], xmm0
xorps xmm0, xmm0
cmovae ecx, edx
lea edx, [ebp - 0x24]
comiss xmm2, xmm1
cmovae edx, ecx
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
comiss xmm3, xmm0
mov ecx, dword [eax + 0x140]
mov eax, dword [edx]
mov dword [ecx + 0x24], eax
movss xmm0, dword [ebp - 0x30]
jbe 0x1013995d
xorps xmm0, xmmword [0x102bdf90]
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
mulss xmm3, xmm7
xor eax, 0x3743f7af
mov eax, dword [eax + 0x140]
movss dword [eax + 0x28], xmm0
movss xmm0, dword [edi + 0x18]
subss xmm0, xmm3
comiss xmm6, xmm0
jbe 0x10139999
nop dword [eax]
addss xmm0, xmm4
comiss xmm6, xmm0
ja 0x10139990
comiss xmm0, xmm5
jbe 0x101399a9
nop
subss xmm0, xmm4
comiss xmm0, xmm5
ja 0x101399a0
movss dword [edi + 0x18], xmm0
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