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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5662dd
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xa8], ebx
cmp dword [ebx + 0x60], 0
jne 0x4ec143
xor al, al
jmp 0x4ec39c
mov eax, dword [ebx + 0x60]
sub esp, 0x18
add eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0xac], eax
dec ecx
dec eax
mov dword [ebp - 0xb4], esp
and ecx, eax
mov eax, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x24]
mov esi, dword [eax + ecx*4]
mov ecx, esp
mov eax, dword [ebx]
mov dword [ecx + 0x10], 0
mov edi, dword [eax + 8]
xor eax, eax
push eax
push 0x57cef0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407b80
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
push esi
call fcn.004071f0
mov byte [ebp - 4], 1
push 0x138f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004dbd50
mov dword [ebp - 4], 2
mov ecx, ebx
push eax
call edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407e00
mov ebx, dword [ebp - 0xa8]
cmp dword [ebx + 0x60], 0
je 0x4ec2f3
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0xac], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + ecx*4]
mov edi, eax
mov dword [ebp - 0xa8], eax
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x4ec223
mov edi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4ec247
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4ec230
mov eax, dword [ebp - 0xa8]
push edx
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebx + 0x64]
call fcn.0040b020
mov eax, dword [eax + 4]
test eax, eax
jne 0x4ec262
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x68]
je 0x4ec26c
mov edx, dword [eax + 0x20]
jmp 0x4ec26e
xor edx, edx
mov ecx, dword [ebx + 0x24]
xor esi, esi
mov eax, dword [ecx]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0x13a8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], si
mov dword [ebp - 4], 5
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], si
mov byte [ebp - 4], 6
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 7
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 8]
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00407e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
jmp 0x4ec395
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xa4], 0x13a4
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x70], 0x13a8
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0xa4]
mov ecx, dword [ebx + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x88]
call fcn.00407e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00407e00
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret 4