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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6c6d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100cc380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1008decc
cmp dword [0x101dffec], 0
je 0x1008decc
mov edi, dword [eax + 8]
mov eax, dword [0x1020ec2c]
test al, 1
jne 0x1008d746
or eax, 1
mov dword [0x1020ec2c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
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 esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1008d7c0
test esi, esi
je 0x1008d7c0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008d7c0
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008d7a9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008d782
xor edx, edx
test ecx, ecx
je 0x1008d7a9
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d790
cmp edi, 0x11ab48ff
je 0x1008d7bb
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008d7c0
mov esi, dword [ebp - 0x18]
jmp 0x1008d764
mov ecx, dword [ebp - 0x1c]
jmp 0x1008d7c2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm5, dword [0x100c1c5c]
dec eax
cmp eax, 6
ja case.0x1008d7d8.2
jmp dword [eax*4 + 0x1008dee4]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x1008d853
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x1008d853
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100c1e40]
movaps xmm0, xmm4
movss xmm2, dword [0x100c1e38]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm1, xmm4
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm5
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x1008d853
xor edx, edx
jmp 0x1008d853
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10208878]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x10208878]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x1008decc
mov edi, dword [ebp - 0x14]
mov eax, dword [0x1020ec2c]
mov edi, dword [edi + 8]
test al, 1
jne 0x1008d8cd
or eax, 1
mov dword [0x1020ec2c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
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 esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1008d950
test esi, esi
je 0x1008d950
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008d950
nop dword [eax + eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008d939
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008d910
xor edx, edx
test ecx, ecx
je 0x1008d939
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d920
cmp edi, 0xfd0c5087
je 0x1008d94b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008d950
mov esi, dword [ebp - 0x18]
jmp 0x1008d8f0
mov ecx, dword [ebp - 0x1c]
jmp 0x1008d952
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d95c.4
jmp dword [eax*4 + 0x1008df00]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
add esp, 4
jmp 0x1008d9b6
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
add esp, 4
jmp 0x1008d9b6
movss xmm0, dword [ecx + 0xc]
jmp 0x1008d9b6
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1008d9b6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100af1f0
cvtsd2ss xmm0, xmm0
jmp 0x1008d9b6
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1020ec2c]
test al, 1
jne 0x1008da0e
or eax, 1
mov dword [0x1020ec2c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
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 esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x1008da90
test esi, esi
je 0x1008da90
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1008da90
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008da79
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008da50
xor edx, edx
test ecx, ecx
je 0x1008da79
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008da60
cmp edi, 0xfc0c4ef4
je 0x1008da8b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1008da90
mov esi, dword [ebp - 0x20]
jmp 0x1008da30
mov ecx, dword [ebp - 0x18]
jmp 0x1008da92
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008da9c.4
jmp dword [eax*4 + 0x1008df1c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x1008daf6
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x1008daf6
movss xmm0, dword [ecx + 0xc]
jmp 0x1008daf6
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1008daf6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100af1f0
cvtsd2ss xmm0, xmm0
jmp 0x1008daf6
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1020ec2c]
test al, 1
jne 0x1008db4e
or eax, 1
mov dword [0x1020ec2c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x2c]
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 esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x1008dbd0
test esi, esi
je 0x1008dbd0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1008dbd0
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008dbb9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008db90
xor edx, edx
test ecx, ecx
je 0x1008dbb9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008dba0
cmp edi, 0xff0c53ad
je 0x1008dbcb
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1008dbd0
mov esi, dword [ebp - 0x20]
jmp 0x1008db70
mov ecx, dword [ebp - 0x14]
jmp 0x1008dbd2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008dbdc.4
jmp dword [eax*4 + 0x1008df38]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x1008dc36
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x1008dc36
movss xmm0, dword [ecx + 0xc]
jmp 0x1008dc36
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1008dc36
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100af1f0
cvtsd2ss xmm0, xmm0
jmp 0x1008dc36
xorps xmm0, xmm0
mov edi, dword [0x101dffec]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [edi]
push ecx
mov ecx, edi
movss dword [ebp - 0x14], xmm0
mov eax, dword [eax + 0x28c]
call eax
cmp dword [edi + 0x39e1], 0
je 0x1008ddb1
mov eax, dword [0x10208a48]
mov edi, dword [edi + eax]
test edi, edi
je 0x1008ddb1
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1008ddb1
cmp byte [edi + 0x109], 0
xorps xmm4, xmm4
jne 0x1008dce2
mov eax, dword [0x1020ea2c]
add eax, 0xffffffc6
xor eax, 0xc9557fc2
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1008dce2
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 0x1008ddb1
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 0x1008ddb1
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x24]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100c1cb8]
comisd xmm0, xmm3
movsd qword [ebp - 0x58], xmm3
jbe 0x1008ddb1
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100c1d0c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100c1c80]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x1008dd78
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 - 0x24]
add esp, 8
movsd xmm3, qword [ebp - 0x58]
fstp dword [ebp - 0x20]
movss xmm4, dword [ebp - 0x20]
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 xmm0, xmm0
movss dword [ebp - 0x24], xmm0
mov ecx, dword [0x1020ea24]
mov eax, dword [ebp - 0x24]
add ecx, 0xffffffc8
movss xmm5, dword [ebp - 0x1c]
xor ecx, 0xc9557fc0
movss xmm3, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [0x101dffec]
movss dword [ebp - 0x4c], xmm5
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x44], xmm2
mov eax, dword [ecx + eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x102094c0]
movq qword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0
cmp eax, dword [0x102094c4]
je 0x1008de24
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [eax + 0x10], xmm0
add dword [0x102094c0], 0x20
jmp 0x1008de42
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov ecx, 0x102094bc
call fcn.10087d90
movss xmm2, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x1c]
mov eax, dword [0x102094b8]
test eax, eax
je 0x1008decc
mov ecx, dword [0x102094b4]
xor edx, edx
movss xmm1, dword [0x100c1e3c]
lea esi, [eax + ecx]
cmp ecx, esi
je 0x1008decc
mov eax, dword [0x102094b0]
mov edi, dword [0x102094ac]
dec eax
movss xmm4, dword [0x100c1f20]
mov dword [ebp - 0x20], eax
nop dword [eax]
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x4a], 0
jne 0x1008dead
mov edi, dword [0x102088d8]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
mov edi, dword [0x102094ac]
andps xmm0, xmm4
comiss xmm1, xmm0
jb 0x1008dead
movaps xmm1, xmm0
mov edx, eax
mov eax, dword [ebp - 0x20]
inc ecx
cmp ecx, esi
jne 0x1008de80
test edx, edx
je 0x1008decc
mov byte [edx + 0x4a], 1
movss dword [edx + 0x24], xmm5
movss dword [edx + 0x28], xmm3
movss dword [edx + 0x2c], xmm2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4