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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
jb 0x3b41e48e
mov esi, dword [ebx]
jmp 0x3b41e490
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x3b41e4b4
mov ebx, eax
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x3b41e4a0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x14]
mov esi, ecx
and esi, edx
cmp dword [edi + 0x18], esi
ja 0x3b41e4c9
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov edx, dword [edi + 8]
lea eax, [esi + esi]
lea eax, [eax + 1]
mov ecx, dword [edx + esi*8]
mov esi, dword [edx + eax*4 - 4]
lea eax, [edx + eax*4]
mov dword [ebp - 0xc], esi
mov esi, dword [edi]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
jne 0x3b41e4f0
mov eax, esi
jmp 0x3b41e4f4
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x3b41e662
cmp dword [ebx + 0x14], 0x10
lea edx, [ecx + 8]
jb 0x3b41e509
mov edi, dword [ebx]
jmp 0x3b41e50b
mov edi, ebx
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp + 0xc], eax
jb 0x3b41e519
mov edx, dword [edx]
mov esi, dword [ebp - 4]
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x3b41e583
sub esi, 4
jb 0x3b41e541
lea ebx, [ebx]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x3b41e546
add edx, 4
add edi, 4
sub esi, 4
jae 0x3b41e530
cmp esi, 0xfffffffc
je 0x3b41e57a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x3b41e573
cmp esi, 0xfffffffd
je 0x3b41e57a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x3b41e573
cmp esi, 0xfffffffe
je 0x3b41e57a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x3b41e573
cmp esi, 0xffffffff
je 0x3b41e57a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x3b41e57a
sbb eax, eax
or eax, 1
jmp 0x3b41e57c
xor eax, eax
test eax, eax
jne 0x3b41e596
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
cmp eax, edx
jb 0x3b41e596
xor eax, eax
cmp dword [ebp + 0xc], edx
setne al
test eax, eax
je 0x3b41e5a3
mov ecx, dword [ecx]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
jmp 0x3b41e4e7
cmp dword [ecx + 0x1c], 0x10
lea edx, [ecx + 8]
mov edi, dword [edx + 0x10]
jb 0x3b41e5b1
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x3b41e5b9
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
mov esi, edi
cmp eax, edi
cmovb esi, eax
test esi, esi
je 0x3b41e623
sub esi, 4
jb 0x3b41e5e1
lea esp, [esp]
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x3b41e5e6
add ebx, 4
add edx, 4
sub esi, 4
jae 0x3b41e5d0
cmp esi, 0xfffffffc
je 0x3b41e61a
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x3b41e613
cmp esi, 0xfffffffd
je 0x3b41e61a
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x3b41e613
cmp esi, 0xfffffffe
je 0x3b41e61a
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x3b41e613
cmp esi, 0xffffffff
je 0x3b41e61a
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x3b41e61a
sbb eax, eax
or eax, 1
jmp 0x3b41e61c
xor eax, eax
test eax, eax
jne 0x3b41e649
mov eax, dword [ebp - 4]
cmp eax, edi
jb 0x3b41e649
xor eax, eax
cmp dword [ebp - 4], edi
setne al
test eax, eax
jne 0x3b41e649
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 0xc]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
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