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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1834
call fcn.100a8190
mov eax, dword [0x100c4040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101034bc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1828], eax
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
push edi
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1002d5f7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002d5f7
mov eax, dword [0x101036f0]
add eax, 0xffffffcb
xor eax, 0x629ce6c1
cmp dword [eax + esi], 0
jne 0x1002d5f7
mov eax, dword [0x10103658]
cmp byte [eax + esi], 0
jne 0x1002d5f7
mov edx, dword [0x101036c8]
mov eax, dword [0x100c42a8]
add edx, 0xffffffd5
xor edx, 0x629ce6b7
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002d1e8
mov ecx, dword [0x10103590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002d5f7
imul eax, edi, 0xa84
lea eax, [eax + 0x100d5d98]
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x1002d5f7
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002d5f7
cmp eax, 2
jb 0x1002d5f7
cmp eax, 3
jb 0x1002d5f7
mov ecx, dword [0x101034b8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002d5f7
mov eax, dword [0x101034b4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1002d29c
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1002d260
xor edx, edx
test ecx, ecx
je 0x1002d28f
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002d270
cmp esi, 0x8c8dc452
je 0x1002d2d6
mov eax, dword [ebp - 0x181c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x181c], eax
test eax, eax
jne 0x1002d250
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [ebp - 0x1818]
fstp st(0)
mov edi, dword [ecx + 0x14]
mov esi, dword [ecx + 8]
lea eax, [edi + 1]
mov dword [ebp - 0x181c], eax
nop dword [eax]
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 0x14]
cmp edi, eax
je 0x1002d5f7
test esi, esi
je 0x1002d2de
mov edx, dword [esi]
jmp 0x1002d2e0
mov ecx, dword [ebp - 0x181c]
jmp 0x1002d29e
xor edx, edx
mov eax, dword [edx + 8]
mov ecx, edi
shr ecx, 1
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov edx, edi
and edx, 1
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + edx*8]
call fcn.1002cdd0
mov ecx, dword [ebp - 0x1818]
test al, al
je 0x1002d3e4
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 0x14]
mov edx, dword [ebp - 0x181c]
cmp edx, eax
je 0x1002d3e4
test esi, esi
je 0x1002d327
mov ecx, dword [esi]
jmp 0x1002d329
xor ecx, ecx
mov dword [ebp - 0x1820], ecx
mov eax, edx
mov ecx, dword [ecx + 8]
and edx, 1
shr eax, 1
dec ecx
and ecx, eax
mov dword [ebp - 0x1808], eax
mov eax, dword [ebp - 0x1820]
shl edx, 3
mov dword [ebp - 0x1824], edx
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + edx]
call fcn.1002cdd0
test al, al
jne 0x1002d3de
test esi, esi
je 0x1002d36b
mov eax, dword [esi]
jmp 0x1002d36d
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1808]
mov edx, dword [ebp - 0x1824]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx]
cmp byte [eax + 0x10], 0
jne 0x1002d3de
test esi, esi
je 0x1002d394
mov eax, dword [esi]
jmp 0x1002d396
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1808]
mov eax, dword [eax + ecx*4]
mov eax, dword [edx + eax]
mov dword [ebp - 0x1808], eax
test esi, esi
je 0x1002d3b7
mov ecx, dword [esi]
jmp 0x1002d3b9
xor ecx, ecx
mov edx, dword [ecx + 8]
mov eax, edi
shr eax, 1
dec edx
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, edi
and ecx, 1
cmp dword [ebp - 0x1808], 0
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + ecx*8]
je 0x1002d3de
test ecx, ecx
jne 0x1002d3f0
mov ecx, dword [ebp - 0x1818]
inc edi
inc dword [ebp - 0x181c]
jmp 0x1002d2c0
mov eax, dword [ecx + 0x2c]
movq xmm0, qword [ecx + 0x24]
mov esi, dword [ebp - 0x1808]
movss xmm5, dword [ecx + 0x18]
movss xmm4, dword [ecx + 0x438]
mov dword [ebp - 0x182c], eax
mov eax, dword [0x10103514]
movq qword [ebp - 0x1834], xmm0
movaps xmm0, xmm5
subss xmm0, dword [esi + 0x18]
movss xmm3, dword [0x100b949c]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1002d452
comiss xmm0, xmm3
jbe 0x1002d45d
movss dword [ecx + 0x438], xmm2
movaps xmm4, xmm2
subss xmm5, dword [esi + 0x18]
subss xmm2, xmm4
mov dword [ebp - 0x1820], 0x3f800000
movaps xmm0, xmm3
mov dword [ebp - 0x1824], 0
lea eax, [ebp - 0x1808]
lea ecx, [ebp - 0x1824]
push 0x1800
divss xmm2, xmm5
push dword [esi + 0x400]
subss xmm0, xmm2
comiss xmm0, xmm1
movss dword [ebp - 0x1808], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x1820]
comiss xmm3, xmm0
movq xmm0, qword [esi + 0x24]
movq qword [ebp - 0x1814], xmm0
movss xmm2, dword [ebp - 0x1814]
cmovae eax, ecx
movss xmm0, dword [ebp - 0x1834]
movss xmm1, dword [eax]
mov eax, dword [esi + 0x2c]
subss xmm3, xmm1
mulss xmm2, xmm1
mov dword [ebp - 0x180c], eax
lea eax, [ebp - 0x1804]
push eax
mulss xmm0, xmm3
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1830]
mulss xmm0, xmm3
movss dword [ebp - 0x1824], xmm2
movss xmm2, dword [ebp - 0x1810]
mulss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x182c]
mulss xmm0, xmm3
movss dword [ebp - 0x1808], xmm2
movss xmm2, dword [ebp - 0x180c]
mulss xmm2, xmm1
addss xmm2, xmm0
movss dword [ebp - 0x1820], xmm2
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1824]
add esp, 0xc
movss xmm4, dword [ebp - 0x1808]
xor ecx, ecx
movss xmm5, dword [ebp - 0x1820]
nop dword [eax]
mov eax, dword [esi + 0x400]
movss xmm2, dword [eax + ecx + 0xc]
movss xmm1, dword [eax + ecx + 0x1c]
movss xmm0, dword [eax + ecx + 0x2c]
subss xmm2, dword [esi + 0x24]
subss xmm1, dword [esi + 0x28]
subss xmm0, dword [esi + 0x2c]
addss xmm2, xmm3
addss xmm1, xmm4
addss xmm0, xmm5
movss dword [ebp + ecx - 0x17f8], xmm2
movss dword [ebp + ecx - 0x17e8], xmm1
movss dword [ebp + ecx - 0x17d8], xmm0
add ecx, 0x30
cmp ecx, 0x1800
jb 0x1002d570
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1828]
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.100a6f2c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100a6f2c
mov esp, ebp
pop ebp
ret 8