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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef440
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10129fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov esi, eax
cmp dword [eax + 0x14], 0x10
mov ebx, dword [eax + 0x10]
jb 0x1004a56d
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1004a589
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1004a578
mov eax, dword [edi + 0x18]
and eax, edx
mov edx, dword [edi + 0xc]
mov ebx, dword [edx + eax*8]
lea ecx, [edx + eax*8]
mov dword [ebp - 0x28], ecx
mov edi, ebx
mov dword [ebp - 0x20], edx
lea esi, [eax*8 + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], esi
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp ebx, ecx
jne 0x1004a5ba
mov eax, ecx
jmp 0x1004a5bf
mov eax, dword [esi + edx]
mov eax, dword [eax]
cmp edi, eax
je 0x1004a720
mov eax, dword [ebp + 8]
lea ecx, [edi + 8]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x1004a5d7
mov edx, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ecx + 0x10]
jb 0x1004a5e2
mov ecx, dword [ecx]
cmp esi, dword [eax + 0x10]
jne 0x1004a640
sub esi, 4
jb 0x1004a601
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004a606
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1004a5f0
cmp esi, 0xfffffffc
je 0x1004a63a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1004a633
cmp esi, 0xfffffffd
je 0x1004a63a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1004a633
cmp esi, 0xfffffffe
je 0x1004a63a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1004a633
cmp esi, 0xffffffff
je 0x1004a63a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1004a63a
sbb eax, eax
or eax, 1
jmp 0x1004a63c
xor eax, eax
test eax, eax
je 0x1004a650
mov edi, dword [edi]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
jmp 0x1004a5b2
mov edx, dword [ebp - 0x18]
mov ecx, edi
mov esi, edi
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
cmp dword [esi], edx
jne 0x1004a66e
mov eax, edx
jmp 0x1004a682
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [edx + eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 0x14], edx
cmp edi, eax
je 0x1004a715
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov eax, dword [edx + 0x10]
jb 0x1004a698
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
mov ebx, ecx
jb 0x1004a6a2
mov ebx, dword [ecx]
cmp dword [ecx + 0x10], eax
jne 0x1004a715
mov eax, dword [ecx + 0x10]
sub eax, 4
mov dword [ebp + 8], eax
jb 0x1004a6c9
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x1004a6ce
mov eax, dword [ebp + 8]
add ebx, 4
add edx, 4
sub eax, 4
mov dword [ebp + 8], eax
jae 0x1004a6b2
cmp eax, 0xfffffffc
je 0x1004a705
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x1004a6fe
cmp dword [ebp + 8], 0xfffffffd
je 0x1004a705
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x1004a6fe
cmp dword [ebp + 8], 0xfffffffe
je 0x1004a705
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x1004a6fe
cmp dword [ebp + 8], 0xffffffff
je 0x1004a705
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x1004a705
sbb eax, eax
or eax, 1
jmp 0x1004a707
xor eax, eax
test eax, eax
jne 0x1004a715
mov edi, dword [edi]
mov edx, dword [ebp - 0x14]
jmp 0x1004a663
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], edi
jne 0x1004a724
mov ecx, dword [ebp - 0x14]
mov esi, ecx
mov edi, ecx
mov eax, esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, edi
je 0x1004a73a
nop
mov eax, dword [eax]
inc ebx
cmp eax, edi
jne 0x1004a730
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
cmp esi, dword [eax]
jne 0x1004a776
cmp edi, eax
jne 0x1004a776
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.1004a3c0
push 8
mov ecx, esi
call fcn.10003ce0
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 4
cmp esi, edi
je 0x1004a760
nop word [eax + eax]
mov eax, esi
mov esi, dword [esi]
cmp dword [eax + 0x1c], 0x10
lea ecx, [eax + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp + 8], ecx
mov dword [ebp - 0x24], edx
jb 0x1004a7a1
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
xor edx, edx
mov dword [ebp - 0x18], esi
mov ebx, 0x811c9dc5
cmp dword [ebp - 0x24], edx
jbe 0x1004a7d2
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, esi
jb 0x1004a7b6
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
and ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
cmp dword [ecx + ebx*8 + 4], eax
lea edx, [ecx + ebx*8]
jne 0x1004a809
cmp dword [edx], eax
jne 0x1004a801
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, eax
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov dword [edx + ebx*8 + 4], ecx
jmp 0x1004a812
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1004a812
cmp dword [edx], eax
jne 0x1004a812
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push eax
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
dec dword [ecx + 4]
call fcn.1004a2a0
cmp esi, edi
jne 0x1004a780
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4