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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cc4fd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1026b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [0x10304c84]
test al, 1
jne 0x10021d18
or eax, 1
mov dword [0x10304c84], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x10021c49
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10021c3e
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10021c18
xor edx, edx
test ecx, ecx
je 0x10021c3e
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10021c25
cmp esi, 0x4e9f1122
je 0x10021c5c
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x10021c05
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10304c88], eax
jmp 0x10021d1d
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 4], esi
jle 0x10021cf4
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10021ca6
cmp dword [ecx + 4], 0
jle 0x10021ca6
push 0
mov edx, 0x1c93bcf0
call fcn.10115470
add esp, 4
test eax, eax
je 0x10021ca3
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x10021cb0
xor edx, edx
test ecx, ecx
je 0x10021cdc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10021cc0
cmp esi, 0x1c93bcf0
je 0x10021d04
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10021c75
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10304c88], eax
jmp 0x10021d1d
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x10304c88], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10021d1d
mov eax, dword [0x10304c88]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10306544]
test al, 1
jne 0x10021e72
or eax, 1
mov dword [0x10306544], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x10021d94
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10021d89
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10021d63
xor edx, edx
test ecx, ecx
je 0x10021d89
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10021d70
cmp esi, 0x72e242a1
je 0x10021daa
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x10021d50
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [0x1030650c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10021e77
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10021e48
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10021df4
cmp dword [ecx + 4], 0
jle 0x10021df4
push 0
mov edx, 0x84cdad2
call fcn.10115470
add esp, 4
test eax, eax
je 0x10021df1
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10021e00
xor edx, edx
test ecx, ecx
je 0x10021e2c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10021e10
cmp esi, 0x84cdad2
je 0x10021e5b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
inc edx
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x10021dc3
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [0x1030650c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10021e77
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [0x1030650c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10021e77
mov eax, dword [0x1030650c]
cmp dword [ebp - 0x28], 2
je 0x100223fd
cmp dword [eax + ecx], 0
jle 0x100223fd
mov eax, dword [0x10307da8]
test al, 1
jne 0x10021fce
or eax, 1
mov dword [0x10307da8], eax
mov dword [ebp - 4], 2
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x10021ef9
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10021eee
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10021ec8
xor edx, edx
test ecx, ecx
je 0x10021eee
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10021ed5
cmp esi, 0x72e242a1
je 0x10021f0f
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x10021eb5
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [0x10307da4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10021fd3
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10021fa4
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10021f59
cmp dword [ecx + 4], 0
jle 0x10021f59
push 0
mov edx, 0x9c15080d
call fcn.10115470
add esp, 4
test eax, eax
je 0x10021f56
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10021f62
xor edx, edx
test ecx, ecx
je 0x10021f8c
nop
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10021f70
cmp esi, 0x9c15080d
je 0x10021fb7
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
inc edx
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x10021f28
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [0x10307da4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10021fd3
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [0x10307da4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10021fd3
mov eax, dword [0x10307da4]
cmp byte [eax + ecx], 0
jne 0x100223fd
mov edi, dword [0x10b0bae4]
lea esi, [ecx + 8]
mov eax, dword [esi]
add edi, 0x18e205b
mov ecx, esi
xor edi, 0xef4df774
call dword [eax + 0x28]
imul ebx, eax, 0x5d8
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1002201c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100223fd
jmp 0x1002202a
cmp byte [ebx + edi + 0x4c0000], 0
je 0x100223fd
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
xorps xmm3, xmm3
test al, al
je 0x100220aa
mov eax, dword [0x10633ee0]
movss xmm0, dword [ebx + edi + 0x4c00fc]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov eax, dword [eax + 0x108]
subss xmm0, dword [eax + 0x10]
call fcn.1000c7c0
movss xmm1, dword [0x10258118]
comiss xmm1, xmm0
jbe 0x100220aa
lea eax, [edi + 0x4c0104]
add eax, ebx
movss xmm6, dword [eax]
movss xmm2, dword [eax + 4]
movaps xmm0, xmm6
movss xmm1, dword [eax + 8]
mulss xmm0, xmm6
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1000c7e0
comiss xmm0, xmm3
ja 0x100220b6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x28]
movss xmm6, dword [eax]
movss xmm7, dword [eax + 4]
movss xmm1, dword [eax + 8]
mov eax, dword [0x10306500]
movss dword [ebp - 0x34], xmm6
movss dword [ebp - 0x30], xmm7
test al, 1
jne 0x100221fe
or eax, 1
mov dword [0x10306500], eax
mov dword [ebp - 4], 3
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x10022138
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002212d
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10022107
xor edx, edx
test ecx, ecx
je 0x1002212d
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10022114
cmp esi, 0x4e9f1122
je 0x10022144
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x100220f4
xor eax, eax
mov dword [0x103064d4], eax
jmp 0x10022203
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x100221e8
xor ecx, ecx
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10022191
cmp dword [ecx + 4], 0
jle 0x10022191
push 0
mov edx, 0x4cdd3467
call fcn.10115470
add esp, 4
test eax, eax
je 0x1002218e
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100221a0
xor edx, edx
test ecx, ecx
je 0x100221cc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100221b0
cmp edi, 0x4cdd3467
je 0x100221f1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
inc edx
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x10022160
mov eax, esi
mov dword [0x103064d4], eax
jmp 0x10022203
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x103064d4], eax
jmp 0x10022203
mov eax, dword [0x103064d4]
mov edi, dword [ebp + 8]
mov ecx, dword [0x1031b004]
push 0
add ecx, 0xe57b4e31
movss dword [ebp - 0x34], xmm6
movss xmm0, dword [eax + edi + 8]
xor ecx, 0x147cb0fe
mulss xmm0, dword [0x10257ff4]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
movss dword [ebp - 0x30], xmm7
push eax
addss xmm0, xmm1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x2c], xmm0
call fcn.101443b0
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebx + 4]
movss xmm1, dword [esi]
movss xmm0, dword [esi + 4]
subss xmm1, xmm6
subss xmm0, xmm7
movss dword [ebp + 8], xmm1
movss dword [ebp - 0x28], xmm0
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x10258204]
movss xmm1, dword [ebp + 8]
mulss xmm1, xmm1
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.1000c7e0
movss xmm2, dword [0x102583a8]
divss xmm2, xmm0
movss xmm0, dword [esi + 8]
subss xmm0, dword [ebp - 0x20]
mulss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [ebp + 8]
movaps xmm2, xmm0
mulss xmm2, dword [0x102583e8]
xorps xmm0, xmm0
comiss xmm1, xmm0
movss xmm0, dword [ebp - 0x24]
jb 0x100222f1
addss xmm0, dword [0x10258298]
mov eax, dword [ebx + 8]
cmp byte [eax], 0
je 0x100223bc
mov eax, dword [ebx + 0xc]
subss xmm2, dword [eax]
subss xmm0, dword [eax + 4]
movss dword [ebp + 8], xmm2
fld dword [ebp + 8]
fld dword [0x102582e0]
movss dword [ebp - 0x28], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [0x102582e0]
fstp dword [ebp + 8]
movss xmm0, dword [ebp + 8]
comiss xmm0, dword [0x10258298]
movss dword [ebp + 8], xmm0
jbe 0x10022348
subss xmm0, xmm1
movss dword [ebp + 8], xmm0
movss xmm2, dword [0x10258404]
comiss xmm2, xmm0
jbe 0x1002235e
addss xmm0, xmm1
movss dword [ebp + 8], xmm0
fld dword [ebp - 0x28]
fld dword [0x102582e0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm2, dword [0x10258298]
movss xmm0, dword [0x102582e0]
fstp dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x28]
comiss xmm1, xmm2
jbe 0x1002238d
subss xmm1, xmm0
movss xmm3, dword [0x10258404]
comiss xmm3, xmm1
jbe 0x1002239e
addss xmm1, xmm0
movss xmm0, dword [ebp + 8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
sqrtss xmm1, xmm0
minss xmm1, xmm2
jmp 0x100223e5
mov eax, dword [ebx + 0x10]
movss xmm1, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x1c]
subss xmm1, dword [eax + 4]
subss xmm0, dword [eax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
sqrtss xmm1, xmm0
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x100223fd
mov eax, dword [ebx + 0x18]
mov dword [eax], edi
mov eax, dword [ebx + 0x14]
movss dword [eax], xmm1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4