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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575070
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5edd38]
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 0x490959
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 0x49087e
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x10]
mov edi, 0x811c9dc5
mov edx, 0
add eax, eax
je 0x4908ab
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 0x490894
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 0x49090c
mov eax, dword [edi + 8]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 4], 0
cmp ecx, 0x1000
jb 0x490902
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490a93
mov eax, edx
push ecx
push eax
call fcn.00409f25
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.00409f25
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 0x49096f
cmp esi, ebx
jne 0x4908c4
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x490951
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 0x490981
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x490984
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x490951
nop dword [eax + eax]
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
jb 0x49099c
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0x18]
mov edx, 0x811c9dc5
mov ecx, 0
add edi, edi
je 0x4909c1
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4909b0
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 0x490a1f
mov eax, dword [edi + 8]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 4], 2
cmp ecx, 0x1000
jb 0x490a15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490a93
mov eax, edx
push ecx
push eax
call fcn.00409f25
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.00409f25
mov ecx, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 0xffffffff
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x20]
je 0x490a78
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x4909d8
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 0x490990
jmp 0x490951
call fcn.0054223b
int3