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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.10098f60
mov eax, dword [0x100b3040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10218e40]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1830], eax
mov eax, dword [ecx]
push esi
push edi
push edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1808], edx
call eax
mov esi, eax
test esi, esi
je 0x10024890
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10024890
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10024890
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10024890
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10024890
mov eax, dword [0x10219098]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + esi], 0
jne 0x10024890
mov eax, dword [0x10219008]
cmp byte [eax + esi], 0
jne 0x10024890
mov edx, dword [0x1021906c]
mov eax, dword [0x100b330c]
add edx, 0xffffffd6
xor edx, 0x52891222
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10024128
mov ecx, dword [0x10218f28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10024890
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10024890
mov eax, dword [0x102190e8]
add eax, 0xffffffb7
xor eax, 0x52891241
movss xmm0, dword [eax + esi]
ucomiss xmm0, dword [0x100a9bec]
lahf
test ah, 0x44
jp 0x10024890
imul eax, dword [ebp - 0x1808], 0x3b78
lea eax, [eax + 0x100c3bd4]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x10024890
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10024890
cmp byte [eax + 0x3b74], 0
jne 0x10024890
cmp ecx, 2
jb 0x10024890
cmp ecx, 3
jb 0x10024890
mov ecx, dword [0x10218e3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10024890
mov eax, dword [0x1021e040]
test al, 1
jne 0x10024244
or eax, 1
mov dword [0x1021e040], eax
mov eax, dword [0x10218e38]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x1002422c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100241f0
xor edx, edx
test ecx, ecx
je 0x1002421f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10024200
cmp esi, 0x8c8dc452
je 0x10024236
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x100241e1
xor ecx, ecx
mov dword [0x1021e03c], ecx
jmp 0x1002424a
mov ecx, dword [ebp - 0x182c]
mov dword [0x1021e03c], ecx
jmp 0x1002424a
mov ecx, dword [0x1021e03c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1824]
fstp st(0)
mov ecx, dword [edx + 0x20]
mov esi, dword [edx + 0x14]
lea edi, [ecx + 1]
mov eax, dword [edx + 0x20]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x182c], ecx
cmp ecx, eax
je 0x10024890
test esi, esi
je 0x1002427e
mov eax, dword [esi]
jmp 0x10024280
xor eax, eax
mov dword [ebp - 0x1828], eax
mov edx, ecx
mov eax, dword [eax + 8]
and ecx, 1
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov ecx, dword [0x10218e3c]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10024687
cmp dword [0x100b330c], 0
je 0x10024687
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x420], 0
je 0x10024687
mov ecx, dword [0x10218e3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x10024430
cmp dword [0x100b330c], 0
je 0x10024430
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1808], ecx
mov ecx, eax
call dword [ebp - 0x1808]
mov ecx, dword [ebp - 0x181c]
fstp dword [ebp - 0x1808]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
mov ecx, dword [0x10218ef0]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1808]
mov eax, dword [ecx]
addss xmm0, dword [0x100b69c4]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x180c], xmm0
movss dword [ebp - 0x1808], xmm0
call eax
movss xmm1, dword [ebp - 0x180c]
lea eax, [ebp - 0x1808]
comiss xmm1, dword [0x100a9bec]
lea ecx, [ebp - 0x181c]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
cmovae ecx, eax
movss dword [ebp - 0x1820], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x1820]
mov dword [ebp - 0x181c], 0
cmovae eax, ecx
mov ecx, dword [0x100b330c]
movss xmm1, dword [eax]
mov eax, dword [0x10219098]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + ecx], 0
jne 0x10024402
mov eax, dword [0x102190b0]
add eax, 0xffffffc5
xor eax, 0x52891233
movd xmm0, dword [eax + ecx]
mov eax, dword [0x10218e9c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002440c
mov eax, dword [0x10218e9c]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10015c90
comiss xmm0, dword [0x100a9c84]
ja 0x10024687
mov edx, dword [ebp - 0x1824]
mov eax, dword [edx + 0x20]
add eax, dword [edx + 0x24]
cmp edi, eax
je 0x1002468d
test esi, esi
je 0x1002444c
mov ecx, dword [esi]
jmp 0x1002444e
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 ecx, dword [0x10218e3c]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x100245f5
cmp dword [0x100b330c], 0
je 0x100245f5
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x420], 0
je 0x100245f5
mov ecx, dword [0x10218e3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x10024687
cmp dword [0x100b330c], 0
je 0x10024687
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1820], ecx
mov ecx, eax
call dword [ebp - 0x1820]
mov ecx, dword [ebp - 0x180c]
fstp dword [ebp - 0x181c]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
mov ecx, dword [0x10218ef0]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x181c]
mov eax, dword [ecx]
addss xmm0, dword [0x100b69c4]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x181c], xmm0
movss dword [ebp - 0x180c], xmm0
call eax
movss xmm1, dword [ebp - 0x181c]
lea eax, [ebp - 0x180c]
xorps xmm6, xmm6
lea ecx, [ebp - 0x1820]
comiss xmm1, xmm6
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
cmovae ecx, eax
movss dword [ebp - 0x1808], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x1808]
mov dword [ebp - 0x1820], 0
cmovae eax, ecx
mov ecx, dword [0x100b330c]
movss xmm1, dword [eax]
mov eax, dword [0x10219098]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + ecx], 0
jne 0x100245c5
mov eax, dword [0x102190b0]
add eax, 0xffffffc5
xor eax, 0x52891233
movd xmm0, dword [eax + ecx]
mov eax, dword [0x10218e9c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x100245cf
mov eax, dword [0x10218e9c]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10015c90
comiss xmm0, dword [0x100a9c84]
jbe 0x10024687
jmp 0x100245f8
xorps xmm6, xmm6
test esi, esi
je 0x10024600
mov ecx, dword [esi]
jmp 0x10024602
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]
cmp byte [eax + 0x1c], 0
jne 0x10024687
test esi, esi
je 0x10024628
mov ecx, dword [esi]
jmp 0x1002462a
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 [ebp - 0x1808], eax
test esi, esi
je 0x10024650
mov eax, dword [esi]
jmp 0x10024652
xor eax, eax
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x182c]
dec edx
mov dword [ebp - 0x1828], eax
mov eax, ecx
shr eax, 1
and ecx, 1
and edx, eax
cmp dword [ebp - 0x1808], 0
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + ecx*8]
je 0x10024687
test ecx, ecx
jne 0x1002469a
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x10024262
mov eax, dword [ecx + 0x38]
movq xmm0, qword [ecx + 0x30]
mov esi, dword [ebp - 0x1808]
movss xmm5, dword [ecx + 0x24]
movss xmm4, dword [ecx + 0x3760]
mov dword [ebp - 0x1834], eax
mov eax, dword [0x10218e9c]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm5
subss xmm0, dword [esi + 0x24]
movss xmm3, dword [0x100a9d18]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x100246f9
comiss xmm0, xmm3
jbe 0x10024704
movss dword [ecx + 0x3760], xmm2
movaps xmm4, xmm2
subss xmm5, dword [esi + 0x24]
subss xmm2, xmm4
mov dword [ebp - 0x181c], 0x3f800000
movaps xmm0, xmm3
mov dword [ebp - 0x1820], 0
lea eax, [ebp - 0x180c]
lea ecx, [ebp - 0x1820]
push 0x1800
divss xmm2, xmm5
subss xmm0, xmm2
comiss xmm0, xmm6
movss dword [ebp - 0x180c], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x181c]
comiss xmm3, xmm0
movq xmm0, qword [esi + 0x30]
movq qword [ebp - 0x1818], xmm0
movss xmm0, dword [ebp - 0x183c]
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [esi + 0x38]
subss xmm3, xmm1
movaps xmm2, xmm1
mov dword [ebp - 0x1810], eax
mulss xmm2, dword [ebp - 0x1818]
lea eax, [esi + 0x424]
push eax
lea eax, [ebp - 0x1804]
mulss xmm0, xmm3
push eax
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1838]
mulss xmm0, xmm3
movss dword [ebp - 0x180c], xmm2
movaps xmm2, xmm1
mulss xmm2, dword [ebp - 0x1814]
mulss xmm1, dword [ebp - 0x1810]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1834]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [ebp - 0x181c], xmm2
movss dword [ebp - 0x1820], xmm1
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1820]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x180c]
lea ecx, [esi + 0x440]
movss xmm5, dword [ebp - 0x181c]
add esp, 0xc
mov edx, 0x80
nop word [eax + eax]
movss xmm2, dword [ecx - 0x10]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 0x10]
add ecx, 0x30
subss xmm2, dword [esi + 0x30]
subss xmm1, dword [esi + 0x34]
subss xmm0, dword [esi + 0x38]
addss xmm2, xmm4
addss xmm1, xmm5
addss xmm0, xmm3
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub edx, 1
jne 0x10024820
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1830]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10097a6c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10097a6c
mov esp, ebp
pop ebp
ret 8