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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4853
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x52406c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
call fcn.00403b30
lea ecx, [ebx + 8]
call fcn.00403bd0
cmp dword [ebx + 0x1c], 0x10
lea esi, [ebx + 8]
mov edi, dword [ebx + 0x18]
mov edx, 0x811c9dc5
cmovae esi, dword [ebx + 8]
xor ecx, ecx
test edi, edi
je 0x414891
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x414880
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ecx + eax*8]
add eax, eax
lea edx, [eax*4 + 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
nop word [eax + eax]
cmp eax, edi
jne 0x4148c8
mov eax, edi
jmp 0x4148cd
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x414943
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebx + 8]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
cmovae edx, dword [ebx + 8]
cmp edi, 0x10
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x18]
jb 0x4148f0
mov ecx, dword [esi + 8]
push dword [ebx + 0x18]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x2c], eax
call fcn.0042fac0
add esp, 8
test al, al
jne 0x414915
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
jmp 0x4148c0
cmp dword [ebp - 0x28], 0x10
lea eax, [esi + 8]
jb 0x414920
mov eax, dword [eax]
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
push dword [ebp - 0x2c]
cmovae ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x18]
push eax
call fcn.0042fac0
add esp, 8
mov ecx, edi
test al, al
cmovne ecx, esi
jmp 0x414945
mov ecx, edi
cmp ecx, edi
je 0x414951
mov edi, dword [ecx + 0x20]
jmp 0x414a16
mov esi, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x20]
imul ecx
lea eax, [ebx + 8]
mov ecx, esi
sar edx, 3
push eax
mov edi, edx
lea eax, [ebp - 0x30]
shr edi, 0x1f
push eax
add edi, edx
call fcn.0041ea50
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [eax + 0x20], edi
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x24]
cmp dword [ecx + 8], esi
je 0x4149d8
lea eax, [ebx + 8]
mov ecx, esi
push eax
call fcn.00432790
movups xmm0, xmmword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [esi + 0x28], xmm0
add dword [ecx + 0x24], 0x30
jmp 0x414a16
lea eax, [ebp - 0x48]
push eax
lea eax, [ebx + 8]
push eax
push esi
call fcn.0041cb10
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x414a16
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414a0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a6f
push edx
push ecx
call fcn.0046c951
add esp, 8
mov eax, dword [ebp - 0x14]
lea ecx, [edi + edi*2]
mov edx, dword [ebx + 8]
shl ecx, 4
mov esi, dword [eax + 0x20]
mov eax, dword [ebx + 0x1c]
add esi, ecx
cmp eax, 0x10
jb 0x414a56
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x414a4c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a74
push ecx
push edx
call fcn.0046c951
add esp, 8
lea eax, [esi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.004be3cc
call fcn.004be3cc
int3