Function at 0x403020
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 0x40303f
mov esi, dword [ebp]
jmp 0x403041
mov esi, ebp
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x403061
lea esp, [esp]
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x403050
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x403076
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 0x403098
mov eax, esi
jmp 0x40309d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x40322d
cmp dword [ebp + 0x14], 0x10
lea edx, [ecx + 8]
jb 0x4030b3
mov ebx, dword [ebp]
jmp 0x4030b5
mov ebx, ebp
cmp dword [edx + 0x14], 0x10
mov ebp, dword [edx + 0x10]
jb 0x4030c0
mov edx, dword [edx]
mov edi, dword [esp + 0x10]
cmp ebp, edi
cmovb edi, ebp
test edi, edi
je 0x403122
sub edi, 4
jb 0x4030e3
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4030e8
add edx, 4
add ebx, 4
sub edi, 4
jae 0x4030d2
cmp edi, 0xfffffffc
je 0x40311c
mov al, byte [edx]
cmp al, byte [ebx]
jne 0x403115
cmp edi, 0xfffffffd
je 0x40311c
mov al, byte [edx + 1]
cmp al, byte [ebx + 1]
jne 0x403115
cmp edi, 0xfffffffe
je 0x40311c
mov al, byte [edx + 2]
cmp al, byte [ebx + 2]
jne 0x403115
cmp edi, 0xffffffff
je 0x40311c
mov al, byte [edx + 3]
cmp al, byte [ebx + 3]
je 0x40311c
sbb eax, eax
or eax, 1
jmp 0x40311e
xor eax, eax
test eax, eax
jne 0x403135
mov ebx, dword [esp + 0x10]
cmp ebp, ebx
jb 0x403135
xor eax, eax
cmp ebp, ebx
setne al
test eax, eax
je 0x403148
mov ecx, dword [ecx]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jmp 0x403090
mov edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x40315e
mov eax, esi
jmp 0x403163
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x403212
cmp dword [ecx + 0x1c], 0x10
mov eax, dword [ecx + 0x18]
lea edi, [ecx + 8]
mov dword [esp + 0x24], eax
jb 0x40317d
mov edi, dword [edi]
cmp dword [edx + 0x14], 0x10
jb 0x403187
mov ebp, dword [edx]
jmp 0x403189
mov ebp, edx
cmp dword [esp + 0x10], eax
mov ebx, eax
cmovb ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4031f6
sub ebx, 4
jb 0x4031b2
lea ecx, [ecx]
mov eax, dword [ebp]
cmp eax, dword [edi]
jne 0x4031b7
add ebp, 4
add edi, 4
sub ebx, 4
jae 0x4031a0
cmp ebx, 0xfffffffc
je 0x4031ec
mov al, byte [ebp]
cmp al, byte [edi]
jne 0x4031e5
cmp ebx, 0xfffffffd
je 0x4031ec
mov al, byte [ebp + 1]
cmp al, byte [edi + 1]
jne 0x4031e5
cmp ebx, 0xfffffffe
je 0x4031ec
mov al, byte [ebp + 2]
cmp al, byte [edi + 2]
jne 0x4031e5
cmp ebx, 0xffffffff
je 0x4031ec
mov al, byte [ebp + 3]
cmp al, byte [edi + 3]
je 0x4031ec
sbb eax, eax
or eax, 1
jmp 0x4031ee
xor eax, eax
test eax, eax
jne 0x403212
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
cmp ebx, eax
jb 0x403212
xor eax, eax
cmp ebx, dword [esp + 0x24]
setne al
test eax, eax
jne 0x403212
mov ecx, dword [ecx]
jmp 0x403152
mov edx, dword [esp + 0x18]
cmp edx, ecx
je 0x40322d
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