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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.100bf690
mov eax, dword [0x100e1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x102bc140]
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 0x100374a0
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x100374a0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x100374a0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x100374a0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100374a0
mov eax, dword [0x102bc3a0]
add eax, 0xffffffcb
xor eax, 0x754feba0
cmp dword [eax + esi], 0
jne 0x100374a0
mov eax, dword [0x102bc304]
cmp byte [eax + esi], 0
jne 0x100374a0
mov edx, dword [0x102bc374]
mov eax, dword [0x100e1590]
add edx, 0xffffffd6
xor edx, 0x754feb95
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10036d28
mov ecx, dword [0x102bc224]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100374a0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100374a0
mov eax, dword [0x102bc3f0]
add eax, 0xffffffb7
xor eax, 0x754febb4
movss xmm0, dword [eax + esi]
ucomiss xmm0, dword [0x100d5534]
lahf
test ah, 0x44
jp 0x100374a0
imul eax, dword [ebp - 0x1808], 0x55f0
lea eax, [eax + 0x100fb4e0]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x100374a0
mov ecx, dword [eax + 0x1858]
test ecx, ecx
je 0x100374a0
cmp byte [eax + 0x55e4], 0
jne 0x100374a0
cmp ecx, 2
jb 0x100374a0
cmp ecx, 3
jb 0x100374a0
mov ecx, dword [0x102bc13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x100374a0
mov eax, dword [0x102c1a30]
test al, 1
jne 0x10036e44
or eax, 1
mov dword [0x102c1a30], eax
mov eax, dword [0x102bc138]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x10036e2c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10036df0
xor edx, edx
test ecx, ecx
je 0x10036e1f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10036e00
cmp esi, 0x8c8dc452
je 0x10036e36
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x10036de4
xor ecx, ecx
mov dword [0x102c1a2c], ecx
jmp 0x10036e4a
mov ecx, dword [ebp - 0x182c]
mov dword [0x102c1a2c], ecx
jmp 0x10036e4a
mov ecx, dword [0x102c1a2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1824]
fstp st(0)
mov ecx, dword [edx + 0x1854]
mov esi, dword [edx + 0x1848]
lea edi, [ecx + 1]
mov eax, dword [edx + 0x1858]
add eax, dword [edx + 0x1854]
mov dword [ebp - 0x182c], ecx
cmp ecx, eax
je 0x100374a0
test esi, esi
je 0x10036e8a
mov eax, dword [esi]
jmp 0x10036e8c
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 [0x102bc13c]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10037299
cmp dword [0x100e1590], 0
je 0x10037299
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x80c], 0
je 0x10037299
mov ecx, dword [0x102bc13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1003703c
cmp dword [0x100e1590], 0
je 0x1003703c
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 [0x102bc1ec]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1808]
mov eax, dword [ecx]
addss xmm0, dword [0x100e4c48]
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 [0x100d5534]
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 [0x100e1590]
movss xmm1, dword [eax]
mov eax, dword [0x102bc3a0]
add eax, 0xffffffcb
xor eax, 0x754feba0
cmp dword [eax + ecx], 0
jne 0x1003700e
mov eax, dword [0x102bc3b8]
add eax, 0xffffffc5
xor eax, 0x754feba6
movd xmm0, dword [eax + ecx]
mov eax, dword [0x102bc19c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x10037018
mov eax, dword [0x102bc19c]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10027670
comiss xmm0, dword [0x100d55d4]
ja 0x10037299
mov edx, dword [ebp - 0x1824]
mov eax, dword [edx + 0x1858]
add eax, dword [edx + 0x1854]
cmp edi, eax
je 0x1003729f
test esi, esi
je 0x1003705e
mov ecx, dword [esi]
jmp 0x10037060
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 [0x102bc13c]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10037207
cmp dword [0x100e1590], 0
je 0x10037207
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x80c], 0
je 0x10037207
mov ecx, dword [0x102bc13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x10037299
cmp dword [0x100e1590], 0
je 0x10037299
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 [0x102bc1ec]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x181c]
mov eax, dword [ecx]
addss xmm0, dword [0x100e4c48]
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 [0x100e1590]
movss xmm1, dword [eax]
mov eax, dword [0x102bc3a0]
add eax, 0xffffffcb
xor eax, 0x754feba0
cmp dword [eax + ecx], 0
jne 0x100371d7
mov eax, dword [0x102bc3b8]
add eax, 0xffffffc5
xor eax, 0x754feba6
movd xmm0, dword [eax + ecx]
mov eax, dword [0x102bc19c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x100371e1
mov eax, dword [0x102bc19c]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10027670
comiss xmm0, dword [0x100d55d4]
jbe 0x10037299
jmp 0x1003720a
xorps xmm6, xmm6
test esi, esi
je 0x10037212
mov ecx, dword [esi]
jmp 0x10037214
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
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
cmp byte [eax + 0x1c], 0
jne 0x10037299
test esi, esi
je 0x1003723a
mov ecx, dword [esi]
jmp 0x1003723c
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
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x1808], eax
test esi, esi
je 0x10037262
mov eax, dword [esi]
jmp 0x10037264
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 0x10037299
test ecx, ecx
jne 0x100372ac
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x10036e68
mov eax, dword [ecx + 0x58]
movq xmm0, qword [ecx + 0x50]
mov esi, dword [ebp - 0x1808]
movss xmm5, dword [ecx + 0x3c]
movss xmm4, dword [ecx + 0x3b54]
mov dword [ebp - 0x1834], eax
mov eax, dword [0x102bc19c]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm5
subss xmm0, dword [esi + 0x3c]
movss xmm3, dword [0x100d5660]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x1003730b
comiss xmm0, xmm3
jbe 0x10037316
movss dword [ecx + 0x3b54], xmm2
movaps xmm4, xmm2
subss xmm5, dword [esi + 0x3c]
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 + 0x50]
movq qword [ebp - 0x1818], xmm0
movss xmm2, dword [ebp - 0x1818]
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [esi + 0x58]
subss xmm3, xmm1
mulss xmm2, xmm1
mov dword [ebp - 0x1810], eax
lea eax, [esi + 0x810]
push eax
lea eax, [ebp - 0x1804]
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x183c]
push eax
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x1838]
mulss xmm3, dword [ebp - 0x1834]
movss dword [ebp - 0x1820], xmm2
movss xmm2, dword [ebp - 0x1814]
mulss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1810]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [ebp - 0x180c], xmm2
movss dword [ebp - 0x181c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1820]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x180c]
lea ecx, [esi + 0x82c]
movss xmm5, dword [ebp - 0x181c]
add esp, 0xc
mov edx, 0x80
nop dword [eax]
movss xmm2, dword [ecx - 0x10]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 0x10]
add ecx, 0x30
subss xmm2, dword [esi + 0x50]
subss xmm1, dword [esi + 0x54]
subss xmm0, dword [esi + 0x58]
addss xmm2, xmm3
addss xmm1, xmm4
addss xmm0, xmm5
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub edx, 1
jne 0x10037430
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.100be28c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100be28c
mov esp, ebp
pop ebp
ret 8