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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1113
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100cc380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
mov eax, dword [0x1020ec2c]
mov ebx, dword [ecx + 8]
test al, 1
jne 0x10047bc4
or eax, 1
mov dword [0x1020ec2c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10046610
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1020ec30
call fcn.10046a60
add esp, 4
push 0x100b82e0
call fcn.100ad704
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1020ec30]
call eax
mov ecx, eax
mov dword [ebp - 0xb8], ecx
test ebx, ebx
je 0x10047c38
test ecx, ecx
je 0x10047c38
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x10047c38
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10047c29
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10047c00
xor edx, edx
test ecx, ecx
je 0x10047c29
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10047c10
cmp edi, 0x11ab48ff
je 0x10047c3a
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x10047c38
mov ecx, dword [ebp - 0xb8]
jmp 0x10047be2
xor ebx, ebx
movsx eax, byte [ebx + 0x10]
movss xmm5, dword [0x100c1c5c]
dec eax
cmp eax, 6
ja case.0x10047c4c.2
jmp dword [eax*4 + 0x100480cc]
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x10047cc7
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x10047cc7
movss xmm3, dword [ebx + 0xc]
movss xmm4, dword [0x100c1e40]
movaps xmm0, xmm3
movss xmm2, dword [0x100c1e38]
andps xmm4, xmm3
xorps xmm0, xmm4
movaps xmm1, xmm3
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm4
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm3
cmpnless xmm0, xmm4
andps xmm0, xmm5
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x10047cc7
xor edx, edx
jmp 0x10047cc7
mov edx, dword [ebx + 0xc]
mov ecx, dword [0x10208878]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1020887c]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
mov esi, eax
test esi, esi
je 0x100480af
push 9
push dword [0x101e9b10]
push dword [0x101e9b0c]
call fcn.100acfb0
cmp eax, dword [0x101e9b10]
je 0x100480af
cmp byte [0x101dfff0], 0
je 0x100480af
mov edx, dword [0x1020e9d4]
mov eax, dword [0x101dffec]
add edx, 0xffffffdc
xor edx, 0xc9557fac
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
je 0x100480af
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100480af
mov eax, dword [0x1020e9fc]
add eax, 0xffffffd2
xor eax, 0xc9557fb6
cmp dword [eax + esi], 0
jne 0x100480af
cmp dword [0x101dffec], 0
je 0x100480af
mov ebx, dword [ebp - 0xb4]
push ecx
mov dword [esp], 0
mov ecx, ebx
push 0x100bd2e4
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xb4], eax
call dword [ebp - 0xb4]
mov eax, dword [ebx]
push ecx
mov dword [esp], 0
mov ecx, ebx
fstp dword [ebp - 0xc0]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xb4], eax
push 0x100bd378
call dword [ebp - 0xb4]
mov eax, dword [ebx]
push ecx
mov dword [esp], 0
mov ecx, ebx
fstp dword [ebp - 0xbc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xb4], eax
push 0x100bd374
call dword [ebp - 0xb4]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
fstp dword [ebp - 0xb8]
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x10047f68
mov eax, dword [0x10208a48]
mov edi, dword [eax + esi]
test edi, edi
je 0x10047f68
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x10047f68
cmp byte [edi + 0x109], 0
xorps xmm4, xmm4
jne 0x10047e8b
mov eax, dword [0x1020ea2c]
add eax, 0xffffffc6
xor eax, 0xc9557fc2
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x10047e8b
mov eax, dword [0x1020eaa0]
add eax, 0xffffffa9
xor eax, 0xc9557fdf
mov eax, dword [eax + ecx]
mov ecx, dword [0x1020887c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x10047f68
xorps xmm4, xmm4
mov ecx, dword [0x1020ea94]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffac
xor ecx, 0xc9557fdc
mov eax, dword [ecx + eax]
test eax, eax
je 0x10047f68
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x14]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100c1cb8]
comisd xmm0, xmm3
movsd qword [ebp - 0xc8], xmm3
jbe 0x10047f6d
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100c1d0c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100c1c80]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x10047f2d
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm2, dword [ebp - 0x14]
add esp, 8
movsd xmm3, qword [ebp - 0xc8]
fstp dword [ebp - 0xb4]
movss xmm4, dword [ebp - 0xb4]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100c1cf4]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm2, xmm0
movss dword [ebp - 0x14], xmm2
jmp 0x10047f6d
movss xmm2, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x1c]
mov ecx, dword [0x102088b0]
mov eax, dword [0x101ea0f0]
movss dword [ebp - 0x9c], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0xb8]
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [ebp - 0xbc]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0xc0]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0xffffffff
movss dword [ebp - 0x94], xmm2
movss dword [ebp - 0x88], xmm0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x80], str.sprites_purplelaser1.vmt
mov eax, dword [ecx]
push str.sprites_purplelaser1.vmt
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x100c1f00]
lea edx, [ebp - 0xb0]
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xb4]
movaps xmm0, xmmword [0x100c1ef0]
movzx ecx, al
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movd xmm0, ecx
mov ecx, eax
cvtdq2ps xmm0, xmm0
shr ecx, 8
movzx ecx, cl
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x3c], 2
movss dword [ebp - 0x4c], xmm0
movd xmm0, ecx
mov ecx, dword [0x10208910]
cvtdq2ps xmm0, xmm0
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x38], 0x8300
push edx
movss dword [ebp - 0x48], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x44], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
test edx, edx
je 0x100480af
mov ecx, dword [0x10208910]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad1bc
mov esp, ebp
pop ebp
ret