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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffe0
sub esp, 0x120
mov esi, esp
mov dword [esi + 0xf8], ebp
mov dword [esi + 0x7c], ecx
mov dword [esi + 0xfc], esp
mov dword [esi + 0x108], 0xffffffff
lea eax, [esi + 0x100]
mov dword [esi + 0x104], 0x10127640
mov ecx, dword fs:[0]
mov dword [esi + 0x100], ecx
mov dword fs:[0], eax
mov eax, dword [0x10258d54]
cmp dword [eax + 0x384], 0
je 0x10102b31
mov eax, dword [0x1025e644]
test al, 1
je 0x10102b47
mov ebx, dword [0x1025e640]
mov eax, dword [ebp + 8]
mov ebx, dword [ebx + 4]
movss xmm1, dword [ebx + eax]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
jne 0x101026e8
jp 0x101026e8
movss xmm1, dword [ebx + eax + 4]
ucomiss xmm1, xmm0
jne 0x101026e8
jp 0x101026e8
movss xmm0, dword [ebx + eax + 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jne 0x101026e8
jnp 0x10102b31
mov ecx, dword [0x10258da0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
mov dword [esi + 0x108], 0xffffffff
call eax
mov edi, eax
call fcn.1004d5c0
mov ecx, dword [ebp + 8]
movss xmm0, dword [ecx + ebx]
movss xmm2, dword [ecx + ebx + 4]
movss xmm5, dword [ecx + ebx + 8]
movss xmm1, dword [edi + 0x34]
mulss xmm1, xmm2
movss xmm3, dword [edi + 0x30]
mulss xmm3, xmm0
addss xmm3, xmm1
movss xmm1, dword [edi + 0x38]
mulss xmm1, xmm5
addss xmm1, xmm3
addss xmm1, dword [edi + 0x3c]
movss xmm3, dword [0x101afeb4]
ucomiss xmm3, xmm1
ja 0x10102b31
movss xmm3, dword [edi + 0x14]
mulss xmm3, xmm2
movss xmm4, dword [edi + 0x10]
mulss xmm4, xmm0
addss xmm4, xmm3
movss xmm3, dword [edi + 0x18]
mulss xmm3, xmm5
addss xmm3, xmm4
addss xmm3, dword [edi + 0x1c]
mulss xmm2, dword [edi + 4]
mulss xmm0, dword [edi]
addss xmm0, xmm2
mulss xmm5, dword [edi + 8]
addss xmm5, xmm0
addss xmm5, dword [edi + 0xc]
divss xmm5, xmm1
divss xmm3, xmm1
movss xmm0, dword [eax + 8]
movss xmm2, dword [eax + 0xc]
movss xmm1, dword [0x101a62c0]
mulss xmm5, xmm0
mulss xmm0, xmm1
mulss xmm5, xmm1
addss xmm5, xmm0
mulss xmm3, xmm2
mulss xmm2, xmm1
mulss xmm3, xmm1
subss xmm2, xmm3
movss dword [esi + 0x18], xmm2
mov eax, dword [0x10258d54]
cmp dword [eax + 0x384], 1
movss dword [esi + 0x14], xmm5
jne 0x101028b9
mov eax, dword [ecx]
call dword [eax + 0x730]
test eax, eax
je 0x10102b31
mov ecx, dword [0x10258de0]
mov edx, dword [ecx]
push dword [eax + 0x88]
call dword [edx + 0x30]
mov edi, eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
test eax, eax
je 0x10102980
mov ebx, eax
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movaps xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
test eax, eax
je 0x101029a6
cmp eax, 0xf
mov dword [esi + 0xc], eax
jbe 0x101029ac
mov dword [esi + 0x108], 2
sub esp, 0x10
movzx ecx, byte [esi + 0x80]
mov byte [esp + 4], cl
mov dword [esp + 8], eax
mov dword [esp], eax
mov dword [esp + 0xc], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], ebx
call fcn.1001c050
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x1c]
mov edi, dword [esi + 0x10]
jmp 0x101029c6
movss xmm0, dword [0x101a6294]
movss xmm2, dword [eax + 0x388]
mulss xmm2, xmm0
movss xmm3, dword [eax + 0x38c]
mulss xmm3, xmm0
movss xmm1, dword [eax + 0x390]
mulss xmm1, xmm0
mulss xmm0, dword [eax + 0x394]
mov eax, dword [0x10258ed0]
test al, 1
je 0x10102d3e
mov edi, dword [0x10258ecc]
cvttss2si eax, xmm2
movzx edx, al
cvttss2si eax, xmm3
movzx eax, al
shl eax, 8
or eax, edx
cvttss2si edx, xmm1
movzx edx, dl
shl edx, 0x10
or edx, eax
cvttss2si ebx, xmm0
shl ebx, 0x18
or ebx, edx
mov eax, dword [edi + 4]
movzx eax, word [eax + ecx]
push eax
call fcn.100f3590
mov edi, eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x7c]
mov ecx, dword [ecx + 0x14]
sub esp, 0x1c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
movss xmm0, dword [esi + 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [esp], xmm0
mov dword [esp + 0x18], 2
call fcn.100f3300
jmp 0x10102b31
xorps xmm0, xmm0
movaps xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov ecx, 0xf
mov dword [esi + 0xc], 0
jmp 0x10102a3f
mov byte [esi + 0x20], 0
jmp 0x101029d1
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x20]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0xc]
add esp, 0xc
mov byte [esi + eax + 0x20], 0
cmp dword [esi + 0x34], 0x10
jb 0x101029d1
mov ecx, dword [esi + 0x20]
jmp 0x101029d4
lea ecx, [esi + 0x20]
push 0
push 0
push eax
push ecx
push ebx
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x30]
cmp ecx, 0x10
lea ebx, [esi + 0x20]
cmovae ebx, eax
test edi, edi
je 0x10102a3c
mov edx, edi
xor edi, edi
mov dword [esi + 0xc], edx
nop word cs:[eax + eax]
movsx eax, byte [ebx + edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov byte [ebx + edi], al
inc edi
cmp dword [esi + 0xc], edi
jne 0x10102a10
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x108], 3
jmp 0x10102a3f
mov dword [esi + 0xc], eax
mov edx, dword [0x10258d54]
movss xmm0, dword [0x101a6294]
movss xmm1, dword [edx + 0x388]
mulss xmm1, xmm0
cvttss2si ebx, xmm1
movzx ebx, bl
movss xmm1, dword [edx + 0x38c]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movzx edi, al
shl edi, 8
or edi, ebx
movss xmm1, dword [edx + 0x390]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movzx ebx, al
shl ebx, 0x10
or ebx, edi
mulss xmm0, dword [edx + 0x394]
cvttss2si edi, xmm0
shl edi, 0x18
or edi, ebx
cmp ecx, 0x10
lea ebx, [esi + 0x20]
cmovae ebx, dword [esi + 0xc]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x7c]
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0x108], 3
sub esp, 0x1c
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
movss xmm0, dword [esi + 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [esp], xmm0
mov dword [esp + 0x18], 2
call fcn.100f3300
mov eax, dword [esi + 0x34]
cmp eax, 0x10
jb 0x10102b31
mov ecx, dword [esi + 0x20]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10102b27
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10102fda
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.10155aa0
add esp, 8
mov eax, dword [esi + 0x100]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
or eax, 1
mov dword [0x1025e644], eax
mov eax, 0x90044af0
mov ecx, 0x8d1b84c5
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], eax
mov eax, 0xef1ca489
mov ecx, 0xdf14cbb
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], eax
mov eax, 0x1595f420
mov ecx, 0x7bca66f
mov dword [esi + 0x94], ecx
mov dword [esi + 0x90], eax
mov eax, 0x141a283a
mov ecx, 0xd28d404b
mov edx, 0xe36508b3
mov edi, 0xf975c1a0
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edx
mov edx, 0xc265d0e0
mov edi, 0x7bae2185
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edx
mov edx, 0x67da9745
mov edi, 0x69d5c106
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x9c], ecx
mov dword [esi + 0x98], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
lea eax, [esi + 0x20]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x80]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x80], xmm0
movaps xmm0, xmmword [esi + 0x90]
xorps xmm0, xmmword [eax + 0x10]
mov eax, dword [0x10258d5c]
mov dword [esi + 0x10], eax
movaps xmmword [esi + 0x90], xmm0
mov dword [esi + 0x108], 0
lea eax, [esi + 0x80]
lea ecx, [esi + 0xe0]
mov dword [esi + 0x14], ecx
push eax
call fcn.10015240
mov eax, dword [esi + 0xf0]
mov dword [esi + 0xc], eax
cmp dword [esi + 0xf4], 0x10
jb 0x10102c47
mov eax, dword [esi + 0xe0]
mov dword [esi + 0x14], eax
cmp dword [esi + 0xc], 0
je 0x10102c66
mov eax, dword [esi + 0xc]
mov ecx, eax
and ecx, 3
mov dword [esi + 0x18], ecx
cmp eax, 4
jae 0x10102c6d
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10102cb7
mov ecx, 0x811c9dc5
jmp 0x10102cd4
mov edi, dword [esi + 0xc]
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esi + 0x14]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x10102c7d
cmp dword [esi + 0x18], 0
je 0x10102cd4
add edx, dword [esi + 0x14]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [esi + 0x18], edi
jne 0x10102cc2
mov edx, dword [esi + 0x10]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10102fe0
add ecx, ecx
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 0xc]
cmp eax, dword [ebx + 0x18]
jne 0x10102d18
cmp dword [ebx + 0x1c], 0x10
jb 0x10102d02
mov eax, dword [ebx + 8]
jmp 0x10102d05
lea eax, [ebx + 8]
push dword [esi + 0xc]
push eax
push dword [esi + 0x14]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10102d25
cmp ebx, edi
je 0x10102fe0
mov ebx, dword [ebx + 4]
jmp 0x10102cef
add ebx, 0x20
lea ecx, [esi + 0xe0]
call fcn.10014f60
mov dword [0x1025e640], ebx
jmp 0x101026b2
movss dword [esi + 0xcc], xmm3
movss dword [esi + 0xd0], xmm2
movss dword [esi + 0xd4], xmm1
movss dword [esi + 0xd8], xmm0
or eax, 1
mov dword [0x10258ed0], eax
mov eax, dword [0x10258d5c]
mov dword [esi + 0xdc], eax
mov eax, 0x90044af0
mov ecx, 0x8d0180c5
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xb707b992
mov ecx, 0x17cc40f1
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov eax, 0x2aede20
mov ecx, 0x4ebec6b
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov eax, 0x60534165
mov ecx, 0xb7c92d2e
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
mov eax, 0x8097f281
mov ecx, 0x312ba820
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov eax, 0xe17b03fd
mov ecx, 0x18d66f11
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
mov eax, 0xe36508b3
mov ecx, 0xf975c1a0
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], eax
mov eax, 0xc265d0e0
mov ecx, 0x7bae2185
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], eax
mov eax, 0x67da9745
mov ecx, 0x69d5c106
mov dword [esi + 0x94], ecx
mov dword [esi + 0x90], eax
mov eax, 0x141a283a
mov ecx, 0xd28d404b
mov dword [esi + 0x9c], ecx
mov dword [esi + 0x98], eax
mov eax, 0xe9f99be7
mov ecx, 0x5f44c154
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xa0], eax
mov eax, 0x841f6db4
mov ecx, 0x18d66f69
mov dword [esi + 0xac], ecx
mov dword [esi + 0xa8], eax
lea eax, [esi + 0x80]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
movaps xmm0, xmmword [esi + 0x30]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x30], xmm0
movaps xmm0, xmmword [esi + 0x40]
xorps xmm0, xmmword [eax + 0x20]
movaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x108], 4
lea eax, [esi + 0x20]
lea ecx, [esi + 0xe0]
mov dword [esi + 0x10], ecx
push eax
call fcn.10015240
mov eax, dword [esi + 0xf0]
mov dword [esi + 0xc], eax
cmp dword [esi + 0xf4], 0x10
jb 0x10102eb7
mov eax, dword [esi + 0xe0]
mov dword [esi + 0x10], eax
cmp dword [esi + 0xc], 0
je 0x10102ed6
mov eax, dword [esi + 0xc]
mov ecx, eax
and ecx, 3
mov dword [esi + 0x1c], ecx
cmp eax, 4
jae 0x10102edd
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10102f27
mov ecx, 0x811c9dc5
jmp 0x10102f44
mov edi, dword [esi + 0xc]
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esi + 0x10]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x10102eed
cmp dword [esi + 0x1c], 0
je 0x10102f44
add edx, dword [esi + 0x10]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [esi + 0x1c], edi
jne 0x10102f32
mov edx, dword [esi + 0xdc]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x10102ff7
add ecx, ecx
mov ebx, dword [eax + ecx*4]
mov eax, dword [esi + 0xc]
cmp eax, dword [edi + 0x18]
jne 0x10102f8b
cmp dword [edi + 0x1c], 0x10
jb 0x10102f75
mov eax, dword [edi + 8]
jmp 0x10102f78
lea eax, [edi + 8]
push dword [esi + 0xc]
push eax
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10102f94
cmp edi, ebx
je 0x10102ff7
mov edi, dword [edi + 4]
jmp 0x10102f62
add edi, 0x20
lea ecx, [esi + 0xe0]
call fcn.10014f60
mov dword [0x10258ecc], edi
mov dword [esi + 0x108], 0xffffffff
mov ecx, dword [ebp + 8]
movss xmm0, dword [esi + 0xd8]
movss xmm1, dword [esi + 0xd4]
movss xmm2, dword [esi + 0xd0]
movss xmm3, dword [esi + 0xcc]
jmp 0x10102900
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [esi + 0x108], 1
push str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [esi + 0x108], 5
push str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0x10c]
mov ebp, dword [esi + 0xf8]
lea ecx, [esi + 0xe0]
call fcn.10014f60
add esp, 0x20
pop ebp
ret