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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10116d4d
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101a8540]
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 - 0x38], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.10055fb0
lea ecx, [esi + esi*2]
cmp dword [eax + ecx*8 + 0x14], 0xf
lea eax, [eax + ecx*8]
mov ecx, eax
jbe 0x1004e8d3
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.100025b0
cmp dword [ebp - 0x14], 0xf
lea eax, [edi + 0x1c]
mov esi, dword [edi + 8]
mov edx, 0x811c9dc5
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x1004e947
mov edi, dword [ebp - 0x40]
mov esi, eax
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1004e930
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x1c]
call fcn.10048ef0
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1004e968
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x20]
je 0x1004e9a9
mov edi, dword [edi + 4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x40], ecx
cmp edi, esi
je 0x1004e997
nop word [eax + eax]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x40], eax
je 0x1004e994
add edi, 4
cmp edi, esi
jne 0x1004e980
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov esi, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1004bbc0
mov edi, dword [ebp - 0x38]
push 8
call fcn.101118c3
mov edx, eax
mov dword [ebp - 0x40], eax
add esp, 4
test edx, edx
je 0x1004e9c4
mov dword [edx], fcn.100021a0
jmp 0x1004e9c9
xor edx, edx
mov dword [ebp - 0x40], edx
mov eax, dword [edi + 8]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x1004e9df
mov ecx, dword [esi]
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [esi], edx
jmp 0x1004ea0f
lea ecx, [edi + 4]
mov dword [ebp - 0x34], edx
xor edi, edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 2
cmp eax, dword [ecx + 8]
je 0x1004e9fe
mov dword [ebp - 0x34], edi
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1004ea08
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.10048d30
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1004ea1a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
call fcn.10055fb0
cmp dword [eax + 0x2c], 0xf
lea ecx, [eax + 0x18]
mov eax, dword [ecx + 0x10]
jbe 0x1004ea2d
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
cmp esi, eax
je 0x1004ea45
mov byte [ebp - 0x29], 0
jmp 0x1004eaa6
test esi, esi
jne 0x1004ea4f
mov byte [ebp - 0x29], 1
jmp 0x1004eaa6
sub esi, 4
jb 0x1004ea65
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004ea6a
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1004ea54
cmp esi, 0xfffffffc
je 0x1004ea9e
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004ea97
cmp esi, 0xfffffffd
je 0x1004ea9e
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004ea97
cmp esi, 0xfffffffe
je 0x1004ea9e
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004ea97
cmp esi, 0xffffffff
je 0x1004ea9e
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004ea9e
sbb eax, eax
or eax, 1
jmp 0x1004eaa0
xor eax, eax
test eax, eax
sete byte [ebp - 0x29]
call fcn.10055fb0
cmp dword [eax + 0x44], 0xf
lea ecx, [eax + 0x30]
mov eax, dword [ecx + 0x10]
jbe 0x1004eab9
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
cmp esi, eax
je 0x1004ead1
mov byte [ebp - 0x2a], 0
jmp 0x1004eb32
test esi, esi
jne 0x1004eadb
mov byte [ebp - 0x2a], 1
jmp 0x1004eb32
sub esi, 4
jb 0x1004eaf1
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004eaf6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1004eae0
cmp esi, 0xfffffffc
je 0x1004eb2a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004eb23
cmp esi, 0xfffffffd
je 0x1004eb2a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004eb23
cmp esi, 0xfffffffe
je 0x1004eb2a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004eb23
cmp esi, 0xffffffff
je 0x1004eb2a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004eb2a
sbb eax, eax
or eax, 1
jmp 0x1004eb2c
xor eax, eax
test eax, eax
sete byte [ebp - 0x2a]
call fcn.10055fb0
cmp dword [eax + 0x35c], 0xf
lea ecx, [eax + 0x348]
mov eax, dword [ecx + 0x10]
jbe 0x1004eb4b
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
cmp esi, eax
je 0x1004eb63
mov byte [ebp - 0x2b], 0
jmp 0x1004ebc4
test esi, esi
jne 0x1004eb6d
mov byte [ebp - 0x2b], 1
jmp 0x1004ebc4
sub esi, 4
jb 0x1004eb83
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004eb88
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1004eb72
cmp esi, 0xfffffffc
je 0x1004ebbc
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004ebb5
cmp esi, 0xfffffffd
je 0x1004ebbc
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004ebb5
cmp esi, 0xfffffffe
je 0x1004ebbc
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004ebb5
cmp esi, 0xffffffff
je 0x1004ebbc
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004ebbc
sbb eax, eax
or eax, 1
jmp 0x1004ebbe
xor eax, eax
test eax, eax
sete byte [ebp - 0x2b]
call fcn.10055fb0
cmp dword [eax + 0x374], 0xf
lea ecx, [eax + 0x360]
mov eax, dword [ecx + 0x10]
jbe 0x1004ebdd
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
cmp esi, eax
je 0x1004ebf5
mov byte [ebp - 0x2c], 0
jmp 0x1004ec56
test esi, esi
jne 0x1004ebff
mov byte [ebp - 0x2c], 1
jmp 0x1004ec56
sub esi, 4
jb 0x1004ec15
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004ec1a
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1004ec04
cmp esi, 0xfffffffc
je 0x1004ec4e
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004ec47
cmp esi, 0xfffffffd
je 0x1004ec4e
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004ec47
cmp esi, 0xfffffffe
je 0x1004ec4e
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004ec47
cmp esi, 0xffffffff
je 0x1004ec4e
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004ec4e
sbb eax, eax
or eax, 1
jmp 0x1004ec50
xor eax, eax
test eax, eax
sete byte [ebp - 0x2c]
call fcn.10055fb0
cmp dword [eax + 0x1dc], 0xf
lea ecx, [eax + 0x1c8]
mov eax, dword [ecx + 0x10]
jbe 0x1004ec6f
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
cmp esi, eax
je 0x1004ec87
mov byte [ebp - 0x2d], 0
jmp 0x1004ece8
test esi, esi
jne 0x1004ec91
mov byte [ebp - 0x2d], 1
jmp 0x1004ece8
sub esi, 4
jb 0x1004eca7
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004ecac
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1004ec96
cmp esi, 0xfffffffc
je 0x1004ece0
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004ecd9
cmp esi, 0xfffffffd
je 0x1004ece0
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004ecd9
cmp esi, 0xfffffffe
je 0x1004ece0
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004ecd9
cmp esi, 0xffffffff
je 0x1004ece0
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004ece0
sbb eax, eax
or eax, 1
jmp 0x1004ece2
xor eax, eax
test eax, eax
sete byte [ebp - 0x2d]
mov esi, dword [ebp - 0x38]
cmp byte [esi + 0xa8], 0
je 0x1004ecfd
cmp byte [esi + 0xa9], 0
jne 0x1004ed09
cmp byte [ebp - 0x29], 0
jne 0x1004ed0f
cmp byte [ebp - 0x2a], 0
jne 0x1004ed0f
mov byte [ebp - 0x2e], 0
jmp 0x1004ed13
mov byte [ebp - 0x2e], 1
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp byte [ebp - 0x29], 0
mov edx, eax
mov dword [ebp - 0x48], edx
jne 0x1004ed32
cmp byte [ebp - 0x2b], 0
mov ecx, 0x1004c260
je 0x1004ed37
mov ecx, 0x10049e20
cmp byte [ebp - 0x2a], 0
mov dh, byte [ebp - 0x2c]
mov dword [ebp - 0x50], ecx
jne 0x1004ed4c
mov eax, 0x1004c260
test dh, dh
je 0x1004ed51
mov eax, 0x10049e20
cmp byte [ebp - 0x29], 0
mov dl, byte [ebp - 0x2d]
mov byte [ebp - 0x9c], dl
mov dl, byte [ebp - 0x29]
mov byte [ebp - 0x9b], dl
mov dl, byte [ebp - 0x2a]
mov byte [ebp - 0x9a], dl
mov dl, byte [ebp - 0x2b]
mov byte [ebp - 0x99], dl
mov dl, byte [ebp - 0x2e]
mov byte [ebp - 0x98], dh
mov byte [ebp - 0x97], dl
lea edx, [ebp - 0x28]
mov dword [ebp - 0x94], edx
lea edx, [ebp - 0x50]
mov dword [ebp - 0x88], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x96], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0x10049910
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x1004c150
mov dword [ebp - 0x78], 0x1004c130
mov dword [ebp - 0x74], 0x1004c540
mov dword [ebp - 0x70], 0x1004c520
mov dword [ebp - 0x6c], 0x10054a80
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
je 0x1004ee0c
mov dword [esi + 0x88], ecx
mov dword [esi + 0x90], edx
cmp byte [ebp - 0x2a], 0
je 0x1004ee1e
mov dword [esi + 0x8c], eax
mov dword [esi + 0x94], edx
cmp byte [ebp - 0x2b], 0
je 0x1004ee30
mov dword [esi + 0x98], ecx
mov dword [esi + 0xa0], edx
cmp byte [ebp - 0x2c], 0
je 0x1004ee42
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa4], edx
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
push dword [ebp - 0x54]
call fcn.1004bd50
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
movq xmm0, qword [ebp - 0x50]
cmova esi, dword [ebp - 0x28]
sub esp, 0xc
mov eax, dword [ebp - 0x48]
mov edx, esp
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x18]
movq qword [edx], xmm0
push esi
mov dword [edx + 8], eax
call fcn.10053f50
test edi, edi
je 0x1004ee8b
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004eec1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004eeb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004eeb7
call dword [0x1011d424]
push ecx
push edx
call fcn.101118f3
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.10111c1a
mov esp, ebp
pop ebp
ret 0xc