Function at 0x1003ee40
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
mov eax, 0x1858
call fcn.100cd3d0
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x1848], ecx
mov ecx, dword [0x1044b4f8]
mov dword [ebp - 0x184c], eax
push esi
push edi
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x1838], edx
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x1840], edi
test edi, edi
je 0x1003f615
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x1003f615
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x1003f615
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x1003f615
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1003f615
mov eax, dword [0x1044f47c]
add eax, 0xffffffd1
xor eax, 0xde6eb13b
cmp byte [eax + edi], 0
jne 0x1003f615
mov eax, dword [0x1044f49c]
add eax, 0xffffffc9
xor eax, 0xde6eb143
cmp dword [eax + edi], 0
jle 0x1003f615
mov eax, dword [0x1044b734]
cmp byte [eax + edi], 0
jne 0x1003f615
mov edx, dword [0x1044f44c]
mov eax, dword [0x10334c34]
add edx, 0xffffffdd
xor edx, 0xde6eb12f
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x1003ef5e
mov ecx, dword [0x1044b5f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1003f615
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1003f615
mov eax, dword [0x1044f4cc]
add eax, 0xffffffbd
xor eax, 0xde6eb14f
vmovss xmm0, dword [eax + edi]
vucomiss xmm0, dword [0x100e6068]
lahf
test ah, 0x44
jp 0x1003f615
imul eax, dword [ebp - 0x1838], 0x598c
lea edi, [eax + 0x100ec928]
mov dword [ebp - 0x182c], edi
test edi, edi
je 0x1003f615
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1003f615
cmp eax, 2
jb 0x1003f615
mov edx, dword [edi + 0xc]
mov ecx, edx
mov eax, dword [edi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
cmp byte [eax + 0x3410], 0
jne 0x1003f615
mov ecx, dword [0x1044b4f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, eax
mov dword [ebp - 0x180c], esi
test esi, esi
je 0x1003f615
mov ecx, dword [0x1044f780]
test cl, 1
jne 0x1003f0bc
or ecx, 1
mov dword [0x1044f780], ecx
mov eax, dword [0x1044b4f0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1828], eax
test eax, eax
je 0x1003f098
nop word [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 0x1003f050
xor edx, edx
test ecx, ecx
je 0x1003f07f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f060
cmp esi, 0x8c8dc452
je 0x1003f0a2
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1828], eax
test eax, eax
jne 0x1003f040
mov edi, dword [ebp - 0x182c]
mov esi, dword [ebp - 0x180c]
xor ecx, ecx
mov dword [0x1044f788], ecx
jmp 0x1003f0c2
mov ecx, dword [ebp - 0x1828]
mov edi, dword [ebp - 0x182c]
mov esi, dword [ebp - 0x180c]
mov dword [0x1044f788], ecx
jmp 0x1003f0c2
mov ecx, dword [0x1044f788]
test ecx, ecx
je 0x1003f0cf
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fstp st(0)
mov eax, dword [esi]
mov ecx, esi
push 1
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [esi]
fstp st(0)
push 0
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [edi + 0xc]
fstp st(0)
mov esi, dword [edi]
lea eax, [ecx + 1]
mov dword [ebp - 0x1828], eax
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov dword [ebp - 0x1838], ecx
cmp ecx, eax
je 0x1003f615
test esi, esi
je 0x1003f113
mov eax, dword [esi]
jmp 0x1003f115
xor eax, eax
mov edx, ecx
and ecx, 1
mov dword [ebp - 0x1844], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
shr edx, 1
and ecx, edx
mov dword [ebp - 0x1834], edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1844]
mov eax, dword [eax + ecx*8]
mov ecx, dword [0x1044b4f4]
mov dword [ebp - 0x1824], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x1003f3fe
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x180c], ecx
mov ecx, eax
call dword [ebp - 0x180c]
mov ecx, dword [ebp - 0x1820]
fstp dword [ebp - 0x180c]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
mov ecx, dword [0x1044b5b8]
fstp dword [ebp - 0x1820]
vmovss xmm0, dword [ebp - 0x1820]
vaddss xmm0, xmm0, dword [ebp - 0x180c]
mov eax, dword [ecx]
vaddss xmm0, xmm0, dword [0x100e6068]
vaddss xmm0, xmm0, dword [0x103366bc]
vmovss dword [ebp - 0x180c], xmm0
mov eax, dword [eax + 0x30]
call eax
vmovss xmm1, dword [ebp - 0x180c]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
fstp dword [ebp - 0x1820]
vmovss xmm0, dword [ebp - 0x1820]
lea ecx, [ebp - 0x180c]
lea eax, [ebp - 0x1820]
cmovbe eax, ecx
lea ecx, [ebp - 0x1830]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x1830], xmm0
cmovbe ecx, eax
mov eax, dword [0x1044b554]
vmovss dword [ebp - 0x1820], xmm2
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1824]
vsubss xmm1, xmm0, dword [eax + 0x24]
vmovss xmm0, dword [ecx]
vsubss xmm0, xmm0, xmm1
call fcn.1002e060
vcomiss xmm0, dword [0x100e60c0]
ja 0x1003f3fe
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x1828]
cmp ecx, eax
je 0x1003f3fe
test esi, esi
je 0x1003f266
mov edx, dword [esi]
jmp 0x1003f268
xor edx, edx
mov eax, ecx
mov edi, ecx
mov ecx, dword [edx + 8]
and edi, 1
shr eax, 1
dec ecx
and ecx, eax
mov dword [ebp - 0x1810], eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x1044b4f4]
mov eax, dword [eax + edi*8]
mov dword [ebp - 0x183c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1830], eax
test eax, eax
je 0x1003f38f
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1824], ecx
mov ecx, eax
call dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x1830]
fstp dword [ebp - 0x1820]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1824], eax
call dword [ebp - 0x1824]
mov ecx, dword [0x1044b5b8]
fstp dword [ebp - 0x1824]
vmovss xmm0, dword [ebp - 0x1824]
vaddss xmm0, xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
vaddss xmm0, xmm0, dword [0x100e6068]
vaddss xmm0, xmm0, dword [0x103366bc]
vmovss dword [ebp - 0x180c], xmm0
mov eax, dword [eax + 0x30]
call eax
vmovss xmm1, dword [ebp - 0x180c]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
fstp dword [ebp - 0x1824]
vmovss xmm0, dword [ebp - 0x1824]
lea ecx, [ebp - 0x180c]
lea eax, [ebp - 0x1824]
cmovbe eax, ecx
lea ecx, [ebp - 0x1830]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x1830], xmm0
cmovbe ecx, eax
mov eax, dword [0x1044b554]
vmovss dword [ebp - 0x1824], xmm2
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x183c]
vsubss xmm1, xmm0, dword [eax + 0x24]
vmovss xmm0, dword [ecx]
vsubss xmm0, xmm0, xmm1
call fcn.1002e060
vcomiss xmm0, dword [0x100e60c0]
jbe 0x1003f3f8
test esi, esi
je 0x1003f397
mov eax, dword [esi]
jmp 0x1003f399
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x1810]
dec ecx
mov eax, dword [eax + 4]
and ecx, edx
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edi*8]
cmp byte [eax + 0x14], 0
jne 0x1003f3f8
test esi, esi
je 0x1003f3bc
mov eax, dword [esi]
jmp 0x1003f3be
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + edi*8]
test esi, esi
je 0x1003f3d5
mov eax, dword [esi]
jmp 0x1003f3d7
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1834]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1844]
mov ecx, dword [eax + ecx*8]
test edi, edi
je 0x1003f3f8
test ecx, ecx
jne 0x1003f410
mov edi, dword [ebp - 0x182c]
mov ecx, dword [ebp - 0x1838]
inc ecx
inc dword [ebp - 0x1828]
jmp 0x1003f0f7
mov eax, dword [0x1044b554]
vmovq xmm0, qword [ecx + 0x34]
vmovss xmm5, dword [ecx + 0x406c]
vmovss xmm6, dword [ecx + 0x24]
vmovss xmm4, dword [eax + 0x10]
vmovss xmm3, dword [0x100e6154]
vmovq qword [ebp - 0x1858], xmm0
vsubss xmm0, xmm6, dword [edi + 0x24]
vsubss xmm1, xmm4, xmm5
vdivss xmm0, xmm1, xmm0
vsubss xmm0, xmm3, xmm0
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm0
ja 0x1003f45d
vcomiss xmm0, xmm3
jbe 0x1003f469
vmovss dword [ecx + 0x406c], xmm4
vmovaps xmm5, xmm4
vsubss xmm0, xmm6, dword [edi + 0x24]
vsubss xmm1, xmm4, xmm5
vdivss xmm0, xmm1, xmm0
vsubss xmm0, xmm3, xmm0
vcomiss xmm2, xmm0
lea ecx, [ebp - 0x1810]
lea eax, [ebp - 0x1834]
cmovbe eax, ecx
lea esi, [ebp - 0x183c]
mov ecx, dword [ebp - 0x1840]
vcomiss xmm0, xmm3
vmovss dword [ebp - 0x1810], xmm0
vmovq xmm0, qword [edi + 0x34]
cmovbe esi, eax
mov eax, dword [ecx]
vmovss dword [ebp - 0x183c], xmm3
vmovss dword [ebp - 0x1834], xmm2
vmovq qword [ebp - 0x181c], xmm0
mov eax, dword [eax + 0x28]
call eax
vmovss xmm4, dword [esi]
vmovss xmm0, dword [0x100e6154]
vmulss xmm1, xmm4, dword [ebp - 0x181c]
vsubss xmm3, xmm0, xmm4
vmulss xmm0, xmm3, dword [ebp - 0x1858]
vaddss xmm0, xmm1, xmm0
vsubss xmm2, xmm0, dword [eax]
vmulss xmm1, xmm4, dword [ebp - 0x1818]
vmulss xmm0, xmm3, dword [ebp - 0x1854]
vaddss xmm0, xmm1, xmm0
vsubss xmm0, xmm0, dword [eax + 4]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.1002e0a0
vmovss xmm3, dword [0x100e6210]
vcomiss xmm3, xmm0
jb 0x1003f57f
vmovss xmm2, dword [0x100e6154]
vdivss xmm0, xmm0, xmm3
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
lea eax, [ebp - 0x1834]
lea ecx, [ebp - 0x1840]
cmovbe ecx, eax
lea eax, [ebp - 0x1810]
vcomiss xmm0, xmm2
vmovss dword [ebp - 0x1810], xmm2
cmovbe eax, ecx
mov ecx, dword [ebp - 0x1848]
vmovss dword [ebp - 0x1840], xmm1
vmovss dword [ebp - 0x1834], xmm0
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
push 0x1800
lea eax, [edi + 0x410]
push eax
lea eax, [ebp - 0x1808]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x17ec]
lea ecx, [edi + 0x42c]
mov edx, 0x80
nop dword [eax + eax]
lea ecx, [ecx + 0x30]
lea eax, [eax + 0x30]
vmovss xmm0, dword [ecx - 0x40]
vsubss xmm0, xmm0, dword [edi + 0x34]
vaddss xmm3, xmm0, dword [edi + 0x34]
vmovss xmm0, dword [ecx - 0x30]
vsubss xmm0, xmm0, dword [edi + 0x38]
vaddss xmm1, xmm0, dword [edi + 0x38]
vmovss xmm0, dword [ecx - 0x20]
vsubss xmm0, xmm0, dword [edi + 0x3c]
vaddss xmm0, xmm0, dword [edi + 0x3c]
vmovss dword [eax - 0x40], xmm3
vmovss dword [eax - 0x30], xmm1
vmovss dword [eax - 0x20], xmm0
sub edx, 1
jne 0x1003f5b0
push 0x1800
lea eax, [ebp - 0x1808]
push eax
push dword [ebp - 0x184c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
jmp 0x1003f617
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100cc01c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8