Function at 0x41b140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
mov eax, ecx
jne 0x41b14b
xor eax, eax
ret 4
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
not eax
je 0x41b179
test dl, 3
je 0x41b179
movzx esi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x439f60]
shr eax, 8
xor eax, ecx
inc edx
dec edi
jne 0x41b157
cmp edi, 0x20
push ebx
push ebp
mov esi, edx
jb 0x41b394
mov ebp, edi
shr ebp, 5
nop
lea esp, [esp]
xor eax, dword [esi]
xor edx, edx
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
xor ebx, ebx
mov bl, ah
add esi, 4
add esi, 4
add esi, 4
add esi, 4
mov ecx, dword [edx*4 + 0x43a360]
add esi, 4
xor ecx, dword [ebx*4 + 0x43a760]
mov edx, eax
shr edx, 0x18
mov ebx, dword [edx*4 + 0x439f60]
mov edx, dword [esi - 0x10]
xor ecx, ebx
and eax, 0xff
xor ecx, dword [eax*4 + 0x43ab60]
xor ecx, edx
xor edx, edx
mov dl, ch
xor eax, eax
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0x16]
mov ebx, dword [edx*4 + 0x43a760]
mov edx, ecx
shr edx, 0x18
mov eax, dword [eax*4 + 0x43a360]
xor eax, ebx
mov ebx, dword [edx*4 + 0x439f60]
mov edx, dword [esi - 0xc]
xor eax, ebx
and ecx, 0xff
xor eax, dword [ecx*4 + 0x43ab60]
xor eax, edx
xor edx, edx
mov dl, ah
xor ecx, ecx
mov dword [esp + 0x14], eax
mov cl, byte [esp + 0x16]
mov ebx, dword [edx*4 + 0x43a760]
mov edx, eax
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x43a360]
xor ecx, ebx
mov ebx, dword [edx*4 + 0x439f60]
mov edx, dword [esi - 8]
xor ecx, ebx
and eax, 0xff
xor ecx, dword [eax*4 + 0x43ab60]
xor ecx, edx
xor edx, edx
mov dl, ch
xor eax, eax
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0x16]
mov ebx, dword [edx*4 + 0x43a760]
mov edx, ecx
shr edx, 0x18
mov eax, dword [eax*4 + 0x43a360]
xor eax, ebx
mov ebx, dword [edx*4 + 0x439f60]
mov edx, dword [esi - 4]
and ecx, 0xff
xor eax, ebx
xor eax, dword [ecx*4 + 0x43ab60]
xor eax, edx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov cl, byte [esp + 0x16]
xor edx, edx
mov dl, ah
mov ecx, dword [ecx*4 + 0x43a360]
xor ecx, dword [edx*4 + 0x43a760]
mov edx, eax
shr edx, 0x18
mov ebx, dword [edx*4 + 0x439f60]
mov edx, dword [esi]
xor ecx, ebx
and eax, 0xff
xor ecx, dword [eax*4 + 0x43ab60]
xor ecx, edx
xor edx, edx
mov dl, ch
xor eax, eax
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0x16]
add esi, 4
add esi, 4
add esi, 4
mov ebx, dword [edx*4 + 0x43a760]
mov edx, ecx
shr edx, 0x18
mov eax, dword [eax*4 + 0x43a360]
xor eax, ebx
mov ebx, dword [edx*4 + 0x439f60]
mov edx, dword [esi - 8]
xor eax, ebx
and ecx, 0xff
xor eax, dword [ecx*4 + 0x43ab60]
xor eax, edx
xor edx, edx
mov dl, ah
mov dword [esp + 0x14], eax
xor ecx, ecx
mov cl, byte [esp + 0x16]
sub edi, 0x20
mov ebx, dword [edx*4 + 0x43a760]
mov edx, eax
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x43a360]
xor ecx, ebx
mov ebx, dword [edx*4 + 0x439f60]
mov edx, dword [esi - 4]
and eax, 0xff
xor ecx, ebx
xor ecx, dword [eax*4 + 0x43ab60]
xor ecx, edx
xor edx, edx
xor eax, eax
mov dl, ch
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0x16]
mov ebx, dword [edx*4 + 0x43a760]
mov edx, ecx
mov eax, dword [eax*4 + 0x43a360]
xor eax, ebx
shr edx, 0x18
xor eax, dword [edx*4 + 0x439f60]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x43ab60]
dec ebp
jne 0x41b190
cmp edi, 4
jb 0x41b3e5
mov ebp, edi
shr ebp, 2
mov edi, edi
xor eax, dword [esi]
xor edx, edx
xor ecx, ecx
mov dl, ah
mov dword [esp + 0x14], eax
mov cl, byte [esp + 0x16]
add esi, 4
sub edi, 4
mov ebx, dword [edx*4 + 0x43a760]
mov edx, eax
mov ecx, dword [ecx*4 + 0x43a360]
xor ecx, ebx
shr edx, 0x18
mov ebx, dword [edx*4 + 0x439f60]
and eax, 0xff
xor ecx, ebx
xor ecx, dword [eax*4 + 0x43ab60]
dec ebp
mov eax, ecx
jne 0x41b3a0
test edi, edi
pop ebp
pop ebx
je 0x41b40d
nop
lea esp, [esp]
movzx edx, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, edx
mov ecx, dword [ecx*4 + 0x439f60]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x41b3f0
pop edi
not eax
pop esi
ret 4