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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1848
call fcn.101a3d80
mov eax, dword [0x104cdec0]
xor eax, esp
mov dword [esp + 0x1844], eax
cmp byte [0x102f274c], 0
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], eax
je 0x10031c9f
mov ecx, dword [0x105d9cec]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x10031c9f
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10031c9f
mov eax, dword [0x105d9fdc]
add eax, 0xffffffce
xor eax, 0x58f652e0
cmp dword [eax + esi], 0
jne 0x10031c9f
mov eax, dword [0x105d9efc]
cmp byte [eax + esi], 0
jne 0x10031c9f
mov edx, dword [0x105d9fb0]
mov eax, dword [0x102f2748]
add edx, 0xffffffd9
xor edx, 0x58f652d5
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1003189e
mov ecx, dword [0x105d9df4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10031c9f
imul eax, edi, 0x2670
lea esi, [eax + 0x104cc38c]
mov dword [esp + 0x18], esi
test esi, esi
je 0x10031c9f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10031c9f
cmp byte [esi + 0x266c], 0
jne 0x10031c9f
cmp eax, 2
jb 0x10031c9f
mov ecx, dword [0x105d9ce8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [esp + 0x38], eax
test eax, eax
je 0x10031c9f
mov ecx, dword [0x105d3170]
test cl, 1
jne 0x10031986
or ecx, 1
mov dword [0x105d3170], ecx
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x1003196c
nop dword [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10031930
xor edx, edx
test ecx, ecx
je 0x1003195d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10031940
cmp esi, 0x8c8dc452
je 0x10031976
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x10031920
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov dword [0x105d316c], ecx
jmp 0x1003198c
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
mov dword [0x105d316c], ecx
jmp 0x1003198c
mov ecx, dword [0x105d316c]
test ecx, ecx
je 0x100319a3
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
fstp dword [0x102501ac]
mov edi, dword [esi + 0x10]
add edi, dword [esi + 0xc]
mov esi, dword [esi]
mov dword [esp + 0x10], esi
nop
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
cmp edi, eax
je 0x10031c9f
dec edi
test esi, esi
je 0x100319cc
mov ecx, dword [esi]
jmp 0x100319ce
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edx, edi
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, edi
and ecx, 1
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100319b0
mov ecx, eax
call fcn.10033e80
test al, al
je 0x100319b0
cmp edi, dword [esp + 8]
je 0x100319b0
lea edx, [edi - 1]
test esi, esi
je 0x10031a0a
mov eax, dword [esi]
jmp 0x10031a0c
xor eax, eax
mov ecx, dword [eax + 8]
mov dword [esp + 8], eax
dec ecx
mov eax, edx
and edx, 1
shr eax, 1
and ecx, eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax + edx*8], 0
je 0x100319b0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esp + 0x14]
movss xmm1, dword [ecx + 0x1bd8]
movss xmm0, dword [ecx + 0x1bdc]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10031a73
sqrtsd xmm0, xmm0
jmp 0x10031a78
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [0x101bc1dc]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
ja 0x10031c9f
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
call fcn.1002e620
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov eax, dword [eax]
movq xmm0, qword [eax + 0x1bd8]
mov esi, dword [eax + 0x1be0]
mov eax, dword [esp + 0x10]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x2c], eax
call fcn.1002e620
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x1bcc]
mov eax, dword [edi]
movss dword [esp + 0x10], xmm0
mov eax, dword [eax + 0x28]
mov dword [esp + 0x3c], eax
call dword [esp + 0x3c]
mov eax, dword [edi]
mov ecx, edi
fstp dword [esp + 0x10]
push 1
mov eax, dword [eax + 0x28]
mov dword [esp + 0x3c], eax
call dword [esp + 0x3c]
fadd dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
mov eax, dword [0x105d9d44]
movss xmm3, dword [esp + 0xc]
xorps xmm1, xmm1
movss xmm2, dword [edi + 0x1bcc]
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
subss xmm3, xmm2
addss xmm0, dword [0x102f54d0]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 0x38], 0
addss xmm2, xmm0
movss xmm0, dword [0x101bc1dc]
divss xmm0, xmm3
addss xmm2, xmm3
subss xmm2, dword [eax + 0x10]
lea eax, [esp + 0x10]
mulss xmm2, xmm0
comiss xmm1, xmm2
movss dword [esp + 0x10], xmm2
cmovbe ecx, eax
lea eax, [esp + 0xc]
comiss xmm2, dword [0x101bc1dc]
cmovbe eax, ecx
sub esp, 0x10
mov ecx, esp
movss xmm0, dword [eax]
mov eax, dword [edi + 0x1be0]
movss dword [esp + 0xc], xmm0
sub esp, 0xc
movq xmm0, qword [edi + 0x1bd8]
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x34]
mov dword [ecx + 8], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], esi
lea eax, [esp + 0x58]
push eax
call fcn.10124d40
push 0x1800
lea eax, [esp + 0x6c]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [edi + 0x1bd8]
add esp, 0x2c
movss xmm4, dword [edi + 0x1bdc]
lea esi, [esp + 0x48]
movss xmm5, dword [edi + 0x1be0]
lea edx, [esp + 0x58]
movss xmm6, dword [esp + 0x44]
lea eax, [edi + 0x1c]
movss xmm7, dword [esp + 0x40]
lea ecx, [esp + 0x54]
sub esi, edi
sub edx, edi
mov dword [esp + 0x38], edx
mov edx, 0x80
mov edi, dword [esp + 0x38]
nop dword [eax]
movss xmm2, dword [eax - 0x10]
movss xmm1, dword [eax]
subss xmm2, xmm3
movss xmm0, dword [eax + 0x10]
subss xmm1, xmm4
subss xmm0, xmm5
addss xmm2, dword [esp + 0x3c]
addss xmm1, xmm7
addss xmm0, xmm6
movss dword [ecx], xmm2
add ecx, 0x30
movss dword [esi + eax], xmm1
movss dword [eax + edi], xmm0
add eax, 0x30
sub edx, 1
jne 0x10031c30
push 0x1800
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1844]
xor ecx, esp
call fcn.101a3d69
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x184c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101a3d69
mov esp, ebp
pop ebp
ret 8