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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
cmp dword [ebp + 0x14], 0x10
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
jb 0x40308f
mov esi, dword [ebp]
jmp 0x403091
mov esi, ebp
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4030b1
lea esp, [esp]
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x4030a0
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x4030c6
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
mov esi, dword [edi]
lea edx, [eax + ecx*8]
mov dword [esp + 0x14], edx
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov ecx, eax
lea ebx, [ebx]
cmp eax, esi
jne 0x4030e8
mov eax, esi
jmp 0x4030ed
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x40327d
cmp dword [ebp + 0x14], 0x10
lea edx, [ecx + 8]
jb 0x403103
mov ebx, dword [ebp]
jmp 0x403105
mov ebx, ebp
cmp dword [edx + 0x14], 0x10
mov ebp, dword [edx + 0x10]
jb 0x403110
mov edx, dword [edx]
mov edi, dword [esp + 0x10]
cmp ebp, edi
cmovb edi, ebp
test edi, edi
je 0x403172
sub edi, 4
jb 0x403133
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x403138
add edx, 4
add ebx, 4
sub edi, 4
jae 0x403122
cmp edi, 0xfffffffc
je 0x40316c
mov al, byte [edx]
cmp al, byte [ebx]
jne 0x403165
cmp edi, 0xfffffffd
je 0x40316c
mov al, byte [edx + 1]
cmp al, byte [ebx + 1]
jne 0x403165
cmp edi, 0xfffffffe
je 0x40316c
mov al, byte [edx + 2]
cmp al, byte [ebx + 2]
jne 0x403165
cmp edi, 0xffffffff
je 0x40316c
mov al, byte [edx + 3]
cmp al, byte [ebx + 3]
je 0x40316c
sbb eax, eax
or eax, 1
jmp 0x40316e
xor eax, eax
test eax, eax
jne 0x403185
mov ebx, dword [esp + 0x10]
cmp ebp, ebx
jb 0x403185
xor eax, eax
cmp ebp, ebx
setne al
test eax, eax
je 0x403198
mov ecx, dword [ecx]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jmp 0x4030e0
mov edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x4031ae
mov eax, esi
jmp 0x4031b3
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x403262
cmp dword [ecx + 0x1c], 0x10
mov eax, dword [ecx + 0x18]
lea edi, [ecx + 8]
mov dword [esp + 0x24], eax
jb 0x4031cd
mov edi, dword [edi]
cmp dword [edx + 0x14], 0x10
jb 0x4031d7
mov ebp, dword [edx]
jmp 0x4031d9
mov ebp, edx
cmp dword [esp + 0x10], eax
mov ebx, eax
cmovb ebx, dword [esp + 0x10]
test ebx, ebx
je 0x403246
sub ebx, 4
jb 0x403202
lea ecx, [ecx]
mov eax, dword [ebp]
cmp eax, dword [edi]
jne 0x403207
add ebp, 4
add edi, 4
sub ebx, 4
jae 0x4031f0
cmp ebx, 0xfffffffc
je 0x40323c
mov al, byte [ebp]
cmp al, byte [edi]
jne 0x403235
cmp ebx, 0xfffffffd
je 0x40323c
mov al, byte [ebp + 1]
cmp al, byte [edi + 1]
jne 0x403235
cmp ebx, 0xfffffffe
je 0x40323c
mov al, byte [ebp + 2]
cmp al, byte [edi + 2]
jne 0x403235
cmp ebx, 0xffffffff
je 0x40323c
mov al, byte [ebp + 3]
cmp al, byte [edi + 3]
je 0x40323c
sbb eax, eax
or eax, 1
jmp 0x40323e
xor eax, eax
test eax, eax
jne 0x403262
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
cmp ebx, eax
jb 0x403262
xor eax, eax
cmp ebx, dword [esp + 0x24]
setne al
test eax, eax
jne 0x403262
mov ecx, dword [ecx]
jmp 0x4031a2
mov edx, dword [esp + 0x18]
cmp edx, ecx
je 0x40327d
mov eax, dword [esp + 0x20]
mov dword [eax], edx
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [esp + 0x20]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8