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

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x81d35c
not eax
jmp 0x499aab
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
dec ecx
mov eax, esi
test ecx, ecx
je 0x499ab4
test dl, 3
jne 0x499a94
cmp ecx, 0x20
jb 0x499cc9
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
sub ecx, 0x20
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
cmp ecx, 0x20
mov eax, esi
jae 0x499abd
cmp ecx, 4
jb 0x499d16
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
sub ecx, 4
mov esi, dword [ebx + esi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
xor esi, dword [ebx + eax*4]
cmp ecx, 4
mov eax, esi
jae 0x499cce
test ecx, ecx
je 0x499d33
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
dec ecx
mov eax, esi
jne 0x499d1a
not eax
pop edi
pop esi
pop ebx
ret