Function at 0x1008cb57
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 0x100b492d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x100c9040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1008cf53
cmp dword [0x100c92a8], 0
je 0x1008cf53
mov edi, dword [eax + 8]
mov eax, dword [0x10170140]
test al, 1
jne 0x1008c906
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
add esp, 4
push 0x100b60d0
call fcn.100abf5c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1008c980
test esi, esi
je 0x1008c980
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008c980
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 0x1008c969
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008c942
xor edx, edx
test ecx, ecx
je 0x1008c969
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008c950
cmp edi, 0x11ab48ff
je 0x1008c97b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008c980
mov esi, dword [ebp - 0x18]
jmp 0x1008c924
mov ecx, dword [ebp - 0x1c]
jmp 0x1008c982
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008c990.2
jmp dword [eax*4 + 0x1008cf6c]
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 0x1008ca13
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 0x1008ca13
movss xmm5, dword [ecx + 0xc]
movss xmm3, dword [0x100beaec]
movaps xmm0, xmm5
movss xmm2, dword [0x100beae4]
andps xmm3, xmm5
xorps xmm0, xmm3
movss xmm4, dword [0x100be930]
cmpltss xmm0, xmm2
movaps xmm1, xmm5
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm5
cmpnless xmm0, xmm3
andps xmm0, xmm4
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x1008ca13
xor edx, edx
jmp 0x1008ca13
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1016a7c8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1016a7c8]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x1008cf53
mov edi, dword [ebp - 0x20]
mov eax, dword [0x10170140]
mov edi, dword [edi + 8]
test al, 1
jne 0x1008ca8d
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
add esp, 4
push 0x100b60d0
call fcn.100abf5c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1008cb10
test esi, esi
je 0x1008cb10
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008cb10
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 0x1008caf9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008cad0
xor edx, edx
test ecx, ecx
je 0x1008caf9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008cae0
cmp edi, 0xfd0c5087
je 0x1008cb0b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008cb10
mov esi, dword [ebp - 0x18]
jmp 0x1008cab0
mov ecx, dword [ebp - 0x1c]
jmp 0x1008cb12
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
xorps xmm0, xmm0
dec eax
movss dword [ebp - 0x1c], xmm0
cmp eax, 6
ja case.0x1008cb24.4
jmp dword [eax*4 + 0x1008cf88]
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 case.0x1008cb24.4
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 case.0x1008cb24.4
movss xmm0, dword [ecx + 0xc]
jmp case.0x1008cb24.4
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp case.0x1008cb24.4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100acea0
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x20]
movss dword [ebp - 0x18], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10170140]
test al, 1
jne 0x1008cbd1
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
add esp, 4
push 0x100b60d0
call fcn.100abf5c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x24], esi
test edi, edi
je 0x1008cc50
test esi, esi
je 0x1008cc50
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1008cc50
nop
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 0x1008cc39
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008cc10
xor edx, edx
test ecx, ecx
je 0x1008cc39
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008cc20
cmp edi, 0xfc0c4ef4
je 0x1008cc4b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1008cc50
mov esi, dword [ebp - 0x24]
jmp 0x1008cbf0
mov ecx, dword [ebp - 0x14]
jmp 0x1008cc52
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008cc5c.4
jmp dword [eax*4 + 0x1008cfa4]
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 0x1008ccb6
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 0x1008ccb6
movss xmm0, dword [ecx + 0xc]
jmp 0x1008ccb6
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1008ccb6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100acea0
cvtsd2ss xmm0, xmm0
jmp 0x1008ccb6
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
movss dword [ebp - 0x14], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10170140]
test al, 1
jne 0x1008cd0e
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
add esp, 4
push 0x100b60d0
call fcn.100abf5c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x24], esi
test edi, edi
je 0x1008cd90
test esi, esi
je 0x1008cd90
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x1008cd90
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 0x1008cd79
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008cd50
xor edx, edx
test ecx, ecx
je 0x1008cd79
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008cd60
cmp edi, 0xff0c53ad
je 0x1008cd8b
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x1008cd90
mov esi, dword [ebp - 0x24]
jmp 0x1008cd30
mov ecx, dword [ebp - 0x20]
jmp 0x1008cd92
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008cd9c.4
jmp dword [eax*4 + 0x1008cfc0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x20]
movss xmm4, dword [ebp - 0x20]
add esp, 4
movss dword [ebp - 0x1c], xmm4
jmp 0x1008ce02
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
jmp 0x1008cdac
movss xmm4, dword [ecx + 0xc]
movss dword [ebp - 0x1c], xmm4
jmp 0x1008ce02
movd xmm4, dword [ecx + 0xc]
cvtdq2ps xmm4, xmm4
movss dword [ebp - 0x1c], xmm4
jmp 0x1008ce02
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100acea0
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
movss dword [ebp - 0x1c], xmm4
jmp 0x1008ce02
xorps xmm4, xmm4
cmp byte [0x100d6d80], 0
movss xmm5, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x14]
je 0x1008ced6
mov edx, dword [0x100c92a8]
mov ecx, dword [0x1016a9d8]
mov eax, dword [0x1016aaa0]
add ecx, 0xffffffd8
add eax, 0xffffffa6
movss dword [ebp - 0x50], xmm5
xor eax, 0x74ce792d
movss dword [ebp - 0x4c], xmm3
xor ecx, 0x74ce78fb
movss dword [ebp - 0x48], xmm4
mov word [ebp - 0x34], 0
movss xmm2, dword [eax + edx]
movss xmm0, dword [ecx + edx + 8]
addss xmm0, dword [eax + edx + 8]
movss xmm1, dword [ecx + edx + 4]
addss xmm1, dword [eax + edx + 4]
addss xmm2, dword [ecx + edx]
movss dword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x1016aa48]
add eax, 0xffffffbc
unpcklps xmm2, xmm1
xor eax, 0x74ce7917
movq qword [ebp - 0x44], xmm2
mov eax, dword [eax + edx]
mov dword [ebp - 0x38], eax
mov eax, dword [0x1016b528]
cmp eax, dword [0x1016b52c]
je 0x1008cebd
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax + 0x10], xmm0
add dword [0x1016b528], 0x20
jmp 0x1008ced6
lea ecx, [ebp - 0x50]
push ecx
push eax
mov ecx, 0x1016b524
call fcn.1008f6c0
movss xmm3, dword [ebp - 0x14]
movss xmm5, dword [ebp - 0x18]
mov eax, dword [0x1016b520]
test eax, eax
je 0x1008cf53
mov ecx, dword [0x1016b51c]
xor edx, edx
movss xmm1, dword [0x100beae8]
lea esi, [eax + ecx]
cmp ecx, esi
je 0x1008cf53
mov eax, dword [0x1016b518]
mov edi, dword [0x1016b514]
dec eax
mov dword [ebp - 0x24], eax
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x32], 0
jne 0x1008cf2f
mov edi, dword [0x1016a824]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
mov edi, dword [0x1016b514]
comiss xmm1, xmm0
jb 0x1008cf2f
movaps xmm1, xmm0
mov edx, eax
mov eax, dword [ebp - 0x24]
inc ecx
cmp ecx, esi
jne 0x1008cf05
test edx, edx
je 0x1008cf53
movss xmm0, dword [ebp - 0x1c]
mov byte [edx + 0x32], 1
movss dword [edx + 0x24], xmm5
movss dword [edx + 0x28], xmm3
movss dword [edx + 0x2c], xmm0
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