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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.100973b0
mov eax, dword [0x100b1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10139658]
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 0x10024a90
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10024a90
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10024a90
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10024a90
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10024a90
mov eax, dword [0x101398b0]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + esi], 0
jne 0x10024a90
mov eax, dword [0x10139820]
cmp byte [eax + esi], 0
jne 0x10024a90
mov edx, dword [0x10139884]
mov eax, dword [0x1013051c]
add edx, 0xffffffd6
xor edx, 0x52891222
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10024328
mov ecx, dword [0x10139740]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10024a90
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10024a90
mov eax, dword [0x10139900]
add eax, 0xffffffb7
xor eax, 0x52891241
movss xmm0, dword [eax + esi]
ucomiss xmm0, dword [0x100a7980]
lahf
test ah, 0x44
jp 0x10024a90
imul eax, dword [ebp - 0x1808], 0x408
lea eax, [eax + 0x100bebec]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x10024a90
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10024a90
cmp byte [eax + 0x404], 0
jne 0x10024a90
cmp ecx, 2
jb 0x10024a90
cmp ecx, 3
jb 0x10024a90
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10024a90
mov eax, dword [0x1013e858]
test al, 1
jne 0x10024444
or eax, 1
mov dword [0x1013e858], eax
mov eax, dword [0x10139650]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x1002442c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100243f0
xor edx, edx
test ecx, ecx
je 0x1002441f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10024400
cmp esi, 0x8c8dc452
je 0x10024436
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x100243e1
xor ecx, ecx
mov dword [0x1013e854], ecx
jmp 0x1002444a
mov ecx, dword [ebp - 0x182c]
mov dword [0x1013e854], ecx
jmp 0x1002444a
mov ecx, dword [0x1013e854]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1824]
fstp st(0)
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 8]
lea edi, [ecx + 1]
mov eax, dword [edx + 0x14]
add eax, dword [edx + 0x18]
mov dword [ebp - 0x182c], ecx
cmp ecx, eax
je 0x10024a90
test esi, esi
je 0x1002447e
mov eax, dword [esi]
jmp 0x10024480
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 [0x10139654]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10024887
cmp dword [0x1013051c], 0
je 0x10024887
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x420], 0
je 0x10024887
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x10024630
cmp dword [0x1013051c], 0
je 0x10024630
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 [0x10139708]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1808]
mov eax, dword [ecx]
addss xmm0, dword [0x10133bd4]
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 [0x100a7980]
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 [0x1013051c]
movss xmm1, dword [eax]
mov eax, dword [0x101398b0]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + ecx], 0
jne 0x10024602
mov eax, dword [0x101398c8]
add eax, 0xffffffc5
xor eax, 0x52891233
movd xmm0, dword [eax + ecx]
mov eax, dword [0x101396b4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002460c
mov eax, dword [0x101396b4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.100160e0
comiss xmm0, dword [0x100a7a18]
ja 0x10024887
mov edx, dword [ebp - 0x1824]
mov eax, dword [edx + 0x14]
add eax, dword [edx + 0x18]
cmp edi, eax
je 0x1002488d
test esi, esi
je 0x1002464c
mov ecx, dword [esi]
jmp 0x1002464e
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 [0x10139654]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x100247f5
cmp dword [0x1013051c], 0
je 0x100247f5
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x420], 0
je 0x100247f5
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x10024887
cmp dword [0x1013051c], 0
je 0x10024887
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 [0x10139708]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x181c]
mov eax, dword [ecx]
addss xmm0, dword [0x10133bd4]
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 [0x1013051c]
movss xmm1, dword [eax]
mov eax, dword [0x101398b0]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + ecx], 0
jne 0x100247c5
mov eax, dword [0x101398c8]
add eax, 0xffffffc5
xor eax, 0x52891233
movd xmm0, dword [eax + ecx]
mov eax, dword [0x101396b4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x100247cf
mov eax, dword [0x101396b4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.100160e0
comiss xmm0, dword [0x100a7a18]
jbe 0x10024887
jmp 0x100247f8
xorps xmm6, xmm6
test esi, esi
je 0x10024800
mov ecx, dword [esi]
jmp 0x10024802
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 0x10024887
test esi, esi
je 0x10024828
mov ecx, dword [esi]
jmp 0x1002482a
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 0x10024850
mov eax, dword [esi]
jmp 0x10024852
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 0x10024887
test ecx, ecx
jne 0x1002489a
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x10024462
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 [0x101396b4]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm5
subss xmm0, dword [esi + 0x24]
movss xmm3, dword [0x100a7aa8]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x100248f9
comiss xmm0, xmm3
jbe 0x10024904
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 0x10024a20
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.10095ebc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10095ebc
mov esp, ebp
pop ebp
ret 8