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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101058ad
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x1015d3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004bef2
sub ecx, esi
mov dword [ebp - 0x18], 0
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edx
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.10003780
cmp dword [ebp - 0x14], 0xf
lea eax, [edi + 0x18]
mov esi, dword [edi + 4]
mov edx, 0x811c9dc5
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1004bf6b
mov edi, dword [ebp - 0x44]
mov esi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1004bf54
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x18]
call fcn.10013b50
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1004bf8c
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x1c]
je 0x1004bfc9
mov edi, dword [edi]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x44], ecx
cmp edi, esi
je 0x1004bfb7
nop dword [eax]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x44], eax
je 0x1004bfb4
add edi, 4
cmp edi, esi
jne 0x1004bfa0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100163e0
mov esi, edi
mov edi, dword [ebp - 0x3c]
push 8
call fcn.100d3795
mov ecx, eax
mov dword [ebp - 0x44], eax
add esp, 4
test ecx, ecx
je 0x1004bfec
mov eax, dword [ebp + 0x10]
mov dword [ecx], vtable.sol::u_detail::binding_char_const___class_TextMessageManager_____cdecl___void___class_TextMessageManager_.0
mov eax, dword [eax]
mov dword [ecx + 4], eax
jmp 0x1004bff1
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [edi + 4]
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], edi
cmp esi, eax
je 0x1004c143
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x1004c016
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
call fcn.10023160
cmp dword [eax + 0x2c], 0xf
mov edx, dword [eax + 0x28]
lea ecx, [eax + 0x18]
jbe 0x1004c02c
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x2c], al
call fcn.10023160
cmp dword [eax + 0x44], 0xf
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x30]
jbe 0x1004c05b
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x29], al
call fcn.10023160
cmp dword [eax + 0x35c], 0xf
mov edx, dword [eax + 0x358]
lea ecx, [eax + 0x348]
jbe 0x1004c093
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x2a], al
call fcn.10023160
cmp dword [eax + 0x374], 0xf
mov edx, dword [eax + 0x370]
lea ecx, [eax + 0x360]
jbe 0x1004c0cb
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x2b], al
call fcn.10023160
cmp dword [eax + 0x1dc], 0xf
mov edx, dword [eax + 0x1d8]
lea ecx, [eax + 0x1c8]
jbe 0x1004c103
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x35], al
cmp byte [esi + 0xc0], 0
je 0x1004c131
cmp byte [esi + 0xc1], 0
jne 0x1004c13d
cmp byte [ebp - 0x2c], 0
jne 0x1004c188
cmp byte [ebp - 0x29], 0
jne 0x1004c188
mov byte [ebp - 0x2d], 0
jmp 0x1004c18c
mov dword [ebp - 0x34], ecx
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp eax, dword [esi + 8]
je 0x1004c161
mov dword [ebp - 0x34], 0
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1004c16d
lea ecx, [ebp - 0x34]
push ecx
push eax
mov ecx, esi
call fcn.10013870
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1004c019
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x1004c019
mov byte [ebp - 0x2d], 1
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edx, eax
mov dword [ebp - 0x4c], edx
mov dh, byte [ebp - 0x2c]
test dh, dh
jne 0x1004c1ab
mov ecx, 0x1003ef60
cmp byte [ebp - 0x2a], dh
je 0x1004c1b0
mov ecx, 0x1003a3c0
cmp byte [ebp - 0x29], 0
mov dword [ebp - 0x54], ecx
jne 0x1004c1c4
cmp byte [ebp - 0x2b], 0
mov eax, 0x1003ef60
je 0x1004c1c9
mov eax, 0x1003a3c0
mov dl, byte [ebp - 0x35]
lea esi, [ebp - 0x28]
mov byte [ebp - 0xa0], dl
test dh, dh
mov dl, byte [ebp - 0x29]
mov byte [ebp - 0x9e], dl
mov dl, byte [ebp - 0x2a]
mov byte [ebp - 0x9d], dl
mov dl, byte [ebp - 0x2b]
mov dword [ebp - 0x98], esi
lea esi, [ebp - 0x54]
mov byte [ebp - 0x9c], dl
mov dl, byte [ebp - 0x2d]
mov dword [ebp - 0x8c], esi
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 0x9f], dh
mov byte [ebp - 0x9b], dl
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov word [ebp - 0x9a], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0x10039aa0
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], 0x10016760
mov dword [ebp - 0x7c], 0x10016740
mov dword [ebp - 0x78], 0x10016be0
mov dword [ebp - 0x74], 0x10016bc0
mov dword [ebp - 0x70], 0x10021cb0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
je 0x1004c288
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa8], edx
cmp byte [ebp - 0x29], 0
je 0x1004c29a
mov dword [esi + 0xa4], eax
mov dword [esi + 0xac], edx
cmp byte [ebp - 0x2a], 0
je 0x1004c2ac
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb8], edx
cmp byte [ebp - 0x2b], 0
je 0x1004c2be
mov dword [esi + 0xb4], eax
mov dword [esi + 0xbc], edx
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
push dword [ebp - 0x58]
call fcn.10016480
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
movq xmm0, qword [ebp - 0x54]
cmova esi, dword [ebp - 0x28]
sub esp, 0xc
mov eax, dword [ebp - 0x4c]
mov edx, esp
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x18]
movq qword [edx], xmm0
push esi
mov dword [edx + 8], eax
call fcn.10021590
test edi, edi
je 0x1004c307
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004c337
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004c32d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004c354
push ecx
push edx
call fcn.100d37c5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d37d3
mov esp, ebp
pop ebp
ret 0xc
call fcn.100d9c9a
int3