Function at 0x1004c810
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 esi, dword [eax]
call fcn.10023160
lea ecx, [esi + esi*2]
cmp dword [eax + ecx*8 + 0x14], 0xf
lea eax, [eax + ecx*8]
mov ecx, eax
jbe 0x1004c863
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
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 0x1004c8d7
mov edi, dword [ebp - 0x44]
mov esi, eax
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1004c8c0
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 0x1004c8f8
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x1c]
je 0x1004c939
mov edi, dword [edi]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x44], ecx
cmp edi, esi
je 0x1004c927
nop dword [eax]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x44], eax
je 0x1004c924
add edi, 4
cmp edi, esi
jne 0x1004c910
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
add esp, 4
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1004c952
mov dword [eax], vtable.sol::u_detail::binding_enum_sol::meta_function__struct_sol::constructor_list_class_TextMessageManager____cdecl___void____class_TextMessageManager_.0
jmp 0x1004c957
xor eax, eax
mov dword [ebp - 0x44], eax
mov ecx, dword [edi + 4]
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], edi
cmp esi, ecx
je 0x1004caa7
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x1004c97a
mov eax, dword [ecx]
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 0x1004c990
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 0x1004c9bf
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 0x1004c9f7
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 0x1004ca2f
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 0x1004ca67
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 0x1004ca95
cmp byte [esi + 0xc1], 0
jne 0x1004caa1
cmp byte [ebp - 0x2c], 0
jne 0x1004caec
cmp byte [ebp - 0x29], 0
jne 0x1004caec
mov byte [ebp - 0x2d], 0
jmp 0x1004caf0
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp ecx, dword [esi + 8]
je 0x1004cac5
mov dword [ebp - 0x34], 0
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x1004cad1
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, esi
call fcn.10013870
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1004c97d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x1004c97d
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 0x1004cb0f
mov ecx, 0x1003f2f0
cmp byte [ebp - 0x2a], dh
je 0x1004cb14
mov ecx, 0x1003a920
cmp byte [ebp - 0x29], 0
mov dword [ebp - 0x54], ecx
jne 0x1004cb28
cmp byte [ebp - 0x2b], 0
mov eax, 0x1003f2f0
je 0x1004cb2d
mov eax, 0x1003a920
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], 0x10039d00
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 0x1004cbec
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa8], edx
cmp byte [ebp - 0x29], 0
je 0x1004cbfe
mov dword [esi + 0xa4], eax
mov dword [esi + 0xac], edx
cmp byte [ebp - 0x2a], 0
je 0x1004cc10
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb8], edx
cmp byte [ebp - 0x2b], 0
je 0x1004cc22
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 0x1004cc6b
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004cc9b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004cc91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ccb8
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