Function at 0x1003f7b0
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.100cf940
mov eax, dword [0x100f4040]
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 [0x103460d8]
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 - 0x1844], edi
test edi, edi
je 0x1004009c
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x1004009c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x1004009c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x1004009c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004009c
mov eax, dword [0x104551fc]
add eax, 0xffffffd0
xor eax, 0x90ddbbda
cmp byte [eax + edi], 0
jne 0x1004009c
mov eax, dword [0x1045521c]
add eax, 0xffffffc8
xor eax, 0x90ddbbe2
cmp dword [eax + edi], 0
jle 0x1004009c
mov eax, dword [0x10346314]
cmp byte [eax + edi], 0
jne 0x1004009c
mov edx, dword [0x104551cc]
mov eax, dword [0x10336cec]
add edx, 0xffffffdc
xor edx, 0x90ddbbce
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x1003f8ce
mov ecx, dword [0x103461d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1004009c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1004009c
mov eax, dword [0x1045524c]
add eax, 0xffffffbc
xor eax, 0x90ddbbee
vmovss xmm0, dword [eax + edi]
vucomiss xmm0, dword [0x100e7e54]
lahf
test ah, 0x44
jp 0x1004009c
imul eax, dword [ebp - 0x1838], 0x5988
lea edi, [eax + 0x100ee92c]
mov dword [ebp - 0x1830], edi
test edi, edi
je 0x1004009c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1004009c
cmp eax, 2
jb 0x1004009c
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 0x1004009c
mov ecx, dword [0x103460d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, eax
mov dword [ebp - 0x182c], esi
test esi, esi
je 0x1004009c
mov ecx, dword [0x104554e4]
test cl, 1
jne 0x1003fa2c
or ecx, 1
mov dword [0x104554e4], ecx
mov eax, dword [0x103460d0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x1003fa08
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003f9c0
xor edx, edx
test ecx, ecx
je 0x1003f9ef
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f9d0
cmp esi, 0x8c8dc452
je 0x1003fa12
mov eax, dword [ebp - 0x180c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x180c], eax
test eax, eax
jne 0x1003f9b0
mov edi, dword [ebp - 0x1830]
mov esi, dword [ebp - 0x182c]
xor ecx, ecx
mov dword [0x104554ec], ecx
jmp 0x1003fa32
mov ecx, dword [ebp - 0x180c]
mov edi, dword [ebp - 0x1830]
mov esi, dword [ebp - 0x182c]
mov dword [0x104554ec], ecx
jmp 0x1003fa32
mov ecx, dword [0x104554ec]
test ecx, ecx
je 0x1003fa3f
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fstp st(0)
mov eax, dword [esi]
mov ecx, esi
push 0
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [esi]
fstp st(0)
push 1
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 - 0x182c], eax
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0xc]
mov dword [ebp - 0x1838], ecx
cmp ecx, eax
je 0x1004009c
test esi, esi
je 0x1003fa89
mov eax, dword [esi]
mov dword [ebp - 0x180c], eax
jmp 0x1003fa93
mov dword [ebp - 0x180c], 0
mov eax, ecx
mov edx, ecx
mov ecx, dword [ebp - 0x180c]
and edx, 1
shr eax, 1
mov dword [ebp - 0x1810], eax
mov dword [ebp - 0x1840], edx
mov ecx, dword [ecx + 8]
dec ecx
and ecx, eax
cmp dword [0x10346140], 0
mov eax, dword [ebp - 0x180c]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x1824], eax
je 0x1003fda4
mov ecx, dword [0x103460d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x1003fda4
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 - 0x1828]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
mov ecx, dword [0x10346198]
fstp dword [ebp - 0x1820]
vmovss xmm0, dword [ebp - 0x1820]
vaddss xmm0, xmm0, dword [ebp - 0x1828]
mov eax, dword [ecx]
vaddss xmm0, xmm0, dword [0x100e7e54]
vaddss xmm0, xmm0, dword [0x10338774]
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 - 0x1828]
vmovss xmm0, dword [ebp - 0x1828]
lea ecx, [ebp - 0x180c]
lea eax, [ebp - 0x1828]
cmovbe eax, ecx
lea ecx, [ebp - 0x1820]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x1820], xmm0
cmovbe ecx, eax
mov eax, dword [0x10346134]
vmovss dword [ebp - 0x1828], 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.1002e1d0
vcomiss xmm0, dword [0x100e7ea8]
ja 0x1003fda4
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x182c]
cmp ecx, eax
je 0x1003fda4
test esi, esi
je 0x1003fbf9
mov eax, dword [esi]
jmp 0x1003fbfb
xor eax, eax
mov edi, ecx
mov edx, ecx
mov ecx, dword [eax + 8]
and edx, 1
mov eax, dword [eax + 4]
dec ecx
shr edi, 1
and ecx, edi
mov dword [ebp - 0x1820], edx
cmp dword [0x10346140], 0
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x183c], eax
je 0x1003fd35
mov ecx, dword [0x103460d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1828], eax
test eax, eax
je 0x1003fd2f
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 - 0x1828]
fstp dword [ebp - 0x180c]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1824], eax
call dword [ebp - 0x1824]
mov ecx, dword [0x10346198]
fstp dword [ebp - 0x1824]
vmovss xmm0, dword [ebp - 0x1824]
vaddss xmm0, xmm0, dword [ebp - 0x180c]
mov eax, dword [ecx]
vaddss xmm0, xmm0, dword [0x100e7e54]
vaddss xmm0, xmm0, dword [0x10338774]
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 - 0x1828]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x1828], xmm0
cmovbe ecx, eax
mov eax, dword [0x10346134]
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.1002e1d0
vcomiss xmm0, dword [0x100e7ea8]
jbe 0x1003fd9e
mov edx, dword [ebp - 0x1820]
test esi, esi
je 0x1003fd3d
mov eax, dword [esi]
jmp 0x1003fd3f
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
cmp byte [eax + 0x14], 0
jne 0x1003fd9e
test esi, esi
je 0x1003fd5c
mov eax, dword [esi]
jmp 0x1003fd5e
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + edx*8]
mov dword [ebp - 0x180c], edi
test esi, esi
je 0x1003fd7b
mov eax, dword [esi]
jmp 0x1003fd7d
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1810]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1840]
mov ecx, dword [eax + ecx*8]
test edi, edi
je 0x1003fd9e
test ecx, ecx
jne 0x1003fdb6
mov edi, dword [ebp - 0x1830]
mov ecx, dword [ebp - 0x1838]
inc ecx
inc dword [ebp - 0x182c]
jmp 0x1003fa67
mov eax, dword [ecx + 0x3c]
vmovq xmm0, qword [ecx + 0x34]
vmovss xmm5, dword [ecx + 0x406c]
vmovss xmm6, dword [ecx + 0x24]
vmovss xmm4, dword [0x100e7f18]
mov dword [ebp - 0x1850], eax
mov eax, dword [0x10346134]
vmovq qword [ebp - 0x1858], xmm0
vsubss xmm0, xmm6, dword [edi + 0x24]
vxorps xmm2, xmm2, xmm2
vmovss xmm3, dword [eax + 0x10]
vsubss xmm1, xmm3, xmm5
vdivss xmm0, xmm1, xmm0
vsubss xmm0, xmm4, xmm0
vcomiss xmm2, xmm0
ja 0x1003fe0c
vcomiss xmm0, xmm4
jbe 0x1003fe18
vmovss dword [ecx + 0x406c], xmm3
vmovaps xmm5, xmm3
vsubss xmm0, xmm6, dword [edi + 0x24]
vsubss xmm1, xmm3, xmm5
vdivss xmm0, xmm1, xmm0
vsubss xmm0, xmm4, xmm0
vcomiss xmm2, xmm0
vmovss dword [ebp - 0x1810], xmm0
lea eax, [ebp - 0x1810]
lea ecx, [ebp - 0x1840]
cmovbe ecx, eax
lea eax, [ebp - 0x183c]
vcomiss xmm0, xmm4
vmovq xmm0, qword [edi + 0x34]
vmovq qword [ebp - 0x181c], xmm0
vmovss xmm0, dword [ebp - 0x1858]
cmovbe eax, ecx
mov ecx, dword [ebp - 0x1844]
vmovss dword [ebp - 0x183c], xmm4
vmovss dword [ebp - 0x1840], xmm2
vmovss xmm3, dword [eax]
vmulss xmm1, xmm3, dword [ebp - 0x181c]
mov eax, dword [edi + 0x3c]
vmovss dword [ebp - 0x183c], xmm0
vsubss xmm2, xmm4, xmm3
vmulss xmm0, xmm0, xmm2
vaddss xmm0, xmm1, xmm0
vmulss xmm1, xmm3, dword [ebp - 0x1818]
vmovss dword [ebp - 0x1838], xmm0
vmovss xmm0, dword [ebp - 0x1854]
vmovss dword [ebp - 0x1824], xmm0
vmulss xmm0, xmm0, xmm2
vaddss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x1820], xmm0
vmovss xmm0, dword [ebp - 0x1850]
mov dword [ebp - 0x1814], eax
mov eax, dword [ecx]
vmulss xmm1, xmm3, dword [ebp - 0x1814]
vmovss dword [ebp - 0x1828], xmm0
vmulss xmm0, xmm0, xmm2
mov eax, dword [eax + 0x28]
vaddss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x1830], xmm0
call eax
vmovss xmm0, dword [ebp - 0x1838]
vsubss xmm2, xmm0, dword [eax]
vmovss xmm0, dword [ebp - 0x1820]
vsubss xmm0, xmm0, dword [eax + 4]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.1002e210
vmovaps xmm3, xmm0
vmovss xmm0, dword [0x100e7fd4]
vcomiss xmm0, xmm3
jb 0x1003ff93
vmovss xmm2, dword [0x100e7f18]
vdivss xmm0, xmm3, xmm0
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
lea eax, [ebp - 0x1840]
lea ecx, [ebp - 0x1844]
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 - 0x1844], xmm1
vmovss dword [ebp - 0x1840], xmm0
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
vmovss xmm0, dword [0x100e7fa4]
vcomiss xmm0, xmm3
jae 0x1004009c
push 0x1800
lea eax, [edi + 0x410]
push eax
lea eax, [ebp - 0x1808]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dl, byte [0x102c122c]
lea eax, [ebp - 0x17ec]
vmovss xmm4, dword [ebp - 0x183c]
vmovss xmm5, dword [ebp - 0x1824]
vmovss xmm6, dword [ebp - 0x1828]
vmovss xmm7, dword [ebp - 0x1838]
add esp, 0xc
mov dword [ebp - 0x182c], 0x80
lea ecx, [edi + 0x42c]
mov byte [ebp - 0x1831], dl
vmovss xmm0, dword [ecx - 0x10]
vsubss xmm1, xmm0, dword [edi + 0x34]
vmovss xmm0, dword [ecx]
vsubss xmm3, xmm0, dword [edi + 0x38]
vmovss xmm0, dword [ecx + 0x10]
vsubss xmm0, xmm0, dword [edi + 0x3c]
test dl, dl
mov esi, eax
mov edx, eax
je 0x1004003d
vaddss xmm0, xmm0, dword [ebp - 0x1830]
vaddss xmm2, xmm7, xmm1
vaddss xmm1, xmm3, dword [ebp - 0x1820]
jmp 0x10040049
vaddss xmm2, xmm1, xmm4
vaddss xmm1, xmm3, xmm5
vaddss xmm0, xmm0, xmm6
mov edi, 0xfffffff0
add ecx, 0x30
vmovss dword [esi + edi], xmm2
vmovss dword [edx], xmm1
mov edx, eax
mov esi, 0x10
add eax, 0x30
sub dword [ebp - 0x182c], 1
vmovss dword [edx + esi], xmm0
mov edi, dword [ebp - 0x180c]
mov dl, byte [ebp - 0x1831]
jne 0x10040002
push 0x1800
lea eax, [ebp - 0x1808]
push eax
push dword [ebp - 0x184c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
jmp 0x1004009e
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ce58b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8