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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ad7d
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5d6024]
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 - 0xf0], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0xec], 0
mov edx, dword [esi]
lea edi, [edx + 0x18]
mov dword [ebp - 4], 0
mov eax, 0x7ffffffe
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4e3d39
cmp dword [edx + 0x14], 8
jb 0x4e39ba
mov edx, dword [edx]
push 1
push 0x583fac
push ecx
push edx
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x50]
call fcn.004089c0
push edi
mov edx, eax
mov dword [ebp - 0xec], 1
lea ecx, [ebp - 0x68]
call fcn.0042e000
add esp, 4
mov byte [ebp - 4], 1
mov eax, 1
mov dword [ebp - 0xec], eax
and eax, 0xfffffffe
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00407f50
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.004e4a40
mov byte [ebp - 4], 6
lea edx, [ebp - 0xbc]
mov ecx, dword [esi]
lea eax, [ecx + 0x30]
cmp edx, eax
je 0x4e3aa2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4e3a93
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.00407c80
mov ecx, dword [esi]
lea eax, [ecx + 0x48]
lea ecx, [ebp - 0xa4]
cmp ecx, eax
je 0x4e3ac7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4e3aba
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.00407c80
mov esi, ebx
lea eax, [ebp - 0x8c]
neg esi
mov dword [ebx + 8], eax
lea eax, [ebx + 4]
sbb esi, esi
sub esp, 0x18
and esi, eax
mov dword [ebp - 0xf4], esp
lea eax, [ebp - 0xa4]
mov ecx, esp
push eax
call fcn.00406c70
mov byte [ebp - 4], 7
push esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.004e6e40
mov byte [ebp - 4], 8
lea esi, [ebp - 0x68]
mov eax, dword [ebp - 0x58]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x54], 8
mov ebx, dword [ebx + 0xc]
cmovae esi, dword [ebp - 0x68]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x4e3b41
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4e3b30
push edx
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0040add0
mov esi, dword [eax + 4]
test esi, esi
je 0x4e3b8d
cmp esi, dword [ebx + 4]
je 0x4e3b8d
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0xbc]
push ecx
cmp eax, dword [esi + 0x28]
je 0x4e3b7f
mov ecx, eax
call fcn.004e55d0
add dword [esi + 0x24], 0x50
jmp 0x4e3ca3
push eax
lea ecx, [esi + 0x20]
call fcn.004e50e0
jmp 0x4e3ca3
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
call fcn.004e50e0
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0xc]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00406c70
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x20]
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp edi, ebx
je 0x4e3c59
mov ecx, ebx
mov eax, 0x66666667
sub ecx, edi
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
push esi
call fcn.004e5840
lea ecx, [esi + esi*4]
mov dword [ebp - 0x20], eax
shl ecx, 4
add ecx, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0xc
mov edx, ebx
push eax
push dword [ebp - 0x20]
mov ecx, edi
call fcn.004e6020
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xf0], 0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.004e4eb0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x10
mov ecx, eax
call fcn.004e4da0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.00407f50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.004e4da0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xc8]
call fcn.004e7f80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe4]
call fcn.00407f50
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x80]
call fcn.0040a260
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x88]
call fcn.004e4af0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa4]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00407f50
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.00521461
mov esp, ebp
pop ebp
ret 4
call fcn.004077d0
int3