Function at 0x1004c360
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 0x1004c3a2
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 0x1004c41b
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 0x1004c404
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 0x1004c43c
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x1c]
je 0x1004c479
mov edi, dword [edi]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x44], ecx
cmp edi, esi
je 0x1004c467
nop dword [eax]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x44], eax
je 0x1004c464
add edi, 4
cmp edi, esi
jne 0x1004c450
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 0x1004c49c
mov eax, dword [ebp + 0x10]
mov dword [ecx], vtable.._AU__binding_PBDP8TextMessageManager__AEXPBDM_ZV1__u_detail_sol__.0
mov eax, dword [eax]
mov dword [ecx + 4], eax
jmp 0x1004c4a1
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 0x1004c5f3
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x1004c4c6
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 0x1004c4dc
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 0x1004c50b
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 0x1004c543
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 0x1004c57b
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 0x1004c5b3
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 0x1004c5e1
cmp byte [esi + 0xc1], 0
jne 0x1004c5ed
cmp byte [ebp - 0x2c], 0
jne 0x1004c638
cmp byte [ebp - 0x29], 0
jne 0x1004c638
mov byte [ebp - 0x2d], 0
jmp 0x1004c63c
mov dword [ebp - 0x34], ecx
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp eax, dword [esi + 8]
je 0x1004c611
mov dword [ebp - 0x34], 0
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1004c61d
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 0x1004c4c9
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x1004c4c9
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 0x1004c65b
mov ecx, 0x1003f050
cmp byte [ebp - 0x2a], dh
je 0x1004c660
mov ecx, fcn.1003a5b0
cmp byte [ebp - 0x29], 0
mov dword [ebp - 0x54], ecx
jne 0x1004c674
cmp byte [ebp - 0x2b], 0
mov eax, 0x1003f050
je 0x1004c679
mov eax, 0x1003a960
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], 0x10039b40
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 0x1004c738
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa8], edx
cmp byte [ebp - 0x29], 0
je 0x1004c74a
mov dword [esi + 0xa4], eax
mov dword [esi + 0xac], edx
cmp byte [ebp - 0x2a], 0
je 0x1004c75c
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb8], edx
cmp byte [ebp - 0x2b], 0
je 0x1004c76e
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 0x1004c7b7
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004c7e7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004c7dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004c804
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