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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x184c
call fcn.100cd490
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x183c], ecx
mov ecx, dword [0x1044b4f8]
mov dword [ebp - 0x1840], eax
push esi
push edi
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x182c], edx
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x1830], edi
test edi, edi
je 0x1003fd7a
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x1003fd7a
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x1003fd7a
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x1003fd7a
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1003fd7a
mov eax, dword [0x1044f484]
add eax, 0xffffffd1
xor eax, 0xbd404437
cmp byte [eax + edi], 0
jne 0x1003fd7a
mov eax, dword [0x1044f4a4]
add eax, 0xffffffc9
xor eax, 0xbd40443f
cmp dword [eax + edi], 0
jle 0x1003fd7a
mov eax, dword [0x1044b734]
cmp byte [eax + edi], 0
jne 0x1003fd7a
mov edx, dword [0x1044f454]
mov eax, dword [0x10334c34]
add edx, 0xffffffdd
xor edx, 0xbd40442b
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x1003f73b
mov ecx, dword [0x1044b5f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1003fd7a
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1003fd7a
mov eax, dword [0x1044f4d4]
add eax, 0xffffffbd
xor eax, 0xbd40444b
vmovss xmm0, dword [eax + edi]
vucomiss xmm0, dword [0x100e6070]
lahf
test ah, 0x44
jp 0x1003fd7a
imul eax, dword [ebp - 0x182c], 0x598c
lea esi, [eax + 0x100ec928]
mov dword [ebp - 0x1838], esi
test esi, esi
je 0x1003fd7a
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1003fd7a
cmp eax, 2
jb 0x1003fd7a
mov edx, dword [esi + 0xc]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
cmp byte [eax + 0x3410], 0
jne 0x1003fd7a
mov ecx, dword [0x1044b4f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, eax
mov dword [ebp - 0x1808], esi
test esi, esi
je 0x1003fd7a
mov ecx, dword [0x1044f784]
test cl, 1
jne 0x1003f880
or ecx, 1
mov dword [0x1044f784], ecx
mov eax, dword [0x1044b4f0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x1003f862
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003f820
xor edx, edx
test ecx, ecx
je 0x1003f84f
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f830
cmp esi, 0x8c8dc452
je 0x1003f86c
mov eax, dword [ebp - 0x1824]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1824], eax
test eax, eax
jne 0x1003f814
mov esi, dword [ebp - 0x1808]
xor ecx, ecx
mov dword [0x1044f78c], ecx
jmp 0x1003f886
mov ecx, dword [ebp - 0x1824]
mov esi, dword [ebp - 0x1808]
mov dword [0x1044f78c], ecx
jmp 0x1003f886
mov ecx, dword [0x1044f78c]
test ecx, ecx
je 0x1003f893
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 [ebp - 0x1838]
fstp st(0)
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx]
mov dword [ebp - 0x1824], eax
lea esi, [eax + 1]
mov eax, dword [ecx + 0xc]
add eax, dword [ecx + 0x10]
cmp esi, eax
je 0x1003fd7a
test edi, edi
je 0x1003f8d7
mov ecx, dword [edi]
jmp 0x1003f8d9
xor ecx, ecx
mov edx, dword [ecx + 8]
mov eax, esi
shr eax, 1
dec edx
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, esi
and ecx, 1
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x1834], eax
test edi, edi
je 0x1003f8ff
mov ecx, dword [edi]
jmp 0x1003f901
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edx, dword [ebp - 0x1824]
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x1824]
and ecx, 1
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov ecx, dword [0x1044b4f4]
mov dword [ebp - 0x182c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1003fb51
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 [0x1044b5b8]
fstp dword [ebp - 0x181c]
vmovss xmm0, dword [ebp - 0x181c]
vaddss xmm0, xmm0, dword [ebp - 0x1808]
mov eax, dword [ecx]
vaddss xmm0, xmm0, dword [0x100e6070]
vaddss xmm0, xmm0, dword [0x103366bc]
vmovss dword [ebp - 0x1808], xmm0
mov eax, dword [eax + 0x30]
call eax
vmovss xmm1, dword [ebp - 0x1808]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
fstp dword [ebp - 0x181c]
vmovss xmm0, dword [ebp - 0x181c]
lea ecx, [ebp - 0x1808]
lea eax, [ebp - 0x181c]
cmovbe eax, ecx
lea ecx, [ebp - 0x1820]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x1820], xmm0
cmovbe ecx, eax
mov eax, dword [0x1044b554]
vmovss dword [ebp - 0x181c], xmm2
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1834]
vsubss xmm1, xmm0, dword [eax + 0x24]
vmovss xmm0, dword [ecx]
vsubss xmm0, xmm0, xmm1
call fcn.1002e060
vcomiss xmm0, dword [0x100e60c8]
ja 0x1003fb51
mov ecx, dword [0x1044b4f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1003fb51
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 - 0x181c]
fstp dword [ebp - 0x1808]
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 - 0x1808]
mov eax, dword [ecx]
vaddss xmm0, xmm0, dword [0x100e6070]
vaddss xmm0, xmm0, dword [0x103366bc]
vmovss dword [ebp - 0x1808], xmm0
mov eax, dword [eax + 0x30]
call eax
vmovss xmm1, dword [ebp - 0x1808]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
lea eax, [ebp - 0x1808]
lea ecx, [ebp - 0x1820]
cmovbe ecx, eax
mov eax, dword [0x1044b554]
fstp dword [ebp - 0x1820]
vmovss xmm0, dword [ebp - 0x1820]
vmovss dword [ebp - 0x1820], xmm2
vmovss xmm2, dword [eax + 0x10]
mov eax, dword [ebp - 0x182c]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x181c], xmm0
vmovss dword [ebp - 0x180c], xmm2
vmovss xmm3, dword [eax + 0x24]
lea eax, [ebp - 0x181c]
cmovbe eax, ecx
vsubss xmm1, xmm2, xmm3
vmovss dword [ebp - 0x1828], xmm3
vmovss xmm0, dword [eax]
vsubss xmm0, xmm0, xmm1
call fcn.1002e060
vcomiss xmm0, dword [0x100e60c8]
ja 0x1003fb51
mov ecx, dword [ebp - 0x1834]
cmp byte [ecx + 0x14], 0
je 0x1003fb63
mov ecx, dword [ebp - 0x1838]
inc esi
inc dword [ebp - 0x1824]
jmp 0x1003f8c1
mov edi, dword [ebp - 0x182c]
vmovq xmm0, qword [ecx + 0x34]
vmovss xmm4, dword [ebp - 0x180c]
vmovss xmm6, dword [ebp - 0x1828]
vmovss xmm5, dword [edi + 0x406c]
vmovss xmm3, dword [0x100e615c]
vmovq qword [ebp - 0x184c], xmm0
vmovss xmm0, dword [ecx + 0x24]
vsubss xmm1, xmm4, xmm5
vsubss xmm0, xmm0, xmm6
vdivss xmm0, xmm1, xmm0
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm0
ja 0x1003fbb7
vcomiss xmm0, xmm3
jbe 0x1003fbc3
vmovss dword [edi + 0x406c], xmm4
vmovaps xmm5, xmm4
vmovss xmm0, dword [ecx + 0x24]
vsubss xmm0, xmm0, xmm6
vsubss xmm1, xmm4, xmm5
vdivss xmm0, xmm1, xmm0
vcomiss xmm2, xmm0
lea ecx, [ebp - 0x180c]
lea eax, [ebp - 0x1828]
cmovbe eax, ecx
lea esi, [ebp - 0x1820]
mov ecx, dword [ebp - 0x1830]
vcomiss xmm0, xmm3
vmovss dword [ebp - 0x180c], xmm0
vmovq xmm0, qword [edi + 0x34]
cmovbe esi, eax
mov eax, dword [ecx]
vmovss dword [ebp - 0x1820], xmm3
vmovss dword [ebp - 0x1828], xmm2
vmovq qword [ebp - 0x1818], xmm0
mov eax, dword [eax + 0x28]
call eax
vmovss xmm4, dword [esi]
vmovss xmm1, dword [0x100e615c]
vmulss xmm0, xmm4, dword [ebp - 0x184c]
vsubss xmm3, xmm1, xmm4
vmulss xmm1, xmm3, dword [ebp - 0x1818]
vaddss xmm0, xmm1, xmm0
vsubss xmm2, xmm0, dword [eax]
vmulss xmm1, xmm3, dword [ebp - 0x1814]
vmulss xmm0, xmm4, dword [ebp - 0x1848]
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 [0x100e6218]
vcomiss xmm3, xmm0
jb 0x1003fcd9
vmovss xmm2, dword [0x100e615c]
vdivss xmm0, xmm0, xmm3
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
lea eax, [ebp - 0x1828]
lea ecx, [ebp - 0x1830]
cmovbe ecx, eax
lea eax, [ebp - 0x180c]
vcomiss xmm0, xmm2
vmovss dword [ebp - 0x180c], xmm2
cmovbe eax, ecx
mov ecx, dword [ebp - 0x183c]
vmovss dword [ebp - 0x1830], xmm1
vmovss dword [ebp - 0x1828], xmm0
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
push 0x1800
lea eax, [edi + 0x410]
push eax
lea eax, [ebp - 0x1804]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x17e8]
lea ecx, [edi + 0x42c]
mov edx, 0x80
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 0x1003fd05
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1840]
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.100cc0d9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100cc0d9
mov esp, ebp
pop ebp
ret 8