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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100bc00c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x100c3354]
push esi
push edi
cmp eax, 0xffffffff
je 0x100873f2
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100cba10]
test al, al
jne 0x10087839
mov ecx, dword [0x10159470]
test ecx, ecx
je 0x10087839
cmp byte [0x10159474], 0
je 0x10087839
cmp byte [0x10151fe2], 0
je 0x10087839
mov eax, dword [0x10153ec8]
add eax, 0xffffffc7
mov byte [0x10151fe2], 0
xor eax, 0xc528b55b
test byte [eax + ecx], 1
je 0x10087839
mov eax, dword [0x10153f80]
add eax, 0xffffff99
xor eax, 0xc528b589
mov eax, dword [eax + ecx]
mov ecx, dword [0x10153c30]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov esi, eax
test esi, esi
je 0x10087839
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6f8]
mov ecx, esi
call edx
test eax, eax
je 0x10087839
mov ecx, dword [0x10153fc4]
add ecx, 0xffffff88
xor ecx, 0xc528b59a
cmp dword [ecx + esi], 0
jne 0x10087497
movss xmm0, dword [eax + 0x12c]
jmp 0x1008749f
movss xmm0, dword [eax + 0x130]
mov eax, dword [0x10153e80]
add eax, 0xffffffd9
movss dword [esp + 0xc], xmm0
xor eax, 0xc528b549
add eax, dword [0x10159470]
movq xmm0, qword [eax]
movq qword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10019f90
mov eax, dword [0x1015e780]
movss dword [esp + 0x10], xmm0
test al, 1
jne 0x1008755e
or eax, 1
mov dword [0x1015e780], eax
mov eax, dword [0x10153c28]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x10087548
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087510
xor edx, edx
test ecx, ecx
je 0x1008753d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087520
cmp esi, 0xe01f2035
je 0x10087552
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x10087506
xor ecx, ecx
mov dword [0x1015e778], ecx
jmp 0x10087564
mov ecx, dword [esp + 8]
mov dword [0x1015e778], ecx
jmp 0x10087564
mov ecx, dword [0x1015e778]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x10153cf4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm4, dword [esp + 0xc]
fstp st(0)
mulss xmm4, dword [0x100b0f1c]
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm4
jbe 0x100877de
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
comiss xmm2, xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
movss dword [esp + 8], xmm0
jbe 0x100875f6
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
call fcn.10019f20
mulss xmm0, dword [0x100b10a0]
movaps xmm1, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x100b1168]
call fcn.10019f20
mulss xmm0, dword [0x100b0f74]
jmp 0x100875fe
movss xmm0, dword [0x100b0fa0]
mov ecx, dword [0x10153c2c]
lea edx, [esp + 0x28]
push edx
movss dword [esp + 0x10], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0xc]
call fcn.10019f50
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 8]
mulss xmm0, dword [0x100b0eac]
movss dword [esp + 0x10], xmm0
call fcn.10019f50
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10019f80
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x1015e780]
movss dword [esp + 0x14], xmm0
test cl, 2
jne 0x100876f8
or ecx, 2
mov dword [0x1015e780], ecx
mov eax, dword [0x10153c28]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x100876de
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100876a0
xor edx, edx
test ecx, ecx
je 0x100876cd
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100876b0
mov eax, dword [esp + 8]
cmp edi, 0x7939b3a7
je 0x100876eb
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x10087691
mov ecx, dword [0x1015e780]
xor eax, eax
mov dword [esp + 8], eax
mov dword [0x1015e784], eax
jmp 0x10087701
mov ecx, dword [0x1015e780]
mov dword [0x1015e784], eax
jmp 0x10087701
mov eax, dword [0x1015e784]
mov dword [esp + 8], eax
test cl, 4
jne 0x1008776f
or ecx, 4
mov dword [0x1015e780], ecx
mov eax, dword [0x10153c28]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10087768
nop
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10087730
xor edx, edx
test ecx, ecx
je 0x1008775d
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10087740
mov eax, dword [esp + 0xc]
cmp edi, 0xda6a172f
je 0x1008776a
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10087720
xor eax, eax
mov dword [0x1015e78c], eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1015e78c]
fstp dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [esp + 0x18]
mov eax, dword [0x1015b440]
fmul dword [esp + 0x14]
xorps xmm0, xmmword [0x100b1280]
movss dword [eax + 0x24], xmm0
mov eax, dword [0x1015b440]
fstp dword [esp + 0x14]
movss xmm2, dword [esp + 0x14]
xorps xmm2, xmmword [0x100b1280]
movss dword [eax + 0x28], xmm2
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1009c816
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1015b440]
movss xmm3, dword [eax + 0x28]
movss xmm2, dword [eax + 0x24]
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
and dword [eax + 0x30], 0xfffdffff
mulss xmm1, xmm2
addss xmm1, xmm0
sqrtss xmm1, xmm1
comiss xmm1, dword [0x100b1070]
jbe 0x10087839
comiss xmm1, xmm4
jbe 0x10087839
divss xmm2, xmm1
divss xmm3, xmm1
movaps xmm0, xmm1
minss xmm0, xmm4
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [eax + 0x24], xmm2
movss dword [eax + 0x28], xmm3
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.1009c816
mov esp, ebp
pop ebp
ret