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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x4385de
mov esi, dword [edi]
jmp 0x4385e0
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x438604
mov edi, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4385f0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov edx, dword [ecx + eax*8]
add eax, eax
mov esi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0xc], esi
mov esi, dword [ebx + 4]
mov ebx, dword [ebp - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], edx
cmp dword [ebp - 0xc], esi
jne 0x438633
mov eax, esi
jmp 0x438637
mov eax, dword [eax]
mov eax, dword [eax]
cmp edx, eax
je 0x438772
cmp dword [edi + 0x14], 0x10
lea eax, [edx + 8]
jb 0x43864c
mov esi, dword [edi]
jmp 0x43864e
mov esi, edi
cmp dword [eax + 0x14], 0x10
jb 0x438658
mov edx, dword [eax]
jmp 0x43865a
mov edx, eax
mov eax, dword [eax + 0x10]
mov ecx, ebx
cmp eax, ebx
mov dword [ebp - 4], eax
cmovb ecx, eax
test ecx, ecx
je 0x4386c3
sub ecx, 4
jb 0x438681
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x438686
add edx, 4
add esi, 4
sub ecx, 4
jae 0x438670
cmp ecx, 0xfffffffc
je 0x4386ba
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4386b3
cmp ecx, 0xfffffffd
je 0x4386ba
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4386b3
cmp ecx, 0xfffffffe
je 0x4386ba
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x4386b3
cmp ecx, 0xffffffff
je 0x4386ba
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x4386ba
sbb eax, eax
or eax, 1
jmp 0x4386bc
xor eax, eax
test eax, eax
jne 0x4386c9
mov eax, dword [ebp - 4]
cmp eax, ebx
jb 0x4386c9
jbe 0x4386d9
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx]
jmp 0x438627
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
jb 0x4386e7
mov edx, dword [eax + 8]
jmp 0x4386ea
lea edx, [eax + 8]
cmp dword [edi + 0x14], 0x10
jb 0x4386f2
mov edi, dword [edi]
mov esi, dword [eax + 0x18]
cmp ebx, esi
mov ecx, esi
cmovb ecx, ebx
test ecx, ecx
je 0x438755
sub ecx, 4
jb 0x438716
mov eax, dword [edi]
cmp eax, dword [edx]
jne 0x43871b
add edi, 4
add edx, 4
sub ecx, 4
jae 0x438705
cmp ecx, 0xfffffffc
je 0x43874f
mov al, byte [edi]
cmp al, byte [edx]
jne 0x438748
cmp ecx, 0xfffffffd
je 0x43874f
mov al, byte [edi + 1]
cmp al, byte [edx + 1]
jne 0x438748
cmp ecx, 0xfffffffe
je 0x43874f
mov al, byte [edi + 2]
cmp al, byte [edx + 2]
jne 0x438748
cmp ecx, 0xffffffff
je 0x43874f
mov al, byte [edi + 3]
cmp al, byte [edx + 3]
je 0x43874f
sbb eax, eax
or eax, 1
jmp 0x438751
xor eax, eax
test eax, eax
jne 0x43875b
cmp ebx, esi
jb 0x43875b
jbe 0x438761
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8