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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 0x14], 0x10
mov edi, ecx
mov ebx, dword [eax + 0x10]
mov esi, eax
mov dword [ebp - 4], edi
jb 0x46f5de
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x46f601
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x46f5f0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov ebx, dword [ebp - 4]
mov edx, dword [ecx + eax*8]
mov edi, edx
mov ebx, dword [ebx + 4]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], eax
cmp edx, ebx
jne 0x46f62e
mov eax, ebx
jmp 0x46f632
mov eax, dword [eax]
mov eax, dword [eax]
cmp edi, eax
je 0x46f77e
mov eax, dword [ebp + 8]
lea ecx, [edi + 8]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x46f64a
mov edx, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ecx + 0x10]
jb 0x46f655
mov ecx, dword [ecx]
cmp esi, dword [eax + 0x10]
jne 0x46f6b0
sub esi, 4
jb 0x46f671
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x46f676
add ecx, 4
add edx, 4
sub esi, 4
jae 0x46f660
cmp esi, 0xfffffffc
je 0x46f6aa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x46f6a3
cmp esi, 0xfffffffd
je 0x46f6aa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x46f6a3
cmp esi, 0xfffffffe
je 0x46f6aa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x46f6a3
cmp esi, 0xffffffff
je 0x46f6aa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x46f6aa
sbb eax, eax
or eax, 1
jmp 0x46f6ac
xor eax, eax
test eax, eax
je 0x46f6bd
mov edi, dword [edi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x46f626
mov edx, edi
mov ecx, edi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
nop dword [eax]
cmp edx, ebx
jne 0x46f6d8
mov eax, ebx
jmp 0x46f6df
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp edi, eax
je 0x46f776
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov eax, dword [esi + 0x10]
jb 0x46f6f5
mov esi, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov ebx, ecx
jb 0x46f6ff
mov ebx, dword [ecx]
cmp dword [ecx + 0x10], eax
jne 0x46f773
mov eax, dword [ecx + 0x10]
sub eax, 4
mov dword [ebp + 8], eax
jb 0x46f727
nop
mov eax, dword [ebx]
cmp eax, dword [esi]
jne 0x46f72c
mov eax, dword [ebp + 8]
add ebx, 4
add esi, 4
sub eax, 4
mov dword [ebp + 8], eax
jae 0x46f710
cmp eax, 0xfffffffc
je 0x46f763
mov al, byte [ebx]
cmp al, byte [esi]
jne 0x46f75c
cmp dword [ebp + 8], 0xfffffffd
je 0x46f763
mov al, byte [ebx + 1]
cmp al, byte [esi + 1]
jne 0x46f75c
cmp dword [ebp + 8], 0xfffffffe
je 0x46f763
mov al, byte [ebx + 2]
cmp al, byte [esi + 2]
jne 0x46f75c
cmp dword [ebp + 8], 0xffffffff
je 0x46f763
mov al, byte [ebx + 3]
cmp al, byte [esi + 3]
je 0x46f763
sbb eax, eax
or eax, 1
jmp 0x46f765
xor eax, eax
mov ebx, dword [ebp - 8]
test eax, eax
jne 0x46f776
mov edi, dword [edi]
jmp 0x46f6d0
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x18], edi
jne 0x46f782
mov ecx, ebx
mov edi, ebx
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, edi
je 0x46f79a
nop dword [eax]
mov eax, dword [eax]
inc ebx
cmp eax, edi
jne 0x46f790
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 8]
cmp ecx, dword [eax]
jne 0x46f7b8
cmp edi, eax
jne 0x46f7b8
mov ecx, dword [ebp - 4]
call fcn.0046f030
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, edi
je 0x46f7ad
nop dword [eax]
mov esi, ecx
mov ecx, dword [ecx]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], edx
jb 0x46f7db
mov eax, dword [edx]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
xor edx, edx
mov ecx, dword [esi + 0x18]
mov ebx, 0x811c9dc5
test ecx, ecx
je 0x46f808
mov esi, dword [ebp + 8]
nop
movzx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x46f7f0
mov esi, dword [ebp - 0x18]
mov edx, dword [esi]
jmp 0x46f80b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x46f83e
cmp eax, esi
jne 0x46f836
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + ebx*8 + 4], eax
jmp 0x46f844
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x46f844
cmp eax, esi
jne 0x46f844
mov dword [ecx], edx
mov edx, dword [esi + 4]
lea ecx, [esi + 8]
mov eax, dword [esi]
mov dword [edx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
dec dword [eax + 8]
call fcn.00408d90
push 0x28
push esi
call fcn.0051238c
mov ecx, dword [ebp - 0xc]
add esp, 8
cmp ecx, edi
jne 0x46f7c0
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4