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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x100f5008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101f7238], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x2c]
push ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x30]
push esi
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x3c]
push edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x88], eax
jne 0x100395b6
mov ebx, dword [0x101f6e2c]
mov ebx, dword [ebx + 0x30]
jmp 0x100395ac
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10039580
xor edx, edx
test ecx, ecx
je 0x100395a9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10039590
cmp esi, 0x8208957b
je 0x100395b0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10039570
mov dword [0x101f7238], ebx
cmp dword [0x101f7230], 0
jne 0x10039616
mov eax, dword [0x101f6e2c]
mov ebx, dword [eax + 0x30]
jmp 0x1003960c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100395e0
xor edx, edx
test ecx, ecx
je 0x10039609
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100395f0
cmp esi, 0xd0eb0af6
je 0x10039610
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100395d0
mov dword [0x101f7230], ebx
mov ebx, dword [ebp - 0x70]
xor cl, cl
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp + 0xc]
mov bl, byte [ebx + 0x42]
mov edx, dword [edx]
shr bl, 7
and bl, 1
test edx, edx
jne 0x10039650
mov eax, dword [ebp + 0x10]
cmp byte [eax], cl
jne 0x10039650
test bl, bl
jne 0x10039650
mov eax, dword [esi]
cmp eax, 0x59
je 0x10039650
cmp eax, 0x47
movzx ecx, cl
mov edi, 1
cmovne ecx, edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
comiss xmm0, dword [eax]
jae 0x10039989
test edx, edx
jle 0x10039989
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp cl, 1
je 0x10039989
push 0x30
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
add esp, 4
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
lea edi, [edx + 0xc]
movups xmmword [ebp - 0x68], xmm0
push eax
mov eax, dword [ebp + 0x18]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
movq xmm0, qword [edi]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [edi + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x10]
call fcn.10038360
add esp, 0x24
test al, al
jne 0x10039708
mov ecx, dword [0x101f6e4c]
push 0
push 0x600400b
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x10039989
mov ecx, dword [0x101f6e70]
movsx edx, word [ebp - 0x28]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [0x100e8a4c]
mov dword [ebp - 0x80], eax
movss dword [ebp - 0x78], xmm0
movzx ecx, word [eax + 0x60]
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov dword [ebp - 0x84], ecx
cmp byte [eax], 0
jne 0x10039831
test bl, bl
jne 0x10039831
mov eax, dword [esi]
cmp eax, 0x59
je 0x1003984a
cmp eax, 0x47
je 0x10039831
cmp eax, 0x46
jne 0x1003981a
mov ecx, dword [0x101f7238]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x74], eax
call dword [ebp - 0x74]
fstp dword [ebp - 0x74]
movss xmm0, dword [ebp - 0x74]
ucomiss xmm0, dword [0x100e89c8]
lahf
test ah, 0x44
jp 0x1003981a
mov ebx, dword [ebp - 0x70]
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x1003981a
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1003981a
mov ecx, dword [0x101f6ffc]
mov eax, dword [ebx + 0x4c]
add ecx, 0xffffffda
mov edx, dword [ebp - 0x6c]
xor ecx, 0xfef7a43
mov eax, dword [ecx + eax]
cmp eax, dword [ecx + edx]
jne 0x1003981a
mov ecx, dword [0x101f7230]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x6c], eax
call dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x6c]
ucomiss xmm0, dword [0x100e89c8]
lahf
test ah, 0x44
jnp 0x10039989
mov ecx, dword [0x101f7230]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x6c], eax
call dword [ebp - 0x6c]
mov ecx, dword [0x101f7230]
fstp dword [ebp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm4, dword [ebp + 0x20]
fstp st(0)
jmp 0x1003985f
mov eax, dword [ebp - 0x80]
movss xmm4, dword [ebp + 0x20]
addss xmm4, dword [eax + 0x58]
mulss xmm4, dword [0x100e8a9c]
jmp 0x1003985f
mov eax, dword [esi]
cmp eax, 0x59
je 0x1003984a
cmp eax, 0x47
je 0x1003984a
movss xmm5, dword [0x100e8adc]
movaps xmm4, xmm5
jmp 0x10039867
movss xmm0, dword [0x100e8a34]
movss xmm4, dword [0x100e8b28]
movss dword [ebp - 0x78], xmm0
movss xmm5, dword [0x100e8adc]
mov eax, dword [ebp - 0x84]
cmp dword [esi], eax
jne 0x1003989f
cmp edi, 0x57
je 0x10039892
cmp edi, 0x55
je 0x10039892
movss xmm6, dword [0x100e8b28]
cmp edi, 0x4c
jne 0x100398a7
movss xmm4, dword [0x100e8b0c]
jmp 0x100398a7
movss xmm6, dword [0x100e8b28]
movaps xmm4, xmm6
jmp 0x100398a7
movss xmm6, dword [0x100e8b28]
mov eax, dword [ebp - 0x70]
movss xmm7, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x58]
movaps xmm2, xmm7
movss xmm1, dword [ebp - 0x54]
subss xmm0, dword [eax + 0x10]
subss xmm2, dword [eax + 0xc]
subss xmm1, dword [eax + 0x14]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1002c290
movss xmm1, dword [0x100e8b48]
movaps xmm2, xmm5
divss xmm1, dword [ebp + 0x28]
mov eax, dword [ebp - 0x88]
divss xmm2, xmm4
movss xmm4, dword [eax]
xorps xmm5, xmm5
maxss xmm1, xmm5
movaps xmm3, xmm0
maxss xmm2, xmm5
mulss xmm3, xmm3
movaps xmm0, xmm4
mulss xmm0, dword [ebp - 0x78]
mulss xmm1, xmm2
mulss xmm2, dword [0x100e8a30]
mulss xmm1, xmm6
mulss xmm3, xmm2
addss xmm1, xmm0
movss xmm0, dword [0x100e8adc]
addss xmm1, xmm3
maxss xmm1, xmm5
subss xmm4, xmm1
comiss xmm0, xmm4
movss dword [eax], xmm4
ja 0x10039989
mov eax, dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x58]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x54]
movss dword [eax], xmm7
movss dword [eax + 8], xmm0
mov eax, dword [ebp - 0x7c]
dec dword [eax]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d283c
mov esp, ebp
pop ebp
ret 0x38
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d283c
mov esp, ebp
pop ebp
ret 0x38