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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a29e0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4959c9
cmp dword [eax + 0x1c], 8
mov esi, eax
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
lea edx, [eax + 8]
mov dword [ebp - 0x14], edx
jb 0x4958ee
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x10]
mov edi, 0x811c9dc5
mov edx, 0
add eax, eax
je 0x49591b
mov ecx, dword [ebp - 0x14]
mov ebx, eax
movzx eax, byte [edx + ecx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ebx
jb 0x495904
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x24]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2c], eax
mov edi, esi
mov dword [ebp - 0x20], esi
mov esi, dword [esi]
mov ecx, dword [edi + 0x1c]
cmp ecx, 8
jb 0x49597c
mov eax, dword [edi + 8]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 4], 0
cmp ecx, 0x1000
jb 0x495972
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495b03
mov eax, edx
push ecx
push eax
call fcn.0040a1a2
add esp, 8
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
push 0x24
push edi
call fcn.0040a1a2
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 0xffffffff
dec dword [eax + 8]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], eax
je 0x4959df
cmp esi, ebx
jne 0x495934
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x4959c1
mov ecx, dword [ebp - 0x14]
mov dword [ecx], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x4959f1
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x4959f4
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x4959c1
nop dword [eax + eax]
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
jb 0x495a0c
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0x18]
mov edx, 0x811c9dc5
mov ecx, 0
add edi, edi
je 0x495a31
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x495a20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x18]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
mov ecx, dword [edi + 0x1c]
cmp ecx, 8
jb 0x495a8f
mov eax, dword [edi + 8]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 4], 2
cmp ecx, 0x1000
jb 0x495a85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495b03
mov eax, edx
push ecx
push eax
call fcn.0040a1a2
add esp, 8
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
push 0x24
push edi
call fcn.0040a1a2
mov ecx, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 0xffffffff
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x20]
je 0x495ae8
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x495a48
mov ecx, dword [ebp - 0x10]
mov dword [ecx], esi
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, ebx
jne 0x495a00
jmp 0x4959c1
call fcn.0056e2db
int3