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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1844
call fcn.100b0780
mov eax, dword [0x101053c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10130480]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1838], 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
mov dword [ebp - 0x1824], esi
test esi, esi
je 0x10036e52
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10036e52
mov eax, dword [0x101306d4]
add eax, 0xffffffcc
xor eax, 0xf0b73a51
cmp dword [eax + esi], 0
jne 0x10036e52
mov eax, dword [0x10130654]
cmp byte [eax + esi], 0
jne 0x10036e52
mov edx, dword [0x101306ac]
mov eax, dword [0x10105e5c]
add edx, 0xffffffd6
xor edx, 0xf0b73a47
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1003693e
mov ecx, dword [0x10130584]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10036e52
imul eax, edi, 0x484
lea esi, [eax + 0x1011b358]
mov dword [ebp - 0x1828], esi
test esi, esi
je 0x10036e52
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10036e52
cmp eax, 2
jb 0x10036e52
mov ecx, dword [0x1013047c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x10036e52
mov ecx, dword [0x101346dc]
test cl, 1
jne 0x10036a20
or ecx, 1
mov dword [0x101346dc], ecx
mov eax, dword [0x10130478]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x10036a02
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x100369c0
xor edx, edx
test ecx, ecx
je 0x100369ef
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100369d0
cmp esi, 0x8c8dc452
je 0x10036a0c
mov eax, dword [ebp - 0x1818]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1818], eax
test eax, eax
jne 0x100369b4
mov esi, dword [ebp - 0x1828]
xor ecx, ecx
mov dword [0x101346d8], ecx
jmp 0x10036a26
mov ecx, dword [ebp - 0x1818]
mov esi, dword [ebp - 0x1828]
mov dword [0x101346d8], ecx
jmp 0x10036a26
mov ecx, dword [0x101346d8]
test ecx, ecx
je 0x10036a41
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x10105e48]
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 8]
add edi, dword [esi + 0x14]
mov dword [ebp - 0x1818], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1820], eax
cmp edi, eax
je 0x10036e52
dec edi
test edx, edx
je 0x10036a6a
mov ecx, dword [edx]
jmp 0x10036a6c
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 - 0x182c], eax
test eax, eax
je 0x10036c04
mov ecx, dword [0x10130700]
mov eax, dword [0x10105e5c]
add ecx, 0xffffffc1
xor ecx, 0xf0b73a5c
push 1
mov esi, dword [ecx + eax]
mov eax, dword [0x101304dc]
mov ecx, dword [0x101304e8]
vmovss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
vmovss dword [ebp - 0x1834], xmm0
vmovss xmm0, dword [0x10106570]
vaddss xmm0, xmm0, dword [0x1010656c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
vmovss dword [ebp - 0x1830], xmm0
call dword [ebp - 0x181c]
mov ecx, dword [0x10130554]
fadd dword [ebp - 0x1830]
mov eax, dword [ecx]
fstp dword [ebp - 0x1830]
mov eax, dword [eax + 0x30]
call eax
vmovss xmm0, dword [ebp - 0x1830]
vmovss xmm2, dword [ebp - 0x1834]
fstp dword [ebp - 0x181c]
vminss xmm0, xmm0, dword [ebp - 0x181c]
vmaxss xmm1, xmm0, dword [0x100f40d0]
vxorps xmm0, xmm0, xmm0
lea eax, [esi + 1]
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [ebp - 0x182c]
vfmsub213ss xmm2, xmm0, dword [eax + 0x14]
vsubss xmm0, xmm1, xmm2
call fcn.1001f840
vmovss xmm1, dword [0x100f4144]
vcomiss xmm1, xmm0
jbe 0x10036bf3
cmp edi, dword [ebp - 0x1820]
je 0x10036bf3
mov edx, dword [ebp - 0x1818]
lea esi, [edi - 1]
test edx, edx
je 0x10036b7a
mov eax, dword [edx]
jmp 0x10036b7c
xor eax, eax
mov ecx, esi
and esi, 1
shr ecx, 1
mov dword [ebp - 0x181c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x181c]
mov eax, dword [eax + ecx*4]
cmp dword [eax + esi*8], 0
je 0x10036bf9
mov ecx, dword [ebp - 0x1824]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x182c]
vmovss xmm1, dword [ecx + 0x24]
vsubss xmm1, xmm1, dword [eax + 4]
vmovss xmm0, dword [ecx + 0x20]
vsubss xmm0, xmm0, dword [eax]
vmulss xmm1, xmm1, xmm1
vfmadd213ss xmm0, xmm0, xmm1
call fcn.1001f890
vmovss xmm1, dword [0x100f41dc]
vcomiss xmm1, xmm0
ja 0x10036e52
mov edx, dword [ebp - 0x1818]
test edx, edx
je 0x10036c0f
mov eax, dword [edx]
jmp 0x10036c11
mov edx, dword [ebp - 0x1818]
mov esi, dword [ebp - 0x1828]
jmp 0x10036a50
mov edx, dword [ebp - 0x1818]
jmp 0x10036a50
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
mov edi, dword [ebp - 0x181c]
and ecx, edi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*8]
vmovq xmm0, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x183c], eax
vmovq qword [ebp - 0x1844], xmm0
test edx, edx
je 0x10036c44
mov eax, dword [edx]
jmp 0x10036c46
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
push 0
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*8]
mov esi, dword [ebp - 0x1808]
mov ecx, esi
vmovss xmm0, dword [eax + 0x14]
mov eax, dword [esi]
vmovss dword [ebp - 0x1820], xmm0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x1824]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
fadd dword [ebp - 0x1824]
mov edi, dword [ebp - 0x182c]
lea ecx, [ebp - 0x1808]
mov eax, dword [0x101304dc]
push 0x1800
vmovss xmm0, dword [0x1010656c]
vmovss xmm1, dword [ebp - 0x1820]
vsubss xmm1, xmm1, dword [edi + 0x14]
vmovss xmm4, dword [0x100f41dc]
fstp dword [ebp - 0x1808]
vaddss xmm2, xmm0, dword [ebp - 0x1808]
vaddss xmm0, xmm2, dword [edi + 0x14]
vaddss xmm0, xmm0, xmm1
vsubss xmm0, xmm0, dword [eax + 0x10]
vdivss xmm0, xmm0, xmm1
mov esi, dword [edi + 0x3c4]
lea eax, [ebp - 0x1824]
vxorps xmm3, xmm3, xmm3
vcomiss xmm0, xmm3
vmovss dword [ebp - 0x1824], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x1820]
vcomiss xmm4, xmm0
vmovq xmm0, qword [edi + 0x20]
cmovae eax, ecx
vmovss dword [ebp - 0x1808], xmm3
vmovss xmm3, dword [ebp - 0x1844]
vmovss dword [ebp - 0x1820], xmm4
vmovss xmm2, dword [eax]
mov eax, dword [edi + 0x28]
vmovq qword [ebp - 0x1814], xmm0
vmulss xmm0, xmm2, dword [ebp - 0x1814]
vsubss xmm1, xmm4, xmm2
vfmadd213ss xmm3, xmm1, xmm0
vmulss xmm0, xmm2, dword [ebp - 0x1810]
vmovss dword [ebp - 0x1808], xmm3
vmovss xmm3, dword [ebp - 0x1840]
mov dword [ebp - 0x180c], eax
lea eax, [ebp - 0x1804]
vfmadd213ss xmm3, xmm1, xmm0
vmulss xmm0, xmm2, dword [ebp - 0x180c]
vmovss xmm2, dword [ebp - 0x183c]
vfmadd213ss xmm2, xmm1, xmm0
push esi
push eax
vmovss dword [ebp - 0x1824], xmm3
vmovss dword [ebp - 0x1820], xmm2
call fcn.100b0dc0
vmovss xmm6, dword [edi + 0x20]
vmovss xmm7, dword [edi + 0x24]
vmovss xmm3, dword [ebp - 0x1808]
vmovss xmm4, dword [ebp - 0x1824]
vmovss xmm5, dword [ebp - 0x1820]
add esp, 0xc
lea eax, [ebp - 0x17e8]
add esi, 0x1c
mov ecx, 0x80
lea esi, [esi + 0x30]
lea eax, [eax + 0x30]
vmovss xmm0, dword [esi - 0x40]
vsubss xmm0, xmm0, xmm6
vaddss xmm2, xmm0, xmm3
vmovss xmm0, dword [esi - 0x30]
vsubss xmm0, xmm0, xmm7
vaddss xmm1, xmm0, xmm4
vmovss xmm0, dword [esi - 0x20]
vsubss xmm0, xmm0, dword [edi + 0x28]
vaddss xmm0, xmm0, xmm5
vmovss dword [eax - 0x40], xmm2
vmovss dword [eax - 0x30], xmm1
vmovss dword [eax - 0x20], xmm0
sub ecx, 1
jne 0x10036de2
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1838]
call fcn.100b0dc0
add esp, 0xc
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100aed12
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100aed12
mov esp, ebp
pop ebp
ret 8