Function at 0x1007cbad
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 0x100a3d18
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x100b9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x1007d102
cmp dword [0x100b92e0], 0
je 0x1007d102
mov esi, dword [eax + 8]
mov eax, dword [0x10117cb0]
test al, 1
jne 0x1007c9ab
or eax, 1
mov dword [0x10117cb0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.10040e60
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10117cb4
call fcn.10041260
add esp, 4
push 0x100a56a0
call fcn.1009b7b5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10117cb4]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test esi, esi
je 0x1007ca29
test edi, edi
je 0x1007ca29
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007ca29
nop dword [eax]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007ca1c
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007c9f0
xor edx, edx
test ecx, ecx
je 0x1007ca19
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007ca00
cmp edi, 0x11ab48ff
je 0x1007ca3c
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x1007c9d0
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007ca35.2
jmp dword [eax*4 + 0x1007d118]
mov ecx, dword [ebp - 0x14]
jmp 0x1007ca2b
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 0x1007ca78
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 0x1007ca78
movss xmm0, dword [ecx + 0xc]
call fcn.10023390
cvttss2si edx, xmm0
jmp 0x1007ca78
xor edx, edx
jmp 0x1007ca78
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10112028]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x10112028]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x1007d102
mov esi, dword [ebp - 0x24]
mov eax, dword [0x10117cb0]
mov esi, dword [esi + 8]
test al, 1
jne 0x1007caf2
or eax, 1
mov dword [0x10117cb0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.10040e60
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10117cb4
call fcn.10041260
add esp, 4
push 0x100a56a0
call fcn.1009b7b5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10117cb4]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test esi, esi
je 0x1007cb69
test edi, edi
je 0x1007cb69
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007cb69
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007cb5c
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007cb30
xor edx, edx
test ecx, ecx
je 0x1007cb59
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007cb40
cmp edi, 0xfd0c5087
je 0x1007cb7c
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x1007cb10
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007cb75.4
jmp dword [eax*4 + 0x1007d134]
mov ecx, dword [ebp - 0x14]
jmp 0x1007cb6b
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 0x1007cbd4
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 0x1007cbd4
movss xmm0, dword [ecx + 0xc]
jmp 0x1007cbd4
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007cbd4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c850
cvtsd2ss xmm0, xmm0
jmp 0x1007cbd4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x24]
movss dword [ebp - 0x18], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10117cb0]
test al, 1
jne 0x1007cc2c
or eax, 1
mov dword [0x10117cb0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10040e60
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10117cb4
call fcn.10041260
add esp, 4
push 0x100a56a0
call fcn.1009b7b5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10117cb4]
call eax
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test edi, edi
je 0x1007ccaf
test ecx, ecx
je 0x1007ccaf
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x1007ccaf
nop word [eax + eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [edi]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007cca0
mov eax, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007cc70
xor edx, edx
test ecx, ecx
je 0x1007cca0
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007cc80
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], 0xfc0c4ef4
mov edi, dword [ebp - 0x1c]
je 0x1007ccb1
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x1007ccaf
mov ecx, dword [ebp - 0x2c]
jmp 0x1007cc50
xor edi, edi
movsx eax, byte [edi + 0x10]
dec eax
cmp eax, 6
ja case.0x1007ccbb.4
jmp dword [eax*4 + 0x1007d150]
push dword [edi + 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 0x1007cd15
push dword [edi + 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 0x1007cd15
movss xmm0, dword [edi + 0xc]
jmp 0x1007cd15
movd xmm0, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007cd15
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c850
cvtsd2ss xmm0, xmm0
jmp 0x1007cd15
xorps xmm0, xmm0
mov eax, dword [ebp - 0x24]
movss dword [ebp - 0x1c], xmm0
mov esi, dword [eax + 8]
mov eax, dword [0x10117cb0]
test al, 1
jne 0x1007cd6d
or eax, 1
mov dword [0x10117cb0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.10040e60
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10117cb4
call fcn.10041260
add esp, 4
push 0x100a56a0
call fcn.1009b7b5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10117cb4]
call eax
mov edi, eax
mov dword [ebp - 0x14], edi
test esi, esi
je 0x1007cde9
test edi, edi
je 0x1007cde9
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1007cde9
nop dword [eax + eax]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007cddc
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007cdb0
xor edx, edx
test ecx, ecx
je 0x1007cdd9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007cdc0
cmp edi, 0xff0c53ad
je 0x1007cdfc
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x1007cd90
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007cdf5.4
jmp dword [eax*4 + 0x1007d16c]
mov ecx, dword [ebp - 0x24]
jmp 0x1007cdeb
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
add esp, 4
jmp 0x1007ce57
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
add esp, 4
jmp 0x1007ce57
movss xmm1, dword [ecx + 0xc]
jmp 0x1007ce57
movd xmm1, dword [ecx + 0xc]
cvtdq2ps xmm1, xmm1
jmp 0x1007ce57
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c850
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
jmp 0x1007ce57
xorps xmm1, xmm1
cmp byte [0x100c35f4], 0
movss xmm5, dword [ebp - 0x18]
movss xmm4, dword [ebp - 0x1c]
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x44], xmm5
movss dword [ebp - 0x40], xmm4
movss dword [ebp - 0x3c], xmm1
je 0x1007d07e
mov edi, dword [0x100b92e0]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [edi + 0x39e1], 0
je 0x1007cffb
mov eax, dword [0x101121cc]
mov edi, dword [edi + eax]
test edi, edi
je 0x1007cffb
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1007cffb
cmp byte [edi + 0x109], 0
xorps xmm4, xmm4
jne 0x1007cf29
mov eax, dword [0x10112298]
add eax, 0xffffffbf
xor eax, 0x7e88121f
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1007cf29
mov eax, dword [0x1011230c]
add eax, 0xffffffa2
xor eax, 0x7e88123c
mov eax, dword [eax + ecx]
mov ecx, dword [0x1011202c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x1007cffb
xorps xmm4, xmm4
mov ecx, dword [0x10112300]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa5
xor ecx, 0x7e881239
mov eax, dword [ecx + eax]
test eax, eax
je 0x1007cffb
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x30]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100ad7a8]
comisd xmm0, xmm3
movsd qword [ebp - 0x28], xmm3
jbe 0x1007cffb
cvtps2pd xmm0, xmm2
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100ad818]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100ad768]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x1007cfc2
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 - 0x30]
add esp, 8
movsd xmm3, qword [ebp - 0x28]
fstp dword [ebp - 0x2c]
movss xmm4, dword [ebp - 0x2c]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100ad7ec]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x10112290]
movq xmm0, qword [ebp - 0x44]
add ecx, 0xffffffc1
mov dword [ebp - 0x68], eax
xor ecx, 0x7e88121d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x100b92e0]
movq qword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [ebp - 0x64], xmm0
mov eax, dword [ecx + eax]
mov dword [ebp - 0x58], eax
mov eax, dword [0x100cd490]
mov word [ebp - 0x54], 0
cmp dword [0x100cd494], eax
je 0x1007d060
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [eax + 0x10], xmm0
add dword [0x100cd490], 0x20
jmp 0x1007d06f
lea ecx, [ebp - 0x70]
push ecx
push eax
mov ecx, 0x100cd48c
call fcn.1007f5e0
movss xmm5, dword [ebp - 0x18]
movss xmm4, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x14]
mov eax, dword [0x100cd488]
test eax, eax
je 0x1007d102
mov ecx, dword [0x100cd484]
xor edx, edx
movss xmm2, dword [0x100ad940]
lea esi, [eax + ecx]
mov dword [ebp - 0x24], esi
cmp ecx, esi
je 0x1007d102
mov edi, dword [0x100cd480]
movss xmm3, dword [0x100ada70]
nop
mov esi, dword [0x100cd47c]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x24]
cmp byte [eax + 0x3f], 0
jne 0x1007d0e6
mov esi, dword [0x10112084]
movss xmm0, dword [esi]
subss xmm0, dword [eax + 8]
mov esi, dword [ebp - 0x24]
andps xmm0, xmm3
comiss xmm2, xmm0
jb 0x1007d0e6
movaps xmm2, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x1007d0b0
test edx, edx
je 0x1007d102
mov byte [edx + 0x3f], 1
movss dword [edx + 0x24], xmm5
movss dword [edx + 0x28], xmm4
movss dword [edx + 0x2c], xmm1
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