Function at 0x1009cf70
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 0x100cdf4d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x100e5364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1009d5f2
cmp dword [0x1014d1a0], 0
je 0x1009d5f2
mov edi, dword [eax + 8]
mov eax, dword [0x101a9328]
test al, 1
jne 0x1009ce66
or eax, 1
mov dword [0x101a9328], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1004e760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a932c
call fcn.1004ebb0
add esp, 4
push 0x100cf9e0
call fcn.100c2b3a
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101a932c]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x1009cee0
test esi, esi
je 0x1009cee0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1009cee0
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 0x1009cec9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009cea2
xor edx, edx
test ecx, ecx
je 0x1009cec9
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009ceb0
cmp edi, 0x11ab48ff
je 0x1009cedb
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1009cee0
mov esi, dword [ebp - 0x1c]
jmp 0x1009ce84
mov ecx, dword [ebp - 0x14]
jmp 0x1009cee2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm5, dword [0x100d8e50]
dec eax
cmp eax, 6
ja case.0x1009cef8.2
jmp dword [eax*4 + 0x1009d608]
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 0x1009cf73
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 0x1009cf73
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d9108]
movaps xmm0, xmm4
movss xmm2, dword [0x100d90f4]
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 0x1009cf73
xor edx, edx
jmp 0x1009cf73
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101a3bf0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x101a3bf0]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x1009d5f2
mov edi, dword [ebp - 0x18]
mov eax, dword [0x101a9328]
mov edi, dword [edi + 8]
test al, 1
jne 0x1009cfed
or eax, 1
mov dword [0x101a9328], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1004e760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a932c
call fcn.1004ebb0
add esp, 4
push 0x100cf9e0
call fcn.100c2b3a
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101a932c]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x1009d070
test esi, esi
je 0x1009d070
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1009d070
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 0x1009d059
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009d030
xor edx, edx
test ecx, ecx
je 0x1009d059
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d040
cmp edi, 0xfd0c5087
je 0x1009d06b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1009d070
mov esi, dword [ebp - 0x1c]
jmp 0x1009d010
mov ecx, dword [ebp - 0x14]
jmp 0x1009d072
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009d07c.4
jmp dword [eax*4 + 0x1009d624]
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 0x1009d0d6
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 0x1009d0d6
movss xmm0, dword [ecx + 0xc]
jmp 0x1009d0d6
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1009d0d6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100c4580
cvtsd2ss xmm0, xmm0
jmp 0x1009d0d6
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
movss dword [ebp - 0x14], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x101a9328]
test al, 1
jne 0x1009d12e
or eax, 1
mov dword [0x101a9328], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1004e760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a932c
call fcn.1004ebb0
add esp, 4
push 0x100cf9e0
call fcn.100c2b3a
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101a932c]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x1009d1b0
test esi, esi
je 0x1009d1b0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1009d1b0
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 0x1009d199
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009d170
xor edx, edx
test ecx, ecx
je 0x1009d199
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d180
cmp edi, 0xfc0c4ef4
je 0x1009d1ab
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1009d1b0
mov esi, dword [ebp - 0x20]
jmp 0x1009d150
mov ecx, dword [ebp - 0x1c]
jmp 0x1009d1b2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009d1bc.4
jmp dword [eax*4 + 0x1009d640]
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 0x1009d216
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 0x1009d216
movss xmm0, dword [ecx + 0xc]
jmp 0x1009d216
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1009d216
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100c4580
cvtsd2ss xmm0, xmm0
jmp 0x1009d216
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
movss dword [ebp - 0x1c], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x101a9328]
test al, 1
jne 0x1009d26e
or eax, 1
mov dword [0x101a9328], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.1004e760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a932c
call fcn.1004ebb0
add esp, 4
push 0x100cf9e0
call fcn.100c2b3a
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101a932c]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x1009d2f0
test esi, esi
je 0x1009d2f0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009d2f0
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 0x1009d2d9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009d2b0
xor edx, edx
test ecx, ecx
je 0x1009d2d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d2c0
cmp edi, 0xff0c53ad
je 0x1009d2eb
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009d2f0
mov esi, dword [ebp - 0x20]
jmp 0x1009d290
mov ecx, dword [ebp - 0x18]
jmp 0x1009d2f2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009d2fc.4
jmp dword [eax*4 + 0x1009d65c]
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 0x1009d356
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 0x1009d356
movss xmm0, dword [ecx + 0xc]
jmp 0x1009d356
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1009d356
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100c4580
cvtsd2ss xmm0, xmm0
jmp 0x1009d356
xorps xmm0, xmm0
cmp byte [0x10156a88], 0
movss dword [ebp - 0x18], xmm0
je 0x1009d560
mov edi, dword [0x1014d1a0]
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
mov eax, dword [eax + 0x28c]
call eax
cmp dword [edi + 0x39e1], 0
je 0x1009d4de
mov eax, dword [0x101a3da8]
mov edi, dword [edi + eax]
test edi, edi
je 0x1009d4de
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1009d4de
cmp byte [edi + 0x109], 0
xorps xmm4, xmm4
jne 0x1009d40f
mov eax, dword [0x101a3e6c]
add eax, 0xffffffc0
xor eax, 0x39528c4f
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1009d40f
mov eax, dword [0x101a3ee0]
add eax, 0xffffffa3
xor eax, 0x39528c6c
mov eax, dword [eax + ecx]
mov ecx, dword [0x101a3bf4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x1009d4de
xorps xmm4, xmm4
mov ecx, dword [0x101a3ed4]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa6
xor ecx, 0x39528c69
mov eax, dword [ecx + eax]
test eax, eax
je 0x1009d4de
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x24]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100d8ec0]
comisd xmm0, xmm3
movsd qword [ebp - 0x40], xmm3
jbe 0x1009d4de
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100d8f80]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100d8e80]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x1009d4a5
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 - 0x40]
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 [0x100d8f28]
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 [0x101a3e64]
mov eax, dword [ebp - 0x24]
add ecx, 0xffffffc2
movss xmm5, dword [ebp - 0x14]
xor ecx, 0x39528c4d
movss xmm3, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x18]
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x1014d1a0]
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x58], xmm2
mov eax, dword [ecx + eax]
mov dword [ebp - 0x48], eax
mov eax, dword [0x101a493c]
movq qword [ebp - 0x54], xmm0
mov word [ebp - 0x44], 0
cmp eax, dword [0x101a4940]
je 0x1009d551
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax + 0x10], xmm0
add dword [0x101a493c], 0x20
jmp 0x1009d56f
lea ecx, [ebp - 0x60]
push ecx
push eax
mov ecx, 0x101a4938
call fcn.100a0110
movss xmm5, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x18]
mov eax, dword [0x101a4934]
test eax, eax
je 0x1009d5f2
mov ecx, dword [0x101a4930]
xor edx, edx
movss xmm1, dword [0x100d90f8]
lea esi, [eax + ecx]
mov dword [ebp - 0x14], esi
cmp ecx, esi
je 0x1009d5f2
mov edi, dword [0x101a492c]
movss xmm4, dword [0x100d9270]
mov esi, dword [0x101a4928]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x14]
cmp byte [eax + 0x4a], 0
jne 0x1009d5d6
mov esi, dword [0x101a3c50]
movss xmm0, dword [esi]
subss xmm0, dword [eax + 8]
mov esi, dword [ebp - 0x14]
andps xmm0, xmm4
comiss xmm1, xmm0
jb 0x1009d5d6
movaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x1009d5a0
test edx, edx
je 0x1009d5f2
mov byte [edx + 0x4a], 1
movss dword [edx + 0x30], xmm5
movss dword [edx + 0x34], xmm3
movss dword [edx + 0x38], 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